Rotary Axis Quick Start

There are two common types of rotary axis, and the travel settings depend on which one you are setting up.

Rotary 4th axis

The most common type, used on a mill or router. Usually set up as the A axis, it turns the workpiece about one axis while the other axes cut along it, much like a lathe.

Rotary 4th axis on a mill
5-axis trunnion

The A and B axes work together to orient the workpiece in three dimensions.

5-axis A and B rotary configuration

1 Rotary axis resolution

Rotary axis settings are in degrees, not distance. Very high step counts combined with large gear reductions do not improve accuracy; they just make the axis slow. For most work, 8000 to 10000 pulses per revolution is plenty. Higher counts only help when turning very large diameters, such as 1 to 2 m (3 to 6.5 ft) workpieces.

2 Calculating the rotary axis settings

You will need:

  • Motor steps per revolution. Most stepper motors are 1.8° per step, which is 200 steps per revolution.
  • The gear reduction between the motor and the rotary output. Use 1 for direct drive.
  • The microstep setting on the motor drive.

Then set the rotary axis on the F1-Setup screen:

Motor Degrees per RevolutionAlways 360.
Drive Pulses per RevolutionMotor steps per revolution × gear reduction × microsteps. For example, 200 × 5 × 8 = 8000. With 360 degrees per revolution, this always works out to a whole number.
Maximum FeedrateIn degrees per minute, not RPM. 3600 deg/min is 10 RPM.
AccelerationDepends on the motor and drive; find the right value by testing on the machine.
Travel minimum / maximumOn a 4th axis, use large values to allow continuous rotation. On a 5-axis trunnion, limit the travel to keep the axis clear of its hard stops.
BacklashMeasure it on the machine and enter it.
WARNING
Always calculate rotary axis settings; do not use the Axis Calibration wizard. Unlike a ballscrew or rack, a rotary axis has no mechanical tolerance to calibrate out, so the calculated value is exact.
INFORMATION
G28 includes a rotary axis unwind feature.

3 My rotary axis moves slowly

This is usually because the F value means something different on a rotary axis. On a rotary axis, F is in degrees per minute, and a combined move runs at the speed of its slowest axis.

A feedrate that is sensible for a linear axis can be very slow on a rotary axis. For example, F10, a reasonable 10 in/min on a linear axis, is only 10 degrees per minute on a rotary axis, so one full turn takes 36 minutes. It can look as if the axis is not moving at all.

4 Homing

A homing sensor can be fitted to give the rotary axis a home position. It can be a mechanical, optical, magnetic or inductive proximity sensor. The homing input must show Low on the F1-Setup screen and change to High when triggered. To invert it, select the input and press Space.

INFORMATION
Many 4th axes have no homing sensor. In that case, leave the rotary axis unticked in the homing settings and line it up by eye with alignment marks before homing. When the machine is homed, MASSO sets the rotary axis machine position to zero.

5 Hard limits

CAUTION
Do not use hard limits on a rotary axis, because the axis passes the sensor on every revolution. To restrict rotary travel, use Travel minimum and Travel maximum instead.