Chapter 6 Instruction Details
XBC E-Type Main Unit
6-187
Ver. 1
6.30.4 WXNR, WXNRP, DWXNR, DWXNRP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
WXNR(P)
DWXNR(P)
S1 O O O O O O O - O -
- O O O O O
4~6
-
O
-
S2 O O O O O O O - O -
-
- O O O O
D O O O - O O O - O -
-
- O - O O
Operand
Description
Data Type
S1
Data to execute WXNR operation with S2
BIN 16/32
S2
Data to execute WXNR operation with S1
BIN 16/32
D
Address to save WXNR operation result in
BIN 16/32
[Flag Set]
Flag
Description
Device
Number
Zero
To be set if operation result is Zero.
F111
1) WXNR (Word Exclusive NOR)
(1) Saves the result of word data S1 and S2 with Exclusive NOR for each bit in D.
(2) Exclusive NOR: If S1 and S2 bit is different from each ather, the operated result is 0. If S1 and S2 bit is same,
the operated result is 1. The operated result is saved in applicable bit.
2) DWXNR (Double Word Exclusive NOR)
(1) Saves the result of Double word data (S1+1,S1) and (S2+1,S2) operated in Exclusive NOR for each bit in
Double word area of (D+1, D).
WXNR
D
b15
b8
b0
b7
0
0
1
1
1
0
1
0
0
0
0
1
0
0
1
0
S2
b8
b0
b7
S1
b15
b8
b0
b7
b15
1
1
1
1
0
1
1
1
1
0
1
1
1
0
0
0
0
0
1
1
0
0
1
0
0
1
0
1
0
1
0
1
(D)WXNR
means WXNR
P S1 S2
(D)WXNR
P
S1 S2 D
D
Содержание XBC-DN10E
Страница 1: ......
Страница 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...
Страница 52: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 24 Ver 1 3 7 2 XBC DR10E 4 point relay output...
Страница 54: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 26 Ver 1 3 7 3 XBC DN10E 4 point transistor output...
Страница 56: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 28 Ver 1 3 7 4 XBC DR14E 6 point relay output...
Страница 58: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 30 Ver 1 3 7 5 XBC DN14E 6 point transistor output...
Страница 60: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 32 Ver 1 3 7 6 XBC DR20E 8 point relay output...
Страница 62: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 34 Ver 1 3 7 7 XBC DN20E 8 point transistor output...
Страница 64: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 36 Ver 1 3 7 8 XBC DR30E 12 point relay output...
Страница 66: ...Chapter 3 Installation and Wiring XBC E Type Main Unit 3 38 Ver 1 3 7 9 XBC DN30E 12 point transistor output...