CNC Machinist Calculator Ultra

Home › G-codes › Fadal › G31

G31 Probe touch function

Fadal G-code · Mill

Moves the probe until it touches, then stops and stores the touch point. Used by the probe routines with L9101.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G31 X Y Z F

Addresses

AddressWhat it does
X Y ZTarget point past the expected surface
FProbe feed rate

How it works

Non modal.

Example program

N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T20 M6 (SPINDLE PROBE)
N3 M64 (MP PROBE ACTIVE)
N4 G0 G90 G54 X0. Y0.
…

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

Watch out for

Related codes

G31.1 · M64

G31 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSkip function
Haas NGCSkip function, probe move
Okuma OSPSkip function
Mitsubishi M70 M80Skip function
Brother SpeedioSkip function
Heidenhain TNC (ISO)Blank form max point
Mach3 Mach4Probe move
Hurco WinMax (NC)Skip, probing move

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 G31 in the app All Fadal G-codes

App Store Google Play