Home › G-codes › Haas NGC › G212
G212 Auto tool setting with probe
Haas NGC G-code · Lathe
Re probes a tool that already has an offset, for example after an insert change, or checks for tool breakage. The control moves the tool to the probe by itself.
Format
G212 H [M] [C] [X] [Z] [B] [U] [W]
Addresses
| Address | What it does |
|---|---|
H | Tool tip direction |
M | Tool breakage tolerance |
C | Drill diameter |
X Z | Adjust approach and start points |
B | Probing move distance |
U W | Adjust start points |
How it works
Group none.
Example program
M104 (PROBE ARM DOWN)
T0202 (TOOL 2 WITH ITS OFFSET)
G212 H2 M.005 (RE PROBE, ALARM IF WORN OVER .005)
M105 (PROBE ARM UP)
T0202 (TOOL 2 WITH ITS OFFSET)
G212 H2 M.005 (RE PROBE, ALARM IF WORN OVER .005)
M105 (PROBE ARM UP)
Example is in inch. Check offsets and clearances first.
Watch out for
- Call the tool with T before G212 or an alarm occurs.
- Watch back working tools so they do not hit the spindle or back wall.
Related codes
Every G-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G212 in the app All Haas NGC G-codes