Delta AS Series Programming Manual page 351

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
0115
D
Device
X
D
Data
type
D
Symbol
Explanation
_6
1.
This instruction adds 1 to the value in D.
2.
Only the DINC instruction can use the 32-bit counter.
3.
For the 16-bit operation, 32,767 plus 1 equals -32,768. For the 32-bit operation, 2,147,483,647 plus 1 equals -
2,147,483,648.
Example
When X0.0 switches from OFF to ON, the value in D0 increases by one.
6 - 7 2
INC
P
Y
M
S
T
C
: Destination device
D
Operand
D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
Function
Adding one to a binary number
SR
E
K
16#
"$"
32-bit instruction
AS
AS
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents