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

Get Instant Quote

CNC Programming

CNC Programming That Will Hold Up on the Shop Floor

A practical guide for engineers and CAM programmers who need parts to come off the machine on size, on time. It covers process sequencing, workholding, tool selection, feeds and speeds, and the checks that catch a bad program before the first cut.

3-axis to 5-axis±0.005 mmDFM within 12 hoursNo MOQ
Custom Auto Spare Parts 5 Axis CNC Machining Engine Parts
Process planning

Program the sequence before you program the geometry

Most scrapped first articles are not caused by a wrong feed rate. They come from a sequence that leaves nowhere to hold the part, or that machines a datum after the features that depend on it. Before opening the CAM file, decide how many setups the part needs, which face is the primary datum, and which side stays untouched until the last operation.

A useful rule: establish the datum first, cut the mating features second, and leave cosmetic surfaces for the final pass. That order keeps fits predictable and keeps visible faces free of clamp marks. It also shortens the program, because each setup does one clear job instead of chasing dimensions across two fixtures.

Grouping operations also changes the tool list. When a single tool can finish every feature it reaches in one orientation, tool changes drop and the cycle gets shorter. The trade-off is that the part may sit in the vise longer, so check chip evacuation before you commit to a long roughing pass.

Write the setup sheet and the program together. Operators need to know the zero point, the clamp position, and the torque value before the first rapid move. A program with no setup sheet is a program that will be run differently by every shift.

Workholding

Workholding decides the tolerance you can actually hold

A vise is fine until the part is thin, tall, or mostly unsupported. Clamping pressure flexes thin walls, and the part springs back after unclamping, so the measured dimension on the machine differs from the one on the inspection bench. Rough and finish in separate operations for anything below about 3 mm wall thickness.

For five-sided work, a dovetail or a machined soft jaw gives more rigidity than a standard vise. On our simultaneous 5-axis centers, a Ø400 mm rotary table handles most production parts, and the fixture is usually designed so the part is cut from one orientation. Fewer repositions means fewer datum transfers and less stacked error.

Long parts need support, not more clamp force. A 4,000 mm travel machine can hold a long extrusion, but the middle will deflect under cutting load unless you add a steady rest or a tailstock. Check the unsupported span against the tool pressure before choosing the depth of cut.

Zero-point systems pay for themselves when a part runs more than a few times. They remove the re-indication step and repeat to a few microns, which matters at ±0.005 mm. For one-off prototypes, a simple pin and clamp fixture is faster to build and just as accurate.

Tooling

Tool selection and the numbers behind feeds and speeds

Pick the largest tool that reaches the corner without chatter, then add a smaller tool only for the features that need it. A Ø12 mm end mill removes material far faster than a Ø6 mm tool, and every extra tool adds a tool change plus a chance for a mismatch on a blending surface. Small tools are for detail, not for bulk removal.

Feeds and speeds come from surface speed and chip load, not from a table copied off the internet. For 6061-T6 aluminium, a coated carbide end mill runs well around 300–500 m/min surface speed with a chip load of 0.05–0.10 mm per tooth. Switch to 316L stainless and the same tool wants roughly 80–120 m/min. Titanium TC4 runs slower still, near 40–60 m/min, because heat stays in the cut instead of leaving with the chip.

Chip thinning matters on light radial engagements. When the radial depth of cut drops below half the tool diameter, the actual chip gets thinner than the programmed feed per tooth, so the edge rubs instead of cutting. Raise the feed per tooth to compensate, or the tool will work-harden the surface and wear quickly.

Use air blast or high-pressure coolant on aluminium to clear chips. Recutting a chip is the fastest way to break a small tool. On deep pockets, program a peck or a helical entry rather than plunging straight into the material.

Starting points

Reference cutting data for common materials

Carbide tooling, coated, moderate radial engagement. Treat these as starting points and adjust to the machine and fixture.

MaterialSurface speedChip load per toothNotes
6061-T6 aluminium300–500 m/min0.05–0.10 mmAir blast, high rake
7075 aluminium200–350 m/min0.04–0.08 mmSharper edge, watch chatter
304 / 316L stainless80–120 m/min0.03–0.06 mmFlood coolant, rigid setup
1018 / 1045 steel120–180 m/min0.05–0.10 mmCoated insert or end mill
Ti-6Al-4V (TC4)40–60 m/min0.03–0.05 mmHigh-pressure coolant
POM / PEEK200–400 m/min0.05–0.15 mmSharp tool, clear chips fast
Verification

Simulation, first-article checks, and what to fix first

Run the program in simulation with the actual stock and fixture models loaded. Collision checks catch the obvious crashes, but gouges and leftover material only show up when the stock shape is accurate. Import the real blank, not a bounding box, or the simulation will miss the areas that matter.

Probe the datum on the machine before the first cut whenever the part value justifies it. A spindle probe confirms the zero point and catches a fixture that moved overnight. For tight work at ±0.005 mm, this step is cheaper than scrapping one part.

When a first article is out of tolerance, measure before you change the program. Distinguish between a tool wear offset, a thermal drift, and a genuine geometry error. Adjusting the CAM file to fix a wear offset hides the real cause and repeats the mistake on the next run.

Keep a short setup log for each part number: tool list, offsets, fixture position, and any edits made at the control. That record is what turns a one-off program into a repeatable job, and it is the first thing a new operator should read.

FAQs

Common questions from engineers and CAM programmers

When should a part move from 3-axis to 5-axis machining?

Move to 5-axis when the part has features on multiple faces that would otherwise need three or more setups, or when the geometry is contoured and cannot be reached by a 3-axis tool from one direction. Fewer setups reduce datum error and shorten the total cycle.

Stay with 3-axis when the part is prismatic and can be reached from two or three simple orientations. Programming and fixturing are faster, and the machine is cheaper to run.

How do you hold ±0.005 mm on a thin-wall part?

Separate roughing and finishing, leave a consistent finishing allowance, and reduce clamp pressure for the final pass. Support the wall with a machined soft jaw or a low-melt fixture compound if the wall is very thin.

Measure on the machine where possible, and let the part stabilize before final inspection. Temperature changes of a few degrees can move a thin wall more than the tolerance allows.

What tolerance and surface finish can GreatLight hold?

We hold ±0.005 mm (±0.0002 in) on precision features, with surface finishes from Ra 0.2–0.8 μm for fine work to Ra 1.6–3.2 μm as-machined.

Every part is inspected before shipment, with raw material checks, in-process monitoring, and final inspection. Reports are available on request.

Do you review the program and design before quoting?

Yes. We return a quotation and a free DFM analysis within 12 hours, which flags features that will be hard to machine, tight tolerances that drive cost, and any geometry that needs a different approach.

Production can start within 24 hours after approval, and parts typically ship in 3–5 days.

Can you run a single prototype and then a production order?

There is no minimum order quantity. We run from one prototype up to 10,000+ part runs on the same process, so the fixture and program carry over to production.

Uploads are secure and confidential, and an NDA is available on request.

Send your drawing and get a manufacturability review

We review the program and the design, flag what drives cost, and return a quote with DFM notes within 12 hours.

12-hour quoteDFM analysis included100% inspectionNDA on request

Trusted by engineers and manufacturers worldwide

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