CNC Machinist Calculator Ultra

Home › G-codes › Mitsubishi M70 M80 › G28

G28 Return to reference position

Mitsubishi M70 M80 G-code · Mill, Lathe

On mills: Return to reference position

Moves through an intermediate point and then to the machine reference position for the named axes.

Format

G28 X Y Z

Addresses

AddressWhat it does
X Y ZIntermediate point. Only named axes move

How it works

Non-modal, group 00.

Example program

G00 Z1. M09 (CLEAR PART)
G91 G28 Z0. (Z HOME DIRECT)
G28 X0. Y0. (XY HOME)
G90 (BACK TO ABSOLUTE)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Return to reference position

Moves through the given point to the machine reference. Use U0 and W0 to go straight home.

Format

G28 U0 W0

Addresses

AddressWhat it does
U WIncremental intermediate point, 0 means current position

How it works

Non-modal, group 00.

Example program

G00 X3. Z1. M09 (CLEAR)
G28 U0 (X HOME)
G28 W0 (Z HOME)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G29 · G30 · G91 · G53 · G00

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
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 Mitsubishi M70 M80 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 Mitsubishi M70 M80 G-codes

App Store Google Play