The IEC operator is used for the "does not equal" function.
Permitted data types of the operands: any basic data type; dependent on target system and compiler versions: structure data type
If the operands are not equal, then the operator yields the result TRUE
; otherwise FALSE
.
If the target system supports the data type, then with compiler version >= 3.5.7.0
and higher the STRUCT (structure) type operands can also be compared. Example: IF (stStruct1 := stStruct2) THEN...
.
Examples
Result in Var1
: FALSE
ST
Var1 := 40 <> 40;
FBD
