beckhoff TwinCAT 2 PLC Control — 10.5.7.5 EQ

Appendix 10.5.7.3 LE Less than or equal to A Boolean operator that returns the value TRUE when the value of the first operand is less than or equal to 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 LE 30 ST Var1 (* Result is TRUE *) Example in ST: VAR1 := 20 Example in FBD 10.5.7.4 GE Greater than or equal to A Boolean operator that returns the value TRUE when the value of the first operand is greater than or equal to 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 60 GE 40 ST Var1 (* Result is TRUE *) Example in ST: VAR1 := 60 >= 40; Example in FBD: 10.5.7.5 EQ Equal to. A Boolean operator that returns the value TRUE when the operands are equal. The operands can be BOOL, BYTE, WORD, DWORD, SINT, USINT, INT, UINT, DINT, UDINT, REAL, LREAL, TIME, DATE, TI- ME_OF_DAY, DATE_AND_TIME and STRING. Example in IL: TwinCAT 2 PLC Control 323 Version: 1.0