XOR is an IEC operator that performs a bitwise exclusive OR on bit operands. For two input bits, the output is 1 only when exactly one input is 1; if both inputs are 1 or both are 0, the output is 0. The operator is permitted for BOOL, BYTE, WORD, DWORD and LWORD data types.
| Language | iec 61131 3 |
|---|---|
| Code | XOR |
| Group | bitwise |
| Dialect | CODESYS |