1. G Function Description
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 G91 Y120.0 K2
//increment command, angle totals 120 degree from last point (second
hole)
N006 Y120.0
//increment command, angle totals 120 degree from last point (third
hole)
N007 G15 G80 M05
// polar coordinate mode cancel, cycle cancel, spindle stop
N008 M30//program ends
28
    "