G29 Return from reference position
Fanuc G-code · Mill
Moves at rapid from the reference position through the intermediate point stored by the last G28 or G30, then to the commanded point.
Format
G29 X Y Z
Addresses
| Address | What it does |
|---|---|
X Y Z | Final point to go to after the intermediate point |
How it works
One shot, group 00.
Example program
G91 G28 Z0. (HOME Z, INTERMEDIATE POINT STORED)
T2 M06 (TOOL CHANGE)
G90 G29 Z1. (BACK DOWN THROUGH INTERMEDIATE POINT TO Z1.)
T2 M06 (TOOL CHANGE)
G90 G29 Z1. (BACK DOWN THROUGH INTERMEDIATE POINT TO Z1.)
Example is in inch. Check offsets and clearances first.
Watch out for
- The intermediate point is the one from the last G28 or G30. Check it is still safe.
- Most shops use a plain G00 move instead because it is easier to read.
Related codes
G29 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Return from reference point |
| Mitsubishi M70 M80 | Return from reference position |
| Brother Speedio | Return from reference point |
| Heidenhain TNC (ISO) | Last position becomes the pole |
| Centroid CNC12 Acorn | Return from reference point |
| Hurco WinMax (NC) | Return from reference point |
| Fadal | Return from zero |
Every G-code for Fanuc 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 Fanuc G-codes