CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G81

G81 Drill or spot cycle / Start of longitudinal LAP contour

Okuma OSP G-code · Mill, Lathe

On mills: Drill or spot cycle

Feeds to depth and rapids out. The basic drilling and spot drilling cycle.

Format

G81 X Y Z R F

Addresses

AddressWhat it does
X YHole position
ZHole bottom
RR point where feed starts
FFeed rate

How it works

Modal, fixed cycle group. Cancel with G80.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 T2 M06 (.250 DRILL)
N3 G00 G90 X1. Y1. S2400 M03 (FIRST HOLE)
…

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

Watch out for

On lathes: Start of longitudinal LAP contour

Starts the finished part contour for OD or ID turning along Z. The block gets a sequence name that G85, G86 or G87 calls.

Format

Nname G81

Addresses

AddressWhat it does
NnameSequence name the cycle call points to

How it works

Contour definition until G80.

Example program

N1 G50 S2500 (MAX 2500 RPM)
N2 G00 X3.2 Z.1 T010101 (ROUGH TOOL)
N3 G96 S500 M03 (500 SFM)
N4 G85 NAT01 D.1 F.012 U.02 W.005 (LAP ROUGH TURN)
…

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

Watch out for

Related codes

G80 · G82 · G83 · G71 · G85 · G87

G81 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucDrilling cycle
Haas NGCDrill canned cycle
Mazak (EIA)Drilling cycle, spot drill
Mitsubishi M70 M80Drilling cycle
Brother SpeedioDrilling cycle
Fagor 8055 8065Drilling canned cycle
LinuxCNC TormachDrill cycle
Mach3 Mach4Drill cycle
Centroid CNC12 AcornDrilling cycle
Hurco WinMax (NC)Drill or spot drill cycle
FadalDrill, spot drill

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 G81 in the app All Okuma OSP G-codes

App Store Google Play