Delta Electronics VFD037CB43A-20 [337/363] Decp d0

Delta Electronics VFD007CB23A-21 [337/363] Decp d0
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

Содержание

Скачать