← Back to CNC Programming

Program Verification & First Article

Writing the program is only half the job. This page covers the verification workflow that separates a production programmer from someone who crashes machines: dry run, single block, reduced feed, and first article inspection.

Level: KScope: Machine-neutral concepts; controller-specific examples are labelledPrerequisite: Safe Program Start, Retraction, and Restart
After this lesson, you can:

Concept

Program verification is the process of confirming that the program will produce the intended part before committing to a full production run. The sequence is: syntax review → coordinate review → offset review → CAM simulation → dry run on the machine → single block → reduced feed → first part cut → inspection. Each step catches a different class of error.

Why It Matters

Every crash started as a "should be fine" program. Mental simulation is unreliable: you read over the same wrong coordinate three times and still miss it. A 5-minute dry run at reduced feed catches errors that cost 4 hours of machine repair, a broken spindle, and a scrapped part. The cost of verification is tiny compared to the cost of a crash. The engineering habit of verification is what lets you run unattended programs with confidence.

How It Works

Before Hitting Cycle Start — Checklist

  1. Units — G21 (metric) or G20 (inch)? Confirm both in the program and on the controller.
  2. Work offset — G54 set to the correct datum on the part? Check X, Y, and Z origin.
  3. Tool length offsets — H01, H02... measured and loaded? Not zero? Also confirm the sign convention on your control: on a mill with G43 the H value is the gauge-line-to-tip length; an H of 0 or a wrong sign sends the tool to the wrong Z.
  4. Tool radius offsets — D register set per this controller's radius/diameter and wear/geometry convention?
  5. Spindle direction and speed — M03 forward, S in the correct range?
  6. Z clearance — is the tool at a safe Z above the stock, not at cut depth?
  7. Tool number — does T01 in the program match what is physically in the spindle?
  8. Startup block — does the program begin with G21 G17 G90 G40 G49 G80?

Verification Sequence

Verification Sequence
StepWhat You DoCatches
1. Syntax reviewRead the code top to bottom on paperMissing %, wrong O number, typos
2. Coordinate reviewSketch the tool path on paperWrong coordinates, wrong direction
3. Offset reviewCheck G54, H, D on controllerMissing or wrong offsets
4. CAM simulationWatch material removal in CAMObvious collisions, wrong tool path
5. Planned air runPer machine procedure, verify pathGross coordinate errors, limit switches
6. Single blockBlock-by-block at reduced feedPer-motion errors you would miss at speed
7. Planned first cutFeed/rapid overrides per machine first-article procedureTool deflection, chatter, chip issues
8. First articleMeasure every dimensionOffset errors, tool wear, dimensional drift
Illustration for Verification Sequence. Its dimensions and assumptions are explained in the adjacent lesson text.Verification Sequence Review Dry Run 1st Part Measure OK
The verification chain. Each step catches errors the previous step cannot.

First Article Inspection

After the first part runs through at reduced feed, stop and measure. Check every dimension the drawing calls for: hole positions, depths, diameters, and surface finish. If dimensions are off, first separate position error from width/size error. A translated position suggests work offset; a width error suggests cutter compensation, tool size, or deflection — not G54. Measure before adjusting. Only after the first article passes inspection do you increase feed to production rate.

Example

Before first cut checklist for a drilling program:

Run a planned air run per the machine procedure, watching XY positions. Then single-block the first hole down to Z-15. Confirm the tool is at the right X/Y before allowing it to feed down.

Simulation Before Metal Cutting

CAM/NC verification against a stock model can catch tool gouging, overtravel, missed moves, and unit errors if the NC and model inputs are checked together. It cannot prove on-machine offsets or unmodeled fixture clearance.

Dry Run and Single Block

Controller graphics, CAM verification, and machine dry-run each behave differently. Use them per the machine procedure to confirm the XY path. Single block executes one block at a time; step through the first few cuts to confirm Z depth and compensation engage as expected.

First Part Inspection

After the first cut, stop and measure. Check critical dimensions against the drawing before continuing. If an offset is wrong, you want to find it on the first part, not the tenth.

Illustration for First Part Inspection. Its dimensions and assumptions are explained in the adjacent lesson text.First Part Inspection slot 20.30 slot 20.30 G54 X shifted +0.3 width unchanged
Case B: shifting G54 moves the whole slot; width stays 20.30.

What Simulation Cannot Catch

On-machine setup still must be verified: G54, H, D values are loaded as expected. Unloaded or unverified on-machine offsets and fixture clearance cannot be proven by this simulation.

Program Structure Review

Read the program end to end once before running. Check: units, plane, distance mode, compensation cancel, tool number matches, work offset, spindle direction, feed mode, and program end. Most errors are visible in a single read-through.

First Article and Inspection Plan

Define which dimensions will be measured on the first part, with what instrument, and what the acceptable range is. Do not invent the inspection plan after the part is made. Critical dimensions get measured first; cosmetic features last.

When to Stop and Re-check

Stop if the first cut sounds wrong, if the dimension is off by more than a small tolerance, or if chips look unusual. Continuing a suspect program "just to finish" turns one bad part into a scrap batch and a broken tool.

