Basic knowledge of CNC axis motion
This page explains how CNC linear and rotary axes move, and what each machine configuration can actually reach. It is written for design engineers and buyers who need to pick an axis count before quoting. After reading, you can judge which parts belong on a 3-axis, 4-axis or 5-axis machine, and where the real limits sit.

How a CNC machine describes movement
Every axis is one direction of relative motion between tool and workpiece. The machine's coordinate system turns a drawing into that motion.
Linear axes: X, Y and Z
A CNC machine positions the cutting tool by moving it along numbered axes. The three linear axes are X, Y and Z, and together they define the working volume. X and Y usually move the table or the spindle in the horizontal plane. Z controls depth, and on a vertical mill it moves the spindle up and down.
Each axis carries a ball screw, a servo motor and a linear scale or encoder. The controller reads the programmed coordinate, compares it with the feedback signal, and corrects the motor until the error disappears. That closed loop is why a machine can hold ±0.005 mm on a good day and still drift when the ballscrew warms up.
Travel matters as much as resolution. A large gantry machine may offer 4,000 × 400 × 150 mm of travel but hold looser tolerance than a compact 500 × 500 × 450 mm VMC. When a drawing fits inside a small envelope, the small machine is often the more accurate choice. When the part is long and slender, the gantry is the only option.
- 1X axisLongest horizontal travel, left to right.
- 2Y axisHorizontal travel at 90° to X, front to back.
- 3Z axisVertical travel, sets depth of cut.
- 4FeedbackEncoder or glass scale closes the position loop.
How the controller turns coordinates into a path
A program rarely commands one axis at a time. G01 tells the controller to move several axes together at a feed rate, and the controller calculates the intermediate points. This is linear interpolation. The tool tip then travels in a straight line even though two or three motors are running at once.
G02 and G03 add an arc. The controller fits a circular path between the start and end point using the radius or the arc center. On a 3-axis machine this produces the pockets, contours and slots that make up most 2D and 2.5D work. The Z axis steps down between passes, so the shape is built in layers.
Path accuracy depends on how well the axes follow each other. A heavy Z axis that accelerates slower than X will round off corners unless the controller applies look-ahead. Modern controllers read 50 to 100 blocks ahead and adjust feed rates before the corner arrives. That is why the same G-code can run well on one machine and leave witness marks on another.
Rapid moves use G00 and ignore the feed rate. They are for positioning only. Running a G00 into stock is a common way to break a tool, so most CAM posts keep rapid heights clear of the part.
- 1G00Rapid positioning, no cutting.
- 2G01Straight feed move, two or more axes together.
- 3G02 / G03Clockwise and counter-clockwise arcs.
Axis count and what each one can reach
Use this as a first filter when you decide how to quote a part.
| Configuration | Motion available | Typical parts | Main limit |
|---|---|---|---|
| 3-axis | X, Y, Z only | Plates, pockets, 2.5D profiles | One setup per face |
| 3+1 (indexed 4th) | X, Y, Z plus A or B indexing | Shafts, hubs, cross-drilled holes | Rotary axis locks during cut |
| 4-axis simultaneous | X, Y, Z plus continuous A or B | Cams, worms, helical slots | No tilt of the tool axis |
| 5-axis indexed (3+2) | Three linear plus two rotary, locked | Angled faces, deep pockets | Rotary table stiffness drops |
| 5-axis simultaneous | All five axes move together | Impellers, blades, contoured molds | Programming and setup cost |
A, B and C: the rotary axes
Rotary axes are named by the linear axis they turn around. A rotates about X, B rotates about Y, and C rotates about Z. On a trunnion machine the A axis tilts the table and the C axis spins it, which gives the tool access to five faces of a part without a second setup.
An indexed rotary axis is not the same as a simultaneous one. Indexed means the table rotates to a position, locks, and then cutting starts. This is often written as 3+2. It is a good fit for parts with angled faces, since a 3-axis toolpath can then run on each face. Simultaneous motion keeps all five axes moving through the cut, which is what allows a ball nose tool to stay normal to a curved surface.
The trade-off is rigidity. A rotary table adds a joint between the part and the machine bed. A Ø400 mm table can hold ±0.005 mm on light finishing passes, but heavy roughing on the same table may deflect. Keep roughing on a 3-axis setup and move the part to the rotary for finishing when the geometry allows it.
Rotary axes also change how you probe. A part that is dialed in on a vise can be picked up with a touch probe and a corner finder. A part on a trunnion needs the rotary centerline and the table plane measured first, otherwise every rotated face will be off by the same amount.
- 1A axisRotates about X. Tilts the table or head.
- 2B axisRotates about Y. Common on horizontal machines.
- 3C axisRotates about Z. Spins the table or workpiece.
- 43+2Indexed rotary: rotate, lock, then cut.
When more axes help and when they do not
More axes are not automatically better. A part with pockets on three orthogonal faces can be done on a 3-axis machine with three setups, and the total time may be shorter than a 5-axis job that needs a trunnion setup and a longer CAM session. The 5-axis machine wins when the geometry is curved in more than one direction, or when a single setup is needed to protect a datum.
Consider tolerances before axis count. If a bore and a face must stay within ±0.005 mm of each other, cutting both in one 5-axis setup removes the re-fixturing error that a second 3-axis setup would add. If the two features are on a flat plate and the tolerance is ±0.05 mm, a second setup is fine.
Tool access is the other test. Deep cavities with undercuts cannot be reached by a straight tool no matter how many axes turn the part. Someone still has to check that the shank and the holder clear the walls at every angle. A short, rigid tool beats a long one, even on a 5-axis machine.
Batch size matters too. For one prototype, a 3-axis setup with a good fixture is often the fastest route. For 10,000 parts, a 5-axis or mill-turn setup that removes two operations will pay back the programming cost. GreatLight runs all three configurations side by side, so the shop can quote the process that fits the part rather than the one the machine room prefers.
- 1Choose 5-axisCurved surfaces, single-setup datums, undercut access.
- 2Stay 3-axisFlat faces, open pockets, loose tolerances, low volume.
What limits axis accuracy in practice
Thermal growth is the quiet one. A spindle running at 12,000 rpm for an hour will grow a few micrometres, and that shift shows up on a tight bore. Shops that hold ±0.005 mm all day warm up the machine before the first cut and check the first article against a known dimension.
Backlash and lost motion live in the ball screw and the rotary gear. A worn screw reverses with a small dead band before the table moves again. Controllers compensate with pitch error and backlash tables, but the compensation is only as good as the last calibration. A machine that has been crashed will not follow the table anymore.
Workholding stiffness decides whether the axis motion reaches the part. A thin wall will deflect away from the tool even if the axis is in the right place. Light finishing passes at Ra 0.8–1.6 μm hide less error than heavy roughing, but they also take longer. There is no free option here, only a choice of where to spend the time.
- 1Warm-upRun the spindle and axes before the first tight cut.
- 2Backlash tableValid only after the last calibration.
- 3Part deflectionFixture and wall thickness set the real limit.
Common questions about CNC axes
What is the difference between 3+2 and simultaneous 5-axis?
In 3+2, the two rotary axes move to a position and then lock. The cut itself is a normal 3-axis cut. In simultaneous 5-axis, all five axes move through the cut at the same time.
3+2 is easier to program and more rigid. Simultaneous motion is needed when the tool must stay normal to a curved surface, such as an impeller blade or a contoured mold.
How many axes does a part really need?
Count the directions the tool must approach from. If every feature is reachable from three orthogonal directions, a 3-axis machine with two or three setups will do the job.
If two features must stay in tolerance with each other, or if the surface is curved in two directions, a 5-axis setup is usually the cheaper route once setup error is counted.
Does a 4th axis always mean continuous rotation?
No. Many 4th-axis jobs are indexed: the table rotates to an angle, locks, then cutting starts. This is enough for cross-drilled holes, slots and flat faces around a shaft.
Continuous 4-axis motion is used for cams, worms and helical features where the rotary axis must turn while X, Y or Z move.
Why does a 5-axis machine sometimes hold looser tolerance than a 3-axis one?
The rotary table or trunnion adds joints between the part and the machine bed. Each joint can deflect under cutting load, and each one adds a small positioning error.
For that reason, heavy roughing is often done on a 3-axis setup and the finishing passes on the 5-axis machine, where the load is light.
What tolerance can GreatLight hold on multi-axis work?
The shop works to ±0.005 mm (±0.0002 in) on finishing operations, with surface finish options from Ra 0.2–0.8 μm to Ra 1.6–3.2 μm as machined.
Every part is inspected before shipment, and inspection reports are available on request. The achievable number on a specific feature depends on material, wall thickness and how the part is held.
Do I need to send a 3D model to quote a multi-axis part?
A STEP or IGES file is the fastest path because the CAM engineer can check tool access from the model. A 2D drawing with critical dimensions and datums should come with it.
Quotation and a free DFM analysis are returned within 12 hours. If a feature cannot be reached in the planned setup, that will be flagged before the job starts.
Send the model and we will check the axis setup
Quotation and free DFM analysis within 12 hours. Uploads stay confidential, and an NDA is available on request.
12-hour quote100% inspectionNo minimum order quantity