Home › G-codes › Siemens 808D ISO › G28
G28 Reference point return / Reference point return via intermediate point
Siemens 808D ISO G-code · Mill, Lathe
On mills: Reference point return
Rapids the programmed axes to an intermediate point, then on to the reference point. Axes not in the block do not move.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | Intermediate point, absolute or incremental |
How it works
Non-modal, group 18.
Example program
G00 Z50. M05 (RETRACT, SPINDLE OFF)
G28 G91 Z0 (Z TO REFERENCE POINT)
G28 X0 Y0 (X Y TO REFERENCE POINT)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Runs as shell cycle CYCLE328. Cancel G41 or G42 and any drilling cycle first.
- The intermediate point is reached with the tool offset active. The offset is dropped at the reference point.
- G28 G91 Z0 goes straight up to the reference point from where the tool is.
On lathes: Reference point return via intermediate point
Moves the programmed axes at rapid to the intermediate point, then on to the reference point. Axes not in the block do not move.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Intermediate point, absolute |
U W | Intermediate point, incremental. U0 W0 goes straight home |
C H | C axis, absolute or incremental |
How it works
Non-modal, G group 18.
Example program
G28 U0.0 (HOME X FIRST)
G28 W0.0 (THEN HOME Z)
M30 (END)
Example is in inch. Check offsets and clearances first.
Watch out for
- G28 X0 Z0 goes through part zero first. Use G28 U0.0 W0.0 to go straight home from where the tool is.
- G28 runs as the shell cycle CYCLE328. It switches off any active transformation such as TRANSMIT or TRACYL.
- Home X before Z on a lathe so the turret clears the part and tailstock.
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 |
| Heidenhain TNC (ISO) | Mirror image |
| 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 Siemens 808D 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 Siemens 808D ISO G-codes