Mitsubishi MELSEC Q Series Programming Manual page 405

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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
S1
S2
D
(2) For bit devices, the bit devices after the points designated by digit specification are regarded
as "0" in the operation.
Operation Error
(1) There are no operation errors associated with the WXNR(P) or DXNR(P) instructions.
Program Example
(1) The following program performs an exclusive NOR operation on the 16-bit data from X30 to
X3F and the data at D99 when X0 is turned ON, and stores the results to D7.
[Ladder Mode]
[Operation]
X3F to X30
D99
.
D
S1
+ 1
b31
b16
0
0
1
1
0
0
1
XNR
S2
+ 1
b31
b16
0
1
0
1
0
1
0
D
+ 1
b31
b16
1
0
0
1
1
0
0
X3F
X3CX3B
0
1
0
1
0
1
0
b15
1
1
0
0
1
0
0
b15
D7
0
1
1
0
0
0
1
, 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
[List Mode]
Step
Instruction
X38
X37
X34X33
X30
1
0
1
0
1
0
1
0
XNR
b8
b7
1
1
1
1
1
1
1
0
b8
b7
1
0
1
0
1
0
1
1
WXNR(P),DXNR(P)
and
S1
Device
1
b0
0
b0
0
7-31
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents