Home › G-codes › Heidenhain TNC (ISO) › G28
G28 Mirror image
Heidenhain TNC (ISO) G-code · Mill
Mirrors the contour in the programmed axes. Klartext: CYCL DEF 8.0 MIRROR IMAGE.
Format
G28 X Y
Addresses
| Address | What it does |
|---|---|
X Y | Axes to mirror |
How it works
Active from definition. Cancel with G28 and no axis.
Example program
N60 G54 X+100 Y+0 *
N70 G28 X *
N80 L1,0 *
N90 G28 *
…
N70 G28 X *
N80 L1,0 *
N90 G28 *
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Mirroring one axis reverses arc direction and climb or conventional milling.
- Shift the datum first if the mirror must be about a point other than the datum.
Related codes
G28 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Return to reference position |
| Haas NGC | Return to machine zero |
| Mazak (EIA) | Reference point return |
| Mitsubishi M70 M80 | Return to reference position |
| Brother Speedio | Return to reference point |
| LinuxCNC Tormach | Go to stored position 1 |
| Mach3 Mach4 | Return to home through a point |
| Centroid CNC12 Acorn | Return to reference point 1 |
| Hurco WinMax (NC) | Return to reference point |
| Fadal | Return to zero |
| Swiss (Citizen Star) | Return to reference point |
Every G-code for Heidenhain TNC (ISO) 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 G28 in the app All Heidenhain TNC G-codes