GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

CNC Basics

CNC Machine Tools Explained: What the Machine Actually Does

This page is for design engineers and buyers who need to read a drawing and a process route without guessing. We cover how a CNC machine tool turns G-code into metal removal, where each machine type hits its limit, and what decides the process on your part.

±0.005 mm tolerance16 five-axis centers4,000 mm max sizeNo minimum order
CNC machine tools explained on a 5-axis machined engine part
Definition

What CNC Machine Tools Explained Really Covers

CNC stands for computer numerical control. A machine tool is the physical machine that removes metal: a mill, a lathe, a mill-turn center or a grinder. CNC is the control layer on top. A program written in G-code tells the machine where to move, how fast to feed, what spindle speed to run and when to change the tool. The machine executes those numbers with no operator turning handwheels.

That distinction matters when you read a quote. The machine tool sets the envelope, the spindle power and the rigidity. The control sets the repeatability and the interpolation. A small 3-axis mill with a good control can hold ±0.005 mm on a 50 mm aluminum bracket. The same control on a worn machine with a loose spindle will not. Ask which machine, not just which control.

The third layer is the setup: workholding, tool selection and the order of operations. Two shops can run the same part on the same machine model and get different results because one flipped the part four times and the other finished it in two. Setup is where most tolerance loss happens, and it is the part of the quote that is hardest to see from the outside.

G-code

How G-code Becomes a Cut

A CAM programmer takes your STEP file and produces toolpaths. Each toolpath becomes a block of G-code: G0 for rapid moves, G1 for linear feed, G2 and G3 for arcs. Feed rate is given in mm/min, spindle speed in rpm, and the controller interpolates the two in real time. On a curve, the machine does not move in a smooth arc. It moves in very short straight segments, thousands per second, close enough that the surface reads as curved.

That interpolation has a cost. Short segments mean the machine has to accelerate and decelerate constantly, which shows up as chatter on thin walls and as visible faceting on a large radius. A 200 mm radius cut with a 0.05 mm segment tolerance will look fine. Push the tolerance to 0.5 mm and you can see the flats under a low-angle light.

Tool diameter sets what the cutter can reach. A Ø6 mm end mill cannot enter a 5 mm slot. A Ø3 mm cutter can, but it deflects roughly eight times more under the same side load, so depth of cut and feed have to drop. This is why small internal corners add cost: the programmer has to slow down, and sometimes add a second, smaller tool just for that corner.

The controller also runs the tool changer, coolant and any probe cycles. A tool change on a typical vertical mill takes 3 to 8 seconds. On a part with 12 tools and 500 units, that is a real number in the quote, not a rounding error.

When 3-axis is enough

When a 3-Axis Machine Is the Right Answer

Most parts do not need five axes. A plate with pockets, holes and a flat profile is a 3-axis job. The tool always points down, the part sits on a vise or a fixture plate, and the programmer can use large cutters at full depth. Cycle time is short and the setup is simple.

The trade-off is access. Every face that is not facing up needs a second operation, which means a second fixture, a re-datum and a new set of tolerance stack-ups. On a part with four machined faces, that is four setups. Each flip adds error, and each flip adds labor.

The decision line is usually around three machined faces. One or two faces: 3-axis. Three or more faces at angles to each other, or any curved surface that wraps around the part: look at 4-axis or 5-axis. A shaft with cross-drilled holes is a classic 4-axis part, not a 5-axis one.

If the part fits on a 500 × 500 × 450 mm table and all features are reachable from one direction, a 3-axis machine will usually be cheaper and faster to program. Do not pay for rotary axes you will not use.

When 5-axis earns its cost

Where 5-Axis Machining Earns Its Hourly Rate

A 5-axis center adds two rotary axes, usually A and C on a trunnion table or B and C on a swivel head. The tool can approach the part from almost any direction in one setup. For a contoured surface, the machine can also tilt the cutter so the tip is not running at zero surface speed. That single change is why 5-axis parts come off with a better finish.

The gain is not just access. It is the elimination of setups. One setup means one datum, one work offset and one error stack. On a part with tight true position between features on different faces, that is often the only way to hold the callout. We run 16 simultaneous 5-axis centers for exactly this kind of work.

