CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G71

G71 Bolt hole arc / OD and ID stock removal cycle

Haas NGC G-code · Mill, Lathe

On mills: Bolt hole arc

On a Haas mill G71 drills holes on part of a circle with a set angle between them, using the active canned cycle. Not the Fanuc lathe rough cycle.

Format

G71 I J K L

Addresses

AddressWhat it does
IRadius of the arc
JAngle of the first hole from the X axis
KAngle between holes, sign gives direction
LNumber of holes

How it works

Non-modal, group 00. A canned cycle must be active.

Example program

G90 G54 G00 X0. Y0. (ARC CENTER)
G81 G98 Z-.5 R.1 F10. L0 (LOAD DRILL CYCLE, NO HOLE AT CENTER)
G71 I3. J10. K20. L4 (4 HOLES, 20 DEG APART, STARTING AT 10 DEG)
G80 (CANCEL)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: OD and ID stock removal cycle

Roughs along Z, pass after pass, down to a finish contour in blocks P to Q. Type I is used when X does not change direction. Type II allows pockets when the P block has both X and Z.

Format

G71 P Q D [U] [W] [I] [K] F [S] [T]

Addresses

AddressWhat it does
PBlock number where the finish path starts
QBlock number where the finish path ends
DDepth of cut per pass, radius, positive
UX finish allowance, diameter, sign sets direction
WZ finish allowance
IX rough pass allowance, radius
KZ rough pass allowance
FRoughing feed rate
SSpindle speed for roughing
TTool and offset for roughing

How it works

Non-modal, group 00. G18 must be active.

Example program

T0101 (OD ROUGH TOOL)
G50 S3000 (LIMIT 3000 RPM)
G96 S500 M03 (CSS 500 SFM)
G00 G54 X2.1 Z.1 M08 (START POINT OUTSIDE STOCK)
…

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

Watch out for

Related codes

G70 · G72 · G81 · G73

G71 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucStock removal in turning, rough cycle
Mazak (EIA)OD and ID roughing cycle, Z direction
Okuma OSPReturn level for fixed cycles
Mitsubishi M70 M80Longitudinal rough cutting cycle
Siemens 840D 828DMetric input for geometry
Heidenhain TNC (ISO)Millimeter units
Fagor 8055 8065Millimeter programming
LinuxCNC TormachLathe roughing cycle, along Z
Mach3 Mach4Metric units, Mach3
Centroid CNC12 AcornRough turning cycle
Hurco WinMax (NC)Metric input (Basic NC)
FadalCheck for metric setting, older code
Swiss (Citizen Star)Rough turning cycle

Every G-code for Haas NGC 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 G71 in the app All Haas NGC G-codes

App Store Google Play