Mitsubishi MELSEC Q Series Programming Manual page 242

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

Advertisement

DB+(P),DB-(P)
When three data are set ((
DB+, DB-
DB+P, DB-P
Setting
Data
S1
S2
D
Function
DB+
(1) Adds the BCD 8-digit data designated by
stores the result of the addition at the device designated by
(2) 0 to 99999999 (BCD 8 digits) can be assigned to
(3) If the result of the addition operation exceeds 99999999, the upper bits will be ignored.
The carry flag in this case does not go ON.
6-40
+1,
)+(
S1
S1
S2
Command
Command
: Data to be added to/subtracted from or head number of the devices where the data to be added
S1
to/subtracted from is stored (BCD 8 digits)
: Data for adding/subtracting or head number of the devices where the data for adding/subtracting is stored
S2
(BCD 8 digits)
: Head number of the devices where the addition/subtraction operation result is stored (BCD 8 digits)
D
Internal Devices
R, ZR
Bit
Word
S1
S1
S2
+1
(Upper 4 digits) (Lower 4 digits)
(Upper 4 digits) (Lower 4 digits)
5
6
7 8 9 1 2 3
+
0
1
9
9
0 0 0 0 0 0
0
1
+1,
) (
+1,
), (
+1,
S2
D
D
S1
indicates an instruction symbol of
S1
P
S1
J
\
U
\G
Bit
Word
and the BCD 8-digit data designated by
S1
.
D
S2
+1
D
+1
(Upper 4 digits) (Lower 4 digits)
2 3 4 5 6 7
5
8
0 2 3 6 9 0
Digits exceeding the designated number
of digits are assumed to be 0.
,
and
S1
S2
D
6 5 4 3 2 1
0
0
6 5 4 3 2 1
)-(
+1,
) (
+1,
S1
S2
S2
D
D
DB+/ DB
.
S2
D
S2
D
Constants
Zn
Other
K, H
––
––
––
––
, and
S2
D
.
))

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents