Mitsubishi MELSEC Q Series Programming Manual page 396

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

Advertisement

WXOR(P),DXOR(P)
When three data are set
WXOR, DXOR
WXORP, DXORP
Setting
Data
S1
S2
D
Function
WXOR
(1) Conducts an exclusive OR operation on each bit of the 16-bit data of the device designated
by
S1
designated by
(2) For bit devices, the bit devices after the points designated by digit specification are regarded
as "0" in the operation. (See Program Example (1))
7-22
(
S1
Command
Command
,
: Data for an exclusive OR operation or head number of the devices where the data is stored
S1
S2
(BIN 16/32 bits)
: 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
S1
0
0
0
0
1
1
b15
S2
0
1
0
1
0
1
b15
D
0
1
0
1
1
0
(
+1,
)
(
S2
D
S1
S1
indicates an instruction symbol of WXOR/DXOR.
P
J
\
U
\G
Bit
Word
, and stores the results at the device
S2
b8
b7
1
1
1
1
1
1
0
0
XOR
b8
b7
0
1
0
1
0
1
0
1
b8
b7
1
0
1
0
1
0
0
1
+1,
)
(
+1,
))
S2
S2
D
D
S 1
S2
D
S 1
S2
D
Constants
Zn
K, H
––
b0
0
0
b0
0
1
b0
0
1
Other
––
––
––

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents