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

  • 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 479
L-force | PLC Designer
IEC Operators and additional norm extending functions
478 DMS 3.2 EN 02/2011 TD29
Example in ST:
Var1:=MUX(0,30,40,50,60,70,80); (* Result is 30 *);
Note!
Note that an expression occurring ahead of an input other than INK will not be
processed to save run time ! Only in simulation mode all expressions will be
executed.
9.6 Comparison Operators...
9.6.1 GT
PLC Designer IEC operator: Greater than
A Boolean operator which returns the value TRUE when the value of the first operand
is greater than that of the second. The operands can be BOOL, BYTE, WORD, DWORD,
SINT, USINT, INT, UINT, DINT, UDINT, REAL, LREAL, TIME, DATE, TIME_OF_DAY,
DATE_AND_TIME and STRING.
Example in IL:
LD 20
GT 30
ST Var1 (* Result is FALSE *)
Example in ST:
VAR1 := 20 > 30 > 40 > 50 > 60 > 70;
Example in FBD:
Zobrazit stránku 479
1 2 ... 475 476 477 478 479 480 481 482 483 484 485 ... 843 844

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

Žádné komentáře