Bkand, Bkandp; Block Logical Products - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

BKAND, BKANDP

7.1.2
BKAND, BKANDP

Block logical products

7.1.2
BKAND, BKANDP
BKAND
BKANDP
*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)
Internal Devices
Setting
Data
Bit
Word
*1
––
S1
*1
––
S2
*1
––
D
n
*1:
The same device number can be specified for
Function
(1) Performs a logical product 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
b8
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
S1
+ 1
1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1
S1
+ 2
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
S1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
S1
+(n 2)
1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
S1
+(n 1)
D
D
310
Command
Command
J
R, ZR
Bit
S1
b0
b7
n
AND
S2
S2
b15
b8
b7
0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0
D
D
+ 1
1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
D
+ 2
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
+(n 2)
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
+ (n 1)
1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
High
Basic
performance
S2
BKAND
S 1
S 1
S2
BKANDP
\
U
\G
Word
––
––
––
and
or
and
.
D
S2
D
, and stores the results into the area starting from the device
S2
b15
b8
b7
0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0
S2
S2
+ 1
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
S2
+ 2
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
+(n 2)
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
+(n 1)
b0
n
Process
LCPU
Redundant Universal
D
n
D
n
Constants
Zn
Other
K, H
––
––
––
––
––
––
, and the data
S1
b0
n

Advertisement

Table of Contents
loading

Table of Contents