16-Bit And 32-Bit Exclusive Or Operations (Wxor(P),Dxor(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

7.1.5
16-bit and 32-bit exclusive OR operations
(WXOR(P),DXOR(P))
WXOR(P),DXOR(P)
When two data are set
WXOR, DXOR
WXORP, DXOR
Setting
Data
S
D
Function
WXOR
(1) Conducts an exclusive OR operation on each bit of the 16-bit data of the device designated
by
D
designated by
(2) For bit devices, the bit devices after the points designated by digit specification are regarded as
"0" in the operation.
(
D
Command
Command
: Data for an exclusive OR operation or head number of the devices where the data is stored (BIN 16/32 bits)
S
: Head number of the devices where the exclusive OR operation result will be stored (BIN 16/32 bits)
D
Internal Devices
R, ZR
Bit
Word
and the 16-bit data of the device designated by
.
D
b15
D
1
0
1
0
1
0
1
b15
S
0
0
0
1
1
0
1
b15
1
0
1
1
0
0
0
D
High
Basic
performance
, (
+1,
)
(
S
D
D
D
S
indicates an instruction symbol of WXOR/DXOR.
J
\
U
\G
Bit
Word
, and stores the results at the device
S
b8
b7
b0
0
1
0
1
0
1
0
1
0
XOR
b8
b7
b0
1
1
1
1
1
0
0
0
0
b8
b7
b0
1
0
1
0
1
1
0
1
0
WXOR(P),DXOR(P)
Process
Redundant Universal
+1,
)
(
+1,
))
S
D
D
S
D
P
S
D
Constants
Zn
K, H
––
1
2
LCPU
3
4
6
6
7
Other
8
––
––
7-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents