Home › G-codes › LinuxCNC Tormach › G53
G53 Move in machine coordinates
LinuxCNC Tormach G-code · Mill and lathe
Makes the move in the same block use machine coordinates, ignoring work and tool offsets.
Format
G53 G0 [X] [Y] [Z] or G53 G1 [X] [Y] [Z] F
Addresses
| Address | What it does |
|---|---|
X Y Z | Target in machine coordinates |
How it works
Non modal. Needed on every block that uses it.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
G53 G0 Z0 (Z TO TOP OF TRAVEL)
G53 G0 X0 Y0 (TABLE TO MACHINE ZERO)
M2
G53 G0 Z0 (Z TO TOP OF TRAVEL)
G53 G0 X0 Y0 (TABLE TO MACHINE ZERO)
M2
Example is in inch. Check offsets and clearances first.
Watch out for
- Needs G0 or G1 active or in the same block.
- Error with cutter compensation on.
- G53 G0 Z0 is a common safe retract to the top of Z travel.
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 |
| 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 LinuxCNC Tormach 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 LinuxCNC Tormach G-codes