| aMotion_SetRampAccStepTime | Index |
Definition:
| void aMotion_SetRampAccStepTime( | char channel, int accsteptime); |
Parameters:
| channel | - | Motion control channel. |
| accsteptime | - | Acceleration step time. |
Return Value:
Description:
This routine sets a new ramp acceleration step time for a motion control channel. The step time is the time it takes for the velocity to increase by one unit. See the cmdMO_RMPCFG documentation for details on configuring a ramp motion for a motion control channel.
Example:
#include <aMotion.tea>
aMotion_SetRampAccStepTime(0,120);
aMotion_SetRampAccStepTime(1,120);
This would set the ramp acceleration step time to 120ms for motor 0 and motor 1.
Related: