Mitsubishi MELSEC QS Series Programming Manual page 154

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

Advertisement

WXNR(P), DXNR(P)
When three 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-18
7.1 Logical Operation Instructions
7.1.4 16-bit and 32-bit data exclusive NOR operations (WXNR(P), DXNR(P))
S2
S1
Command
Command
,
: Data for an exclusive NOR operation or start number of the devices where the data is stored
S1
S2
(BIN 16/32 bits)
:
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
S1
S2
D
.
D
b15
b8
S1
1
1
1
1
0
0
0
0
XNR
b15
b8
S2
0
0
1
1
1
1
0
0
b15
b8
D
0
0
1
1
0
0
1
1
.
D
S1
+ 1
b31
b16
S1
0
0
1
1
0
0
1
XNR
S2
+ 1
b31
b16
S2
0
1
0
1
0
1
0
D
+ 1
b31
b16
D
1
0
0
1
1
0
0
, (
+1,
)
(
+1,
D
S2
S1
S1
indicates a symbol of "WXNR / DXNR".
P
Constants
Others
K, H
––
––
––
––
, and stores the results at the device
S2
b7
b0
1
1
1
1
0
0
0
0
b7
b0
0
0
1
1
0
0
1
1
b7
b0
0
0
1
1
1
1
0
0
, and stores the results at the device
S2
S1
b15
b0
1
1
1
0
0
1
1
S2
b15
b0
1
0
1
0
1
0
1
D
b15
b0
1
0
1
1
0
0
1
)
(
+1,
))
S2
D
D
S1
D
S2
D
S1
S2
S1
S1
and
and

Advertisement

Table of Contents
loading

Table of Contents