222
DBK+, DBK+P, DBK-, DBK-P
Program Example
(1) The following program adds, when X20 is turned ON, the data stored at D100 to D103 to the data stored at R0 to R3 and
stores the operation result into the area starting from D200.
[Ladder Mode]
[List Mode]
[Operation]
(2) The following program subtracts, when X1C is turned ON, the constant 8765 from the data at D100 to D102 and stores
the operation result into the area starting from R0.
[Ladder Mode]
[List Mode]
[Operation]
: Head number of the devices where the data to be added and subtracted are stored (BIN 32 bits)
: Addition and subtraction data or head number of the devices where the addition and subtraction data are stored (BIN 32 bits)
: Head number of the devices where the addition and subtraction operation result will be stored (BIN 32 bits)
n
: Number of addition and subtraction data blocks (BIN 16 bits)
DBK+, DBK+P, DBK-,
BIN 32-bit data block addition and subtraction operations
DBK-P
6.2.14
DBK+, DBK+P, DBK-, DBK-P
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K,H
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
––
––
––
––
––
n
––
––
Step
Instruction
Device
(
BIN
)
D101
(
BIN
)
(
BIN
)
(
BIN
)
b15
b0
D100
D102
D103
1234
(
BIN
)
R1
2032
(
BIN
)
1000
(
BIN
)
3252
(
BIN
)
b15
b0
R0
R2
R3
6789
7821
3520
5432
8023
(
BIN
)
D201
9853
(
BIN
)
2520
(
BIN
)
2180
(
BIN
)
b15
b0
D200
D202
D203
4
D0
Step
Instruction
Device
(
BIN
)
D101
(
BIN
)
(
BIN
)
b15
b0
D100
D102
12345
8701
3502
3580
(
BIN
)
R1
64
(
BIN
)
5263
(
BIN
)
b15
b0
R0
R2
8765
(
BIN
)
b15
b0
Basic
High
performance
Process
Redundant
Universal
LCPU
Ver.
DBK+,DBK-
DBKP+,DBK-P
S1
S2
D
n
S1
S2
D
n
P
indicates an instruction s
y
mbol of D
BK+
,
DBK- .
Command
Command
S1
S2
D
S1
S2
D