![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831314.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-197
Ver. 1
6.30.8 GWXNR, GWXNRP
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)
GWXNR(P)
S1 O O O O O O O - O -
- O O O O O
4~7
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 O
N O O O - O O O - O -
- O O O O O
Operand
Description
Data Type
S1
Address of data to start GWXNR operation with S2
WORD
S2
Address of data to start GWXNR operation with S1
WORD
D
Address to save GWXNR operation result in
WORD
N
Number of data to execute WXNR operation
WORD
[Flag Set]
Flag
Description
Device
Number
Error
If N value exceeds applicable device’s area.
F110
1) GWXNR (Group Word XNR)
(1) Saves the results of word data from S1 and S2 operated in Logic WXNR for N times in word unit in D in
regular order.
GWXNR
GWXNRP
D
means GWXNR
P
D
N
N
S1 S2
S1 S2
1 1 1 1 1 1 0 0 0 0 1 1 0 0 1 1
S2+1
1 0 1 0 1 0 0 1 1 0 1 0 1 0 0 1
S2
b15
b8
b0
b7
0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 1
S2+2
0 0 1 1 0 1 0 1 1 0 1 1 0 1 1 1
S2+(N-2)
S2+(N-1) 0 0 1 1 0 0 1 1 1 1 0 0 1 0 1 1
n
S1+1
0 0 0 1 1 1 0 0 1 1 0 1 0 0 1 1
S1
b15
b8
b0
b7
1 1 0 0 0 0 1 1 1 1 0 0 1 1 1 1
S1+2
1 0 1 1 1 0 1 0 1 1 0 0 1 1 0 0
S1+(N-2) 1 0 0 1 1 1 0 0 1 0 1 0 1 1 1 1
S1+(N-1) 1 0 1 1 0 0 1 1 0 0 0 1 1 1 0 0
n
XNR
D+1
0 1 0 0 1 0 1 0 1 0 0 0 0 1 0 1
D
b15
b8
b0
b7
0 0 1 0 1 1 0 0 1 0 0 1 1 0 1 1
D+2
0 1 1 1 0 0 0 0 1 0 0 0 0 1 0 0
D+(N-2)
1 0 0 1 1 1 1 1 0 1 1 0 0 0 1 1
D+(N-1)
0 1 1 1 1 1 1 1 0 0 1 0 1 0 0 0
n
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...