Section 4 System Programming 41

Section 4. System Programming

Anaheim Automation’s LC software reads a subset of ANSI standard G-Code to control machine tool movement. This section describes how to bring a G-Code file into the LC, the G-Codes supported, and a brief explanation of their use.

There are three ways you can bring G-Code files into the LC:

Open an existing G-Code file created by a CAM program, LC or any other source.

Import a DXF file created by a CAD or drawing program.

Write a G-Code program directly in the LC editor.

Opening a G-Code Program

4To open an existing program

1.Choose Open G-Code from the File menu. The Open G-Code File dialog box appears.

2.In the “List files of type” pull-down menu, choose the type of file you are looking for. Existing LC files will have an “.AGC” extension. If you are unsure of the file type, choose “All Files (*.*).”

3.In the Drives pull-down menu choose the drive that contains the file.

4.In the Folders list box, double-click the name of the folder that contains the file. Continue double-clicking subfolders until you open the subfolder that contains the file.

5.In the box that lists files, double-click the file name, or click on the file name and choose OK.

Importing a DXF File

The LC software provides a very useful 2D DXF import feature. The DXF import automatically arranges all lines and circles that have common endpoints into features. The entire toolpath is then optimized to reduce total machining time for the part. The DXF import assumes the part surface is at a Z program height of 0.0 and all geometry is to be treated as either holes or cutter paths with no offsets.

4To import a DXF file

1.Choose Import DXF from the File menu. The Import DXF File dialog box appears.

2.In the “List files of type” pull-down menu, choose the type of file you are looking for. A DXF file should have a “.DXF” extension.

Page 45
Image 45
Anaheim DPJ72LC3 manual Opening a G-Code Program, Importing a DXF File, To open an existing program, To import a DXF file