555
Logic Instructions Section 3-13
Examples When the execution condition CIO 00000000 is ON, the logical OR is taken of
corresponding bits in CIO 0021, CIO 0020 and CIO 0301, CIO 0300 and the
results will be output to corresponding bits in D00501 and D00500.
3-13-5 EXCLUSIVE OR: XORW(036)
Purpose Takes the logical exclusive OR of corresponding bits in single words of word
data and/or constants.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
S
1
: 0020 CH
S
1
+1: 0021 CH
S
2
: 0300 CH
S
2
+1: 0301 CH
D: D00500
D+1: D00501
Note: The vertical arrow indicates logical OR.
XORW(036)
I
1
I
2
R
I
1
: Input 1
I
2
: Input 2
R: Result word
Variations Executed Each Cycle for ON Condition XORW(036)
Executed Once for Upward Differentiation @XORW(036)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area I
1
I
2
R
CIO Area CIO 0000 to CIO 6143
Work Area W000 to W511
Holding Bit Area H000 to H511
Auxiliary Bit Area A000 to A959 A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area without bank E00000 to E32767
EM Area with bank En_00000 to En_32767
(n = 0 to C)