Offset Verification on Machine

After touching off, verify the offset makes sense: a 10 mm end mill should give a work zero near where you touched. A 50 mm face mill should not show a 20 mm offset. Sanity-check every number before cycling on.

Z-Height Check with Paper or Dial Indicator

Lower the tool slowly toward the part surface until a slip of paper just drags. Note the Z position. Compare it to the programmed zero. This catches gross setup errors before a 500 mm/min plunge.

Dry Run Without Clamping the Part

For a first program, run the tool path in the air above the part. Confirm XY travels match the expected outline. This catches gross coordinate and fixture errors without risking the part.

Single Block Through Compensation Engage

Cutter compensation engages on a lead-in move. Step through that block on single block and confirm the tool moves to the expected offset position, not into the part.

Measuring After the First Tool

Run the first tool only, measure its features, then call the next tool. Do not run all tools before measuring — if offset 1 is wrong, every downstream feature is wrong too.

Sign-off for Production Run

Once the first part is verified, record the offsets, tool list, and fixture number on the setup sheet. Future operators repeat the verified setup rather than re-discovering it.

Check the Tool Number Actually Called

Programs call T01 M06. Confirm the tool physically in the spindle matches. Tools can be put back in the wrong pocket. This is a one-second check that prevents a broken cutter.

Check the Work Offset Number

G54 vs G55 on a tombstone with multiple parts. Confirm which fixture the program expects. Running G54 when the part is on G55 is an instant crash.

Check the Units

G20 vs G21. Mixed units scale dimensions by 25.4 or 1/25.4. Look at the first block before cycle start.

Check Feed Override Position

Set rapid and feed overrides per the machine first-article procedure; lowering override slows motion but is not a collision guarantee.

Document the First Part Result

Record actual measured dimensions and any offset tweaks. The next setup repeats the tweaks rather than re-discovering them.

Simulation of Stock, Not Just Tool Path

Watch the stock model during simulation. The tool should remove material where expected, leave lugs where expected, and not gouge into the fixture. A path that looks clean on 2D may cut the vise in 3D.

Check Rapid Moves Above the Part

Rapid moves are where crashes happen. Trace every rapid XY move and confirm the Z height at that moment is above the fixture. Do this on paper before running.

Verify the Program End Is Where You Expect

The program should end at a known tool change position, with compensation canceled and spindle off. If the program ends mid-air, the next operator has to figure out where it stopped.

First Part Cycle

Run the first part with your hand near feed hold. Watch the first approach, first cut, and first retract. Be ready to stop if anything looks wrong.

Sign-Off and Record Keeping

A verified program is a documented program. Keep the setup sheet, offset list, and tool list with the program. Future operators should be able to repeat the job without re-discovering the verification steps.

When to Re-Verify After a Tool Change

Any tool change, even an insert index, changes the effective tool. Re-touch the offset and run a test cut before resuming production.

Simulation and Offsets Are Separate

A perfect simulation with the wrong H offset still crashes. Simulation verifies the tool path in the abstract; offsets are verified on the machine. Never substitute one for the other.

Measuring Critical Features First

On the first part, measure tight-tolerance features first. If they are off, stop and correct before running more. Cosmetic features can be checked later; critical ones cannot be fixed later.

Documenting Edge Cases

If this part has a tricky fixture, a thin wall, or a tool that barely clears, write a note in the program. Next setup will thank you.

Verification Is a Habit, Not a One-Time Gate

Re-verify after every tool change, after stock change, and after any interruption. Even a verified program becomes unverified when something changes.

The First Part Is the Payoff

All the simulation, dry runs, and offset checks exist to protect that first part. Treat it carefully; once it passes, production can run with confidence.

Never Skip the First-Part Check

Even on a program you have run before, the first part of a new batch deserves a check. Stock, tooling, and fixtures change between runs.

Verification Is Part of the Job

It is not extra work; it is the work. Skip it and you pay for it later in scrap and crashes.

Position vs Size: A Diagnostic Rule

If multiple features translate together, the work offset is suspect. If one feature size is wrong, the tool or compensation is suspect. These are different problems with different fixes.

Reading the NC, Not Just the CAM Picture

CAM verification shows the cutter path the system intended; the actual NC may differ after postprocessing. Open the G-code that will run on the machine and read it end to end before the first part.

Common Mistakes

Practice

1. Why use reduced feed on the first article?

Ans

So you can hit feed hold immediately if something looks wrong, before the tool cuts into the part. At full feed, a 0.5-second delay can scrap the part.

2. What three offsets must be verified before running?

Ans

Work offset (G54 X/Y/Z), tool length offset (H), and tool radius offset (D).

3. CAM simulation looks perfect. What might still be wrong?

Ans

Work offset, tool length, tool number, units, spindle direction — anything in the physical setup that the CAM model does not know about. On-machine verification confirms setup values the CAM model does not carry.

4. The first part comes out 0.3 mm too large in X. Do you change the program X coordinates?

Ans

No. A slot width of 20.30 vs 20.00 is a size error. Shifting G54 moves the slot; the width stays 20.30. Check contour, cutter compensation, tool size, wear, and measurement.

Sources