By Mark Boucher - CMM Quarterly
Programming a CMM for a new part is about translating the design intent (often in the form of CAD models and engineering drawings) into a measurement routine the machine can execute accurately and consistently. There are a few key stages:
Understand the Design Requirements
Before any programming begins, review the part drawing and/or CAD model. Identify:Datums: Primary, secondary, tertiary references.
Critical features: Dimensions and geometric tolerances that are most important for function or fit.
GD&T callouts: Flatness, perpendicularity, true position, profile, etc.
This step ensures the measurement plan aligns with the way the part will actually be accepted or rejected.
Choose the Right Probing Strategy
Touch-trigger probing is common for discrete points (holes, edges, planes).
Scanning probes (analog or digital) are better for profiles or freeform surfaces where many data points are needed quickly.
Non-contact probes may be used for delicate, soft, or reflective parts.
The probe type, stylus length, and tip size should be matched to the geometry and accessibility of features.
Establish the Alignment
Alignments define how the part sits in the CMM coordinate system. You usually:Align to primary, secondary, and tertiary datums per the drawing.
Use a best-fit alignment for complex or cast parts if allowed.
Consider multiple alignments if measuring multiple areas of a large or complex assembly.
Create the Measurement Path
A good path minimizes travel time, avoids collisions, and measures features in a logical sequence:Start with datums to lock in orientation.
Measure critical features next, especially those affected by datums.
Group nearby features to reduce machine movement.
Add clearance moves to avoid fixtures and clamps.
If using offline programming, simulate the motion path before running on the actual CMM.
Use CAD-Based Programming When Possible
Modern CMM software can import the CAD model, automatically extract features, and generate measurement routines directly from the model. Advantages:Reduces manual input errors.
Allows offline programming (no machine downtime).
Supports model-based definition (MBD) workflows where GD&T is embedded in the CAD.
Incorporate Safety and Efficiency
Set safe approach and retract distances.
Include automatic probe qualification routines when switching styli or probe heads.
Add prompts or pauses if operator interaction (e.g., part flipping) is required.
Validate and Document the Program
Run a first-article inspection with the new program:Compare results to known good parts or a master artifact.
Verify all features are measured and reported as intended.
Document version, revision, and verification steps for quality traceability.
💡 Pro Tip: If the CMM is part of production, integrate the measurement program with Statistical Process Control (SPC) software (like ZEISS PiWeb) to provide real-time feedback for process adjustments, reducing scrap and rework.
CMM Quarterly provides online training. We can help you setup your programming for sucess.