EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - 16-Bit Exclusive or Operations, 32-Bit Exclusive or Operations

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.1 Logical Operation Instructions
369
7
16-bit exclusive OR operations, 32-bit exclusive OR operations
WXOR(P), DXOR(P) [When two data are set]
Processing details
WXOR
Conducts an exclusive OR 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 at the device designated by (D).
For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
DXOR
Conducts an exclusive OR 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 at the device designated by (D).
For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
(S): Data for an exclusive OR 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 OR operation result will be stored (BIN 16/32 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S) 
(D) 
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
P
S D
S D
WXOR, DXOR
WXORP, DXOR
indicates an instruction symbol of WXOR/DXOR.
000110 1111110000
1
0
11
000
1
0
1
0
11
0
1
0
b15 b8 b0b7
b0b7b15 b8
XOR
001 0 1 0 1 0 1 0 1 0
b0b7b15 b8
11 10
D
S
D
D
S
D
0 1100110 1 00110
b0b15b31b16
XOR
+ 1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
b0b15b31b16
+ 1
0011 00111 0011
b31b16 b0b15
1
D
S
D
+ 1
D
S
D

Table of Contents

Related product manuals