Anaheim DPJ72LC3 Opening a G-Code Program, Importing a DXF File, To open an existing program

Page 45

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.

Image 45
Contents User’s Guide Table of Contents Error! Bookmark not defined Page Thank You Product SupportSystem Requirements Using the Mouse Installing LCIf you are using Windows 3.1 or If you are using Windows 95, 98 or NTUsing Standard Windows Controls Choosing CommandsCommand Buttons Pull-Down MenusText Boxes System Safety Program Overview About this ManualFile Menu Pull Down Menu BarMain Screen Features Controller Menu Main Screen Features To change the state of an output line Tool Position Box View MenuHelp Menu Program Other FeaturesMachine RelativeTo zero each axis To set new values within a coordinate systemTo zero all axes Tool Path View PortControl Box Code Mode Jog Mode Point Mode Home Mode Program Listing Box Message BoxPage Windows Windows SetupSoftware Setup Setup FileSystem Settings To set your system settings Initial Setup Machine Tool Settings To set the Machine Tool Settings Initial Setup To Set the Maximum Unramped Feedrates Feedrate and Ramping SettingsTo Set the Ramping Rate To Set the Maximum FeedratesTo Set the Direction Change Delay Setting Machine Zero To Set the Jog RatesTo Set the Maximum Arc Feedrate To Set Machine Zero Without Using Home Switches To Set Machine Zero Using Home SwitchesTo Set Backlash Setting BacklashTo Set Up the Tool Library Tooling SettingsTo Configure the Input Lines Input Line SettingsOutput Line Settings To Configure the Output LinesTo define an M-code to control output lines To Configure the Motor Signal Lines Motor Signal Settings To Configure G and M Code Handling Initial Setup Page Importing a DXF File Opening a G-Code ProgramTo open an existing program To import a DXF fileTo choose a different file name or folder System Programming Using the Program Editor To open the editorTo edit a new program To close the editor To save your program using the same file nameKey Programming Concepts M Codes SupportedAbsolute vs. Incremental ModeG00 Rapid Tool Positioning M Code ReferenceG02 Clockwise Circular Cutting Move G01 Linear Interpolated Cutting MoveEnd End Center Start G03 Counter Clockwise Circular Cutting MoveG17, G18, G19 Arc Plane Selection G04 DwellG20, G21 Inch Units and Metric Units G28 Return to Reference PointG29 Return from Reference Point System Programming System Programming System Programming System Programming G52 Local Coordinate System G91 Incremental Positioning Mode G90 Absolute Positioning ModeM98, M99, M02 Subroutine Commands M00 Program PauseM30 End of Program Feedrate Command MXX Miscellaneous Device ControlProgram Comments System Programming Starting LC Software Configuring LCWindows 3.1 or Windows 95, 98 or NTLoading a G-Code File Viewing the Tool Path Tutorial Animating the G-Code File Editing a G-Code File Using the Jog Controls Connecting the Machine OnlineSetting Machine Zero Using the Point Move Setting Program Zero on the Machine Tool Testing the Program on the Machine Tool Cutting the Part Exiting the ProgramTurning off the Controller O Connections Typical Output Configuration Motor ON/OFF Input Internally Connected Driver BLD72 Series DriverSetting the Kick Current Driver Page Glossary Glossary Glossary