Anaheim DPJ72LC3, DPJ72LC2, DPJ72LC4 manual Editing a G-Code File

Page 72

Section 5 Tutorial

4.Choose the Start button and watch the blue tool move down the Z axis scale. Also note that LC has highlighted the next line in the Program Listing Box, indicating it has fully executed the first line.

5.Choose the Start button again. Notice the yellow dot, which represents the current position of the tool, and the solid blue line, which represents the cutting move just executed.

6.Now select the Continuous radio button and then choose the Start button again. Watch as the yellow dot moves along the tool path and as the path already cut turns blue. Also notice the status of the machine tool in the message box. At the end of the part program, the message box will beep and tell you the file was successfully processed.

Editing a G-Code File

Now let’s get familiar with using the LC editor.

1.Choose Editor from the File menu.

2.The editor dialog box will appear.

3.First, let’s change the cutting depth to 0.25” instead of 2.25”. With your mouse or your arrow keys, move the cursor to the first line of G-Code that reads: G01 Z-

2.25F5.0. Change it to read: G01 Z-0.25 F5.0, then choose Update Tool Path on the bottom of the editor screen. Notice how the red line along the Z axis, which shows the total length of Z travel, shrinks down to 0.25”.

4.Now, let’s change the diameter of the arc we are cutting. Move the cursor to the line of G-Code that reads: G03 Y1.0 I0.0 J0.5. Change it to read: G03 Y2.0 I0.0 J1.0.

5.To save your changes:

1.Choose Save G-Code As from the editor’s File menu.

2.Choose the drive you want from the Drives pull-down menu.

3.Click on the folder you want in the Folder box.

4.Type “tutor2.agc” in the File name box.

5.Choose OK.

6.To close the editor, choose Exit.

Image 72
Contents User’s Guide Table of Contents Error! Bookmark not defined Page Thank You Product SupportSystem Requirements Installing LC Using the MouseIf you are using Windows 3.1 or If you are using Windows 95, 98 or NTChoosing Commands Using Standard Windows ControlsCommand Buttons Pull-Down MenusText Boxes System Safety About this Manual Program OverviewPull Down Menu Bar File MenuMain Screen Features Controller Menu Main Screen Features To change the state of an output line Tool Position Box View MenuHelp Menu Other Features ProgramMachine RelativeTo set new values within a coordinate system To zero each axisTool Path View Port To zero all axesControl Box Code Mode Jog Mode Point Mode Home Mode Message Box Program Listing BoxPage Windows Setup WindowsSoftware Setup Setup FileSystem Settings To set your system settings Initial Setup Machine Tool Settings To set the Machine Tool Settings Initial Setup Feedrate and Ramping Settings To Set the Maximum Unramped FeedratesTo Set the Maximum Feedrates To Set the Ramping RateTo Set the Direction Change Delay Setting Machine Zero To Set the Jog RatesTo Set the Maximum Arc Feedrate To Set Machine Zero Using Home Switches To Set Machine Zero Without Using Home SwitchesSetting Backlash To Set BacklashTooling Settings To Set Up the Tool LibraryInput Line Settings To Configure the Input LinesOutput Line Settings To Configure the Output LinesTo define an M-code to control output lines Motor Signal Settings To Configure the Motor Signal LinesTo Configure G and M Code Handling Initial Setup Page Opening a G-Code Program Importing a DXF FileTo 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 save your program using the same file name To close the editorM Codes Supported Key Programming ConceptsMode Absolute vs. IncrementalM Code Reference G00 Rapid Tool PositioningG01 Linear Interpolated Cutting Move G02 Clockwise Circular Cutting MoveEnd G03 Counter Clockwise Circular Cutting Move End Center StartG04 Dwell G17, G18, G19 Arc Plane SelectionG20, 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 G90 Absolute Positioning Mode G91 Incremental Positioning ModeM98, M99, M02 Subroutine Commands M00 Program PauseM30 End of Program Feedrate Command MXX Miscellaneous Device ControlProgram Comments System Programming Configuring LC Starting LC SoftwareWindows 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 Connecting the Machine Online Using the Jog ControlsSetting 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 Driver BLD72 Series Driver Motor ON/OFF Input Internally ConnectedSetting the Kick Current Driver Page Glossary Glossary Glossary