Home › G-codes › Haas NGC › G53
G53 Machine coordinate move / Machine coordinate selection
Haas NGC G-code · Mill, Lathe
On mills: Machine coordinate move
Moves to a position in machine coordinates for one block, ignoring the work offset. Common for a safe Z home or a park position.
Format
G53 X Y Z [A B]
Addresses
| Address | What it does |
|---|---|
X Y Z A B | Position in machine coordinates |
How it works
Non-modal, group 00.
Example program
M09 (COOLANT OFF)
G53 G00 Z0. (Z TO MACHINE HOME)
G53 G00 X-15. Y0. (PARK THE TABLE)
M30 (END)
G53 G00 Z0. (Z TO MACHINE HOME)
G53 G00 X-15. Y0. (PARK THE TABLE)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- Machine Z0 is the top of travel. Negative values move down.
- Cancel cutter comp before G53.
On lathes: Machine coordinate selection
Moves in machine coordinates for that block only. Work and tool offsets are ignored. Use it for safe tool change and home moves.
Format
G53 X Z [Y]
Addresses
| Address | What it does |
|---|---|
X Z Y | Position in machine coordinates |
How it works
Non-modal, group 00.
Example program
G00 G53 X0 M09 (X HOME, COOLANT OFF)
G53 Z0 M05 (Z HOME, SPINDLE OFF)
M30 (END PROGRAM)
G53 Z0 M05 (Z HOME, SPINDLE OFF)
M30 (END PROGRAM)
Example is in inch. Check offsets and clearances first.
Watch out for
- G53 X0 moves the turret to X home. Send X home first, then Z.
- Use with G00 for rapid moves.
Related codes
G53 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Machine coordinate system move |
| Mazak (EIA) | Machine coordinate positioning |
| Okuma OSP | Tool length offset cancel |
| Mitsubishi M70 M80 | Machine coordinate move |
| Brother Speedio | Machine coordinate move |
| Siemens 840D 828D | Suppress work offset for one block |
| Heidenhain TNC (ISO) | Datum shift from datum table |
| Fagor 8055 8065 | Machine coordinates |
| LinuxCNC Tormach | Move in machine coordinates |
| Mach3 Mach4 | Move in machine coordinates |
| Centroid CNC12 Acorn | Rapid in machine coordinates |
| Hurco WinMax (NC) | Machine coordinate move, rapid |
| Fadal | Use machine coordinate system |
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 G53 in the app All Haas NGC G-codes