数控铣床编程
这个我可以用软件给你编出来,手工编程太慢了```而且还容易出错```软件编的行不?
T1是Φ22立铣刀 T2是Φ12立铣刀
%
N0010 G40 G17 G94 G90 G71
N0020 T01 M06
N0030 G0 X29.431 Y65.5 S800 M03
N0040 G43 Z3. H01
N0050 Z1.125
N0060 G1 Z-1.875 M08 F200.
N0070 X39.431 Y55.5
N0080 X55.5 Y39.431
N0090 G0 X65.5 Y29.431
N0100 Z1.125
N0110 Z3.
N0120 X-29.431 Y-65.5
N0130 Z1.125
N0140 G1 Z-1.875
N0150 X-39.431 Y-55.5
N0160 X-55.5 Y-39.431
N0170 X-46.997 Y-43.408
N0180 G3 X-44.398 Y-31.865 R7.
N0190 G1 X-46.166 Y-30.097
N0200 X-48.132 Y-28.132
N0210 G2 X-51.5 Y-20. R11.5
N0220 G1 Y28.
N0230 G2 X-28. Y51.5 R23.5
N0240 G1 X20.
N0250 G2 X28.132 Y48.132 R11.5
N0260 G1 X48.132 Y28.132
N0270 G2 X51.5 Y20.
N0280 G1 Y-28.
N0290 G2 X28. Y-51.5 R23.5
N0300 G1 X-20.
N0310 G2 X-28.132 Y-48.132 R11.5
N0320 G1 X-47.934 Y-28.329
N0330 G3 X-57.833 R7.
N0340 G0 Z1.125
N0350 Z3.
N0360 X29.431 Y65.5
N0370 Z1.125
N0380 Z-.75
N0390 G1 Z-3.75
N0400 X39.431 Y55.5
N0410 X55.5 Y39.431
N0420 G0 X65.5 Y29.431
N0430 Z-.75
N0440 Z3.
N0450 X-29.431 Y-65.5
N0460 Z1.125
N0470 Z-.75
N0480 G1 Z-3.75
N0490 X-39.431 Y-55.5
N0500 X-55.5 Y-39.431
N0510 X-46.997 Y-43.408
N0520 G3 X-44.398 Y-31.865
N0530 G1 X-46.166 Y-30.097
N0540 X-48.132 Y-28.132
N0550 G2 X-51.5 Y-20. R11.5
N0560 G1 Y28.
N0570 G2 X-28. Y51.5 R23.5
N0580 G1 X20.
N0590 G2 X28.132 Y48.132 R11.5
N0600 G1 X48.132 Y28.132
N0610 G2 X51.5 Y20.
N0620 G1 Y-28.
N0630 G2 X28. Y-51.5 R23.5
N0640 G1 X-20.
N0650 G2 X-28.132 Y-48.132 R11.5
N0660 G1 X-47.934 Y-28.329
N0670 G3 X-57.833 R7.
N0680 G0 Z-.75
N0690 Z3.
N0700 X29.431 Y65.5
N0710 Z-.75
N0720 Z-2.625
N0730 G1 Z-5.625
N0740 X39.431 Y55.5
N0750 X55.5 Y39.431
N0760 G0 X65.5 Y29.431
N0770 Z-2.625
N0780 Z3.
N0790 X-29.431 Y-65.5
N0800 Z-.75
N0810 Z-2.625
N0820 G1 Z-5.625
N0830 X-39.431 Y-55.5
N0840 X-55.5 Y-39.431
N0850 X-46.997 Y-43.408
N0860 G3 X-44.398 Y-31.865
N0870 G1 X-46.166 Y-30.097
N0880 X-48.132 Y-28.132
N0890 G2 X-51.5 Y-20. R11.5
N0900 G1 Y28.
N0910 G2 X-28. Y51.5 R23.5
N0920 G1 X20.
N0930 G2 X28.132 Y48.132 R11.5
N0940 G1 X48.132 Y28.132
N0950 G2 X51.5 Y20.
N0960 G1 Y-28.
N0970 G2 X28. Y-51.5 R23.5
N0980 G1 X-20.
N0990 G2 X-28.132 Y-48.132 R11.5
N1000 G1 X-47.934 Y-28.329
N1010 G3 X-57.833 R7.
N1020 G0 Z-2.625
N1030 Z3.
N1040 X29.431 Y65.5
N1050 Z-2.625
N1060 Z-4.5
N1070 G1 Z-7.5
N1080 X39.431 Y55.5
N1090 X55.5 Y39.431
N1100 G0 X65.5 Y29.431
N1110 Z-4.5
N1120 Z3.
N1130 X-29.431 Y-65.5
N1140 Z-2.625
N1150 Z-4.5
N1160 G1 Z-7.5
N1170 X-39.431 Y-55.5
N1180 X-55.5 Y-39.431
N1190 X-46.997 Y-43.408
N1200 G3 X-44.398 Y-31.865
N1210 G1 X-46.166 Y-30.097
N1220 X-48.132 Y-28.132
N1230 G2 X-51.5 Y-20. R11.5
N1240 G1 Y28.
N1250 G2 X-28. Y51.5 R23.5
N1260 G1 X20.
N1270 G2 X28.132 Y48.132 R11.5
N1280 G1 X48.132 Y28.132
N1290 G2 X51.5 Y20.
N1300 G1 Y-28.
N1310 G2 X28. Y-51.5 R23.5
N1320 G1 X-20.
N1330 G2 X-28.132 Y-48.132 R11.5
N1340 G1 X-47.934 Y-28.329
N1350 G3 X-57.833 R7.
N1360 G0 Z3.
N1370 G0 X-60.062 Y33.316 S800 M03
N1380 Z1.25
N1390 G1 Z-1.75 F200.
N1400 X-54.222 Y25.862
N1410 G3 X-42.117 Y27.831 R7.
N1420 G1 X-41.579 Y29.342
N1430 G2 X-41.246 Y30.173 R11.5
N1440 X-38.968 Y33.524
N1450 G1 X-34.01 Y38.594
N1460 G2 X-29.863 Y41.308
N1470 G1 X-22.858 Y43.963
N1480 G2 X-18.772 Y44.709
N1490 G1 X-8.435 Y44.701
N1500 X4.424 Y40.905
N1510 X17.348 Y33.428
N1520 X29.449 Y22.31
N1530 X38.432 Y9.487
N1540 X43.674 Y-3.522
N1550 X44.954 Y-14.29
N1560 G2 X44.772 Y-18.087
N1570 G1 X43.103 Y-25.779
N1580 G2 X41.18 Y-30.083
N1590 G1 X37.599 Y-35.028
N1600 G2 X35.028 Y-37.599
N1610 G1 X30.234 Y-41.07
N1620 G2 X26.15 Y-42.943
N1630 G1 X18.75 Y-44.701
N1640 G2 X14.916 Y-44.953
N1650 G1 X4.233 Y-43.855
N1660 X-8.696 Y-38.855
N1670 X-21.496 Y-30.151
N1680 X-32.833 Y-18.15
N1690 X-40.579 Y-5.164
N1700 X-44.594 Y7.771
N1710 X-44.773 Y18.186
N1720 G2 X-44.108 Y22.242
N1730 G1 X-41.579 Y29.342
N1740 G2 X-39.988 Y32.328
N1750 G3 X-41.447 Y42.119 R7.
N1760 G0 Z1.25
N1770 Z3.
N1780 X-60.062 Y33.316
N1790 Z1.25
N1800 Z-.5
N1810 G1 Z-3.5
N1820 X-54.222 Y25.862
N1830 G3 X-42.117 Y27.831
N1840 G1 X-41.579 Y29.342
N1850 G2 X-41.246 Y30.173 R11.5
N1860 X-38.968 Y33.524
N1870 G1 X-34.01 Y38.594
N1880 G2 X-29.863 Y41.308
N1890 G1 X-22.858 Y43.963
N1900 G2 X-18.772 Y44.709
N1910 G1 X-8.435 Y44.701
N1920 X4.424 Y40.905
N1930 X17.348 Y33.428
N1940 X29.449 Y22.31
N1950 X38.432 Y9.487
N1960 X43.674 Y-3.522
N1970 X44.954 Y-14.29
N1980 G2 X44.772 Y-18.087
N1990 G1 X43.103 Y-25.779
N2000 G2 X41.18 Y-30.083
N2010 G1 X37.599 Y-35.028
N2020 G2 X35.028 Y-37.599
N2030 G1 X30.234 Y-41.07
N2040 G2 X26.15 Y-42.943
N2050 G1 X18.75 Y-44.701
N2060 G2 X14.916 Y-44.953
N2070 G1 X4.233 Y-43.855
N2080 X-8.696 Y-38.855
N2090 X-21.496 Y-30.151
N2100 X-32.833 Y-18.15
N2110 X-40.579 Y-5.164
N2120 X-44.594 Y7.771
N2130 X-44.773 Y18.186
N2140 G2 X-44.108 Y22.242
N2150 G1 X-41.579 Y29.342
N2160 G2 X-39.988 Y32.328
N2170 G3 X-41.447 Y42.119 R7.
N2180 G0 Z3.
N2190 G0 X34.497 Y65.95 S1000 M03
N2200 Z-5.
N2210 G1 Z-8. F200.
N2220 X44.497 Y55.95
N2230 X55.95 Y44.497
N2240 G0 X65.95 Y34.497
N2250 Z-5.
N2260 Z3.
N2270 X-34.497 Y-65.95
N2280 Z-5.
N2290 G1 Z-8.
N2300 X-44.497 Y-55.95
N2310 X-55.95 Y-44.497
N2320 X-44.336 Y-45.362
N2330 G3 X-41.737 Y-33.819 R7.
N2340 G1 X-43.505 Y-32.051
N2350 X-47.778 Y-27.778
N2360 G2 X-51. Y-20. R11.
N2370 G1 Y28.
N2380 G2 X-28. Y51. R23.
N2390 G1 X20.
N2400 G2 X27.778 Y47.778 R11.
N2410 G1 X47.778 Y27.778
N2420 G2 X51. Y20.
N2430 G1 Y-28.
N2440 G2 X28. Y-51. R23.
N2450 G1 X-20.
N2460 G2 X-27.778 Y-47.778 R11.
N2470 G1 X-45.273 Y-30.284
N2480 G3 X-55.172 R7.
N2490 G0 Z3.
N2500 G0 X-59.98 Y35.937 S1000 M03
N2510 Z-1.
N2520 G1 Z-4. F200.
N2530 X-53.34 Y27.145
N2540 G3 X-41.476 Y28.268 R7.
N2550 G1 X-40.37 Y30.51
N2560 X-40.341 Y30.57
N2570 X-38.208 Y33.716
N2580 X-35.649 Y36.534
N2590 X-32.716 Y38.957
N2600 X-29.476 Y40.943
N2610 X-25.998 Y42.473
N2620 X-22.341 Y43.547
N2630 X-18.553 Y44.18
N2640 X-14.666 Y44.389
N2650 X-10.7 Y44.191
N2660 X-6.667 Y43.598
N2670 X-2.578 Y42.617
N2680 X1.56 Y41.249
N2690 X5.732 Y39.491
N2700 X9.92 Y37.339
N2710 X14.095 Y34.79
N2720 G2 X38.042 Y8.633 R73.442
N2730 G1 X40.074 Y4.445
N2740 X41.712 Y.279
N2750 X42.962 Y-3.847
N2760 X43.823 Y-7.921
N2770 X44.295 Y-11.936
N2780 X44.368 Y-15.88
N2790 X44.03 Y-19.74
N2800 X43.262 Y-23.492
N2810 X42.047 Y-27.099
N2820 X40.375 Y-30.511
N2830 X38.25 Y-33.663
N2840 X36.072 Y-36.072
N2850 X34.608 Y-37.395
N2860 X32.66 Y-38.997
N2870 X29.416 Y-40.975
N2880 X25.934 Y-42.496
N2890 X22.274 Y-43.563
N2900 X18.484 Y-44.187
N2910 X14.595 Y-44.389
N2920 X10.628 Y-44.184
N2930 X6.594 Y-43.584
N2940 X2.504 Y-42.596
N2950 X-1.634 Y-41.221
N2960 X-5.807 Y-39.456
N2970 X-9.995 Y-37.296
N2980 X-14.169 Y-34.741
N2990 G2 X-38.082 Y-8.558 R73.431
N3000 G1 X-40.107 Y-4.37
N3010 X-41.738 Y-.204
N3020 X-42.98 Y3.921
N3030 X-43.835 Y7.994
N3040 X-44.3 Y12.007
N3050 X-44.366 Y15.95
N3060 X-44.02 Y19.809
N3070 X-43.244 Y23.558
N3080 X-42.021 Y27.162
N3090 X-40.341 Y30.57
N3100 X-38.975 Y32.584
N3110 G3 X-40.842 Y42.306 R7.
N3120 G0 Z3.
N3130 T02 M06
N3140 G0 X13.551 Y-12.26 S1000 M03
N3150 G43 Z3. H02
N3160 G1 X.707 Y.707 Z-1.9 F200.
N3170 X-11.667 Y13.081
N3180 G3 X-13.081 Y11.667 R1.
N3190 G1 X11.667 Y-13.081
N3200 G3 X13.081 Y-11.667
N3210 G1 X-1.061 Y2.475
N3220 G3 X-5.931 Y4.525 R7.
N3230 G0 Z1.1
N3240 Z3.
N3250 X13.551 Y-12.26
N3260 Z1.1
N3270 G1 X.707 Y.707 Z-3.8
N3280 X-11.667 Y13.081
N3290 G3 X-13.081 Y11.667 R1.
N3300 G1 X11.667 Y-13.081
N3310 G3 X13.081 Y-11.667
N3320 G1 X-1.061 Y2.475
N3330 G3 X-5.931 Y4.525 R7.
N3340 G0 Z3.
N3350 G0 X8.581 Y-10.702 S1200 M03
N3360 G1 X11.527 Y-13.648 Z1.884 F200.
N3370 X12.077 Y-13.875 Z1.724
N3380 X12.672 Z1.565
N3390 X13.222 Y-13.648 Z1.405
N3400 X13.609 Y-13.261 Z1.259
N3410 X13.862 Y-12.688 Z1.091
N3420 Y-12.061 Z.923
N3430 X13.609 Y-11.487 Z.755
N3440 X1.061 Y1.061 Z-4.
N3450 X-11.314 Y13.435
N3460 G3 X-13.435 Y11.314 R1.5
N3470 G1 X11.314 Y-13.435
N3480 G3 X13.435 Y-11.314
N3490 G1 X-.707 Y2.828
N3500 G3 X-6.9 Y4.767 R7.
N3510 G0 Z3.
N3520 M30
%