Compare instructions

Use Compare instructions to compare Integer, Real, Time, Date, and String values using an expression or a specific compare instruction, or to provide alerts when a configured high or low limit is reached.
Compare instructions
Instruction
Description
Compares the first input to the second input to determine equality. For Integer, Real, Time, Date, and String data types.
Compares input values to determine whether the first is greater than the second.
Compares input values to determine whether the first is greater than or equal to the second.
Compares input values to determine whether the first is less than the second.
Compare input values to determine whether the first is less than or equal to the second.
Compares input values to determine whether the first is not equal to the second.
Restricts integer values to a given interval.
Calculates the maximum of two integer values.
Calculates the maximum of two integer values.
Hysteresis on a real value for high and low limits.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal