CNC machining function: how the machine actually removes metal
This page explains what each part of a CNC machine does, how the axes and spindle work together, and where the process hits its limits. Written for design and manufacturing engineers who need to judge whether a part suits CNC, and which machine type to specify.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
What CNC machining function means at the machine level
At its core, CNC machining function is the chain of events that turns a CAM toolpath into a cut surface. A controller reads G-code, closes a position loop on each servo, and moves the tool relative to the workpiece. The spindle supplies rotation. The feed drive supplies linear or rotary motion. The tool edge supplies the actual material removal.
Every function on the machine exists to control one of four variables: where the tool is, how fast it spins, how fast it advances, and how well it is held. Position is handled by the servo loop and feedback scale. Speed is handled by the spindle drive and gear range. Feed is handled by the axis drives. Rigidity is handled by the machine casting, the tool holder, and the workholding.
When an engineer asks why a feature came out undersized or chatter-marked, the answer almost always traces back to one of those four variables, not to the G-code itself. Code is a plan. The machine's functions are what execute it.
This is why two shops running the same program on the same material can produce different results. The CNC machining function is only as good as the stiffness, thermal stability, and calibration behind it.
How 3, 4, and 5 axes change the cutting function
A 3-axis machine moves X, Y, and Z. The tool stays perpendicular to the table. That is enough for prismatic parts: plates, housings, brackets, manifolds with features on one or two faces. Setup changes handle the rest. Cycle times are short and programming is simple.
A 4-axis machine adds rotation around one axis, usually A or B. The workpiece can index to a new face without a manual resetup. This suits shafts, impellers with radial features, and parts where several sides need drilling or milling in one run. Accuracy improves because the datum never leaves the fixture.
A 5-axis machine adds a second rotary axis. The tool can tilt, so it can approach a surface from an angle rather than straight down. This is what allows undercut features, deep pockets with tapered walls, and contoured surfaces to be cut in one setup. GreatLight runs 16 simultaneous 5-axis machining centers for this reason.
The jump from 4 to 5 axes is not just about complexity. It is about eliminating repositioning error. Every time a part is unclamped and re-fixtured, you add stack-up. Five-axis work removes that error source entirely.
- 13-axisFlat faces, through holes, simple pockets. Fastest to program and cheapest to run.
- 24-axisRadial features and multi-face work with one index. Good for shafts and round parts.
- 35-axisContoured surfaces and undercuts in one setup. Needed when access angle is the problem.
Spindle and feed: the two functions that set surface finish
Surface finish is largely a product of spindle speed, feed per tooth, and tool runout. A spindle with low runout cuts a consistent chip load and leaves an even scallop pattern. A spindle with high runout loads one flute harder, which shows up as a repeating mark on the surface.
Feed rate is not a single number. It is feed per tooth multiplied by the number of teeth and the spindle speed. Increase the tooth count and you can raise the table feed while keeping the chip load the same. That is how high-feed tooling shortens cycle time without burning the edge.
Roughing and finishing are separate functions. Roughing removes bulk material with high chip load and accepts a rougher surface. Finishing takes a light radial cut at higher speed to hit the final finish. Trying to do both in one pass rarely holds tolerance on a long part.
For finish targets, GreatLight typically machines to Ra 1.6–3.2 μm as-machined, Ra 0.8–1.6 μm for high-finish work, and Ra 0.2–0.8 μm with fine finishing passes. The choice depends on the application, not on what looks impressive on a drawing.
Accuracy, repeatability, and what ±0.005 mm really requires
Tolerance and repeatability are different things. Tolerance is how close a single part lands to nominal. Repeatability is how close part 50 lands to part 1. A machine can be repeatable and still be offset if the tool offset or thermal state drifts.
Holding ±0.005 mm ( ±0.0002 in ) needs more than a good machine. It needs stable temperature, sharp tooling, a rigid setup, and inspection that feeds back into the offsets. On thin walls or long parts, deflection can exceed the tolerance band before the tool wears at all.
Machines drift as they warm up. A spindle that has run for two hours is not in the same thermal state as one that just started. Shops that hold tight tolerance either warm up before cutting critical features or compensate in the program.
This is also why tolerance should be applied only where it is needed. Opening up non-critical dimensions to ±0.1 mm reduces cost and lead time without affecting function. Tightening everything to ±0.005 mm raises both.
Where CNC machining function stops being the right choice
CNC is subtractive, and that sets hard limits. Deep narrow cavities are difficult because the tool needs clearance to reach the bottom and to clear chips. A pocket 10 mm wide and 80 mm deep is a tooling problem, not a programming problem. The length-to-diameter ratio of the tool decides what is possible.
Sharp internal corners are another boundary. A rotating cutter leaves a radius equal to its own radius. If the drawing calls for a true sharp corner, the only honest options are a smaller tool with a slower feed, or a different process such as EDM or die casting.
Part size matters too. GreatLight handles up to 4,000 mm maximum processing size, with travels of 4,000 × 400 × 150 mm on the large platform and 750 × 1,150 × 550 mm on the medium platform. Beyond those envelopes, the part has to be split or the process has to change.
Material hardness is a third boundary. Aluminum, brass, and mild steel cut cleanly. Titanium, Inconel, and hardened tool steel cut, but tool life drops and cycle time rises. That trade is real and should be planned for at quoting, not discovered at the machine.
When the geometry, volume, and material all point away from CNC, casting, sheet metal, or 3D printing usually wins on cost. CNC wins when tolerance, material properties, or one-piece-to-10,000-piece flexibility matter most.
Which machining function fits which part
Match the geometry and volume to the machine and process.
| Part situation | Best function | Why | Watch out for |
|---|---|---|---|
| Flat plate, holes on one face | 3-axis milling | Short setup, simple toolpath | Datums drift across faces |
| Shaft with radial holes | 4-axis with index | One setup, no re-fixture error | Rotary table runout |
| Curved surface, undercut | 5-axis simultaneous | Tool tilt reaches the angle | Programming time is longer |
| Round part, high volume | Mill-turn center | Turning and milling in one cycle | Not economic for one-off parts |
| Deep narrow pocket | Small tool, slow feed | Reach is limited by tool length | Chatter and chip packing |
| True sharp internal corner | EDM or casting | Rotating cutter leaves a radius | CNC cannot cut a zero radius |
| Hardened tool steel feature | Carbide or EDM | Tool life drops sharply | Cycle time rises, cost rises |
Choose the process before the machine
If the part is prismatic and tolerance is loose, run it on a 3-axis machine and save the cycle time. If access angle or one-setup accuracy is the real constraint, pay for 5-axis. If the geometry has a true sharp corner or a pocket the tool cannot reach, CNC is the wrong process and no amount of programming fixes it.
Common questions about CNC machining function
What is the difference between 3-axis and 5-axis machining function?
A 3-axis machine moves the tool in X, Y, and Z only, so the tool always points straight down at the table. A 5-axis machine adds two rotary axes, which lets the tool tilt and approach a surface from an angle.
The practical difference is setup count and access angle. Five-axis work cuts contoured surfaces and undercuts in one setup, which removes repositioning error. Three-axis work needs multiple fixtures for the same part.
Can CNC machining hold a true sharp internal corner?
No. A rotating cutter always leaves a radius equal to the tool radius. A smaller tool gives a smaller radius but also a slower feed and a higher risk of tool breakage.
If the design truly needs a zero radius, the corner has to be produced by EDM, or the part should be redesigned with a relief undercut that the cutter can reach.
How does spindle speed affect surface finish?
Higher spindle speed with the same feed per tooth produces a smaller chip and a smoother scallop pattern. It also raises heat at the edge, so tool life and coolant strategy become the limiting factors.
Finish is set by chip load consistency, not by speed alone. Runout, tool wear, and workholding rigidity all show up in the surface before spindle speed does.
What tolerance can CNC machining realistically hold?
GreatLight machines to ±0.005 mm ( ±0.0002 in ) on parts that are rigid enough to support it. Thin walls, long parts, and deep features are harder because deflection grows with tool overhang.
Tolerance should be applied where it matters. Tightening non-critical dimensions to ±0.005 mm adds cost and lead time without improving the part's function.
When should a part move to casting or 3D printing instead?
When the geometry has internal channels, thin lattice structures, or true sharp corners that a cutter cannot reach, additive or casting processes usually win. When the annual volume is high and the tolerance is loose, die casting wins on unit cost.
CNC stays competitive when tolerance is tight, when the material needs to be wrought rather than cast, and when the quantity runs from one prototype to 10,000+ parts without tooling.
Does the machine's thermal state affect accuracy?
Yes. A spindle and casting warm up during the shift, and the geometry changes slightly as they do. Shops that hold tight tolerance either warm up the machine before critical cuts or compensate in the program.
This is one reason a part machined first thing in the morning can differ from one machined after four hours of running.
Send the drawing, get a DFM answer in 12 hours
Upload your files and our engineers will review the geometry, flag features that fight the process, and quote the right machine for the job.
12-hour quoteFree DFM analysis100% inspectionNDA on request