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 34
MELSEC-A
6.2.9 16-bit BIN data increment, decrement
(INC, INCP, DEC, DECP)
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 INC
(1) Performs the addition of 1 to the device (16-bit data) specified at (D).
(2) If INC or INCP is executed when the content of device specified at (D) is 32767,
-32768 is stored into the device specified at (D).
DEC
(1) Performs the subtraction to 1 from the device (16-bit data) specified at (D).
(2) If DEC or DECP is executed when the content of device specified at (D) is
-32768, 32767 is stored into the device specified at (D).
Execution Conditions
Applicable
CPU
All CPUs
INC, DEC commands
K1
to
K4
(D)
(D)
(D)
Head device number for
INC (+1), DEC (-1)
Setting data
INC, DEC
Indicates the instruction symbol.
INC, DEC
commands
Executed
per scan
Executed
per scan
Executed
only once
P
P
ON
OFF
Executed
only once

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals