5 Applied Instructions and Basic Usage
5.10.16 State of an Axis
1. Motion control function block
The motion control function block is T_AxisStatus is used to read and clear the present erroneous state
of an axis. The value of the Axis input pin indicates an axis number. Users can clear the present
erroneous state of the axis specified by means of the ClearError input pin. The value of the AxisErrorID
output pin indicates the present erroneous state of the axis specified.
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 Enable
input pin’s signal from low
to high.
Enable
Reading the present
erroneous state of the axis
specified.
BOOL True/False -
ClearError
The erroneous state of the
axis specified is cleared
when there is a transition
in the ClearError input
pin’s signal from low to
high.
BOOL True/False
The value of the ClearError
input pin is valid when the
motion control function
block is executed.
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
Valid
An output value is
valid.
BOOL
There is a
transition in the
Valid output pin’s
signal from low to
high when there is
a transition in the
Enable input pin’s
signal from low to
high.
There is a transition in the Valid
output pin’s signal from high to low
when there is a transition in the
Enable input pin’s signal from high
to low.
There is a transition in the Valid
output pin’s signal from high to low
when there is a transition in the
Error output pin’s signal from low
to high.
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
Enable 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
Enable input pin’s signal from high
to low.
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.
DVP-20PM Application Manual
5-192