Dbkcmp; Dbkcmpp; Bin 32-Bit Block Data Comparisons - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

DBKCMP , DBKCMP P
(3) The following program compares, when X20 is turned ON, the data at D10 to D12 with the data at D30 to D32, and
stores the operation result into the area starting from M100.
The following program transfers the character string "ALL ON" to D100 onward when all devices from M100 onward have
reached the 1 "ON" state.
[Ladder Mode]
[Operation]
b15
b0
1234
(BIN)
D10
5678
(BIN)
D11
9876
(BIN)
D12
6.1.7
DBKCMPooo,

BIN 32-bit block data comparisons

DBKCMPoooP
6.1.7
DBKCMP , DBKCMP P

DBKCMP

DBKCMP
: Data to be compared or head number of the devices where the data to be compared are stored (BIN 32 bits)
S1
: Head number of the devices where the comparison data are stored (BIN 32 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)
Setting
Internal Devices
Data
Bit
Word
––
S1
––
S2
––
D
n
––
184
[List Mode]
Step
b15
b0
4321
(BIN)
D30
5678
(BIN)
D31
9999
(BIN)
D32
D100
D101
D102
Command
DBKCMP
Command
P
DBKCMP
J
\
R, ZR
Bit
Instruction
Device
ON
M100
ON
M101
ON
M102
b15
b8
b7
b0
4C
(L)
41
(A)
H
H
20
( )
4C
(L)
H
H
4E
(N)
4F
(O)
H
H
Basic
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
indicates an instruction symbol of
S1
S2
P
S1
S2
U
\G
Word
––
––
––
SM704
ON
$MOV
Ver.
High
Process
Redundant
Universal
performance
.
/
/
/
/
/
n
D
n
D
Constants
Zn
K, H
––
––
LCPU
Other
––
––
––
––

Advertisement

Table of Contents
loading

Table of Contents