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

Models: DPJ72LC3 DPJ72LC2 DPJ72LC4

1 87
Download 87 pages 53.88 Kb
Page 56
Image 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.

Page 56
Image 56
Anaheim DPJ72LC4, DPJ72LC3, DPJ72LC2 G04 Dwell, G17, G18, G19 Arc Plane Selection, G20, G21 Inch Units and Metric Units