Click here to watch Tutorial Videos >

G-Code Program Generator



CNC Broach Tool LLC has created a Broach G-Code Generator designed to reduce programming time from hours down to minutes.

"Programming a broaching cycle for a CNC lathe or mill is now as easy as entering seven to 10 inputs and pressing a button. The web application will export up to 2,000 lines of G-code program, which the user can then copy and paste into their CNC program," said a company spokesperson.

"Programming a broach tool to cut in a CNC machine can be time consuming," added the spokesperson. "This is because linear broaching in a CNC requires multiple passes that take small amounts of material, usually between .0006 in. to .0020 in. per pass. A keyway with a radial depth of .400 in. and a depth of cut of .001 in. per pass, for example, would require 400 passes. When creating a longhand lathe or mill program, each pass requires a minimum of four lines of G-code." The general layout for each complete pass is as follows:

  • Position/Reposition on X, Y, Z
  • Feed in on Z-axis
  • Retract out on X-axis
  • Retract out on Z-axis.

"The example above, which has 400 passes, would require 1,600 lines of G-code," said the spokesperson. "Sometimes the length of the program can be condensed by using a sub-program with incremental moves and multiple calls. This generally works unless you have limited clearance behind the tool. For example: you have a O.750 bore and are using our T6MML tool that fits a O.745 min bore. An incremental program with a .150 in. retract for every pass will crash after the first pass when it retracts out of the cut on X. In this case, you will need to write a long hand program and set your retract point for each pass to an absolute position of O.745 instead of using an incremental position."

To use The CNC Broach Tool Program Generator:

  • Choose a machine type: lathe or mill
  • Select the type of program to export: long format or sub program
  • Select a tool to use
  • Enter the bore diameter, keyway width, radial depth, Z-axis start and end points, depth of cut and IPM
  • For milling machines, enter the feed axis and feed direction
  • Accept the terms & conditions
  • Copy the code (Ctrl C) and paste (Ctrl P) it into the program.

For more information contact:

CNC Broach Tools

P.O. Box 569

Laguna Beach, CA 92652

877-248-1631

www.cncbroachtools.com

< back