Not Equal
Tests if one value is NOT EQUAL TO another one (on integer, real, boolean, 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 first <> second |
Example
(* FBD example with "Is Not Equal to" Operators *)

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