CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G87

G87 Back boring

Mach3 Mach4 G-code · Mill

Goes down through the hole with the spindle stopped and shifted, then cuts upward to make a back counterbore. The words differ between Mach3 and Mach4.

Format

G87 X Y Z R I J [K] [P] F

Addresses

AddressWhat it does
X YHole position
I JShift to clear the hole with the spindle oriented
KMach3 top of the counterbore
ZMach3 bottom position below the part, Mach4 back bore end depth
RMach4 start point below the part
FFeed rate

How it works

Modal, canned cycle group. Cancel with G80.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T8 M6 (BACK BORE BAR)
S1500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (HOLE)
…

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

Watch out for

Related codes

G76 · M19 · G80

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
Okuma OSPBack boring cycle
Mitsubishi M70 M80Back boring cycle
Brother SpeedioBack boring cycle
Fagor 8055 8065Rectangular pocket canned cycle
LinuxCNC TormachBack boring cycle, not implemented
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 Mach3 Mach4 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 Mach3 Mach4 G-codes

App Store Google Play