Operator ‘EQ’¶
This IEC operator is used for the “equals” function.
Permitted data types of the operands: any basic data type, depending on target system and compiler version: structure data type.
If the operands are equal, then then the operator yields the result TRUE
, otherwise FALSE
.
Examples
Result: TRUE
ST:
VAR1 := 40 = 40;
FBD: