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

Get Instant Quote

CNC basics

CNC Machine Works Video 2017: The 5-Stage Control Loop

A 2017 explainer video showed the same loop we run today: CAD model, CAM toolpath, G-code, motion control, cutting. This page rebuilds that loop as a checklist you can follow on a real part. For design engineers and buyers who need to judge a process, not just watch it.

5-stage loopG-code basics±0.005 mm2017 vs today
cnc machine works video 2017
Quick answers

Key takeaways

The loop never changedCAD, CAM, G-code, motion control, cutting — same order in 2017 and now.
G-code moves an axisG01 with F and S sets feed and speed; the controller interpolates the rest.
Setup count drives costOne 5-axis setup replaces three 3-axis fixtures and removes stack-up error.
Tolerance is a budget±0.005 mm is routine. Spend it only where the drawing needs it.
Start from the drawingDatums and callouts decide the toolpath long before a cutter touches metal.
The loop

What the 2017 videos showed, and where they stopped

A CNC machine works by following a list of coordinates. Nothing more mystical than that. The operator loads stock, the controller reads a program, and each axis moves to a commanded position while a spinning cutter removes material. The 2017 videos were good at this part. They showed the spindle, the table, the tool changer, and the coolant lines.

Where they stopped was the chain behind the coordinates. A part does not begin at the machine. It begins as a solid model with datums, tolerances, and surface callouts. Those callouts are what the CAM programmer reads when choosing tools and stepovers. Skip that step and the video becomes entertainment instead of instruction.

The five stages are still the same today: design intent, CAM toolpath, G-code, servo motion, and material removal. Every modern feature, from 5-axis simultaneous cutting to in-process probing, sits on top of that chain. Understand the chain and you can read any machine spec sheet without guessing.

One useful habit: when you watch any CNC machine works video, pause at the controller screen. The active block, feed rate, and spindle speed tell you more about the process than the wide shot of the enclosure.

Stage 1 and 2

Stage 1 and 2: from drawing to toolpath

Stage one is design intent. Before anything is programmed, the drawing has to answer three questions: which faces locate the part, which dimensions are functional, and which surfaces actually matter. A bracket with a ±0.05 mm hole pattern and a cosmetic outer face does not need the same treatment everywhere.

Most arguments on the shop floor trace back to a missing datum. If the model has no clear A-B-C datum scheme, the CAM programmer picks one, and the inspection team picks another. The part measures correctly at the machine and fails at incoming inspection. Fix the datums in CAD, not in a meeting after the first article.

Stage two is CAM. The programmer selects tool diameter, stepover, stepdown, and toolpath strategy, then simulates the cut. Roughing removes the bulk with a larger tool, typically 50-70% of the cutter diameter in stepover for aluminum. Finishing follows with a smaller tool and lighter passes.

Tool reach matters more than people expect. A long, thin cutter deflects under load, and deflection shows up as taper in a deep pocket. If a pocket is four times deeper than it is wide, expect to slow down or to rough it on a 3-axis machine and finish it on a 5-axis.

  • 1
    Fix datums firstA and B faces in the model should match the vise or fixture faces.
  • 2
    Rough then finishSeparate toolpaths keep cutter load predictable and surface finish consistent.
  • 3
    Check tool reachDeep pockets need shorter cutters or a different machine orientation.
Stage 3

Stage 3: reading G-code without fear

G-code is a list of commands in blocks. Each block is one line, and each line does one thing. G00 moves fast to a position without cutting. G01 moves in a straight line at a programmed feed rate. G02 and G03 cut arcs. M03 starts the spindle, M08 turns on coolant, M30 ends the program.

Feeds and speeds are the two numbers that decide whether the cut works. Feed rate is how fast the tool travels through the material, in mm per minute. Spindle speed is how fast the tool rotates, in rpm. For aluminum with a carbide end mill, surface speed often lands between 300 and 500 m/min, which the CAM software converts into rpm for the chosen diameter.

A block like G01 X50.0 Y20.0 F800 tells the controller to move to that point at 800 mm/min. Change F to 2000 and the same move happens faster, with more load on the cutter. That single number is where most chatter problems begin and end.

You do not need to write G-code by hand to read it. Learn G00, G01, G02, G03, M03, M08, and M30, and you can follow most of what a controller displays. That is the skill the 2017 videos assumed you already had.

  • 1
    G00 vs G01Rapid positioning versus cutting feed. Mixing them up breaks tools.
  • 2
    F is per minuteFeed rate in mm/min. Too high causes chatter, too low causes rubbing.
  • 3
    M-codes are switchesSpindle, coolant, program end. They change machine state, not position.
Stage 4 and 5

Stage 4 and 5: servo motion and the actual cut

The controller converts coordinates into electrical pulses, and the servo motors turn ball screws that move the table or the spindle. A rotary encoder on each axis reports position back to the controller thousands of times per second. That feedback loop is what separates CNC from a manual mill.

Backlash, thermal growth, and tool wear all enter here. A machine that has run for four hours holds a different size than one that started cold. Shops that hold tight tolerances warm up spindles before the first article and check a test cut, not just the offset.

The cut itself is a chip-forming event. Aluminum 6061 machines cleanly at high surface speed with sharp carbide. Titanium Ti-6Al-4V does the opposite. It work-hardens, holds heat at the edge, and punishes aggressive feed rates. Stainless 316 galls and needs constant coolant. 17-4PH in the H900 condition cuts well but wears tools quickly.

