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-73
API
Applicable model
20PM
50
REF
P
P
Refreshing the states of I/O devices
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
D
n
Note: All devices can not be modified by V devices and Z devices.
Please refer to specifications for more information about device
ranges.
16-bit instruction (7 steps)
REF
Continuity
instruction
REF P
Pulse
instruction
32-bit instruction
Flag: None
Explanation
D: Initial I/O device whose state is refreshed; n: Number of I/O devices whose
states are refreshed
The states of I/O devices are not refreshed until the instruction END is
executed. When the scan of a program starts, the states of external inputs are
read, and stored in the input memory. After the instruction END is executed,
the contents of the output memory will be sent to output terminals. Therefore,
users can use this instruction when they need the latest I/O data in an
operation process.
D must be an I/O device whose number ends with 0, e.g. X0, X10, Y0 or Y10.
The instruction can not be used to refresh the I/O devices in a digital extension
module.
D must be an I/O device in a PLC.
1. If D is X0 and n is less than or equal to 8, the states of X0~X0 will be
refreshed. If n is greater than 8, the states of the input devices and the
states of the output devices in the motion controller used will be refreshed.
2. If D is Y0, and n is equal to 8, the states of Y0~Y7 will be refreshed. If n is
greater than 8, the states of the input devices and the states of the output
devices in the motion controller used will be refreshed.
3. If D is X10 or Y10, and n is any number, the states of all the input devices
except X0~X7, and the states of all the output devices except Y0~Y3 in
the motion controller used will be refreshed.
n is in the range of 4 to the number of I/O devices in the motion control module
used, and is a multiple of 4.
Example 1
When X0 is ON, the DVP-20PM series motion controller reads the states of
X0~X7 immediately. The input signals are refreshed without any delay.
X0
REF X0 K8
Example 2
When X0 is ON, the states of Y0~Y3 are sent to output terminals. The output
signals are refreshed immediately without the need to wait for the execution of
the instruction END.
X0
REF Y0 K8
Example 3
When X0 is ON, the states of the input terminals starting from X10, or the
states of the output terminals starting from Y10 are refreshed.
X0
REF X10 K8
X0
REF
Y10 K8
Or

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals