CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G31

G31 Skip function

Okuma OSP G-code · Mill

Feeds an axis until a skip signal such as a probe touch, then stops and goes to the next block. Used by probing cycles.

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 if no signal comes
FFeed rate

How it works

One shot. Active only in its own block.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X0 Y0 (OVER THE PART)
N3 G56 Z.5 H20 (PROBE LENGTH OFFSET)
…

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

Watch out for

Related codes

G01

G31 on other controls

The same number can mean something different on another control.

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

Every G-code for Okuma OSP 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 Okuma OSP G-codes

App Store Google Play