Bkcmp P) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

6.1.6
BIN block data comparisons (BKCMP
BKCMP
,BKCMP
P
BKCMP
BKCMP
P
Setting
Data
S1
S2
D
n
Function
(1) Compares BIN 16-bit data the nth point from the device number designated by
16-bit data the nth point from the device number designated by
from the device designated by
(a) If the comparison condition has been met, the device designated by
(b) If the comparison condition has not been met, the device designated by
turned OFF.
S1
S1
S1
S1
S1
(2) The comparison operation is conducted in 16-bit units.
(3) The constant designated by
S1
Command
Command
: Data to be compared or head number of the devices where the data to be compared is stored (BIN 16 bits)
S1
: Head number of the devices where the comparison data is stored (BIN 16 bits)
S2
: Head number of the devices where the comparison operation result will be stored (bits)
D
n
: Number of comparison data blocks (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
––
––
D
1234
(BIN)
S2
1
5678
(BIN)
S2
5000
(BIN)
2
S2
n
(n 2)
7777
(BIN)
S2
(n 1)
4321
(BIN)
S2
can be between
S1
S2
S2
S2
32000
(BIN)
S2
S2
,BKCMP
High
Basic
performance
indicates an instruction symbol of
BKCMP
S1
BKCMP
P
S1
J
\
U
\G
Bit
Word
––
––
––
onward.
5321
(BIN)
1
3399
(BIN)
2
5678
(BIN)
n
(n 2)
6543
(BIN)
(n 1)
1200
(BIN)
32768 and 32767 (BIN 16-bit data).
32000
(BIN)
1
4321
(BIN)
2
32000
(BIN)
n
(n
2)
1234
(BIN)
(n
1)
5678
(BIN)
BKCMP
,BKCMP
P)
Process
Redundant Universal
/
/
/
/
/
n
D
S2
n
D
S2
Constants
Zn
Other
K, H
––
––
with BIN
S1
, and stores the result
S2
will be turned ON.
D
will be
D
Operation Results
D
(0)
OFF
1
(1)
D
ON
(0)
D
2
OFF
n
(n 2)
(1)
D
ON
(n 1)
(1)
D
ON
Operation Results
D
ON
(1)
D
1
OFF
(0)
2
D
ON
(1)
n
D
(n
2)
OFF
(0)
(n
1)
D
OFF
(0)
P
1
LCPU
2
3
.
4
4
6
7
––
8
––
––
––
6-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents