EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
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...
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-42
API
Applicable model
20PM
25
D
D
DEC
P
P
Subtracting one from a binary value
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
D
Note: The instruction supports V devices and Z devices. (If the 16-bit
instruction is used, Z devices can not be used. If the 32-bit
instruction is used, V devices can not be used.)
Please refer to specifications for more information about device
ranges.
16-bit instruction (3 steps)
DEC
Continuity
instruction
DECP
Pulse
instruction
32-bit instruction (3 steps)
DDEC
Continuity
instruction
DDECP
Pulse
instruction
Flag: None
Explanation
If the instruction used is not a pulse
instruction, the value in D used by the
instruction decreases by one whenever the instruction is executed.
D: Destination device
Generally, the pulse instructions DECP and DDECP are used.
If a 16-bit operation is performed, -32,768 minus 1 leaves 32,767. If a 32-bit
operation is performed, -2,147,483,648 minus 1 leaves 2,147,483,647.
Example
When X0 is turned from OFF to ON, the value in D0 decreases by one.
X0
DECP D0

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals