Delta C2000 series User Manual page 484

Classical field oriented. control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

API
DEC
25
D
P
Bit Devices
X
Y
M
K
D
Operands: none
D: Destination
E xplanation
1. If the command is not a pulse execution type, the content in the designated
device D will minus "1" in every scan period whenever the instruction is
executed.
2. This instruction adopts pulse execution instructions (DECP).
3. In 16-bit operation, -32,768 minuses 1 and obtains 32,767. In 32-bit operation,
-2,147,483,648 minuses 1 and obtains 2,147,483,647.
When X0 goes from Off to On, the content in D0 minuses 1 automatically.
Example
D
Word Devices
H KnX KnY KnM T
X0
Chapter 16 PLC Function |C2000 Series
Decrement: BIN minus 1
16-bit command (3 STEPS)
DEC
C
D
32-bit command (5 STEPS)
Flag signal: none
DECP
D0
16-61
DECP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents