Generating Drill Cycle G-Code

When you select Drill Cycle as the G-code type, the G-Code Generator can process data for points and circles.

If your company uses specific setup and reset instructions for CNC machining, code these instructions in a text file so that you can copy and paste them in Preamble and Postscript fields of the G-Code Generator.

The G-Code Generator provides generic instructions in these fields.

To generate G-code for drill cycles:

  1. Open a 2D drawing to a model tab.
    You cannot generate G-code from a sheet tab.
  2. In the upper right corner of the G-Code Generator panel, select Drill Cycle from the drop-down list.
  3. Do one of the following:
    1. Select circles and point to process in the graphics area and click Generate in the top toolbar of the G-Code Generator panel.
    2. Click Generate , then select the circles and points to process and press Enter.
    Data for the selected entities is read into the G-Code Generator and an image appears in the preview window.
  4. If you have prepared company-specific setup and reset instructions, copy them and paste them in the Preamble and Postscript fields.
  5. Select the type of drill cycle to use:
    • G81 (Drill cycle)
    • G82 (Drill cycle with dwell)
    • G83 (Peck Drill cycle)
    The remaining fields are updated depending on the drill cycle type.
  6. Specify cutting instructions in the remaining fields.
    For field descriptions, click Help in the top toolbar of the G-Code Generator panel.
  7. Optionally, use the controls below the preview window to simulate the tool path in the preview.
  8. Adjust the cutting parameters if necessary.
  9. Click Save to open the Save File dialog box, where you can save the G-code you have generated as a .txt or .ngc file.
  10. Specify a path and file name and click Save.