Home › G-codes › Mazak (EIA) › G76
G76 Fine boring cycle / Multiple pass threading cycle
Mazak (EIA) G-code · Mill, Lathe
On mills: Fine boring cycle
Bores to depth, stops the spindle at the oriented position, shifts the tool away from the wall and retracts so the bore is not scratched.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | R plane |
Q | Shift amount away from the wall |
P | Dwell at the bottom |
F | Feed rate |
How it works
Modal, canned cycle group. Cancel with G80.
Example program
G90 G54 G00 X2. Y2. S1200 M03 (HOLE CENTER)
G43 H10 Z1. M08 (LENGTH OFFSET)
G76 Z-1. R.1 Q.01 F4. (BORE, SHIFT .01)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Set the boring bar tip to the side opposite the shift direction. A wrong setup drags the tip into the wall.
- The shift direction is set by parameter.
On lathes: Multiple pass threading cycle
Cuts a full thread in many passes from two blocks. The first block sets finish passes, chamfer, tool angle, minimum cut and finish stock. The second sets the thread size, depth, first cut and lead.
Format
Addresses
| Address | What it does |
|---|---|
P first block | Six digits, finish passes, pull out chamfer, tool angle |
Q first block | Minimum cut depth, 0.0001 inch |
R first block | Finish allowance |
X Z | Minor diameter and thread end |
R second block | Taper amount, radius |
P Q second block | Thread height and first cut depth, 0.0001 inch |
F | Thread lead |
How it works
Non-modal.
Example program
G97 S800 M03 (CONSTANT RPM)
G00 X.85 Z.25 M08 (START POINT)
G76 P010060 Q0020 R.001 (1 FINISH PASS, 60 DEG)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- P and Q in both blocks are 0.0001 inch with no decimal point.
- Use G97 constant RPM.
- Start Z at least 3 leads before the part.
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 |
| 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 |
| Mach3 Mach4 | Fine boring, Mach4 |
| 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 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 G76 in the app All Mazak G-codes