Home › G-codes › Mach3 Mach4 › G53
G53 Move in machine coordinates
Mach3 Mach4 G-code · Mill
A one block move in machine coordinates, ignoring work and length offsets. G53 G0 Z0 is the safe way to send Z home.
Format
G53 G0 [X] [Y] [Z] or G53 G1 X Y Z F
Addresses
| Address | What it does |
|---|---|
X Y Z | Machine position |
How it works
Non modal. Only acts in its own block.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S6000 M3 (SPINDLE ON)
G43 H1 Z1.0 (LENGTH OFFSET)
…
T1 M6 (TOOL CHANGE)
S6000 M3 (SPINDLE ON)
G43 H1 Z1.0 (LENGTH OFFSET)
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Mach3 needs G0 or G1 active and errors with cutter comp on.
- Safer than G28 because there is no intermediate point.
- Machine zero is only right if the machine was homed. On a router without switches it is where you last referenced.
Related codes
G53 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Machine coordinate system move |
| 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 |
| Centroid CNC12 Acorn | Rapid in machine coordinates |
| Hurco WinMax (NC) | Machine coordinate move, rapid |
| Fadal | Use machine coordinate system |
Every G-code for Mach3 Mach4 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 Mach3 Mach4 G-codes