Anaheim DPJ72LC4 G04 Dwell, G17, G18, G19 Arc Plane Selection, G28 Return to Reference Point

Page 56

52

Section 4 System Programming

G04 Dwell

The G04 command causes the program to dwell or wait for a specified amount of time. The time to wait is specified by the letter “X” immediately followed by the number of seconds. For safety reasons there is a maximum time allowed for each dwell command.

Example:

 

G04 X1.5

The program pauses for 1.5 seconds before

 

moving on to the next line of G-Code.

G17, G18, G19 Arc Plane Selection

These commands specify the plane used for circular interpolation as follows:

G17 XY plane

G18 XZ plane

G19 YZ plane

When using G17-G19, there are several things to keep in mind:

Unless you explicitly use the G18 or G19 command, LC assumes G17 as the default.

The three commands are modal, i.e. one command remains in effect until another in the set is used.

G20, G21 Inch Units and Metric Units

The G20 command indicates that all G-Code commands are in inch units. LC then assumes all distances are in inches and all feedrates are in inches/minute. For compatibility reasons, LC accepts G70 as equivalent to G20.

The G21 command indicates that all G-Code commands are in metric units. LC then assumes all distances are in millimeters and all feedrates are in millimeters/minute. For compatibility reasons, LC accepts G71 as equivalent to G21.

When using G20 or G21, there are several things to keep in mind:

If you don’t use either command, LC assumes all program values are consistent with the Display Units setting in the System Options dialog box.

You may only use one of these two commands in any G-Code program, so all values in a G-Code file must use the same unit system.

G28 Return to Reference Point

The G28 command moves the tool at the rapid rate to the Tool Change Position defined in the Machine Tool Setup dialog box. This position is defined in Machine Coordinates, so Machine Zero must be set for this command to be used.

Image 56
Contents User’s Guide Table of Contents Error! Bookmark not defined Page System Requirements Thank YouProduct Support 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 ControlsText Boxes Command ButtonsPull-Down Menus 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 Help Menu Tool Position BoxView 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 WindowsSystem Settings To set your system settings Software SetupSetup File 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 Maximum Arc Feedrate Setting Machine ZeroTo Set the Jog Rates 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 define an M-code to control output lines Output Line SettingsTo Configure the 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 To edit a new program Using the Program EditorTo open the editor 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 ModeM30 End of Program M98, M99, M02 Subroutine CommandsM00 Program Pause Program Comments Feedrate CommandMXX Miscellaneous Device Control 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 Turning off the Controller Cutting the PartExiting the Program O Connections Typical Output Configuration Driver BLD72 Series Driver Motor ON/OFF Input Internally ConnectedSetting the Kick Current Driver Page Glossary Glossary Glossary