What Functions Have the CNC System?
A CNC system is not one function but a stack of them: interpolation, feed and acceleration control, tool and offset management, coordinate handling, and feedback. Each layer sets a limit on what the machine can hold. This page explains what each function does, which part features depend on it, and when a given function stops helping.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
What functions have the CNC system in interpolation and path control
Interpolation is the function that decides how the axes move between two programmed points. Ask for a straight line and the control coordinates the axes so the cutter tracks that line; ask for an arc and it generates the intermediate points. The controller does this thousands of times per second, and the resolution of that calculation sets the floor on surface quality.
The two modes you will see most are G01 linear and G02/G03 circular. Older controls could only approximate arcs with short line segments, which leaves visible facets on a curved wall. Modern controls interpolate the arc directly, so a Ø40 mm bore comes off the machine round rather than polygonal. On a lens housing or a valve seat, that difference shows up on a profilometer, not just on a print.
Look-ahead is the part of this function that most people underestimate. The control reads ahead through the program block queue, anticipates corners, and slows the feed before the corner instead of after. A control with a short look-ahead buffer will overshoot at a sharp internal corner and leave a witness mark. A control with a deep buffer holds the corner.
Interpolation also covers helical and spiral moves, which matter for thread milling and for ramping into a pocket. If your part needs a tapered thread or a helical oil groove, the question to ask is whether the control supports helical interpolation in the same block as cutter compensation. Many mid-range controls do not.
The practical limit: interpolation accuracy is only as good as the mechanical repeatability underneath it. A control that resolves 1 μm cannot hold ±0.005 mm on a machine with 20 μm of backlash. Fix the mechanics first.
Feed, acceleration, and jerk control
Feed control sets the commanded velocity along the path; acceleration control sets how fast the machine reaches that velocity. They are separate functions and they fail in different ways. If feed is wrong, the surface finish drifts. If acceleration is wrong, the machine overshoots at direction changes and the corners go soft.
Acceleration limits are usually set per axis, and the lowest axis wins. A 4,000 mm × 400 mm × 150 mm travel machine may have a fast X and a much slower Z. On a deep pocket with a lot of Z retracts, the Z acceleration dominates cycle time, not the spindle. When we quote cycle time, we look at the axis with the worst acceleration profile, not the fastest one.
Jerk control, sometimes called look-ahead smoothing, limits the rate of change of acceleration. Turn it off and the machine is marginally faster on long straight cuts but hammers the ballscrew on short moves. Turn it up and corners get rounder. For parts with tight internal radii, we keep jerk control moderate and accept a slightly lower feed.
On aluminium, a typical roughing feed sits between 2,000 and 5,000 mm/min with a 12 mm carbide end mill. On 17-4PH stainless, that drops to 400–900 mm/min. The control does not care what the material is; the programmer sets the ceiling. The function only enforces it.
Where this bites: high-speed finishing of a thin-wall aluminium housing. The control wants to accelerate out of every corner, and the wall deflects. We reduce acceleration on the finishing pass even though the control allows more. The function is capable; the part is not.
Tool management, offsets, and cutter compensation
Tool management covers the tool table, the length and radius offsets, and the wear compensation that the operator updates between parts. This is the function that lets one program run on a machine with a different tool stick-out, or on the tenth part after the first nine wore the cutter down.
Cutter compensation, G41 and G42, shifts the path sideways by the tool radius so the programmer can draw the part at nominal size. The control handles the offset. When a Ø10 mm end mill wears to an effective Ø9.94 mm, the operator edits the radius offset and the next part comes back to size without touching the program.
Tool life management is a separate function on higher-end controls. It tracks cutting time or spindle load per tool and flags when a tool should be changed. For a 10,000-part run in 6061 aluminium, that flag is what keeps the last part as good as the first. Without it, tool wear shows up as a slow drift in a bore diameter.
The limit is that cutter compensation only works in the plane it is defined in. Compensating a 3D contoured surface with G41 is unreliable; the control cannot offset in the tool axis direction. For those surfaces we program the true toolpath with the actual radius and manage wear through the tool table instead.
On mill-turn centers, this function gets more complicated because the tool can be driven by either the milling spindle or the turning turret. The offset has to be applied in the right frame. Getting that wrong is one of the more common setup errors we see on first-article inspection.
Coordinate systems and work offsets
The coordinate function maps program coordinates to machine coordinates. G54 through G59 are the usual work offsets; G92 shifts the current frame. On a 5-axis machine, you add rotary frames on top of that, and the order in which the control applies them matters.
For a part held in a trunnion, the control has to know where the rotary axis center sits relative to the workpiece. That is a kinematic model, and it is configured once per machine. If the model drifts, features machined at different rotary angles will not line up. We verify it with a test cut on a known artefact before a production run.
Subprograms and coordinate rotation are part of the same family. If you have eight identical bores on a bolt circle, the control can rotate the frame rather than repeat the code. That reduces the chance of a typo and makes the program shorter.
Scaling is a function most shops leave off. It looks convenient for shrinkage compensation, but it scales every axis including the tool radius, which is almost never what you want. We set scale to 1 and adjust the model instead.
The boundary here: work offsets assume the fixture is rigid and repeatable. If a vise jaw lifts 0.05 mm under clamping pressure, no coordinate function will fix it. The control measures what the machine does, not what the part does after the clamp releases.
Feedback, compensation, and error correction
Feedback is how the control knows where the axis actually is. A semi-closed loop reads the motor encoder; a full closed loop reads a scale on the slide. Full closed loop costs more but corrects for ballscrew pitch error and thermal growth, which is why it shows up on machines holding ±0.005 mm over long travels.
Pitch error compensation is a lookup table the control applies to correct for the ballscrew's natural inaccuracy. On a 4,000 mm travel machine, that table can be the difference between 30 μm of accumulated error and 5 μm. It is set at the factory and should be re-checked after a crash.
Thermal compensation is the other half. A spindle running at 15,000 rpm for four hours grows, and the Z axis drifts with it. Controls with thermal models adjust the commanded position based on spindle load and ambient temperature. Without it, the first part and the four-hundredth part differ by more than the tolerance.
Backlash compensation handles the small dead zone when an axis reverses direction. It is a fixed number the control adds or subtracts on reversal. It works well on a new machine; on a worn one the backlash varies along the travel and a single value over-corrects in some places and under-corrects in others.
These functions have a ceiling. They correct systematic error, not random error. If your measurement spread is random part to part, the problem is upstream: fixturing, material, or the tool. No amount of compensation will tighten a random distribution.
Which function controls which part feature
Match the feature on your print to the control function that governs it.
| Part feature | Governing function | Typical setting | When it stops helping |
|---|---|---|---|
| Curved wall, Ra 0.8–1.6 μm | Interpolation + look-ahead | G02/G03, deep look-ahead | Machine backlash above 20 μm |
| Sharp internal corner | Jerk / acceleration control | Moderate jerk limit | Corner radius below tool radius |
| Bore held to ±0.005 mm | Cutter compensation | G41 with radius offset | Tool wear exceeds offset range |
| Features at multiple rotary angles | Kinematic model + work offsets | Configured per machine | Fixture lifts under clamping |
| Long travel, tight tolerance | Pitch error compensation | Factory lookup table | Table stale after a crash |
| Four-hour unattended run | Thermal compensation | Spindle load model | Ambient swing above 5 °C |
| 10,000-part repeat run | Tool life management | Time or load threshold | Cutter breaks without warning |
| Tapered thread or oil groove | Helical interpolation | Single block, comp active | Control lacks helical + comp |
Pick the function that matches the failure mode
If a part fails on geometry, look at interpolation and kinematics. If it fails on size drift across a run, look at thermal and tool wear compensation. Spending on a deeper look-ahead buffer will not fix a drifting bore diameter, and thermal compensation will not fix a faceted curve.
Common questions about CNC system functions
Does a more expensive control automatically hold tighter tolerance?
No. The control sets the ceiling, but the machine structure, ballscrew, and thermal stability set the floor. A high-end control on a worn machine still produces worn-machine parts.
We see this most often on older mills where the control has been upgraded but the mechanics have not. The interpolation is cleaner, but the pitch error is unchanged.
What functions have the CNC system that affect cycle time most?
Acceleration and jerk control. On parts with many short moves, the slowest axis acceleration profile dominates. Spindle speed rarely is the bottleneck unless the tool is small.
Look-ahead depth matters too. A short buffer forces the control to slow before every corner, which adds seconds per pocket across a long program.
Can cutter compensation be used on a 3D contoured surface?
Not reliably. G41 and G42 offset in a defined plane, so on a curved surface the offset direction is wrong for most of the path.
For those parts we program the true toolpath at the actual tool radius and manage wear through the tool table between parts.
How do we know the kinematic model is still correct on a 5-axis machine?
Cut a test artefact with features at several rotary angles, then measure the alignment between them. Repeat after any crash or spindle change.
We run this check before a production run on any part with features machined at more than two rotary positions.
Is thermal compensation worth it for short runs?
Usually not. On a two-hour run the spindle has not reached steady state, so the drift is small and unpredictable.
It pays off on runs longer than four hours, or on any run where the first and last part are both inspected to ±0.005 mm.
What should be on the setup sheet for a repeat job?
Work offset numbers, tool offsets with the actual measured stick-out, the kinematic model revision, and the pitch error table date.
Without those four items, the second run is a new setup, not a repeat.
Send us the drawing and we will tell you which function decides the tolerance
Upload your files and we return a quotation with free DFM analysis within 12 hours. Production can start within 24 hours, and parts ship in 3–5 days.
12-hour quote100% inspection before shipmentNDA on request