Compare instructions
Compare instructions compare values using an expression or a specific compare
instruction.
Operator
(=)
Equal
on
page 260
(>)
Greater Than
on
page 262
(>=)
Greater Than or Equal
on
page 263
(<)
Less Than
on
page 264
(<=)
Less Than or Equal
on
page 265
(<>)
Not Equal
on
page 266
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Compares the first input to the second input to determine equality for Integer, Real, Time,
Date, and String data types.
For Integer, Real, Time, Date, and String values, compares input values to determine
whether the first is greater than the second.
For Integer, Real, Time, Date, and String values, compares input values to determine
whether the first is greater than or equal to the second.
For Integer, Real, Time, Date, and String values, compares input values to determine
whether the first is less than the second.
For Integer, Real, Time, Date, and String values, compares input values to determine
whether the first is less than or equal to the second.
For Integer, Real, Time, Date, and String values, compares input values to determine
whether the first is not equal to the second.
Chapter 10
259