Home › G-codes › Brother Speedio › G52
G52 Local coordinate system
Brother Speedio G-code · Mill
Shifts the zero of all work coordinate systems by an amount. Good for repeat features.
Format
G52 X Y Z
Addresses
| Address | What it does |
|---|---|
X Y Z | Shift amount from work zero |
How it works
Modal until G52 X0 Y0 Z0 or reset.
Example program
G52 X3. Y0 (SHIFT TO SECOND PART)
M98 P4000 (RUN PART)
G52 X0 Y0 (CANCEL SHIFT)
M98 P4000 (RUN PART)
G52 X0 Y0 (CANCEL SHIFT)
Example is in inch. Check offsets and clearances first.
Watch out for
- Always cancel with G52 X0 Y0 Z0 at the end.
- The shift may stay after reset on some settings.
Related codes
G52 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Local coordinate system |
| Haas NGC | Set local coordinate system |
| Mitsubishi M70 M80 | Local coordinate system |
| LinuxCNC Tormach | Local coordinate offset |
| Mach3 Mach4 | Local coordinate shift |
| Centroid CNC12 Acorn | Local coordinate shift |
| Hurco WinMax (NC) | Local coordinate system |
| Fadal | Coordinate system shift |
Every G-code for Brother Speedio 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 G52 in the app All Brother Speedio G-codes