CNC Machinist Calculator Ultra

Home › G-codes › Mazak (EIA) › G87

G87 Side drilling cycle, live tool

Mazak (EIA) G-code · Lathe

Drills along X on the outside diameter with a radial live tool.

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 Z C R [Q] [P] F

Addresses

AddressWhat it does
Z CHole position
XHole bottom diameter
RR plane
QPeck depth
FFeed rate

How it works

Modal, cancel with G80.

Example program

T1313 (.201 RADIAL DRILL)
G98 (FEED PER MINUTE)
G00 X2.2 Z-.5 C0. (ABOVE HOLE)
G87 X1.5 R2.1 Q.1 F8. (DRILL .25 DEEP)
…

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

Watch out for

Related codes

G83 · G88

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
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
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 Mazak (EIA) 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 Mazak G-codes

App Store Google Play