CTH200 Series PLC User Manual
Set maximum acceleration instruction
① Function name: MC_SET_MAX_ACCELE
② Function: Set maximum acceleration (= MAX_SPEED/TA; TA≠0), if the instruction isn’t
called, then the maximum acceleration has not been set.
③ Parameter
Maximum speed of
long-axis run
Modifiable in
the process
Modifiable in
the process
Calculate
acceleration
only when
startup and
TA/TD
changes
Set absolute
coordinate 0 at
SET rising edge,
SET set 0, then set
1 for each call
④ Explanation
If set the X-axis parameter TA=0, or the X-axis does not call this instruction, it is considered that
the X-axis does not set maximum acceleration; Otherwise, MAX_ACCELE=MAX_SPEED/TA is
considered to be set as the X-axis maximum acceleration. The significance of this instruction is:
a. Set an appropriate acceleration to limit the acceleration of each instruction on an axis.
Such as PTP instruction, set AXIS_NO=0, MIN_SPEED=1000, MAX_SPEED=11000, TA=500,
then in theory the acceleration of PTP motion is 20HZ/ms (= (MAX_SPEED-MIN_SPEED)/TA); if
0 axis call MC_SET_MAX_ACCELE and set maximum acceleration 15HZ/ms, the PTP actual
acceleration is 15HZ/ms (the same for MC_LINE_R and MC_CIRCLE_R)
b. An instruction on a certain axis is to obtain the maximum acceleration to run