% M3 ;Turn spindle clockwise (n/a) ; Move to hole and drill it - presumes start at 0 0 ; This also contains a peck (G83) which is to be tested ; but should produce a nice hole from one position. ; #1 = X ; #2 = Y o100 sub # = -4 # = 25 # = 10 G00 Z# ;Go up to safe height G00 X#1 Y#2 F# ;Set Feed Rate Slow G83 Z# Q5 R1 ;Drill hole, Peck 5, Retreat to 1 o100 endsub G00 X0 Y0 Z0 ; drill holes o100 call [-20.25] [35.074] o100 call [20.25] [35.074] o100 call [20.25] [-35.074] o100 call [-20.25] [-35.074] ; return to zero G00 Z10 G00 X0 Y0 G00 Z0 M5 %