Not Equal

Tests if one value is NOT EQUAL TO another one (on integer, real, boolean, and message variables).
lrso_neq1
Arguments
IN1
DINT - BOOL - MESSAGE - REAL
both inputs must have the same type
IN2
DINT - BOOL - MESSAGE - REAL
Q
BOOL
TRUE if first <> second
Example
(* FBD example with "Is Not Equal to" Operators *)
lrso_neq2_ISAGRAF
(* ST Equivalence: *)
aresult := (10 <> 25); (* aresult is TRUE *)
mresult := ('ab' <> 'ab'); (* mresult is FALSE *)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal