Exclusive Or - Xorw - Omron C200H Operation Manual

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Logic Instructions
Example
Flags
5-19-4
EXCLUSIVE OR – XORW(36)
Description
Example
Flags
186
15
I1
1
0
0
1
15
I2
0
1
0
1
15
1
1
0
1
R
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
Ladder Symbols
XORW(36)
@XORW(36)
I1
I2
R
When the execution condition is OFF, XORW(36) is not executed. When the
execution condition is ON, XORW(36) exclusively OR's the contents of I1
and I2 bit-by-bit and places the result in R.
15
I1
1
0
0
1
15
I2
0
1
0
1
15
1
1
0
0
R
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
1
0
1
1
1
0
IR, SR, AR, DM, HR, TC, LR, #
I1
IR, SR, AR, DM, HR, TC, LR, #
I2
R
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
1
0
0
1
1
0
Section 5-19
00
1
1
0
0
1
00
1
0
1
0
1
00
1
1
1
0
1
Operand Data Areas
I1: Input 1
I2: Input 2
R: Result word
IR, AR, DM, HR, LR
00
1
1
0
0
1
00
1
0
1
0
1
00
0
1
1
0
0

Advertisement

Table of Contents
loading

Table of Contents