6F3B0253
158 T1-16S User’s Manual
7. Instructions

FUN 052 EOR Exclusive OR

Expression
Input [ A EOR B C ] Output
Function
When the input is ON, this instruction finds exclusive OR of A and B, and stores the result in C.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution ON
Operand
Name Device Register Constant Index
X Y R S T. C. XWYWRWSW T C D I J K
ASource √√√√√√√√√√ √
Bsource √√√√√√√√√√ √
CExclusive OR √√√√√√√√√ √
Example
When R012 is ON, exclusive OR operation is executed for the data of D1000 and D0300, and
the result is stored in D1000.
If the data of D1000 is H5678 and D0300 is H4321, the result H1559 is stored in D1000.
FEDCBA9876543210
D1000 0101011001111000
5678
Exclusive OR
D0300 0100001100100001
4321
D1000 0001010101011001
1559