IEC 1131-3 Instructions
10-9
S7-200 Programmable Controller System Manual
A5E00066097-02
Compare Less Than
The Compare Less Than function compares IN1 less
than IN2 with the Boolean result placed in OUT. The
input and output data types can vary, but they must be of
the same type.
Byte comparisons are unsigned. Integer, double integer,
and real comparisons are signed. Time operations are
signed integers.
Inputs/Outputs Operands Data Types
Inputs
(LAD & FBD)
IB, QB, MB, SB, SMB, VB, LB, IW, QW, MW, SW, SMW, VW, LW,
T, C, AIW, ID, QD, MD, SD, SMD, VD, LD, HC, AC, Constant,
*VD, *AC, *LD
BYTE, INT, DINT,
REAL
OUT (LAD only) Power Flow BOOL
OUT (FBD only) I, Q, M, SM, V, S, L, Power Flow BOOL
Compare Less Than or Equal
The Compare Less Than or Equal function compares
IN1 less than or equal to IN2 with the Boolean result
placed in OUT. The input and output data types can vary,
but they must be of the same type.
Byte comparisons are unsigned. Integer, double integer,
and real comparisons are signed. Time operations are
signed integers.
Inputs/Outputs Operands Data Types
Inputs
(LAD & FBD)
IB, QB, MB, SB, SMB, VB, LB, IW, QW, MW, SW, SMW, VW, LW,
T, C, AIW, ID, QD, MD, SD, SMD, VD, LD, HC, AC, Constant,
*VD, *AC, *LD
BYTE, INT, DINT,
REAL
OUT (LAD only) Power Flow BOOL
OUT (FBD only) I, Q, M, SM, V, S, L, Power Flow BOOL
L
A
D
F
B
D
LT
IN1
IN2
OUT
222 224
✓✓✓
221
LT
EN
226
✓
L
A
D
F
B
D
LE
IN1
IN2
OUT
222 224
✓✓✓
221
LE
EN
226
✓