Logic Instructions
Example
Flags
5-25-5 EXCLUSIVE NOR – XNRW(37)
Limitations
Description
Flags
15
I1
1
0
15
I2
0
1
15
1
1
R
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
EQ:
ON when the result is 0.
Ladder Symbols
XNRW(37)
@XNRW(37)
I1
I2
R
DM 6144 to DM 6655 cannot be used for R.
When the execution condition is OFF, XNRW(37) is not executed. When the
execution condition is ON, XNRW(37) exclusively NOR's the contents of I1
and I2 bit-by-bit and places the result in R.
15
I1
1
0
15
I2
0
1
15
0
0
R
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
EQ:
ON when the result is 0.
0
1
1
0
0
1
1
0
1
0
1
0
1
0
0
0
1
1
0
0
1
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
I1
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
I2
R
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
0
0
1
1
0
Section 5-25
00
0
0
1
1
0
0
1
00
1
0
1
0
1
0
1
00
1
0
0
1
1
0
0
Operand Data Areas
I1: Input 1
I2: Input 2
R: Result word
IR, SR, AR, DM, EM, HR, LR
00
0
0
1
1
0
0
1
00
1
0
1
0
1
0
1
00
0
1
1
0
0
1
1
375
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?
Questions and answers