CNC Machinist Calculator Ultra

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

G28 X Y Z

Addresses

AddressWhat it does
X Y ZIntermediate point, absolute or incremental

How it works

Non-modal, group 18.

Example program

G80 G40 (CYCLE AND RADIUS COMP OFF)
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

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

G28 X(U) Z(W) [C(H)]

Addresses

AddressWhat it does
X ZIntermediate point, absolute
U WIntermediate point, incremental. U0 W0 goes straight home
C HC axis, absolute or incremental

How it works

Non-modal, G group 18.

Example program

G00 X150.0 Z5.0 M09 (CLEAR OF PART)
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

Related codes

G27 · G30 · G91 · G40 · 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
FadalReturn 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

App Store Google Play