Inspection workpiece mounted to 4th axis / rotary table should normally be aligned mechanically to the Machine XYZ axis system, thus features measured from one program run to the next have consistent probing access - i.e. part mounted incorrectly could lead to shank measurements. There are however cases that part cannot easily be loaded in perfect alignment to Machine axis system - i.e. heavy part, held in collet or other non-repeatable fixture, etc.
Before Adjustment
After AdjustmentIt is possible to add Program steps that automatically Align rotary axis such that part is aligned to CMM. Program looks something like this:
- Move Rotary device to Absolute 0.0 Position
- Measure Alignment Datum on Part - i.e. front edge of part or other feature used for Alignment
- Report Angle of feature compared to Machine X Axis
- Save this angle to VB Script Variable using GetReportInfo() command
- Rotate Rotary device according to VB Script Variable from above
- Perform Relative Rotation for all subsequent Rotary motion in Program
VB Script looks something like this:
- MyAng = GetReportInfo("ANGL BT LINE1 and X AXIS", "3D", 2)
- MyAng = -1*MyAng
Initial Rotary Table Command looks like this:
See attached sample Program