Home › G-codes › Hurco WinMax (NC) › G28
G28 Return to reference point
Hurco WinMax (NC) G-code · Mill
Sends the named axes to the reference point, through an intermediate point if one is given. Only axes written in the block move.
Format
G28 [X] [Y] [Z]
Addresses
| Address | What it does |
|---|---|
X Y Z | Intermediate point in the current coordinates |
How it works
Non modal, group 00.
Example program
G80 G00 Z1. M09 (RETRACT, COOLANT OFF)
M05 (SPINDLE OFF)
G91 G28 Z0. (Z STRAIGHT TO REFERENCE)
G90 (BACK TO ABSOLUTE)
…
M05 (SPINDLE OFF)
G91 G28 Z0. (Z STRAIGHT TO REFERENCE)
G90 (BACK TO ABSOLUTE)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G91 G28 Z0. goes straight to Z reference with no intermediate point. Go back to G90 after.
- On Hurco the reference point is set on the NC Parameters screen. It can be any machine point, not only home.
- An intermediate point is remembered for later G28 and G29 blocks.
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 |
| Fadal | Return to zero |
| Swiss (Citizen Star) | Return to reference point |
Every G-code for Hurco WinMax (NC) 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 Hurco WinMax G-codes