164
G CODES
96-8000
June 1999
MISCELLANEOUS G CODES (G04, G09)
G04 Dwell Group 00
P The dwell time in seconds or milliseconds
G04 is used to cause a delay or dwell in the program. The block containing G04 will delay for the time specified
in the P code. If the P has no fraction part, the delay is in milliseconds (0.001 seconds); otherwise the delay is
in seconds.
G09 Exact Stop Group 00
The G09 code is used to specify exact stop. It is non-modal and does not affect the following blocks. Rapid
and interpolated moves will decelerate to an exact stop before another block is processed. In exact stop,
moves will take a longer time and continuous cutter motion will not occur. This may cause deeper cutting
where the tool stops.
PROGRAMMABLE O FFSET S ETTING (G10)
G10 Set Offsets Group 00
L Selection of length, length wear, diameter, diameter wear, or work coordinates.
P Selection of offset number.
R Offset value or increment for length and diameter.
X Optional X-axis zero location.
Y Optional Y-axis zero location.
Z Optional Z-axis zero location.
A Optional A-axis zero location.
G10 can be used to change the tool length and work offsets from inside of a program. The following codes are
used for selection of offsets:
L2 Work coordinate origin for G52 and G54-G59
L10 Length offset amount (for H code)
L1 or L11 Tool wear offset amount (for H code)
L12 Diameter offset amount (for D code)
L13 Diameter wear offset amount (for D code)
L20 Auxiliary work coordinate origin for G110-G129
The P code is used to index the appropriate offsets.
P1-P100 Used to reference D or H code offsets, L10-L13
P0 G52 references work coordinate L2
P1-P6 G54-G59 references work coordinates L2
P1-P20 G110-G129 references auxiliary coordinates L20
The R, X, Y, Z, and A codes are signed numbers with fractions in inches (or MM). The R, X, Y, Z, and A values
are absolute or incremental, depending on the current G90/G91 modal value.