Boring bar crash: bore deeper than the drill (G-code checker)

Spot the mistake on a Haas lathe: the U-drill stops at Z-0.8, the boring bar goes on to Z-1.25. Press play to watch.

A G-code checker spots a boring bar crash that is easy to miss in the code: the boring bar is sent deeper than the hole the drill made, and its front runs into solid metal. One number in the drilling line decides it.

G-code checker on a Haas lathe: boring bar T2 is cutting into solid material at the center, line 18
NC Proof Turn · Haas ST-20: the U-drill stops at Z-0.8, the boring bar goes to Z-1.25
NC Proof G-code checker on a Haas ST-20 lathe: the warning on line 18 marked in the code, in the Errors & warnings list and in the 3D view
The whole app: line 18 lit in the code, the message under it, the 3D view at that moment

Why the bar hits solid metal

A boring bar cuts with its side, outward from a hole that is already there. It cannot cut its way forward into the centre of the part. So the hole must be deeper than the bore, by enough for the drill point and some clearance:

  • The drill depth was not changed when the bore got deeper.
  • The drill depth is to the tip, not to the full diameter: a 1.0 in drill with a 140° point is full size only about 0.18 in above its tip. A U-drill (indexable drill) has a much flatter point.
  • The drill and the bore come from different templates, with different Z0 or depth conventions.

The fix

Drill past the bottom of the bore:

G01 Z-0.8 F0.004    (wrong: bore goes to Z-1.25)
G01 Z-1.35 F0.004   (right: 0.1 in past the bore)

The full program after the fix:

%
O01092 (FLANGE BORE - HAAS LATHE)
(HAAS ST-20)
(STOCK DIA 3.0 - LENGTH 3.0)
(T0101 1.0 DIA U-DRILL)
(T0202 .750 BORING BAR)
G20 G18 G40 G99
T101
G97 S1500 M03
G00 X0. Z0.1 M08
G01 Z-1.35 F0.004
G00 Z0.1
X4. Z3.
T202
G50 S2500
G96 S500 M03
G00 X1.25 Z0.1
G01 Z-1.25 F0.005
X1.1
G00 Z0.1
X4. Z3. M09
M30
%
The fixed program on a Haas ST-20 lathe in NC Proof: No errors, the part cut to the end
After the fix: the same program runs to the end with No errors

How the G-code checker finds it

NC Proof keeps the 3D stock as each tool cuts it, so it knows where the drill stopped. A boring bar that goes past that into solid material gets a warning on its line. If the part already has a hole when it is loaded, enter it as the existing bore under Stock & tools, and the checker starts from there.

Boring bar crash FAQ

How deep should I drill before boring? Past the bottom of the bore by the length of the drill point plus some clearance, typically 0.05 to 0.1 in more than the bore depth.

Can a boring bar cut into solid material? No. It cuts with its side, outward from an existing hole. Fed forward into solid metal it rubs, chips and breaks.

Does the G-code checker know about a pre-drilled hole? Yes. Enter it as the existing bore in Stock & tools in NC Proof Turn, and the boring bar is checked against it.

See every error the app checks on Errors & warnings. Paste your own program into NC Proof Turn or NC Proof Mill during the 4-day free trial (no card needed).

More from the blog