Vise crash on a CNC mill: check clearance with a G-code checker

A G-code checker that draws the vise catches a vise crash on a CNC mill on its line. It happens when a cut goes deeper than the part sits above the vise jaws, or runs over a jaw on the way in.

G-code checker on a Haas mill: Tool T1 hits the vise on line 10
NC Proof Mill · Haas VF-3: the end mill goes 0.6 in deep right beside the front jaw
NC Proof G-code checker on a Haas VF-3 mill: the error on line 10 marked in the code, in the Errors & warnings list and in the 3D view
The whole app: line 10 lit in the code, the message under it, the 3D view at that moment

Why the tool hits the vise

  • The cut is deeper than the part sits above the jaws. A part held with 0.25 in above the jaws cannot be profiled 0.6 in deep along its edge.
  • The lead-in starts outside the part, over a jaw. The start point is off the part in Y, where the jaw is.
  • A longer tool or holder than the one the program was written for.

The fix

Keep the depth above the jaws along the held edges, or hold the part higher:

G01 Z-0.6 F10.   (wrong: below the top of the jaw)
G01 Z-0.15 F10.  (right: stays above the jaw)

The full program after the fix:

%
O01093 (VISE CLEARANCE CHECK - HAAS MILL)
(STOCK 4.0 X 3.0 X 1.0 - X0 Y0 TOP LEFT FRONT CORNER)
(T1 1/2 FLAT END MILL - FLUTE 1.0 - STICK OUT 1.5)
G20 G17 G40 G49 G80 G90
T1 M06
G54 G00 X-0.5 Y-0.3 S3000 M03
G43 H01 Z1. M08
Z0.1
G01 Z-0.15 F10.
X4.5 F20.
G00 Z1. M09
M05
G28 G91 Z0.
G90
M30
%
The fixed program on a Haas VF-3 mill 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

In NC Proof Mill, set the fixture under Stock & tools ▸ Fixture: a vise with how much stock sits above the jaws, a rotary table with a chuck, or the table itself. Every move of the tool and holder is checked against it, and a hit is an error on its line.

Vise crash FAQ

How deep can I cut along a held edge?

Less than the part sits above the jaws, with some room for the tool’s corner. Hold the part higher on parallels if the cut needs more.

Does the G-code checker check the tool holder too?

Yes. NC Proof checks the tool and its holder against the vise, the fixture and the table.

Can it check a rotary table or a 5-axis trunnion?

Yes. The A-axis rotary with a chuck, and the trunnion of a 5-axis table such as the Haas UMC-750, are checked the same way.

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