Home › G-codes › Siemens 808D ISO › G76
G76 Fine boring cycle / Multiple pass threading cycle
Siemens 808D ISO G-code · Mill, Lathe
On mills: Fine boring cycle
Bores to Z, dwells, stops the spindle at a fixed angle, shifts the tool off the wall by Q and rapids out, so the tool does not mark the bore.
Format
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | R plane where feed starts |
Q | Shift off the wall at the bottom, positive |
P | Dwell at the bottom, internal units |
F | Feed rate |
K | Repeats, in this block only. Use G91 to space them |
How it works
Modal, group 9. Cancel with G80 or G00 to G03.
Example program
G90 G54 G00 X50. Y50. S800 M03 (BORE POSITION)
G43 Z50. H06 (LENGTH OFFSET)
G99 G76 Z-25. R2. Q0.2 P500 F60. (SHIFT 0.2 MM, DWELL 0.5 S)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Lift off direction is set in GUD _ZSFI[5] and the spindle stop angle in _ZSFR[2], not in Fanuc parameters.
- Q is always positive; a minus sign is ignored. Without Q there is no shift.
- Q is stored modally and shared with G73 and G83. Reprogram it when you change cycle.
On lathes: Multiple pass threading cycle
Cuts a full straight or taper thread from two blocks with flank infeed and a falling depth per pass. P on the first block packs finish passes, chamfer and tool angle into six digits.
Format
Addresses
| Address | What it does |
|---|---|
P (first block) | Six digits: m finish passes, r end chamfer in tenths of lead, a tool angle |
Q (first block) | Minimum depth of cut, radius value |
R (first block) | Finish allowance |
X Z | Thread end point, X at the root diameter |
R (second block) | Taper, radius difference, 0 for straight |
P (second block) | Thread depth, radius value |
Q (second block) | First pass depth, radius value |
F | Thread lead |
How it works
Non-modal, G group 18. The first block values stay set until changed.
Example program
G99 G97 S800 M03 (FEED PER REV, CONSTANT RPM)
G00 X14.0 Z5.0 M08 (START 3 LEADS BEFORE THE THREAD)
G76 P020060 Q50 R0.02 (2 FINISH PASSES, NO CHAMFER, 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 are read in the smallest input unit, no decimal point. In IS-B mm, P1073 is 1.073 mm.
- Defaults for m, a, r, Q and R can be stored in USER DATA _ZSFI[24] to [28]; the program value wins.
- No tool nose radius compensation inside the cycle. In G code system C this code is G78.
Related codes
G87 · G86 · G80 · G92 · G32 · G97
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 |
| 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 Siemens 808D ISO 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 Siemens 808D ISO G-codes