EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Page 314

LS Industrial Systems XBC-DR10E
542 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-197 Ve r. 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

Table of Contents

Related product manuals