CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G30

G30 Go to stored position 2

LinuxCNC Tormach G-code · Mill and lathe

Rapids to the position stored by G30.1. Often used as a tool change spot. Axis words give an intermediate point.

Format

G30 [X] [Y] [Z] [A] [B] [C]

Addresses

AddressWhat it does
X Y ZOptional intermediate point, in the active offsets

How it works

Non modal.

Example program

G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
G91 G30 Z0 (Z UP TO TOOL CHANGE HEIGHT)
G90
G30 (TO TOOL CHANGE POSITION)
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G30.1 · G28 · M6

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
Mitsubishi M70 M80Second to fourth reference return
Brother SpeedioSecond reference point return
Heidenhain TNC (ISO)Blank form min point
Mach3 Mach4Return to second home
Centroid CNC12 AcornReturn to reference point 2

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

App Store Google Play