5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-168
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
Busy
The motion
control function
block is being
executed.
BOOL
There is a
transition in the
Busy output pin’s
signal from low to
high when there is
a transition in the
Execute input
pin’s signal from
low to high.
There is a transition in the Busy
output pin’s signal from high to low
when there is a transition in the
Done output pin’s signal from low
to high.
There is a transition in the Busy
output pin’s signal from high to low
when there is a transition in the
Error output pin’s signal from low
to high.
There is a transition in the Busy
output pin’s signal from high to low
when there is a transition in the
Aborted output pin’s signal from
low to high.
Aborted
The execution of
the motion
control function
block is
interrupted by a
command.
BOOL
The execution of
the motion control
function block is
interrupted by a
command.
There is a transition in the Aborted
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
interrupted, the Aborted output pin
will be set to False in the next
cycle.
Error
An error occurs in
the motion
control function
block.
BOOL
Input values are
incorrect.
The axis specified
is in motion before
the motion control
function block is
executed.
There is a transition in the Error
output pin’s signal from high to low
when there is a transition in the
Execute input pin’s signal from
high to low.
The number of pulses is a unit for the Distance input pin, and the number of pulses per second is a unit
for the Velocity input pin. Users can change the unit used by means of the motion control function block
T_AxisSetting2. If the value of the DogEdge input pin is mcRising, motion will be triggered by a
transition in DOG’s signal from low to high. If the value of the DogEdge input pin is mcFalling, motion
will be triggered by a transition in DOG’s signal from high to low.
3. Troubleshooting
Error Troubleshooting
The values of input pins in the motion control function
block are incorrect.
Check whether the values of the input pins are in the
ranges allowed.
The motion control function block conflicts with other
motion control function blocks.
Make sure that other uniaxial motion control function
blocks are not started or the execution of other
uniaxial motion control function blocks is complete
before the motion control function block is started.
4. Examples
Example 1:
The motion control function block T_TrSeg1 is used to insert single-speed motion which is triggered
by a transition in DOG’s signal from high to low.
The motion control function block named T_TrSeg1_U1 is set so that the first axis moves at a
speed of 3,000 pulses per second, and will move for 5,000 pulses after a transition in DOG’s signal
from high to low. After the first axis moves for 5,000 pulses, Done will be set to True.