7. APPLICATION INSTRUCTIONS
7 − 12
MELSEC-A
7.1.3 16-, 32-bit data exclusive logical add
(WXOR, WXORP, DXOR, DXORP)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
(S) O O O O O O O O O O O O O O O O O O
(D) O O O O O O O O O O O O O O O
(S1) O O O O O O O O O O O O O O O O O O
(S2) O O O O O O O O O O O O O O O O O O
WXOR
(D1) O O O O O O O O O O O O O O O
K1
to
K4
(S) O O O O O O O O O O O O O O O O
DXOR
(D) O O O O O O O O O O O O O
K1
to
K8
O O
Functions WXOR
(1) Performs the exclusive OR of the 16-bit data of device specified at (D) and the
16-bit data of device specified at (S) per bit, and stores the result into the device
specified at (D).
Applicable
CPU
All CPUs
(S) (D)
(S) (D)
P
(S)
(S1)
(S2)
Data for which exclusive
OR will be performed or
head number of device
which stores data
(D)
Data for performing
exclusive OR or head
number of device where
the result of exclusive OR
will be stored.
(D1)
Head number of device
which will store the result
of exclusive OR
Setting data
WXOR, DXOR
Indicates the instruction symbol.
Operation commands
(S1) (D1)
(S1) (D1)
P
(S2)
(S2)
WXOR may only be used in the
areas marked *.
Operation commands
*
*
16 bits
WXOR
Before execution
After execution