1. G Function Description
Program example:
120
Y
First hole
Thickness 10 mm
120100
Second
hole
120
X
130
Third
hole
1. Absolute command:
N001 T1 S1000 M03
//NO.1 tool(diameter 10 mm drill), spindle 1000rpm (CW)
N002 G17 G90 G16
//X-Y plane, absolute mode, start polar coordinate mode
N003 G99 G81 Z-12.0 R2.0 F600 K0
//do drilling cycle, depth 12mm, feedrate 600mm/min, back to R point
when finish
N004 X100.0 Y90.0
//specified a distance 100mm, angle 90 degree(first hole)
N005 Y210.0
//specified a distance 100mm and angle 210 degree, from the origin
point(second hole)
N006 Y330.0
//specified a distance 100mm and angle 330 degree, from the origin
point(third hole)
N007 G15 G80 M05
//polar coordinate mode cancel, cycle cancel, spindle stop
N008 M30//program end
2. Increment command:
N001 T1 S1000 M03
// NO.1 tool(diameter 10 mm drill), spindle 1000rpm (CW)
27
    "