Chip evacuation is part of the process, not an afterthought. Deep pockets in aluminum need through-spindle coolant or air blast. Recutting chips doubles the load on the cutter and ruins finish. If the video showed a clean enclosure, it was because someone solved chip flow first.

Follow along

How to trace one part through the process

Use this sequence on a real drawing. Each step names what to check and the range that usually works.

  • 1
    Mark the datumsCircle the primary, secondary, and tertiary datum on the drawing. If any are missing, ask before programming. A missing datum is the most common cause of a first-article rejection.
  • 2
    Classify each toleranceSplit dimensions into functional and non-functional. Functional holes and bores get the tight callouts; cosmetic faces get a finish callout instead. This keeps inspection time focused.
  • 3
    Pick stock and allowanceAdd 1-3 mm per side on machined faces for a part under 300 mm. On a 4,000 mm part, add 5-10 mm and expect two roughing passes to control distortion.
  • 4
    Choose the machine3-axis for prismatic parts with one or two accessible faces. 4-axis for cylindrical features with cross holes. 5-axis for undercuts, compound angles, and deep pockets that need one setup.
  • 5
    Set roughing parametersCarbide end mill, stepover at 50-70% of diameter in aluminum, stepdown at 1× diameter. In 316 stainless, drop stepover to 30-40% and stepdown to 0.3-0.5× diameter.
  • 6
    Set finishing parametersLeave 0.2-0.5 mm radial stock for the finish pass. Use a smaller cutter with a shorter flute length to reduce deflection. Target Ra 1.6-3.2 μm as-machined, Ra 0.8-1.6 μm with a dedicated finish pass.
  • 7
    Dry-run and simulateRun the CAM simulation with the actual holder geometry, not just the cutter. Holder collisions are the most expensive crash and the easiest to miss.
  • 8
    Probe and inspectProbe the stock position, cut a test feature, then measure. Adjust the work offset, not the program. Recheck after the first ten parts to catch thermal drift.
Judgement table

Which machine setup fits which part

Use the first column to find the part shape, then read across.

Part feature3-axis4-axis5-axis
Flat plate, one faceBest fitOverkillOverkill
Plate, two opposite facesTwo setupsGoodGood
Shaft with cross holesHard to holdBest fitGood
Undercut or compound angleNot practicalLimitedBest fit
Deep pocket, tight cornerChatter riskLimitedBest fit
Large frame, 4,000 mmBest fitRareRare
Cosmetic curved surfaceVisible stepsBetterBest fit
Then and now

2017 practice versus current practice

Same loop, different limits at each stage.

Stage2017 common practiceCurrent practice
Machine axesMostly 3-axis16 simultaneous 5-axis centers
Setup countThree or more fixturesOften a single setup
Tolerance±0.02 mm routine±0.005 mm routine
Part size limitAround 1,000 mm4,000 mm maximum
FinishRa 1.6-3.2 μmRa 0.2-0.8 μm available
Quote turnaroundDays by emailUnder 12 hours with DFM notes

When the basics are enough, and when they are not

If your part is prismatic, fits in a vise, and has one accessible face, a 3-axis machine and a clear drawing are enough. If it has undercuts, compound angles, or a tolerance tighter than ±0.02 mm across several faces, pay for the 5-axis setup. It is cheaper than three fixtures and a stack-up error.

FAQs

Questions engineers ask after the video

Do I need to understand G-code to order a CNC part?

No. You need a drawing with clear datums and tolerances, and a 3D model that matches it. The CAM programmer writes the G-code.

Reading G-code helps when you want to discuss cycle time or a finishing strategy. It is a useful second language, not a requirement.

Why does tolerance cost more than surface finish on some parts?

Tolerance forces inspection and sometimes temperature control. Surface finish only changes the last toolpath pass.

A part with a ±0.005 mm bore needs a warm machine and a check after the cut. A part with a cosmetic face just needs a finer stepover.

What is the most common mistake in a first CNC order?

Missing datums. When the model has no clear locating scheme, the shop and the inspector measure from different faces.

The second most common is a corner radius smaller than the cutter can reach. If the drawing asks for a 0.5 mm internal corner, the shop must use a 0.5 mm cutter, and that means slow passes.

How do I know if my part needs 5-axis machining?

Count the faces that carry tight tolerances. If more than two, and they sit at angles to each other, a single 5-axis setup usually wins.

If the part is a flat plate with holes, 3-axis is faster and cheaper. Do not pay for axes the geometry does not use.

Do the materials shown in old videos still apply?

Aluminum 6061, stainless 304, and mild steel 1018 are still the everyday metals. The additions are titanium Ti-6Al-4V, Inconel, and engineering plastics like PEEK and POM.

Each material changes feed and speed, not the underlying loop. The five stages stay the same.

Can a shop hold ±0.005 mm on every dimension of a part?

It can, but not every dimension needs it. Applying a tight tolerance everywhere raises cost and inspection time without adding function.

Mark the dimensions that matter and let the rest carry a general tolerance. That single change often cuts cost more than switching machines.

Send the drawing, get a process plan

Upload a STEP file and a drawing. We return a quote and a free DFM analysis within 12 hours, with the datum and tolerance issues flagged before cutting starts.

12-hour quote100% inspectionNo minimum order quantity

Follow

More 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