| |
% |
| |
G80 G90 G00 |
| |
T01 |
| |
M06 |
| |
G54 X0 Y0 |
| |
G43 H1 Z100. |
| |
G65 P9023 M1. (Switch on probe) |
| 1. |
G65 P9770 X-10.0 Y10.0 Z-5.0 F1000 (Protected move) |
| 2. |
G65 P9023 X10.0 S54 (Single surface measure, set G54 X) |
| 3. |
G65 P9770 Y-10. |
| 4. |
G65 P9770 X10. |
| 5. |
G65 P9023 Y10. S54 (Single surface measure, set G54 Y) |
| 6. |
G0 Z10. (Clearance move) |
| 7. |
G65 P9770 X50. Y50. |
| 8. |
G65 P9770 Z-5. |
| 9. |
G65 P9023 D40. H0.2 (Bore measure) |
| 10. |
G0 Z20.0 |
| 11. |
G65 P9770 Y90. |
| 12. |
G65 P9023 Z-20. S54. K5. (Single surface measure, set G54 Z) |
| 13. |
G28 Z100. |
| |
M30 |
| |
Program inputs description |
| A+/A- |
Angle input for measuring an angle |
| C |
Indicates a calibration cycle |
| D |
The nominal size of the feature for measuring a bore/ boss or web / pocket |
| I+/I- |
Required X position of the feature when setting a work offset |
| J+/J- |
Required Y position of the feature when setting a work offset |
| K+/K- |
Required Z position of the feature when setting a work offset |
| M |
Used to control probe switching options |
| Q |
Probe overtravel distance |
| R+/R- |
Radial clearance between the stylus and the side of a feature. Can be negative for an internal web or boss cycle. |
| S |
Work offset to be updated for position |
| X+/X- |
Approximate distance and direction to X surface |
| |
OR |
| X1. |
Indicates measuring a web / pocket in the X axis |
| Y+/Y- |
Approximate distance and direction to Y surface |
| |
OR |
| Y1. |
Indicates measuring a web / pocket in the Y axis |
| Z+/Z- |
Approximate distance and direction to the Z surface |