3 Devices
DVP-20PM Application Manual
3-7
used once in a program. If a Y device is used more than once in a program, the state of the Y device
depends on the Y device used last time.
X0
X10
Y0
Y0
1
2
Y0 is used twice.
The state of Y0 depends on circuit
2
, that is, the
state of X10 determines the state of Y0.
The procedure for processing the program in a DVP-20PM series motion controller is described below.
X0
Y0
Y0
M0
Regenerating input signal
Processing the program
Regenerating output signals
Input
Input terminals
The input signals are read
into the input memory.
Input memory
The state of X0 is read from the input memory.
Writing the
state of Y0
Reading the state of Y0
Writing the
state of M0
Output
Latch memory
Output terminals
Output
Device memory
Regenerating an input signal:
1. Before a DVP-20PM series motion
controller executes a program, it
reads the states of the input signals
sent to it into its input memory.
2. If the states of the input signals
change during the execution of the
program, the states of input signals
stored in the input memory will not
change until the DVP-20PM series
motion controller reads the states of
the input signals sent to it next time.
3. The time it takes for an input device in
the program to receive the state of an
external signal is about 10
milliseconds. (The time it takes for a
contact in the program to receive the
state of an external signal may be
affected by the time it takes for the
program to be scanned.)
Processing a program:
After the DVP-20PM series motion
controller reads the states of the input
signals stored in the input memory, the
execution of the instructions in the
program will start from the beginning of
the program. After the program is
executed, the states of the Y devices
used in the program will be stored in the
device memory in the DVP-20PM series
motion controller.
Regenerating an output signal:
1. After M102 is executed, the states of
the Y devices stored in the device
memory will be sent to the latch
memory in the DVP-20PM series
motion controller.
2. The time it takes for a relay to be
turned form ON to OFF or turned
from OFF to ON is about 10.
3. The time it takes for a transistor to be
turned form ON to OFF or turned
from OFF to ON is about 10~20
milliseconds.