Mitsubishi MELSEC-Q/L Programming Manual page 328

Table of Contents

Advertisement

WXNR, WXNRP, DXNR, DXNRP
[Operation]
S
+ 1
X3F
X3C X3B X38 X37 X34 X33
X3F to X20
0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
D
+ 1
b31
D17,D16 1
1
0 0 1 0 0 1 0 1 1 0 1 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 0 1 1
D
+ 1
b31
D17,D16 0
1
1 0
0 0
1 1
1 1 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 0 1 1 0 0 0 1
Remark
See Page 356, Section 7.5.2 for more information on the SUMP/DSUMP instructions.
When three data are set (
WXNR, DXNR
WXNRP, DXNRP
,
: Data for an exclusive NOR operation or head number of the devices where the data is stored (BIN 16/32 bits)
S1 S2
: Head number of the devices where the exclusive NOR operation result will be stored (BIN 16/32 bits)
D
Setting
Internal Devices
Data
Bit
S1
S2
D
Function
WXNR
(1) Conducts an exclusive NOR operation on the 16-bit data of the device designated by
designated by
, and stores the results at the device designated by
S2
(2) For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
326
S
X30
X2F
X2C X2B X28 X27 X24 X23
XOR
D
b16
b15
D
b16
b15
D18
15
, ( +1,
)
S1
S2
D
S1
S1
Command
Command
R, ZR
Word
Bit
b15
S1
1
1
1
1
0
0
b15
S2
0
0
1
1
1
1
b15
D
0
0
1
1
0
0
X20
b0
b0
( +1,
)
( +1,
))
S2
S2
D
D
indicates an instruction symbol of WXNR/DXNR.
S 1
P
S 1
J
\
U
\G
Word
.
D
b8
b7
0
0
1
1
1
1
0
0
XNR
b8
b7
0
0
0
0
1
1
0
0
b8
b7
1
1
0
0
1
1
1
1
S2
D
S2
D
Constants
Zn
K, H
––
and the 16-bit data of the device
S1
b0
0
0
b0
1
1
b0
0
0
Other
––
––
––

Advertisement

Table of Contents
loading

Table of Contents