1. G Function Description
Note:
1. before G81, use M Code to let drill start to rotate.
2. if M Code and G81 are specified in the same block ,this M Code
only executes in the first time of positioning in that block,
3. when K is used to specify numbers of times, this M Code is
executed for the first only, for the second hole and subsequent
holes, the M Code is not executed.
Condition:
1. before drilling axis be changed, Canned Cycle must be canceled
first.
2. if the Block does not include movement command of any axes (X,
Y, Z), then drilling will not be executed.
3. data R specified only be set in drilling block, it will not be set in
not drilling block.
4. G Code group 01 and G81 can not be specified in the same block,
or G76 Canned Cycle cancel.
5. in Canned Cycle, tool length compensation (G41/G42/G40)will be
ignore.
Program example:
F1000. S500;
G90;
G00 X0. Y0. Z10.; // positioning to initial point
G17;
G90 G99; //setting point Rpoint Z and hole 1
G81 X5. Y5. Z-10. R-5.;
X15.; // hole 2
Y15.; // hole 3
G98 X5.; // hole 4, and return to initial point
X10. Y10. Z-20.; // hole 5, and set new point Z to be -20
G80;
M02;
97
    "