CNC Machining Function Explains: How the Controller Drives the Cut
A CNC machine does not cut a part. It executes a list of functions in order, and every one of them has a physical limit. This page explains what each function controls, what tolerance and surface finish it can hold, and when a given function stops being the right choice for your part.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Why CNC Machining Function Explains Motion Before It Explains Cutting
CNC machining is subtractive. Stock is removed by a tool that follows a programmed path, and the controller decides where that path goes. Feed drives read the program and push the axes to commanded positions. The spindle turns the tool. The tool changer swaps tools between operations. None of those functions cut metal by themselves, but all of them set what the cut can achieve.
The program itself is not geometry. A CAD model is converted by CAM software into G-code and M-code: axis moves at a feed rate, spindle speed commands, tool change calls, coolant on and off, dwells. The controller interpolates between points. If a CAM toolpath lists points 0.5 mm apart, the machine does not travel in a straight line between them. It blends them, and the blend radius is set by parameters you can tune.
This is where the first limit appears. A machine that moves at 10 m/min on a long straight cut will not hold that speed through a 2 mm inside corner. The controller has to decelerate, change direction, and accelerate again. The physical result is a slightly rounded corner and a slower cycle. If the drawing calls for a sharp internal corner, someone has to decide whether that corner is functional or cosmetic.
Axis Interpolation: What 3-Axis, 4-Axis and 5-Axis Actually Change
Three-axis interpolation moves X, Y and Z on linear guides. The tool axis stays vertical. This covers a large share of work: plates, housings, brackets, manifold faces, pockets with vertical walls. If every feature on your part can be reached from one direction, three axes are enough and usually the cheapest route.
Four-axis adds a rotary table, typically around the X or Y axis. Now the part can be indexed to four sides without a second setup. Holes on two perpendicular faces stay in the same datum system, which matters when a bolt pattern has to line up with a bore. The rotary table on our machines is Ø400 mm, so the part envelope has to fit that swing.
Five-axis adds a second rotary axis, and here the word simultaneous matters. Indexed five-axis means the table tilts to position the part, then the cut happens with three linear axes. Simultaneous five-axis moves all five axes at once, so the tool tip follows a curved surface while the tool axis tilts to stay normal to it. That is how you cut an impeller blade or a contoured port without hand blending.
The function also changes the setup count. A part that needs five sides machined can drop from three fixtures to one. Every additional setup adds a re-clamp error, and re-clamp error is usually larger than the machine's positioning tolerance. Fewer setups often buys more accuracy than a tighter machine spec.
Spindle Speed, Feed Rate and the Heat They Create
Spindle speed (rpm) and feed rate (mm/min) together set the chip load, which is feed per tooth per revolution. Cut too light and the tool rubs, work-hardens the surface, and wears on the flank. Cut too heavy and the tool deflects or chips. The window between those two is narrower on stainless and titanium than on aluminium, which is why the same cutter and same rpm behave very differently across materials.
Heat is the visible consequence. Most of it leaves with the chip. If chips are recirculating in the cut instead of clearing, heat goes into the part and the tool. On deep pockets, air blast or through-spindle coolant does more for tool life than slowing the spindle down. On aluminium, high rpm with generous feed and strong chip evacuation usually gives the best surface.
The surface finish you can hold is a function of this balance. As-machined surfaces land around Ra 1.6–3.2 μm. With a fine finishing pass and stable setup, we hold Ra 0.8–1.6 μm, and Ra 0.2–0.8 μm is reachable on the right geometry and material. Surface finish is not a machine setting you dial in at the end. It is decided by the toolpath, the tool, and how rigid the part is in the fixture.
Automatic Tool Change and the Cost of Splitting Operations
An automatic tool changer holds a carousel of cutters: end mills, drills, reamers, face mills, taps. The controller calls the next tool by number, the arm swaps it in a few seconds, and the program continues. A part with a drilled hole, a tapped thread and a milled face can be finished in one setup instead of three.
The limit is tool reach and tool length. A long tool reaches deeper but deflects more. Every extra 10 mm of gauge length costs stiffness, and stiffness becomes visible as chatter on a thin wall. When a feature is 8× deeper than the cutter diameter, the process shifts from milling to a specialty operation, and the answer is often a different toolpath, not a longer tool.
Tool change time is also a real cost line on production runs. On a 10,000-part order, a few seconds per part across three tools adds up to hours. Grouping features by tool so the carousel indexes less often is a CAM decision that a shop can make on your behalf. It does not change the part, only the price.
Compensation, Probing and Where ±0.005 mm Comes From
Controllers carry compensation tables. Tool radius compensation offsets the path by the cutter's actual radius, so a re-ground tool still cuts the right size. Thermal compensation adjusts for spindle growth as the machine warms up. Ball screw pitch error compensation corrects the lead of the screw along its length. These functions are why a machine can hold ±0.005 mm (±0.0002 in) on a good day and lose it on a bad one.
Probing closes the loop. A touch probe measures the raw stock, finds the datum, and reports the offset back to the controller. In-process probing checks a critical bore before the part leaves the fixture, so a drift is caught on the machine rather than at final inspection. 100% inspection before shipment is standard for us, and reports are available on request.
Tolerance also depends on the feature. A bore in a rigid block at ±0.005 mm is routine. The same tolerance on a 3 mm tall wall in aluminium is a different job, because the wall deflects under cutting force and relaxes when the clamp comes off. When a drawing puts a tight tolerance on a flexible feature, the honest answer is often to loosen it or to change the geometry.
Choosing the Function Set That Fits the Part
The right question is not which machine is best but which functions the part actually needs. A flat plate with through holes and a counterbore needs three axes. An aluminium housing with features on five faces needs indexed five-axis or a couple of well-designed fixtures. A titanium impeller with curved blades needs simultaneous five-axis, because no other function reaches the surface.
Material narrows the choice further. Aluminium 6061, 7075 and 6082 cut fast and forgive light toolpaths. Stainless 316L and 17-4PH work-harden, so the tool has to stay in the cut. Titanium Ti-6Al-4V and Inconel run hot and wear tools quickly. On those materials, the feed and speed function is doing more work than the axis count.
Size sets the last boundary. Our largest travel is 4,000 × 400 × 150 mm for long parts, with 750 × 1,150 × 550 mm and 600 × 600 × 600 mm cells for general work, and compact 500 × 500 × 450 mm and 500 × 310 × 200 mm cells for small high-precision parts. If a single feature sits outside the travel of the machine that can hold the tolerance, the part gets split, and splitting adds a joint.
There is a cost trade-off in every one of these choices. More axes reduce setups and reach more geometry. They also carry a higher hourly rate and need more CAM time. When a part can be made on three axes with two clean fixtures, that is usually the better plan.
What Each CNC Function Delivers and Where It Stops
Use this to match a part feature to the function that can produce it.
| Function | What it controls | Holds well | Stops working when |
|---|---|---|---|
| 3-axis interpolation | X, Y, Z linear motion | Plates, pockets, one-face features | Feature faces a second direction |
| 4-axis indexing | Rotary table, one axis | Four-sided parts, bolt patterns | Undercuts or compound angles appear |
| 5-axis simultaneous | Two rotary plus three linear | Blades, ports, contoured surfaces | Part swing exceeds Ø400 mm table |
| Spindle and feed control | RPM, chip load, heat balance | Ra 0.8–1.6 μm on stable setups | Thin walls or long tools chatter |
| Automatic tool change | Tool swap between operations | Multi-feature parts, one setup | Feature depth exceeds tool reach |
| Compensation and probing | Offsets, thermal drift, datum | ±0.005 mm on rigid features | Feature is thin or flexible |
When to Add Axes, and When Not To
If your part has features on more than three faces or a contoured surface, pay for five-axis and cut the setups. If it is a plate or a simple housing, keep it on three axes with a good fixture and spend the money on inspection instead.
CNC Function Questions Engineers Ask
Does more axes always mean a more accurate part?
No. Axis count changes reach and setup count, not the machine's positioning tolerance. A three-axis machine in good condition can hold ±0.005 mm on a rigid feature just as a five-axis machine can.
Five-axis helps accuracy indirectly by removing setups. Each re-clamp adds error that is usually larger than the machine's own positioning error, so fewer setups often means a tighter final part.
Why does my drawing tolerance get flagged as hard to hold?
Tolerance is judged against the feature, not the drawing. A ±0.005 mm bore in a thick block is routine. The same callout on a 3 mm wall in aluminium is difficult because the wall moves under cutting force.
If a tight tolerance sits on a thin or unsupported feature, we usually suggest loosening it, adding a rib, or moving the datum to a rigid face.
What surface finish can CNC machining reach without extra processing?
As-machined surfaces typically land at Ra 1.6–3.2 μm. A fine finishing pass with a stable setup reaches Ra 0.8–1.6 μm, and Ra 0.2–0.8 μm is possible on suitable geometry and material.
If the requirement is below that, the answer is usually a secondary process such as polishing or lapping rather than a different toolpath.
When is simultaneous five-axis worth the higher rate?
It pays when the geometry cannot be reached any other way: impeller blades, contoured ports, compound-angle faces, or a surface that must stay normal to the tool.
If the part can be indexed and cut from fixed directions, indexed five-axis or four-axis does the same job at a lower cost.
How does material choice change the function settings?
Aluminium 6061 and 7075 cut fast and tolerate light toolpaths. Stainless 316L and 17-4PH work-harden, so the tool must keep cutting rather than rubbing. Titanium Ti-6Al-4V and Inconel generate more heat and wear tools faster.
The axis count stays the same. What changes is spindle speed, feed rate, coolant strategy and tool life, which shows up in cycle time and cost.
Do you check parts before they ship?
Yes. Every part gets 100% inspection before shipment, covering raw material check, in-process monitoring and final inspection. Inspection reports are available on request.
Uploads are treated as secure and confidential, and an NDA is available on request if your program needs one.
Send the Drawing, Get the Function Plan
We review the geometry, pick the axis count and toolpath strategy, and send a quotation with free DFM analysis within 12 hours.
12-hour quote±0.005 mm100% inspectionNDA on request