Greater Than or Equal
Tests if one value is GREATER THAN or EQUAL TO another one (on integer, real, bool, and
message variables).

Arguments | ||
---|---|---|
IN1 | DINT - BOOL - MESSAGE - REAL | Both inputs must have the same type. |
IN2 | DINT - BOOL - MESSAGE - REAL | |
Q | BOOL | TRUE if IN1 >= IN2 |
Example
(* FBD example with "Greater or Equal to" Operators *)

(* ST Equivalence: *)
aresult := (10 >= 25); (* aresult is FALSE *)
mresult := ('ab' >= 'ab'); (* mresult is TRUE *)
Provide Feedback