Example - Ladder Diagram
E>
The E> instruction compares a REAL value, S1, to another REAL value, S2, and executes if S1 is greater than S2.
LDE Execution Condition
When the result of the instruction execution of the expression D26 > D28 (1.200000 > 2.200000) is FALSE, the coil, Y3.6, is deenergized.
When the result of the instruction execution of the expression D26 > D28 (3.200000 > 2.200000) is TRUE, the coil, Y3.6, is energized.
Memory Monitor
ANDE Execution Condition
When the result of the instruction execution of the expression D30 > D32 (2.230000 > 3.230000) is FALSE, and the contact, M0.0 is ON (1), the coil, Y3.7, is deenergized.
When the result of the instruction execution of the expression D30 > D32 (2.230000 > -1.700000) is TRUE, and the contact, M0.0 is ON (1), the coil, Y3.7, is energized.
Memory Monitor
ORE Execution Condition
![]()
When the result of the instruction execution of the expression D34 > D36 (0.000000 > 1.100000) is FALSE, or the contact, M0.1 is ON (1), the coil, Y3.8, is energized.
![]()
When the result of the instruction execution of the expression D34 > D36 (2.230000 > 1.100000) is TRUE, and the contact, M0.1 is OFF (0), the coil, Y3.8, is energized.