5 Applied Instructions and Basic Usage
2. Input pins/Output pins
Input pin
Name Function
Data
type
Setting value Time when a value is valid
Axis
Motion axis
number
WORD
DVP20PM00D:
K1~K2
DVP20PM00M:
K1~K3
The value of the Axis input pin is valid
when there is a transition in the
Execute input pin’s signal from low to
high.
Execute
Motion is started
when there is a
transition in the
Execute input
pin’s signal from
low to high.
BOOL True/False -
Vcure Velocity curve BOOL
mcTrapezoid: False
mcSCurve: True
The value of the Vcurve input pin is
valid when there is a transition in the
Execute input pin’s signal from low to
high.
OutputType Output type WORD
mcUD: 0
mcPD: 1
mcAB: 2
mc4AB: 3
The value of the OutputType input pin
is valid when there is a transition in
the Execute input pin’s signal from
low to high.
Unit Unit WORD
mcMotor: 0
mcMachine: 1
mcComp: 2
The value of the Unit input pin is valid
when there is a transition in the
Execute input pin’s signal from low to
high.
PulseRev
Number of pulses
it takes for a
motor to rotate
once
WORD K1~K2,147,483,647
The value of the PulseRev input pin is
valid when there is a transition in the
Execute input pin’s signal from low to
high.
DistanceRev
Distance for which
the axis specified
moves when the
motor used
rotates once
WORD K1~K2,147,483,647
The value of the DistanceRev input
pin is valid when there is a transition
in the Execute input pin’s signal from
low to high.
State output pin
Name Function
Data
type
Time when there is
a transition in an
output pin’s signal
from low to high
Time when there is a transition in an
output pin’s signal from high to low
Done
The execution of
the motion control
function block is
complete.
BOOL
There is a
transition in the
Done output pin’s
signal from low to
high when motion
of returning home
is complete.
There is a transition in the Done
output pin’s signal from high to low
when there is a transition in the
Execute input pin’s signal from
high to low.
If the Execute input pin is set to
False when the execution of the
motion control function block is
complete, the Done output pin will
be set to False in the next cycle.
DVP-20PM Application Manual
5-189