16-Bit Data Exclusive Nor Operations, 32-Bit Data Exclusive Nor Operations - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

16-bit data exclusive NOR operations, 32-bit data exclusive NOR
operations
WXNR(P), DXNR(P) [When two data are set]
High
Basic
Process
Redundant Universal
performance
WXNR, DXNR
WXNRP, DXNRP
(S): Data for an exclusive NOR operation or head number of the devices where the data is stored (BIN 16/32 bits)
(D): Head number of the devices where the exclusive NOR operation result will be stored (BIN 16/32 bits)
Setting
Internal device
data
Bit
Word
(S)
(D)
Processing details
■WXNR
• Conducts an exclusive NOR operation on the 16-bit data of the device designated by (D) and the 16-bit data of the device
designated by (S), and stores the results at the device designated by (D).
b15
D
1
0
1
0
1
0
1
b15
S
1
1
1
1
0
0
0
b15
1
0
1
0
0
1
0
D
• For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
■DXNR
• Conducts an exclusive NOR operation on the 32-bit data of the device designated by (D) and the 32-bit data of the device
designated by (S), and stores the results at the device designated by (D).
D
+ 1
b31
D
1
1
0
0
0
0
S
+ 1
b31
S
1
1
1
1
0
0
D
+ 1
b31
1
1
0
0
1
1
D
• For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
LCPU
Command
Command
R, ZR
J\
Bit
b8
b7
0
1
0
1
0
1
0
0
XNR
b8
b7
0
0
0
0
0
0
1
1
b8
b7
1
0
1
0
1
0
0
0
D
b16
b15
0
0
0
0
0
0
1
XNR
S
b16
b15
0
0
1
1
1
1
0
D
b16
b15
1
1
0
0
0
0
0
indicates an instruction symbol of WXNR/DXNR.
U\G
Word
b0
1
b0
0
b0
0
b0
1
b0
0
b0
0
S
D
P
S
D
Zn
Constant
Others
K, H
7 APPLICATION INSTRUCTIONS
7.1 Logical Operation Instructions
7
375

Advertisement

Table of Contents
loading

Table of Contents