CNC Machinist Calculator Ultra

Home › G-codes › Fadal › G28

G28 Return to zero

Fadal G-code · Mill

Sends the named axes to the zero position set at cold start. In Format 2 only the axes in the G28 block move.

Format

G28 [X] [Y] [Z]

Addresses

AddressWhat it does
X Y ZAxes to send home. In G91 use 0 to go straight home

How it works

Non modal.

Example program

N20 G0 Z.1 M9 (CLEAR PART)
N21 G91 G28 Z0. M5 (Z HOME)
N22 G28 X0. Y0. (XY HOME)
N23 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

Related codes

G29 · G28.1 · G53

G28 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucReturn to reference position
Haas NGCReturn to machine zero
Mazak (EIA)Reference point return
Mitsubishi M70 M80Return to reference position
Brother SpeedioReturn to reference point
Heidenhain TNC (ISO)Mirror image
LinuxCNC TormachGo to stored position 1
Mach3 Mach4Return to home through a point
Centroid CNC12 AcornReturn to reference point 1
Hurco WinMax (NC)Return to reference point
Swiss (Citizen Star)Return to reference point

Every G-code for Fadal 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 Fadal G-codes

App Store Google Play