IEC operator⮫ “Overview”: Bitwise XOR of bit operands. The operands should be of the type BOOL, BYTE, WORD or DWORD.
Note the behavior of the XOR function in extended form, that means if there are more than 2 inputs. The inputs will be checked in pairs and the particular results will then be compared again in pairs (this complies with the standard, but may not be expected by the user).
Example in ST:
Var1 := 2#1001_0011 XOR 2#1000_1010
Example in FBD:
