Block Exclusive Or Operations (Bkxor(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

7.1.6

Block exclusive OR operations (BKXOR(P))

BKXOR(P)
BKXOR
BKXORP
Setting
Data
S1
S2
D
n
Function
(1) Performs an exclusive OR operation on the data located in the n points from the device
designated by
stores the results into the area starting from the device designated by
S1
+(n 2)
+(n 1)
S1
Command
Command
*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
S2
(BIN 16 bits)
*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)
Internal Devices
R, ZR
Bit
Word
––
*1
––
*1
––
*1
, and the data located in the n points from the device designated by
S1
b15
b7
b8
S1
0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1
S1
+ 1
1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0
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
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
b15
D
D
+ 1
D
+ 2
D
+(n 2)
D
+(n 1)
Basic
S 1
BKXOR
S 1
BKXORP
J
\
U
\G
Bit
Word
––
––
––
*1: The same device number can be specified for
b0
S2
+ 1
S2
S2
+ 2
n
XOR
S2
+(n 2)
S2
+(n 1)
b8
b7
b0
0 0 0 0 1 1 1 1 0 0 1 1 1 1 1 1
1 1 1 1 0 0 0 0 1 1 0 0 0 0 0 0
1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
BKXOR(P)
High
Process
Redundant Universal
performance
S2
D
n
S2
D
n
Constants
Zn
K, H
––
––
and
or
S1
D
.
D
b15
b8
b7
b0
0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0
0 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 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 1 1 1 1 1
n
1
LCPU
2
3
4
6
6
7
Other
––
––
8
––
––
and
.
S2
D
, and
S2
n
7-25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents