Greater Than or Equal

For integer, REAL, TIME, DATE, and STRING variables, compares input variables to determine whether the first is greater than or equal to the second.
For TON, TP, TOF, BLINK, and StepName.t in SFC chart, equality testing of TIME variables is not recommended.
lrso_geq1_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 i1 >= i2
Example
(* FBD example with "Greater or Equal to" Operators *)
lrso_geq2_CAM5
(* ST Equivalence: *)
aresult := (10 >= 25); (* aresult is FALSE *) mresult := ('ab' >= 'ab'); (* mresult is TRUE *)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal