CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G29

G29 Return from reference point

Haas NGC G-code · Mill, Lathe

On mills: Return from reference point

Moves the axes to the intermediate point stored by the last G28, then on to the commanded point.

Format

G29 X Y Z

Addresses

AddressWhat it does
X Y ZFinal position after passing through the G28 intermediate point

How it works

Non-modal, group 00.

Example program

G91 G28 Z0. (Z HOME, STORES THE INTERMEDIATE POINT)
G90 (ABSOLUTE)
G29 X2. Y1. Z.1 (RETURN THROUGH THE STORED POINT)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Return from reference point

Moves the axes to the G29 reference point saved by G28, then to the position given in the G29 block.

Format

G29 X Z

Addresses

AddressWhat it does
X ZFinal target position after passing the reference point

How it works

Non-modal, group 00.

Example program

G28 U1. W1. (UP 1 INCH, THEN HOME, SAVES REFERENCE)
T0202 (NEXT TOOL)
G29 X1.5 Z.1 (BACK THROUGH REFERENCE TO NEW POSITION)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G28

G29 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucReturn from reference position
Mitsubishi M70 M80Return from reference position
Brother SpeedioReturn from reference point
Heidenhain TNC (ISO)Last position becomes the pole
Centroid CNC12 AcornReturn from reference point
Hurco WinMax (NC)Return from reference point
FadalReturn from zero

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 G29 in the app All Haas NGC G-codes

App Store Google Play