Not Equal
For integer, REAL, TIME, DATE, and STRING variables, compares input variables to determine whether the first is not equal to the second.

Arguments | ||
---|---|---|
i1 | BOOL - 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 | BOOL - SINT - USINT - BYTE - INT - UINT - WORD - DINT - UDINT - DWORD - LINT - ULINT - LWORD - REAL - LREAL - TIME - DATE - STRING | |
o1 | 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