7.1 Logical Operation Instructions
7.1.8 Exclusive NOR operation on block data
7-25
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
BKX
NR
BKXNR
Function
(1) Performs an exclusive NOR operation on the data n points from the device specified for
,
and the data n points from the device specified for
, and stores the results to the device
specified for
and the following devices.
(2) The constant can be specified for
between 32768 and 32767 (16-bit BIN data).
s
1
s
2
d
XN
R
b15
b8
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
b7
b0
1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
+
1
+
2
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
+
(
n
1)
+
(
n
2)
n
b15
b8
1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1
b7
b0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1
+
1
+
2
0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0
1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1
n
b15
b8
0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0
b7
b0
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
+
1
+
2
1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
+
(
n
1)
+
(
n
2)
n
+
(
n
1)
+
(
n
2)
d
s
1
s
2
s
2
s
2
s
2
s
2
s
1
s
1
s
1
s
1
d
d
d
d
s
2
+
1
+
2
s
1
s
1
s
1
s
1
s
1
s
2
n
b15
b8
0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0
b7
b0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0
1 1
1 1 0 0
1 1
1 1 1 1
b15
b8
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
b7
b0
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
1 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1
1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
XN
R
b15
b8b7
b0
1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
0 0 0 0 1 1
0 0
0 0 0 0 0 0 0 0
1 1 1 1
n
+
1
+
2
d
d
d
d
d
+
(
n
1)
+
(
n
2)
+
(
n
1)
+
(
n
2)
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......