Block Logical Sum Operations (Bkor(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.4

Block logical sum operations (BKOR(P))

BKOR(P)
BKOR
BKORP
Setting
Data
S1
S2
D
n
Function
(1) Performs a logical sum 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
S1
S1
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
S1
(BIN 16 bits)
*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
b8
b7
0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0
+ 1
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
+ 2
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 0 0 0 0
b15
D
0 0 0 0 1 1 1 1 1 1 0 0 1 1 1 1
D
+ 1
1 1 0 0 1 1 0 0 1 1 1 1 1 1 1 1
D
+ 2
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
D
+(n 2)
0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1
D
+(n 1)
1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1
High
Basic
performance
S 1
BKOR
S 1
BKORP
J
\
U
\G
Bit
Word
––
––
––
*1: The same device number can be specified for
b0
b15
S2
0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 1
+ 1
1 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1
S2
+ 2
0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0
S2
n
OR
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
S2
+(n 2)
+(n 1)
0 0 1 1 1 1 0 0 0 0 0 0 1 1 1 1
S2
b7
b0
b8
n
BKOR(P)
Process
Redundant Universal
D
S2
n
S2
D
n
Constants
Zn
Other
K, H
––
––
and
or
S1
D
S2
S2
.
D
b8
b7
b0
n
1
LCPU
2
3
4
6
6
7
––
8
––
––
––
and
.
D
, and
7-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents