This is an old revision of the document!
Command:ACCEL (AC)
- MS2000 or RM2000 syntax
-
Shortcut AC Format ACCEL [axis] = [time in msec]… Units millisecond Remembered Using SS Z
- Tiger syntax
-
Shortcut AC Format ACCEL [axis] = [time in msec]… Units millisecond Type Axis-Specific Remembered Using [addr#]SS Z
This command sets the amount of time in milliseconds that it takes an axis motor speed to go from stopped to the maximum speed (S command) during a commanded move. It is also the duration of the deceleration / ramp-down time at the end of the move.
At a minimum, this acceleration / deceleration time must be greater than t_step (the amount of time it takes for the controller to go through one loop of its main execution code; the INFO command shows t_step). However, setting the acceleration time to less than the motor's intrinsic time constant (~7 ms for the most common motors) is generally foolish. Overly-aggressive acceleration times lead to performance degradation over millions of moves. 25 ms acceleration time is generally safe for short moves with small stages or when the speed setting is a small fraction of the maximum, but larger values are recommended for larger stages and/or long moves (where the speed is reached) with speed settings near the maximum.
Example
AC X=50 Y=50 Z=50 :A AC X? Y? Z? :X=50 Y=50 Z=50 A
The command in this example will make the controller take 50 milliseconds to accelerate the motors on each axis during a move command. When the controller gets within 50 milliseconds of finishing the move, it will begin to decelerate the motors back down to the start velocity where the pulses take over to bring the axes within the pulse crossover position error.
