L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 685

L-force | PLC Designer
General Editors
DMS 4.1 EN 03/2011 TD29
683
Operator
Modifiers
Meaning
Example
GE
(
Check if accumulator is greater than or
equal to the operand, result (BOOL) is
copied into the accumulator; >=
GE iVar2
EQ
(
Check if accumulator is equal to the
operand, result (BOOL) is copied into the
accumulator; =
EQ iVar2
NE
(
Check if accumulator is not equal to the
operand, result (BOOL) is copied into the
accumulator; <>
NE iVar1
LE
(
Check if accumulator is less than or equal
to the operand, result (BOOL) is copied into
the accumulator; <=
LE 5
LT
(
Check if accumulator is less than operand,
result (BOOL) is copied into the
accumulator; <
LT cVar1
JMP
CN
Unconditional (conditional) jump to the
label
JMPN next
CAL
CN
(Conditional) call of a PROGRAM or
FUNCTION_BLOCK (if accumulator is TRUE)
CAL prog1
RET
Early return of the POU and jump back to
the calling POU
RET
RET
C
Conditional - if accumulator is TRUE, )early
return of the POU and jump back to the
calling POU
RETC
RET
CN
Conditional - if accumulator is FALSE )early
return of the POU and jump back to the
calling POU
RETCN
)
Evaluate deferred operation
See also the help pages on IEC operators.
See also the help page on Working in the IL editor view for how to use and handle
multiple operands, complex operands, function / method / function block / program /
action calls and jumps.