The cost is real. Five-axis programs take longer to write and verify, and the machine has to be collision-simulated before the first cut. Small cutters are often required for reach, so material removal rate drops. A 5-axis part is usually slower per cubic centimeter of metal removed than the same part roughed on a 3-axis machine.

That leads to a practical rule. Rough on 3-axis, finish on 5-axis, when the geometry allows it. Many shops split the work this way to keep the rotary machines on the features that need them.

There is also a size ceiling. A trunnion table with a Ø400 mm rotary table cannot swing a part that is 600 mm across. For large, awkward parts, a swivel-head machine may be the only option.

Material behavior

Material Behavior Changes the Machine Choice

Aluminum 6061 cuts fast and forgiving. It allows high spindle speeds, deep cuts and thin walls down to about 0.8 mm with care. A 3-axis machine handles most aluminum brackets. For 7075, the higher strength comes with more spring-back, so finishing passes need lighter radial engagement.

Stainless 304 and 316 work-harden. If the cutter rubs instead of cutting, the surface gets harder and the next pass is worse. The fix is a positive feed per tooth, sharp tooling and no dwell. 17-4PH in the H900 condition is harder again, and it is where rigidity of the machine tool starts to matter more than the control.

Titanium Ti-6Al-4V (TC4) has low thermal conductivity, so heat goes into the tool. Cutting speeds drop to 30-60 m/min and coolant delivery has to be directed at the edge. Inconel is slower still. These materials push spindle torque and machine stiffness to the front of the decision.

Plastics and copper alloys sit at the other end. PEEK and POM machine well but move with temperature, so hold them in a controlled room if the tolerance is tight. Copper and brass cut freely but are gummy, so sharp edges and higher rake angles matter. Beryllium copper needs dust control, which is a shop decision, not a design one.

Tolerance and finish

Tolerance, Finish and What the Machine Can Actually Hold

A tolerance on a drawing is a requirement. What a machine can hold is a capability, and the two are not the same. General machined tolerance across our shop is ±0.005 mm (±0.0002 in) on features that are accessible and rigidly held. That number shrinks as the feature gets farther from the datum, thinner, or deeper in a pocket.

Surface finish follows a similar pattern. As-machined surfaces run Ra 1.6-3.2 μm. A finishing pass with a small stepover gets Ra 0.8-1.6 μm. Fine finishes down to Ra 0.2-0.8 μm are reachable, but they cost cycle time and usually need a dedicated finishing tool kept only for that job.

The physical limit is the tool. A long, thin cutter deflects, and no amount of controller resolution fixes that. A 100 mm deep pocket with a 5 mm corner radius will not hold ±0.005 mm at the bottom unless the programmer uses a reduced stepdown and accepts a longer cycle. Sometimes the right answer is to change the corner radius to 6 mm and save the cost.

Threads, bores and flatness callouts have their own rules. A reamed bore holds a tighter size than a bored one. A ground face holds flatness better than a milled face. If a callout is on the edge of what milling can do, it may belong on a grinder, and the quote should say so.

Quote reading

Reading a Quote: What the Numbers Tell You

When a quote lists a machine class, it is telling you how the shop plans to make the part. If a complex contoured part is quoted on a 3-axis machine, either the shop has a clever fixture or the quote does not match the geometry. Ask which machine before you compare prices.

Setup count is the other number to look for. A quote with four setups on a part that could be done in two is paying for labor you do not need. Conversely, a quote that claims one setup on a part with internal features on six sides is not realistic.

Lead time also carries information. Quotation and DFM feedback within 12 hours, production start within 24 hours and shipment in 3-5 days describe a shop with open capacity and standard tooling on the shelf. If a quote promises much faster on a part that needs custom workholding, the holding is probably being skipped.

The cheapest quote is often the one that omits deburring, inspection documentation or a finishing operation. Compare the operation list, not the bottom line.

Standards

Why Certifications Show Up in a Machining Quote

Certifications are process controls, not marketing badges. ISO 9001:2015 covers quality management across the shop. IATF 16949:2016 adds the automotive-specific traceability and change-control requirements that Tier 1 and OEM buyers expect. ISO 13485:2016 is the medical device equivalent. ISO 27001:2022 covers information security, which matters when your drawings leave your network.

For an engineer, the practical effect is documentation. A certified shop can supply material certificates, inspection reports and a traceable route for each batch. On a prototype run of five parts, that paperwork may not matter. On a production run of 5,000, it is often the difference between passing and failing an incoming inspection.

