一、铣平面
程序:
%
O2233(平面铣)
N100 G21
N102 G0 G17 G40 G49 G80 G90
N106 G0 G90 G54 X-67.6 Y39.998 S1000 M3
N108 G43 H1 Z25.
N110 Z5.
N112 G1 Z-5. F200.
N114 X59.6 F400.
N116 Y28.57
N118 X-59.6
N120 Y17.142
N122 X59.6
N124 Y5.714
N126 X-59.6
N128 Y-5.714
N130 X59.6
N132 Y-17.142
N134 X-59.6
N136 Y-28.57
N138 X59.6
N140 Y-39.998
N142 X-67.6
N144 G0 Z20.
N146 M5
N148 G91 G28 Z0.
N150 G28 X0. Y0.
N152 M30
%
二、铣外轮廓
程序:
%
O4142(16mm铣刀)
G17 G21 G40 G49 G80;
G90 G54;
M03 S1000;
G00 X65. Y0.;
G44 H01 G00 Z50.;
G00 Z10.;
G01 Z-4. F200.;
G41 G01 D01 X42. Y0. F400.;
G02 I-42.;
G40 G01 X65. Y0.;
G41 G01 D01 X34. Y0.;
G02 I-34.;
G40 G01 X65. Y0.;
G41 G01 D01 X26. Y0.;
G02 I-26.;
G01 G40 X65. Y0.;
G41 G01 D01 X18. Y0.;
G02 I-18.;
G40 G01 X65. Y0.;
G41 G01 D01 X15. Y0.;
G02 I-15.;
G40 G01 X65. Y0.;
G00 Z50.;
Z10.;
G01 Z-9. F200.;
G42 G01 D02 X48. Y-8. F400. ;
G02 X40. Y0. R8.;
G01 Y20.;
G03 X30. Y30. R10.;
G01 X-20. ;
G02 X-40. Y10. R20.;
G01 Y-20.;
G03 X-30. Y-30. R10.;
G01 X30.;
G03 X40. Y-20. R10.;
G01 Y0.;
G02 X48. Y8. R8.;
G40 G01 X65. Y10.;
G00 Z50.;
M05;
M30;
%
三、钻孔(G73 G76 G81-89)
程序G73:
%
O7301(H002为6mm钻头)
G17 G40 G49 G80;
G90 G54;
M03 S800;
G00 X-35. Y-25. ;
G43 H02 Z50.;
G99 G73 X35. Y25. Z-20. R5. Q4. F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25.;
G91 X15.;
X40.;
G90 G98 X35.;
G80;
M05;
M30;
%
程序G76:
%
O7601(G76为精镗,孔底暂停,快速退刀) ;
G17 G40 G49 G80 ;
G90 G54 ;
M03 S800 ;
G00 X-35. Y-25. ;
G43 H01 Z50. ;
G99 G76 X35. Y25. Z-15. R5. F100. ;
X20.;
X-20.;
X-35.;
X-35. Y-25. ;
X-20.;
X20.;
G98 X35.;
G80 ;
M05 ;
M30 ;
%
程序G81:
%
O8101(H001中心钻)
G17 G40 G49 G80;
G90 G54;
M03 S800;
G00 X-35. Y-25. ;
G43 H01 Z50.;
G99 G81 X35. Y25. Z-6. R5. F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25. ;
G91 X15.;
X40.;
G90 G98 X35.;
G80;
M05;
M30;
%
程序G82:
%
O8201(H005为20mm钻头,倒角用)
G17 G40 G49 G80;
G90 G54;
M03 S800;
G00 X-35. Y-25. ;
G43 H04 Z50.;
G99 G82 X35. Y25. Z-6. R5. P500 F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25.;
G91 X15.;
X40.;
G90 G98 X35.;
G80;
M05;
M30;
%
程序G83:
%
O8301(H003为8.5mm钻头)
G17 G40 G49 G80;
G90 G54;
M03 S800;
G00 X-35. Y-25. ;
G43 H03 Z50.;
G99 G83 X35. Y25. Z-20. R5. Q4. F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25.;
G91 X15.;
X40.;
G90 G98 X35.;
G80;
M05;
M30;
%
程序G84:
%
O8501 (H07 M12丝锥,2mm螺距);
G17 G40 G49 G80 ;
G90 G54 ;
M03 S800 ;
G00 X-35. Y-25. ;
G43 H06 Z50. ;
G99 G84 X35. Y25. Z-20. R5. P100 F2.;
X20.;
X-20.;
X-35.;
X-35. Y-25. ;
X-20.;
X20.;
G98 X35.;
G80 ;
M05 ;
M30 ;
%
程序G85:
%
O8501 (H06 G85是进给速度退刀);
G17 G40 G49 G80 ;
G90 G54 ;
M03 S800 ;
G00 X-35. Y-25. ;
G43 H06 Z50. ;
G99 G85 X35. Y25. Z-15. R5. F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25. ;
X-20.;
X20.;
G98 X35.;
G80 ;
M05 ;
M30 ;
%
程序G86:
%
O8601(G86在孔底停止后快速退刀) ;
G17 G40 G49 G80 ;
G90 G54 ;
M03 S800 ;
G00 X-35. Y-25. ;
G43 H01 Z50. ;
G99 G86 X35. Y25. Z-15. R5. F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25. ;
X-20.;
X20.;
G98 X35.;
G80 ;
M05 ;
M30 ;
%
程序G88:
%
O8801(G88在孔底暂停后停止不退刀,由手动退刀);
G17 G40 G49 G80 ;
G90 G54 ;
M03 S800 ;
G00 X-35. Y-25. ;
G43 H01 Z50. ;
G99 G88 X35. Y25. Z-15. R5. P500 F100.;
X20.;
X-20.;
X-35.;
X-35. Y-25. ;
X-20.;
X20.;
G98 X35.;
G80 ;
M05 ;
M30 ;
%
问答社区 发起问答 报警查询 技术文章 维修服务 资料下载 加交流群 申请 VIP
本文转载来自【公众号:knd1993】,仅供大家学习交流,如侵权请联系站长删文。