154
D
I
N C P
D
D D E C P
D
FNC
24
1
1
2
2
M
M
3
3
○
○
○
○
○
○
○
○
FNC
25
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
D
DECP D101
X20
D : the destination device
D : the destination device
X20
INCP D100
D
D
Operand
Devices
Increment (D)+1 → (D)
Decrement (D) – 1 → (D)
In a 16-bit operation, when a value of “+32,767” is reached, the next increment of “1” will write a value of “-32,768”
to the destination device.
In a 32-bit operation, when a value of “+2,147,483,647” is reached, the next increment of “1” will write
a value of “-2,147,483,648” to the destination device.
When X20 = “OFF” → “ON”, the content value of destination (D100) will be increased by one.
If the instruction is not a pulse (P) instruction, the destination (D100) will increase its value in every scan cycle.
The instruction operation result will never lead to any change of a ag.
When X20 = “OFF” → “ON”, the content value of destination (D100) will be decreased by one.
If the instruction is not a pulse (P) instruction, the destination (D100) will decrease its value in every scan cycle.
In a 16-bit operation, when a value of “-32,768” is reached, the next decrement of “1” will write a value of “+32,767”
to the destination device.
In a 32-bit operation, when a value of “-2,147,483,648” is reached, the next increment of “1” will write a value of
“+2,147,483,647” to the destination device.
The instruction operation result will never lead to any change of a ag.