Delta-electronics DELTA DUP-B Uživatelský manuál Strana 321

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 491
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 320
Chapter 3 Creating and Editing Screens
3.14.3 Macro Operation
3.14.3.1 Arithmetic Operation
There are two Arithmetic Operations, which include Integer Operation and
Float Operation.
Each operand can be the internal memory or constant. The operands that store output
results must be the internal memory. For details, refer to this table and examples
below.
+ (Addition)
Equation
Var1 = Var2 + Var3
Explanation
Perform the addition on Var2 and Var3, and store the addition result in Var1.
Remark
The calculation result can be stored as signed or unsigned WORD and DWORD.
When the data exceeds the length of designated unit, the data out of range will
be discarded.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
3-300 Revision May, 2010
Zobrazit stránku 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 490 491

Komentáře k této Příručce

Žádné komentáře