Lenze PLC Designer PLC Designer (R2-x) Uživatelský manuál Strana 463

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 844
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 462
L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29 461
9.2 Arithmetic Operators...
9.2.1 ADD
PLC Designer IEC operator: Addition of variables of the types: BYTE, WORD, DWORD,
SINT, USINT, INT, UINT, DINT, UDINT, REAL and LREAL.
Two TIME variables can also be added together resulting in another time
(e.g., t#45s + t#50s = t#1m35s)
Example in IL:
LD 7
ADD 2,4,7
ST Var1
Example in ST:
var1 := 7+2+4+7;
Example in FBD:
9.2.2 MUL
PLC Designer IEC operator: Multiplication of variables of the types: BYTE, WORD,
DWORD, SINT, USINT, INT, UINT, DINT, UDINT, REAL and LREAL.
Example in IL:
LD 7
MUL 2,4,7
ST Var1
Example in ST:
var1 := 7*2*4*7;
Zobrazit stránku 462
1 2 ... 458 459 460 461 462 463 464 465 466 467 468 ... 843 844

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

Žádné komentáře