Inspection itself is a separate decision. We inspect 100% of parts before shipment, with raw material checks, in-process monitoring and a final inspection. Reports are available on request. If your drawing has a critical-to-function dimension, say so, and it will be measured and recorded rather than sampled.

None of this replaces a DFM conversation. A certified shop can still quote a part that is hard to hold. The certification means the shop will tell you, in writing, what it can and cannot do.

Machine types

3-Axis, 4-Axis and 5-Axis: What Each One Can Hold

Envelope and access, not prestige, decide the machine.

MachineAxes of motionBest forWeak point
3-axis millX, Y, Z onlyFlat plates, pockets, open profilesNeeds a new setup for every face
4-axis millX, Y, Z plus A rotationShafts, cylinders, parts with holes around a boreCannot tilt the tool to a slanted face
5-axis (trunnion)X, Y, Z, A, CImpellers, complex contoured bodiesPart size limited by the rotary table
5-axis (swivel head)X, Y, Z, B, CLarge parts, deep cavities, one-setup workHead geometry limits reach at some angles
Mill-turnTurning plus milling axesParts needing turning and cross-featuresLong setup, higher hourly rate
Selection

Choosing a Process: Fast Triage Table

Match the geometry first, then the tolerance, then the volume.

SituationLikely processWhy
Flat plate, pockets, one face3-axis millingCheapest setup, largest cutters
Shaft with radial holes4-axis or mill-turnRotary index, one datum
Contoured body, 3+ faces5-axis simultaneousOne setup, tilted cutter for finish
Thin wall under 0.8 mm3-axis with light passesRigidity beats axis count
Titanium or Inconel partRigid 5-axis, low speedTorque and heat control dominate
Tight true position across faces5-axis, single setupRemoves stack-up error

The Short Version

If the part is reachable from one direction and fits a vise, run it on a 3-axis machine. If features sit on three or more faces, or a curved surface wraps the part, pay for 5-axis and get one setup. Everything else is a fixture problem pretending to be a machine problem.

FAQs

Frequently Asked Questions

Does a 5-axis machine always give a better finish?

Not automatically. Finish depends on tool condition, stepover, feed per tooth and rigidity. A 5-axis machine can tilt the cutter to avoid a zero-speed tool tip, which helps on contoured surfaces. On a flat face, a 3-axis machine with the same tool and the same stepover produces the same surface.

What does G-code actually tell the machine?

It gives coordinates, feed rate, spindle speed and auxiliary commands. G0 and G1 move the tool in a straight line, G2 and G3 move it along an arc, and M-codes handle coolant, spindle direction and tool changes. The controller reads one block at a time and applies acceleration limits at every direction change.

Why does a small internal corner cost more?

The cutter radius must be smaller than the corner radius, so the programmer has to switch to a small tool. Small tools deflect more, so depth of cut and feed have to come down, and the machine spends more time in that corner. Opening a 5 mm corner to 6 mm can cut real cycle time.

Can CNC machine tools hold ±0.005 mm on every feature?

No. That tolerance applies to accessible, rigidly held features. Accuracy degrades with depth, thin walls, long tool overhang and distance from the datum. If a callout sits at the limit, the drawing should flag it so the shop can plan the operation around it.

Is a lathe or a mill the right machine for a turned part with cross-holes?

Either can work. A 4-axis mill holds the part on a rotary table and drills the cross-holes after turning, which needs two setups. A mill-turn center turns and mills in one setup, which holds true position better but carries a higher hourly rate. Choose based on how tight the relationship is between the turned diameter and the holes.

How does material choice change the machine decision?

Harder and tougher materials need more spindle torque, more rigidity and lower cutting speeds. Aluminum tolerates light setups. Stainless work-hardens if the cutter rubs. Titanium and Inconel push heat into the tool, so coolant delivery and machine stiffness move to the top of the list. The machine class often changes with the material.

Send Us the Drawing and the Callouts

Upload your STEP file and we will come back with a process route, a machine recommendation and a DFM note on any feature that is hard to hold. Quotation and free DFM analysis within 12 hours.

12-hour quote100% inspection±0.005 mmISO 9001 / IATF 16949

Follow

More Machining Notes

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC