5 Applied Instructions and Basic Usage
5.10.26 Updating a Cam Curve
1. Motion control function block
The motion control function block T_CamCurveUpdate is used to update a cam chart so that the cam
curve in the next can cycle is the cam curve created by means of the motion control function block
T_CamCurve. The value of the CAMTable input pin indicates a cam chart.
2. Input pins/Output pins
Input pin
Name Function
Data
type
Setting value Time when a value is valid
Execute
When there is a
transition in the
Execute input pin’s
signal from low to
high, the update of a
cam curve is
enabled.
BOOL True/False
CAMTable Cam chart WORD K0~K2
The value of the CAMTable input pin
is valid when there is a transition in
the Enable 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 update of a cam
curve is complete.
BOOL
ï‚— There is a
transition in the
Done output pin’s
signal when
motion 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.
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 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 Done output pin’s signal from
low to high.
Error
An error occurs in the
motion control
function block.
BOOL
ï‚— Input values are
incorrect.
ï‚— There is 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.
DVP-20PM Application Manual
5-224