Home › G-codes › Centroid CNC12 Acorn › G28
G28 Return to reference point 1
Centroid CNC12 Acorn G-code · Mill and lathe
Moves to the Return 1 point through an optional middle point. Only axes named are moved. With no axes all axes move. On a lathe this is also the tool change and tool check position.
Format
G28 [X] [Y] [Z] [L]
Addresses
| Address | What it does |
|---|---|
X Y Z | Middle point in part coordinates |
L | Feed rate to use instead of rapid |
How it works
One shot.
Example program
G0 Z1. ; CLEAR THE PART
G28 G91 Z0 ; Z STRAIGHT TO RETURN 1
G28 G91 X0 Y0 ; THEN X AND Y
G90 ; BACK TO ABSOLUTE
G28 G91 Z0 ; Z STRAIGHT TO RETURN 1
G28 G91 X0 Y0 ; THEN X AND Y
G90 ; BACK TO ABSOLUTE
Example is in inch. Check offsets and clearances first.
Watch out for
- G28 G91 Z0 sends Z straight home. With G90 the axis words are a middle point in the part, so watch for a crash.
- The Return 1 point is set in the Work Coordinate System Configuration menu.
- On a lathe G28 with no axis moves X and Z only.
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 |
| Hurco WinMax (NC) | Return to reference point |
| Fadal | Return to zero |
| Swiss (Citizen Star) | Return to reference point |
Every G-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn G-codes