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