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

Get Instant Quote

CNC Basics

What Is CNC Machines? How the Controller Turns a File Into a Part

A CNC machine reads a program of coordinates and drives a cutting tool along them, removing material until the part matches the CAD model. This page explains the control loop, the axes, and where the process stops being practical. Written for engineers and buyers who need to judge whether a feature belongs on a CNC or somewhere else.

±0.005 mm tolerance16 five-axis centersNo minimum order
What is CNC machines: 5-axis machining center cutting a metal part
Control loop

What Is CNC Machines Actually Doing Inside the Control Loop

A CNC machine is a machine tool whose slide movements are commanded by numbers instead of by handwheels. A CAM post-processor turns the CAD model into G-code: a list of positions, feed rates, spindle speeds, and tool changes. The controller reads that list, compares each commanded position with the feedback from the axis encoder, and adjusts motor current until the error drops to near zero. That loop runs thousands of times per second, which is why the cut follows the drawing instead of the operator's hand.

The loop has four parts. The controller holds the program and runs the interpolation. The drives and amplifiers convert its low-power signals into motor torque. The machine structure, meaning the bed, column, and linear guides, holds everything rigid while the tool pushes into metal. The cutting tool removes material at the programmed feed and speed. Remove any one of the four and you no longer have a CNC machine, only a very expensive motor.

Positioning accuracy and repeatability are not the same thing. Accuracy is how close the tool lands to the commanded coordinate. Repeatability is how close it lands to the last part. A worn machine can still be repeatable while drifting out of accuracy, which is why periodic ballbar and laser interferometer checks matter more than the number on the datasheet. At GreatLight we hold ±0.005 mm on production work and inspect 100% of parts before shipment, with reports available on request.

The practical meaning is simple. CNC suits parts where the geometry can be described as tool paths and the material can be cut by a rotating edge. If the feature needs a mold release angle or a draft, or if it is a hollow shell with uniform 1 mm walls in the thousands, the same file may belong on a different process.

Axes

3-Axis, 4-Axis, and 5-Axis: What Each One Buys You

A 3-axis mill moves the tool in X, Y, and Z while the part stays still. It is the workhorse for plates, brackets, housings, and any part where the features can be reached from one direction, or from a few setups that are re-fixtured between operations. Travel on our 3-axis machines reaches 4,000 × 400 × 150 mm, so long extrusions and frame rails fit in one setup. The catch is the second setup: every re-clamp adds a positioning error and consumes time.

A 4-axis machine adds a rotary table, usually turning around the X axis. The part can now be indexed to four faces without being unclamped. This is the right choice for shaft-like parts with cross holes, flats, or slots at several angles. Our 4-axis mills run with a Ø400 mm rotary table, which covers most pump bodies, manifolds, and drive shafts. It is an indexing tool, not a continuous contouring one.

A 5-axis machine tilts the tool or the table on two additional axes at the same time. The tool can reach undercuts, drill at an angle to a curved surface, and machine a deep pocket with a short, stiff tool because the holder no longer collides with the wall. That last point is the one people miss: 5-axis is often a rigidity decision, not a geometry decision. We run 16 simultaneous 5-axis machining centers for exactly this reason.

Choose the lowest axis count that reaches every feature. A 3-axis part quoted on a 5-axis machine costs more for no gain. A part with compound angles quoted on 3-axis machines comes back with three setups, three fixtures, and a stack of tolerance. The axis count should follow the drawing, not the other way around.

Materials and cutting

Why the Material Decides the Cutting Parameters

CNC machines cut any material that can be machined by a hard edge, but the parameters move a long way between grades. Aluminum 6061 and 7075 run at high surface speed with generous depth of cut. Stainless 304 and 316 work-harden under a dull tool, so the feed must stay high enough to keep the edge biting under the hardened layer. Titanium Ti-6Al-4V conducts heat poorly, so the heat goes into the tool and the coolant has to carry it away.

Inconel and other nickel alloys sit at the far end. Cutting speeds drop by an order of magnitude against aluminum, tool life is short, and the surface finish depends as much on the toolpath strategy as on the machine. We machine Inconel, magnesium AZ31B and AZ91D, beryllium copper, and 17-4PH stainless, and each one carries its own setup notes.

Plastics behave differently again. POM and ABS cut cleanly but can melt and string if the feed is too light. PEEK needs sharp, polished tools and enough coolant to stop smearing. Carbon fibre is abrasive, so carbide edges wear fast and dust extraction is not optional.

Finishing is part of the same decision. As-machined surfaces sit around Ra 1.6–3.2 μm, high-finish work reaches Ra 0.8–1.6 μm, and fine finishes go to Ra 0.2–0.8 μm. If a drawing calls for Ra 0.4 μm on a deep pocket wall, that is a different tool, a different stepover, and a longer cycle than the same pocket at Ra 3.2 μm.

