Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 241
Compare Instructions (CMP, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ) Chapter 5
Example: If value_1 is less than or equal to value_2, set light_2. If value_1 is greater than
value_2, clear light_2.
Relay Ladder
Structured Text
light_2 := (value_1 <= value_2);
Function Block