Clearing All Offsets with G10 G Code on Haas Machine Tool



Haas G10 G Code Programmable Offset Setting

Haas G10 Programmable Offset Setting G-code allows the programmer to set offsets within the program. Using G10 replaces the manual entry of offsets (i.e. Tool length and diameter, and work coordinate offsets).

Read complete article about Haas G10 Haas CNC Lathe G10 Programmable Offset Setting G-Code

As Haas G10 G Code is usually used to alter offsets within a program, but it also can be used to set offsets to zero.

How to Clear All Offsets on a Haas Machine Tool

How to Clear All Offsets on a Haas Machine Tool

How to Clear All Offsets on a Haas with G10 G Code?

Here is a simple cnc program using G10 preparatory functions to automatically zero all of your work offsets.

Set G52-G59 work offsets to zero

G10 L2 P0 G90 X0 Y0 Z0 A0 (repeat, changing the value of P, for P0 through P6)
G10 L2 P1 G90 X0 Y0 Z0 A0
” ” ” ” ” ” ” ”
G10 L2 P6 G90 X0 Y0 Z0 A0

Set G110-G129 work offsets to zero

G10 L20 P1 G90 X0 Y0 Z0 A0 (repeat, changing the value of P, for P1 through P20)
G10 L20 P2 G90 X0 Y0 Z0 A0
” ” ” ” ” ” ” ”
G10 L20 P20 G90 X0 Y0 Z0 A0

Set Tool Offsets (Geometry & Wear) to zero

This program could be expanded to set tool offsets to zero by altering the L and P codes.
L10-L13 references the geometry and wear columns of length and diameter offsets and P1-P100 reference the tool number offsets.


Leave a Reply

*