16-Bit And 32-Bit Data Exclusive Nor Operations (Wxnr(P), Dxnr(P)) - Mitsubishi MELSEC QS Series Programming Manual

Hide thumbs Also See for MELSEC QS Series:
Table of Contents

Advertisement

WXNR(P), DXNR(P)
7.1.4
16-bit and 32-bit data exclusive NOR operations
(WXNR(P), DXNR(P))
WXNR(P), DXNR(P)
When two data are set
WXNR, DXNR
WXNRP, DXNRP
Function
WXNR
(1) Conducts an exclusive NOR operation on the 16-bit data of the device designated by
the 16-bit data of the device designated by
designated by
(2) For bit devices, the bit devices below the points designated by digit specification are regarded as
"0" in the operation.
DXNR
(1) Conducts an exclusive NOR operation on the 32-bit data of the device designated by
the 32-bit data of the device designated by
designated by
7-16
7.1 Logical Operation Instructions

7.1.4 16-bit and 32-bit data exclusive NOR operations (WXNR(P), DXNR(P))

(
D
S
Command
Command
: Data for an exclusive NOR operation or start number of the devices where the data is stored (BIN 16/32 bits)
S
: Start number of the devices where the exclusive NOR operation result will be stored (BIN 16/32 bits)
D
Internal Devices
Set
Data
Bit
Word
D
.
D
b15
b8
b7
D
1
0
1
0
1
0
1
0
1
XNR
b15
b8
b7
S
1
1
1
1
0
0
0
0
0
b15
b8
b7
1
0
1
0
0
1
0
1
0
D
.
D
D
+ 1
b31
b16
b15
D
1
1
0
0
0
0
0
0
XNR
S
+ 1
b31
b16
b15
S
1
1
1
1
0
0
0
0
D
+ 1
b31
b16
b15
D
1
1
0
0
1
1
1
1
, (
+1,
)
(
+1,
D
D
D
S
S
P
Constants
Others
K, H
––
––
––
, and stores the results at the device
S
b0
0
1
0
1
0
0
1
b0
0
0
0
0
1
1
0
b0
1
0
1
0
0
0
0
, and stores the results at the device
S
D
b0
0
0
0
0
1
1
S
b0
1
1
1
1
0
0
D
b0
0
0
0
0
0
0
)
(
+1,
))
D
D
indicates "WXNR / DXNR".
S
D
S
D
and
D
and
D

Advertisement

Table of Contents
loading

Table of Contents