CMM lesson 03 · L4 series
Program Review & Verification
Program review & verification — how to review someone else's program for intent, safety, and strategy, and catch errors before they turn into false decisions.
Public lesson. All cases are sanitized: no part names, company names, customers, part numbers, or drawings. Numbers shown are verified results from real production work. Treat heuristics as heuristics, not standards.
L4 outcome
You don't just write programs that run — you can review someone else's program for intent, safety, alignment, probe/path, feature construction, evaluation, and reporting, and catch logic or strategy errors before they turn into false decisions.
1. The review sequence
When you open someone else's program, work in this order: Requirement → setup → probe/configuration → alignment → feature measurement → construction/fit → GD&T evaluation → report/output → repeatability/validation.
The first ten minutes: how the part is set up and how the coordinate system is built versus the drawing. How the critical dimensions are calculated — by PQR, by tight tolerance. Then how each measured feature is defined (projection vs non-projection), and how many points are taken per dimension. Most review failures I have seen were coordinate construction errors — the convergence point of the drawing wasn't identified correctly.
2. Errors that don't crash but still lie
Three common ones:
- Unstable part placement — the part sits on the CMM table but isn't fixed; a firm probe touch moves or rotates it slightly.
- Wrong coordinate build — the convergence point is wrong, or the wrong geometry is used to lock the axes.
- Bad calibration or probe declaration — the machine wasn't calibrated properly, or the wrong probe configuration was declared.
None of these stop the program. All of them corrupt the numbers.
3. Syntax errors vs strategy errors
Learn to tell them apart by their signature:
- Probe errors repeat across all dimensions, or appear only when the stylus angle changes. Outliers look abnormal compared to old reports.
- Point-location errors happen where the probe can't touch properly: small edge radii, tiny corner blends, a probe too large for the feature being measured.
- Syntax errors are small and few; against old results the numbers still look right.
- Strategy errors repeat everywhere, consistently, across all comparable results — same wrong answer, every run.
That last one is the dangerous one: a program can be perfectly valid software and still measure the wrong thing.
4. Field notes from real reviews
- The "too pretty" true position. A 200+ feature program passed its report, but one critical characteristic looked suspiciously good. Tracing back through the calculation, the comparison distance from the measured point had been declared as zero — so the true position came out as 0. Beautiful number, completely wrong. Rule: whenever a critical result looks too good, check the calculation chain and the coordinate construction first, not the part.
- Best-fit as acceptance. Best-fit is an old habit; it is rarely how parts are accepted today. The drawing, the datums, and the convergence point decide — not the prettiest fit.
- Drawing revision changes. When a released program meets a drawing revision, check impact in this order: did the datums change? The critical dimensions? The notes? Don't assume the old program still matches.
5. Safety and collision review
A program can run fine on one setup and become a collision risk when an operator loads the part slightly off. Review the probe path for the worst-case load, not the ideal one. For safety doubt: run a short repeatability study (about ten runs on one part) before deciding the program is production-safe.
L4 self-test
Explain
- You open a stranger's program to verify it. What do you look at in the first ten minutes, and why that order?
- Name three program errors that run without crashing but still produce wrong results. How would each one show up in the report?
- How do you separate a syntax/software issue from a measurement strategy issue?
- When a drawing revision changes under an existing released program, what do you check for impact, and in what order?
Scenario
- A program has 200+ features and passes, but one critical characteristic looks "too pretty." Where do you start checking?
- A programmer uses a best-fit or constructed feature as acceptance. What decides whether you keep it or replace it?
- A program runs fine on one setup, but collision risk rises when an operator loads slightly off. How do you review the path and safety?
Pass gate: you can review a program you didn't write, list the risks in priority order, propose the smallest test that settles the question, and confirm after the fix that the root cause is actually resolved — not just the symptom.