8. Function Commands
INC, INCP
- 186 -
{ INC, INCP ... (16-bit BIN data) +1
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { { { {
{
{ { { { { { { {
{ {
2
INC
D
Increment command
INCP
D
INC
INCP
Setting data
D
No. of device to be
incremented (+1)
Function
(1) The device (16-bit data) designated with D is incremented by one.
5678 (BIN)
B15……………………………B0
D
+1
5679 (BIN)
B15……………………………B0
D
(2) If INC or INCP is executed when the data of the device designated with D is 32767, -32768 will be
stored in the device designated with D.
Execution conditions
The execution conditions for the INC, INCP commands are as shown below.
Command OFF
ON
INCP
Executed per scan
Executed per scan
INC