6. BASIC INSTRUCTIONS
6
−
36
MELSEC-A
6.2.10 32-bit BIN data increment, decrement
(DINC, DINCP, DDEC, DDECP)
Available Device
Bit device
Word (16-bit) device
Constant
Pointer
Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
In
d
e
x
M9012 (M9010, M9011)
(D)
O O O O O O O O O O O O O O O O
O
Functions DINC
(1) Performs the addition of 1 to the device (32-bit data) specified at (D).
(2) If DINC or DINCP is executed when the content of device specified at (D) is
2147483647, - 2147483648 is stored into the device specified at (D)
DDEC
(1) Performs the subtraction of 1 from the device (32-bit data) specified at (D).
(2) If DDEC or DDECP is executed when the content of device specified at (D) is 0,
- 1is stored into the device specified at (D).
Execution Conditions
Applicable
CPU
All CPUs
K1
to
K8
DINC, DDEC commands
(D)
(D)
(D)
Head device number for
DINC (+1), DDEC(-1)
Setting data
DINC, DDEC
Indicates the instruction symbol.
DINC, DDEC
commands
Executed
per scan
Executed
per scan
Executed
only once
P
P
Executed
only once
ON
OFF
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......