Boundaries

Where CNC Stops Being the Right Answer

CNC is subtractive, so the tool has to reach the material it removes. A closed internal channel with a bend cannot be milled, because no tool can follow the curve and exit. A wall thinner than roughly 0.5 mm on aluminum will deflect under cutting force. Deep pockets narrower than three times the tool diameter force the use of a long, slender end mill that chatters and leaves a poor floor.

Setup count drives cost more than cycle time on small batches. A part that needs five faces machined usually means three to five setups, each with its own fixture and its own tolerance contribution. If the same part can be redesigned so that 80% of the features come from one direction, the quote drops sharply and the tolerance stack tightens.

Volume changes the answer too. One prototype to 10,000+ parts is all workable on CNC, and we quote with no minimum order quantity. But a part that will run 100,000 pieces a year in a single geometry may be cheaper as a die casting or a molded shell with a CNC finishing pass on the critical faces. The machining does not disappear; it moves to the surfaces that carry the tolerance.

Lead time is not the constraint people expect. We return a quotation and a free DFM analysis within 12 hours, production can start within 24 hours, and parts ship in 3–5 days. The real constraint is usually the drawing: an unclear datum or an unreachable corner adds a round of questions before the spindle ever turns.

Selection

Which Machining Setup Fits the Part

Pick the row that matches the geometry, then check the tolerance column before quoting.

SetupBest forTypical toleranceWatch out for
3-axis millPlates, brackets, housings from one or two faces±0.005 mmRe-clamping between setups
4-axis millShafts with cross holes and angled flats±0.005 mmIndexing only, no continuous tilt
5-axis simultaneousUndercuts, compound angles, deep pockets±0.005 mmHigher hourly rate, needs good CAM
Mill-turnRound parts with milled features on the OD±0.005 mmBar size limit on the spindle
Large travel 3-axisFrame rails and long extrusions±0.005 mm4,000 mm bed, one part at a time

The Short Version

If every feature can be reached from one or two directions, stay on 3-axis and save the money. If the part has compound angles, undercuts, or deep pockets that need a short tool, move to 5-axis and pay for the reach. Do not buy axes you cannot use.

FAQs

Questions Engineers Ask Next

Does a CNC machine need a CAD model to run?

It needs a toolpath, not necessarily a solid model. For simple parts, a programmer can write the coordinates by hand from a 2D drawing and post the G-code directly.

For anything with curved surfaces, pockets, or 3D contours, a solid model saves time and reduces the chance of a misread dimension. A 2D drawing alone works fine for a plate with drilled holes.

How close can a CNC machine hold a tolerance in production?

On our production work we hold ±0.005 mm, which is ±0.0002 in. That figure assumes a rigid setup, a sharp tool, and a stable temperature.

Very small features and thin walls are harder. A 0.3 mm wall will move under cutting force no matter how good the machine is, so the achievable tolerance depends on the feature, not only on the machine spec.

Can a CNC machine cut hardened steel?

Yes, with the right tooling. Hardened tool steel and 17-4PH stainless in the hardened condition are machined with carbide or ceramic inserts at low surface speed and light depth of cut.

If the part is already at 55 HRC or above, grinding or EDM may be a better route for the final dimensions. We machine tool steel and 17-4PH routinely and will say when a feature belongs on a grinder instead.

What is the smallest feature a CNC machine can produce?

Tool diameter sets the floor. Micro end mills down to 0.5 mm are practical in aluminum and brass, and 1 mm is a comfortable working size in most materials.

Internal corners inherit the tool radius, so a square inside corner needs either a smaller tool or an EDM pass. It is cheaper to add a corner radius on the drawing than to machine a sharp corner.

How does a CNC machine handle a part with two sides?

The part is clamped in a fixture, the first side is cut, then it is flipped and re-datumed for the second side. The flip introduces a positioning error that stacks on top of the machine tolerance.

Where the two sides must align closely, we machine a soft jaw or a custom fixture so the second setup references the first cut, not the raw stock. This is usually the difference between a part that fits and one that does not.

Is CNC machining suitable for one part?

Yes. We have no minimum order quantity, so a single prototype runs on the same machines as a 10,000-piece batch.

The cost per part is high on a one-off because programming and fixturing are spread over one piece. If the design is still moving, it is often cheaper to prototype on CNC and move to a casting or molding once the geometry settles.

Send the Drawing, Get a Straight Answer

Upload a STEP file and we return a quotation plus a free DFM analysis within 12 hours. Uploads are secure and confidential, and an NDA is available on request.

12-hour quote±0.005 mm toleranceNo minimum order

Follow

More CNC Notes From the Shop Floor

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