EasyManua.ls Logo

Mitsubishi MELSEC-A series

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
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

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals