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-41
API
Applicable model
20PM
24
D
D
INC
P
P
Adding one to 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)
INC
Continuity
instruction
INCP
Pulse
instruction
32-bit instruction (3 steps)
DINC
Continuity
instruction
DINCP
Pulse
instruction
Flag: None
Explanation
If the instruction used is not a pulse
instruction, the value in D used by the
instruction increases by one whenever the instruction is executed.
D: Destination device
Generally, the pulse instructions INCP and DINCP are used.
If a 16-bit operation is performed, 32,767 plus 1 equals -32,768. If a 32-bit
operation is performed, 2,147,483,647 plus 1 equals -2,147,483,648.
Example
When X0 is turned from OFF to ON, the value in D0 increases by one.
X0
INCP D0

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals