Chapter 14 PLC Function
|
C200 Series
14-51
API
24
D
INC
P
D
Increment: BIN plus 1
Bit Devices
Word Devices
X Y M K H KnX
KnY
KnM T
C
D
D
*
*
*
*
*
Operands: none
16-bit command (3 STEPS)
INC
INCP
32-bit command (5 STEPS)
-
-
-
-
Flag signal: none
Explanation
1.
D
: Destination device
2. If the instruction is not a pulse execution one, the content in the
designated device D will plus “1” in every scan period whenever the
instruction is executed.
3. This instruction adopts pulse execution instructions (INCP).
4. In 16-bit operation, 32,767 pluses 1 and obtains -32,768. In 32-bit
operation, 2,147,483,647 pluses 1 and obtains -2,147,483,648.
Example
When X0 goes from Off to On, the content in D0 pluses 1 automatically.
X0
INCP
D0
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com