266
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Adding BCD 8-digit data
DB+(P) [when two operands are set]
These instructions add the two sets of BCD 8-digit data specified.
■Execution condition
■Description, range, data type
■Applicable devices
• These instructions add the BCD 8-digit data in the device specified by (d) and the BCD 8-digit data in the device specified
by (s), and store the operation result in the device specified by (d).
• If the result exceeds 99999999, the carry bit is ignored. In this case, SM700 does not turn on.
Ladder ST
Not supported
( Page 268 DB+(P) [when three operands are set])
FBD/LD
Not supported
( Page 268 DB+(P) [when three operands are set])
Instruction Execution condition
DB+
DB+P
Operand Description Range Data type Data type (label)
(s) Second addend data or the start device where the second
addend data is stored
0 to 99999999 BCD 8-digit ANY32
(d) Start device where the first addend data is stored 0 to 99999999 BCD 8-digit ANY32
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
(d)
(d)+1, (s)+1: Upper 4 digits
(d), (s): Lower 4 digits
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(d)(d)+1 (s)(s)+1 (d)(d)+1
+
0032345690 871068 01 194524
Filled with 0s.
1065432199 000000 00 654321
+