Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-25
BKXOR(P)
1
2
3
4
6
6
7
8
7.1 Logical operation instructions
7.1.6 Block exclusive OR operations (BKXOR(P))
7.1.6 Block exclusive OR operations (BKXOR(P))
BKXOR(P)
*1: The same device number can be specified for and or and .
Function
(1) Performs an exclusive OR operation on the data located in the n points from the device
designated by , and the data located in the n points from the device designated by , and
stores the results into the area starting from the device designated by .
*1 :
Head number of the devices where data on which a logical operation will be conducted is stored (BIN 16 bits)
*1 :
Data for a logical operation or head number of the devices where the data for the logical operation is stored
(BIN 16 bits)
*1 : Head number of the devices where the operation result will be stored (BIN 16 bits)
n : Number of operation data blocks (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
*1
–– –– –– ––
*1
–– –– ––
*1
–– –– –– ––
n ––
Basic
Process
High
performance
Redundant
Universal
BKXOR
Command
Command
BKXORP
n
n
BKXOR
BKXORP
D
S1
S2
D
S2
S1
S1
S2
D
S1
S2
D
S1
D
S2
D
S1
S2
D
b15 b8
0
0 1 1 1 1 0 0 0 0 1 111 0 0
b7 b0
0 0 1 1 1 1 0 0 0 0 0 011 0 0
0 0 0 0 0 0 0 0 1 1 1 111 1 1
1 1 1 1 1 1 1 1
0 0 0 0
1
1 1 1
0 0 0 0 1 1 1 1 1 1 1 111 1 1
b15 b8
0
0 0 0 1 1 1 1 0 0 1 111 1 1
b7 b0
1 1 1 1 0 0 0 0 1 1 0 000 0 0
1 1 1 1 0 0 0 0 0 0 0 011 1 1
1 1 1 1 1 1 1 1 1 1 1 100 0 0
0 0 0 0 0 0 0 0 0 0 0 011 1 1
XOR
b15
b8
0
0 1 1 0 0 1 1 0 0 0 000 1 1
b7 b0
1 1 0 0 1 1 0 0 1 1 0 011 0 0
1 1 1 1 0 0 0 0 1 1 1 100 0 0
0 0 0 0 0 0 0 0
1 1 1 111 1 1
0 0 0 0 1 1 1 1 1 1 1 100 0 0
n
+ 1
+ 2
+ 1
+ 2
D
S1
S1
S1
D
D
D
D
S1
S1
+ 1
+ 2
S2
S2
S2
S2
S2
n
n
+(n
1)
+(n
2)
+(n
1)
+(n
2)
+(n
1)
+(n
2)