G53 Machine coordinate system move
Fanuc G-code · Mill, Lathe
On mills: Machine coordinate system move
Moves to a position in machine coordinates at rapid, ignoring work offsets. Used for tool change heights and safe positions that never change.
Format
G53 X Y Z
Addresses
| Address | What it does |
|---|---|
X Y Z | Position in machine coordinates |
How it works
One shot, group 00.
Example program
G00 Z1. M09 (CLEAR PART)
G90 G53 Z0. M05 (Z TO MACHINE ZERO)
G53 X-20. Y0. (PART UNLOAD POSITION)
M30 (END)
G90 G53 Z0. M05 (Z TO MACHINE ZERO)
G53 X-20. Y0. (PART UNLOAD POSITION)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- Works only in G90. In G91 the G53 block is ignored.
- Cancel cutter compensation and ideally tool length compensation before G53.
- G53 Z0. is usually the top of Z travel, a common safe retract.
On lathes: Machine coordinate system move
Rapids to a position in machine coordinates, ignoring the work offset. Used for safe tool change and park positions.
Format
G53 X Z
Addresses
| Address | What it does |
|---|---|
X Z | Target position in machine coordinates |
How it works
Non-modal. Acts only in its own block.
Example program
G00 X3. M09 (CLEAR PART)
G53 X0 Z0 (TO MACHINE HOME POSITION)
M30 (END)
G53 X0 Z0 (TO MACHINE HOME POSITION)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- Use absolute X and Z values only.
- Cancel tool nose radius compensation first.
- Machine zero is often at the travel limit, so values are usually zero or negative.
Related codes
G53 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Machine coordinate 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 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 G53 in the app All Fanuc G-codes