Less Than

For integer, REAL, TIME, DATE, and STRING variables, compares input variables to determine whether the first is less than the second.
lrso_lt1_cam5
Arguments
i1
SINT - USINT - BYTE - INT - UINT - WORD - DINT - UDINT - DWORD - LINT - ULINT - LWORD - REAL - LREAL - TIME - DATE - STRING
Both inputs must have the same type
i2
SINT - USINT - BYTE - INT - UINT - WORD - DINT - UDINT - DWORD - LINT - ULINT - LWORD - REAL - LREAL - TIME - DATE - STRING
o1
BOOL
TRUE if i1i2 < i2
Example
(* FBD example with "Less than" Operators *)
lrso_lt2_cam5
(* 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