Home › G-codes › Mach3 Mach4 › G89
G89 Bore, dwell, feed out
Mach3 Mach4 G-code · Mill
Like G85 with a dwell at the bottom. Good for counterbores and flat bottom bores.
Format
G89 X Y Z R P [L] F
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Bore bottom |
R | Retract plane |
P | Dwell in seconds |
F | Feed rate, both ways |
How it works
Modal, canned cycle group. Cancel with G80.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T4 M6 (BORING BAR)
S1500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (HOLE)
…
T4 M6 (BORING 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
- P is in seconds.
- Cancel with G80 on its own line. A left over cycle drills at the next XY move.
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 |
| Haas NGC | 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 |
| 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 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 G89 in the app All Mach3 Mach4 G-codes