Home › G-codes › Mitsubishi M70 M80 › G52
G52 Local coordinate system
Mitsubishi M70 M80 G-code · Mill
Shifts the current work coordinate by the given amount. Used for repeated features or multi part fixtures.
Format
G52 X Y Z
Addresses
| Address | What it does |
|---|---|
X Y Z | Shift from the work zero |
How it works
Non-modal command, but the shift stays until G52 X0 Y0 Z0 or reset.
Example program
G52 X5. Y0. (SHIFT TO PART 2)
M98 P4000 (CUT PART)
G52 X0. Y0. (CANCEL SHIFT)
M98 P4000 (CUT 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. A leftover shift moves the next program.
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 |
| Brother Speedio | 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 Mitsubishi M70 M80 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 Mitsubishi M70 M80 G-codes