Less Than

Tests if one value is LESS THAN another one (on integer, real, bool, time, and message variables).
lrso_lt1
Arguments
IN1
DINT - BOOL - MESSAGE - REAL - TIME
Both inputs must have the same type
IN2
DINT - BOOL - MESSAGE - REAL - TIME
Q
BOOL
TRUE if IN1 < IN2
Example
(* FBD example with "Less than" Operators *)
lrso_lt2
(* ST Equivalence: *)
aresult := (10 < 25); (* aresult is TRUE *)
mresult := ('z' < 'B'); (* mresult is FALSE *)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal