Bkxor, Bkxorp; Block Exclusive Or Operations - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

BKXOR, BKXORP

7.1.6
BKXOR, BKXORP

Block exclusive OR operations

7.1.6
BKXOR, BKXORP
BKXOR
BKXORP
*1 : Head number of the devices where data on which a logical operation will be conducted is stored (BIN 16 bits)
S1
*1 : Data for a logical operation or head number of the devices where the data for the logical operation is stored (BIN 16 bits)
S2
*1 : Head number of the devices where the operation result will be stored (BIN 16 bits)
D
n
: Number of operation data blocks (BIN 16 bits)
Setting
Internal Devices
Data
Bit
*1
––
S1
*1
––
S2
*1
––
D
n
*1:
The same device number can be specified for
Function
(1) Performs an exclusive OR operation on the data located in the n points from the device designated by
located in the n points from the device designated by
designated by
.
D
b15
S1
0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1
1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0
S1
+ 1
S1
+ 2
1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
S1
+(n 2)
+(n 1)
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
S1
322
Command
Command
R, ZR
Word
Bit
S1
b8
b7
b0
n
XOR
b15
b8
b7
D
0 0 0 0 1 1 1 1 0 0 1 1 1 1 1 1
D
+ 1
1 1 1 1 0 0 0 0 1 1 0 0 0 0 0 0
D
+ 2
1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1
D
+(n 2)
1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
D
+(n 1)
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
High
Basic
performance
S 1
S2
BKXOR
S 1
S2
BKXORP
J
\
U
\G
Word
––
––
––
and
or
and
.
D
S2
D
, and stores the results into the area starting from the device
S2
b15
b8
b7
S2
0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0
S2
+ 1
0 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0
S2
+ 2
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
S2
1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1
+(n 2)
S2
+(n 1)
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
b0
n
Process
Redundant Universal
LCPU
D
n
D
n
Constants
Zn
Other
K, H
––
––
––
––
––
––
, and the data
S1
b0
n

Advertisement

Table of Contents
loading

Table of Contents