EasyManua.ls Logo

Delta VFD015CB21A-21 - Page 337

Delta VFD015CB21A-21
363 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 14 PLC Function |C200 Series
14-52
API
25 D
DEC
P
D
Decrement: BIN minus 1
Bit Devices Word Devices
X Y M K H KnX KnY KnM T C D
D
Operands: none
16-bit command (3 STEPS)
DEC
DECP
32-bit command (5 STEPS)
Flag signal: none
Explanation
D: Destination
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.
Example
When X0 goes from Off to On, the content in D0 minuses 1 automatically.
X
0
DECP 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

Related product manuals