Example - Ladder Diagram
E<
The E< instruction compares a REAL value, S1, to another REAL value, S2, and executes if S1 is less than S2.
LDE Execution Condition
When the result of the instruction execution of the expression D26 < D28 (3.300000 < 2.300000) is FALSE, the coil, Y1.6, is deenergized.
When the result of the instruction execution of the expression D26 < D28 (-3.300000 < 2.300000) is TRUE, the coil, Y1.6, is energized.
Memory Monitor
ANDE Execution Condition
When the result of the instruction execution of the expression D30 < D32 (2.200000 < 1.100000) is FALSE, and the contact, M0.0 is ON (1), the coil, Y1.7, is deenergized.
When the result of the instruction execution of the expression D30 < D32 (1.000000 < 1.100000) is TRUE, and the contact, M0.0 is ON (1), the coil, Y1.7, is energized.
Memory Monitor
ORE Execution Condition
![]()
When the result of the instruction execution of the expression D34 < D36 (1.120000 < 1.100000) is FALSE, or the contact, M0.1 is ON (1), the coil, Y1.8, is energized.
![]()
When the result of the instruction execution of the expression D34 < D36 (-1.120000 < 1.100000) is TRUE, and the contact, M0.1 is OFF (0), the coil, Y1.8, is energized.