Home › G-codes › Haas NGC › G89
G89 Boring cycle, dwell and feed out / Bore and dwell canned cycle
Haas NGC G-code · Mill, Lathe
On mills: Boring cycle, dwell and feed out
Feeds to the bottom, dwells for P, then feeds out. Good for counterbores and bores that need a clean bottom.
Format
G89 X Y Z R P F [L]
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | R plane |
P | Dwell at the bottom in seconds |
F | Feed rate |
L | Number of holes for repeats in G91 |
How it works
Modal, canned cycle group 09. Cancel with G80.
Example program
T7 M06 (BORING BAR)
G90 G54 G00 X0. Y0. S900 M03 (BORE CENTER)
G43 H07 Z1. M08 (APPROACH)
G89 G99 Z-.5 R.1 P.5 F4. (BORE, DWELL .5 SEC, FEED OUT)
…
G90 G54 G00 X0. Y0. S900 M03 (BORE CENTER)
G43 H07 Z1. M08 (APPROACH)
G89 G99 Z-.5 R.1 P.5 F4. (BORE, DWELL .5 SEC, FEED OUT)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Keep the dwell short to avoid rubbing.
On lathes: Bore and dwell canned cycle
Feeds to the bottom, dwells for P, then feeds back out.
Format
G89 Z R P F [X] [Y] [C] [L]
Addresses
| Address | What it does |
|---|---|
Z | Hole bottom |
R | R plane |
P | Dwell at the bottom |
F | Feed rate |
X Y C | Hole position |
L | Repeats |
How it works
Modal, group 09. Cancel with G80.
Example program
T0606 (COUNTERBORE)
G99 G97 S500 M03 (FEED PER REV)
G00 G54 X0 Z.25 M08 (CENTERLINE)
G89 Z-.25 R.1 P.5 F.003 (BORE, DWELL .5 SEC, FEED OUT)
…
G99 G97 S500 M03 (FEED PER REV)
G00 G54 X0 Z.25 M08 (CENTERLINE)
G89 Z-.25 R.1 P.5 F.003 (BORE, DWELL .5 SEC, FEED OUT)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- P is modal inside the cycle.
- Use for flat bottom counterbores.
Related codes
G89 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Boring cycle, dwell and feed out |
| Mitsubishi M70 M80 | Boring cycle with dwell, feed out |
| Brother Speedio | Boring cycle with dwell feed out |
| Fagor 8055 8065 | Boring, feed withdrawal |
| LinuxCNC Tormach | Boring cycle, dwell, feed out |
| Mach3 Mach4 | Bore, dwell, feed out |
| Centroid CNC12 Acorn | Boring cycle with dwell |
| Hurco WinMax (NC) | Bore with dwell, feed out |
| Fadal | Bore in, dwell, bore out |
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 G89 in the app All Haas NGC G-codes