CNC Machinist Calculator Ultra

Home › G-codes › Mitsubishi M70 M80 › G30

G30 Second to fourth reference return

Mitsubishi M70 M80 G-code · Mill

Moves through an intermediate point to the second, third or fourth reference position. Often used as a tool change position.

Format

G30 P X Y Z

Addresses

AddressWhat it does
PP2, P3 or P4. No P means second reference
X Y ZIntermediate point

How it works

Non-modal, group 00.

Example program

G91 G30 P2 Z0. (Z TO SECOND REFERENCE)
G90 (BACK TO ABSOLUTE)
T2 M06 (TOOL CHANGE)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G28 · G91

G30 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucReturn to 2nd, 3rd or 4th reference position
Mazak (EIA)Second, third or fourth reference point
Okuma OSPPositioning to home position
Brother SpeedioSecond reference point return
Heidenhain TNC (ISO)Blank form min point
LinuxCNC TormachGo to stored position 2
Mach3 Mach4Return to second home
Centroid CNC12 AcornReturn to reference point 2

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 G30 in the app All Mitsubishi M70 M80 G-codes

App Store Google Play