6F3B0250
176 T1/T1S User’s Manual
7. Instructions

FUN 052 EOR Exclusive OR

Expression
Input -[
A
EOR
B
®
C
]- Output
Function
When t he input is O N, this instruction finds exclusive OR of
A
and
B
, and stores t he result in
C
.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution ON
Operand
Name Device Re
g
ister Constant Index
X Y R S T. C. XW YW RW SW T C D I J K
A
Source ÖÖÖÖÖÖÖÖÖÖ Ö Ö
B
source ÖÖÖÖÖÖÖÖÖÖ Ö Ö
C
Exclusive OR ÖÖÖÖÖÖÖÖÖ Ö
Example
When R012 is ON, ex clusive OR operation is executed for the data of D1000 and D0300, and the
result is stor ed in D1000.
If t he data of D1000 is H5678 and D0300 is H4321, the result H1559 is stor ed in D1000.
FEDCBA9876543210
D1000 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
5678
Exclusive OR
D0300 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1
4321
D1000 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1
1559
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net