0
0
CNC Programmingscripting~5 mins

Probing for automatic zero setting in CNC Programming

Choose your learning style9 modes available
Introduction

Probing helps the CNC machine find the exact starting point automatically. This saves time and makes sure the work is precise.

When you want the machine to find the edge of a material before cutting.
When setting the starting point for drilling holes.
When you need to measure the height of a part automatically.
When changing tools and you want to reset the zero point quickly.
Syntax
CNC Programming
G65 P9810 Z-10 F50

G65 calls a custom macro for probing.

P9810 is the macro number for automatic zero setting.

Examples
Probe moves down 5 mm at 100 mm/min to find the surface and set zero.
CNC Programming
G65 P9810 Z-5 F100
Probe moves down 15 mm slowly at 30 mm/min for a deeper surface check.
CNC Programming
G65 P9810 Z-15 F30
Sample Program

This program sets the machine to millimeters, uses absolute positioning, probes down 10 mm to find the surface and set zero, then lifts the probe and ends.

CNC Programming
G21 ; Set units to millimeters
G90 ; Use absolute positioning
G65 P9810 Z-10 F50 ; Probe down 10 mm at 50 mm/min to set zero
G00 Z10 ; Lift probe up
M30 ; End of program
OutputSuccess
Important Notes

Always make sure the probe is connected and working before running the program.

Use slow feed rates during probing to avoid damage.

Check your machine's manual for the correct macro number and syntax.

Summary

Probing automates finding the zero point on your material.

Use G65 with the right macro and parameters to probe safely.

Always verify probe setup before running the program.