Mitsubishi Electric M800VW Series Programming Manual page 299

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.6 Logical Operation Instructions
WXNR, WXNRP, DXNR, DXNRP: 16-bit and 32-bit data non-exclusive logical sum operations (Device at
storage destination: Shared type)
Setting
Bit devices
data
X
Y
M
L
F
S
D
△ : This is not available with DXNR(P).
[Instruction symbol] [Execution condition]
WXNR, DXNR
WXNRP, DXNRP
 Setting data
Setting data
S
Data on which negative exclusive OR operation will be performed, or device No. of
device where the data is stored
D
 Functions
WXNR
 Conducts a non-exclusive logical sum operation on each bit of 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 in the device designated by "D".
Before execution
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
D
Before execution
0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
S
After execution
D
1
 For the bit device, the bits corresponding the digits other than the designated digit are handled as "0" in the operation.
DXNR
 Conducts a non-exclusive logical sum operation on each bit of 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 in the device designated by "D".
0 1 0 1
Before execution
D
Before execution
S
0 1 1
After execution
D
1 1
 For the bit device, the bits corresponding the digits other than the designated digit are handled as "0" in the operation.
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
16bit
XNR
0 1 0 0 1 0 1 1
0 1
0 0 1 0 1
32bit
D+1
D
0 1 0 1 0 1
XNR
S+1
S
0
0 1 1
0 1
0
D+1
D
0 0
1 1
0 0 0 0
Word devices
D
R/ZR W SW SD
Z
1
0 1 0 1
0 1
1
0
1 1
0 0
278
Digit
Con-
Pointer
designa-
Index
stant
tion
K
H
P
indicates the signs WXNR/DXNR
S
D
P
S
D
Data type
BIN 16/32 bits

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents