Example program · Mill

Fine Boring a Precision Bore (G76 on a Mill) — G-Code Example

Finish bores a Ø30 H7 hole 25 mm deep with a boring head; G76 orients the spindle and shifts away before retracting.

By cnccode · Updated

Finish bores a Ø30 H7 hole 25 mm deep with a boring head; G76 orients the spindle and shifts away before retracting.

ItemValue
MachineCNC mill / machining centre (Fanuc-style)
UnitsMetric (G21)
Lines12

Program

G-code
O1011 (FINE BORE D30 H7)
G21 G17 G40 G49 G80 G90
T11 M06 (BORING HEAD SET TO D30.010)
G54 G00 X40. Y30.
S1200 M03
G43 H11 Z25. M08
G98 G76 Z-25. R2. Q0.2 F60.
G80
M09
G91 G28 Z0
G90
M30

▶ Simulate in the G-code viewer

How it works

  • Q is the shift away from the wall after orientation; check the shift direction parameter.
  • Rough bore or ream first, leaving about 0.2–0.3 mm on diameter.
  • H7 at Ø30 allows +0.000/+0.021 mm.

Codes used in this program

Always check feeds, speeds, offsets and clearances for your own machine and tooling, and prove new programs with single block and reduced rapid.

More milling programs