CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G87

G87 Back boring cycle / LAP finish turning cycle

Okuma OSP G-code · Mill, Lathe

On mills: Back boring cycle

Bores from the back side of the part, pulling the tool up toward the spindle.

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

Format

G87 X Y Z R F

Addresses

AddressWhat it does
X YHole position
ZBack bore depth
RStart point below the part
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 T10 M06 (BACK BORE BAR)
N3 G00 G90 X2. Y1. S600 M03 (BORE CENTER)
…

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

Watch out for

On lathes: LAP finish turning cycle

Runs the finish pass along the named contour. Feed comes from the F words in the contour blocks.

Format

G87 Nname

Addresses

AddressWhat it does
NnameSequence name of the first contour block

How it works

Cycle call. One shot.

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

G76 · G80 · G85 · G86 · G81

G87 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucBack boring cycle
Haas NGCBoring cycle, stop and manual retract
Mazak (EIA)Side drilling cycle, live tool
Mitsubishi M70 M80Back boring cycle
Brother SpeedioBack boring cycle
Fagor 8055 8065Rectangular pocket canned cycle
LinuxCNC TormachBack boring cycle, not implemented
Mach3 Mach4Back boring
Hurco WinMax (NC)Back bore (ISNC) or chip breaker (BNC)
FadalBore in and out, Fadal G87
Swiss (Citizen Star)Side drilling cycle

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

App Store Google Play