Anaheim DPJ72LC2, DPJ72LC3, DPJ72LC4 manual System Programming

Page 58

54

Section 4 System Programming

G28

Rapid move in the Z axis to Machine

 

Coordinate Z=-1 followed by a rapid move

 

in the XY plane to Machine Coordinate

 

X=1, Y=1

G29 X2 Y3 Z-2

Rapid move in the XY plane to Program

 

Coordinate X=2, Y=3 followed by a rapid

 

move in the Z axis to Program Coordinate

 

Z=-2

When using G29, there are several things to keep in mind:

You do not need to specify all three coordinates, only the ones for which you want movement.

Example:

 

G29 X4.0 Y3.0

Moves the tool to Program Coordinates

 

X=4.0, Y=3.0, leaving the Z position

 

unchanged.

The interpretation of the coordinates depends on the G90/G91 command in effect.

G43, G44, G49, M06 Tool Change and Tool Length Compensation Commands

LC supports tool changes and tool length compensation. Tool length compensation lets LC account for differences in tool lengths, so the G-Code program can be created without regard to specific tool lengths (except for possible interference problems).

THESE COMMANDS ARE NOT FOR THE NOVICE CNC USER. WHEN NOT PROPERLY USED, TOOL LENGTH COMPENSATION CAN CRASH THE MACHINE TOOL, CAUSING SERIOUS DAMAGE TO YOUR WORKPIECE OR MACHINE TOOL.

When applying tool length compensation, LC uses the Length Offsets defined in the Tooling Setup dialog box. See “Tooling Settings” in the Initial Setup section for more information on defining your tools.

For tool length compensation to work properly, LC must know what tool is in use at all times, including the tool that’s loaded when you start running a G-Code file. Therefore, before you run a G-Code file that uses tool length compensation, you must first choose your starting tool from the Current Tool pull-down menu on the main screen.

To indicate tool changes in the G-Code file, use the M06 command as follows:

M06 Tn

where n is the tool number in the Tooling Setup dialog box.

Example:

Image 58
Contents User’s Guide Table of Contents Error! Bookmark not defined Page Product Support Thank YouSystem Requirements If you are using Windows 3.1 or Installing LCUsing the Mouse If you are using Windows 95, 98 or NTChoosing Commands Using Standard Windows ControlsPull-Down Menus Command ButtonsText 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 View Menu Tool Position BoxHelp Menu Machine Other FeaturesProgram 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 WindowsSetup File Software SetupSystem 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 To Set the Jog Rates Setting Machine ZeroTo 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 LinesTo Configure the Output Lines Output Line SettingsTo 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 To open an existing program Opening a G-Code ProgramImporting a DXF File To import a DXF fileTo choose a different file name or folder System Programming To open the editor Using the Program 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 StartG20, G21 Inch Units and Metric Units G04 DwellG17, G18, G19 Arc Plane Selection 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 ModeM00 Program Pause M98, M99, M02 Subroutine CommandsM30 End of Program MXX Miscellaneous Device Control Feedrate CommandProgram Comments System Programming Windows 3.1 or Configuring LCStarting LC Software 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 Exiting the Program Cutting the PartTurning 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