Mainprogram:
O0110 ( Demonut )
N5 G54 G64
( Shell end mill 40m )
N10 T01 M6 G43 H1
N15 G97 S2000 F200 M3
N20 G0 X-15 Y47 Z2
N25 Z0
N30 G1 Y-47
N35 G0 X15
N40 G1 Y47
N45 G0 Z50
N50 ( HD Shank end mill 10mm )
N55 T02 M6 G43 H01
N60 G97 S2800 F210 M3
N65 G0 X25 Y35 Z2
N70 Z-5
N75 G41 H12 G1 X20 Y20
N80 M98 P010111
N85 Z-10
N90 G41 H12 G1 X20 Y20
N95 M98 P010111
N100 G0 X0 Y35 Z-5
N105 G41 H12 G1 X0 Y19.5
N110 M98 P010112
N115 G0 Z-10
N120 G41 H12 G1 X0 Y19.5
N125 M98 P010112
N130 G0 Z2
N135 X35 Y0
N140 G0 Z-5
N145 G41 H12 G1 X18.5
N150 M98 P010113
N155 G0 Z2
N160 G0 X0 Y0
N165 G41 H12 G0 X0 Y9.19
N170 M98 P070114
N175 G40 G0 X0 Y0
N180 G0 Z50
N185 ( Slot end mill 10 )
N190 T03 M6 G43 H03
N195 G97 S3000 F250 M3
N200 G0 X25 Y35 Z2
N202 Z-10
N203 G41 H13 X20 Y20
N205 M98 P010111
N210 G0 X0 Y35 Z-10
N212 G41 H13 G1 X0 Y19.5
N215 M98 P010112
N220 G0 Z2
N225 G0 X35 Y0
N227 Z-5
N230 G41 H13 G1 X18.5 Y0
N235 M98 P010113
N240 G0 Z2
N245 G0 X0 Y0
N250 G0 Z-17
N255 G41 H13 G1 X0 Y9.19
N260 G3 X0 Y9.19 I0 J-9.19
N265 G40 G1 X0 Y0
N270 G0 Z50
N275 ( Angle mill 45 )
N280 T04 M6 G43 H23
N285 G97 S2500 F300 M3
N290 G0 X0 Y35 Z6
N295 Z-5.5
N300 G41 H24 G1 X0 Y19.5
N305 M98 P010112
N310 G0 Z6
N315 X35 Y0
N320 Z-0.5
N322 G41 H24 G1 X18.5 Y0
N325 M98 P010113
N330 G49
N335 G43 H04
N340 G0 Z3
N345 X0 Y0
N350 Z-1.5
N355 G41 H14 G1 X0 Y9.19
N360 G3 X0 Y9.19 I0 J-9.19
N365 G40 G0 X0 Y0
N370 Z50
N375 ( Thread mill 16mm )
N380 T08 M6 G43 H08
N385 G97 S2400 F150 M3
N390 G0 X0 Y0 Z2
N395 G42 H18 G0 X0 Y9.9
N400 M98 P120115
N405 G40 G0 X0 Y0
N410 Z50
N415 ( NC Drill )
N420 T05 M6 G43 H05
N425 G97 S2100 F170 M3
N430 G0 X20 Y20 Z3
N435 G98 G81 X19.092 Y19.092 Z-13 R-8
N440 M98 P010116
N445 G0 Z50
N450 ( Twist Drill )
N455 T06 M6 G43 H06
N460 G97 S1900 F160 M3
N465 G0 X20 Y20 Z3
N470 G98 G81 X19.092 Y19.092 Z-18 R-8
N475 M98 P010116
N480 G0 Z50
N485 ( Tapping M6 )
N490 T07 M6 G43 H06
N495 G97 S500 M3
N500 G0 X20 Y20 Z3
N505 G98 G84 X19.092 Y19.092 Z-18 R-8
N510 G28 X25 Y25 Z50
N515 M30
Subprograms:
O0111 ( Square40mm )
N5 G1 X20 Y-20
N10 X-20
N15 Y20
N20 X20
N25 G1 G40 X25 Y35
N30 M99
O0112 ( Circle39mm )
N5 G2 X0 Y19.5 I0 J-19.5
N10 G1 G40 X0 Y35
N15 M99
O0113 ( Hexagon )
N5 G16
N10 G1 X18.5 Y0
N15 Y-60
N20 Y-120
N25 Y180
N30 Y120
N35 Y60
N40 Y0
N45 G15
N50 G1 G40 X35 Y0
N55 M99
O0114 ( CircleM20 )
N5 G91
N10 G3 X0 Y0 Z-3 I0 J-9.19
N15 G90
N20 M99
O0115 ( Thread M20 )
N5 G91
N10 G2 X0 Y0 Z-1.5 I0 J-9.9
N15 G90
N20 M99
O0116 ( Holes )
N5 Y-19.092
N10 X-19.092
N15 Y19.092
N20 M99