Home › G-codes › Mach3 Mach4 › G76
G76 Fine boring, Mach4
Mach3 Mach4 G-code · Mill
Mach4. Bores, dwells, stops the spindle at orient, shifts off the wall by I and J, then rapids out without a drag mark.
Format
G76 X Y Z R I J [P] [L] F
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Bore bottom |
R | Retract plane |
I J | Shift distance and direction in X and Y |
P | Dwell in seconds |
F | Feed rate |
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)
S2500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (HOLE)
…
T4 M6 (BORING BAR)
S2500 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
- Shift uses I and J, not Fanuc Q. Point the shift away from the cutting edge.
- Needs an M19 orient. Without a real orient, write an M19 macro that stops the spindle and does M0 so you can turn it by hand.
- Not in the Mach3 G code table.
Related codes
G76 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Fine boring cycle |
| Haas NGC | Fine boring cycle |
| Mazak (EIA) | Fine boring cycle |
| Okuma OSP | Fine boring cycle |
| Mitsubishi M70 M80 | Fine boring cycle |
| Brother Speedio | Fine boring cycle |
| Fagor 8055 8065 | Probing move while touching |
| LinuxCNC Tormach | Lathe multi pass threading |
| Centroid CNC12 Acorn | Fine boring cycle |
| Hurco WinMax (NC) | Fine boring with orient |
| Fadal | Fine boring with oriented shift |
| Swiss (Citizen Star) | Multiple pass threading 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 G76 in the app All Mach3 Mach4 G-codes