
PROGRAMMING
B–64114EN/01
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING
161
In G code system A, the tool returns to the initial level from the bottom
of a hole. In G code system B or C, specifying G98 returns the tool to the
initial level from the bottom of a hole and specifying G99 returns the tool
to the point–R level from the bottom of a hole.
The following illustrates how the tool moves when G98 or G99 is
specified. Generally, G99 is used for the first drilling operation and G98
is used for the last drilling operation.
The initial level does not change even when drilling is performed in the
G99 mode.
G98(Return to initial level ) G99(Return to point R level)
Initial level
Point R level
To repeat drilling for equally–spaced holes, specify the number of repeats
in K_.
K is effective only within the block where it is specified.
Specify the first hole position in incremental mode.
If it is specified in absolute mode, drilling is repeated at the same position.
Number of repeats K The maximum command value = 9999
When K0 is specified with parameter K0E (parameter No. 5102 #4) set
to 0, drilling is performed once.
When K0 is specified with parameter K0E (parameter No. 5102 #4) set
to 1, drilling data is just stored without drilling being performed.
When an M code specified in parameter No.5110 for C–axis clamp /
unclamp is coded in a program, the CNC issues the M code for C–axis
clamp after the tool is positioned and before the tool is fed in rapid traverse
to the point–R level. The CNC also issues the M code (the M code for
C–axis clamp +1) for C–axis unclamp after the tool retracts to the point–R
level. The tool dwells for the time specified in parameter No. 5111.
To cancel a canned cycle, use G80 or a group 01 G code.
Group 01
G codes
G00 : Positioning (rapid traverse)
G01 : Linear interpolation
G02 : Circular interpolation (CW)
G03 : Circular interpolation (CCW)
D Return point level
G98/G99
D Number of repeats
D M code used for C–axis
clamp/unclamp
D Cancel