If you want to
Compare values based on an expression
Test whether two values are equal
Test whether one value is greater than or equal
to a second value
Test whether one value is greater than a
second value
Compare Instructions
(CMP, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ)
Topic
Compare (CMP)
Equal To (EQU)
Greater Than or Equal To (GEQ)
Greater Than (GRT)
Less Than or Equal To (LEQ)
Less Than (LES)
Limit (LIM)
Mask Equal To (MEQ)
Not Equal To (NEQ)
The compare instructions let you compare values by using an expression or a
specific compare instruction.
Use this instruction
CMP
EQU
GEQ
GRT
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Page
221
226
230
234
238
242
246
252
257
Available in these languages
Relay ladder
(1)
Structured text
Relay ladder
(2)
Structured text
Function block
Relay ladder
(1)
Structured text
Function block
Relay ladder
(1)
Structured text
Function block
5
Chapter
Page
221
226
230
234
219