CNC宏程序
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
外形程序:
O0001;(外轮廓外圆刀) M03 S800 T0101;
G00 X135.0 Z5.0;
G71 U1.0 W0.5;
G71 P10 Q20 U0.5 F0.8; N10 G01 X78.5;
Z0;
X82.5 Z-2.0;
Z-160.0;
X86.0;
X90.0 Z-162.0;
Z-200.0;
X126.0;
X130.0 Z-202.0;
Z-218.0;
X126.0 Z-220.0;
Z-225.0;
N20 G00 X135.0;
G00 X100.0 Z100.0;
M00;
M03 S1000 T0101;
G00 X135.0 Z5.0;
G70 P10 Q20 F0.2;
G28 U0 W0;
M05; M30;
O0002;(外槽及未加工外轮廓处切槽刀)M03 S400 T0202;
G00 X85.0 Z5.0;
G01 Z-14.0 F0.4;
X79.5 F0.2;
X85.0 F0.4;
Z-30.0;
X79.5 F0.2;
X85.0 F0.4;
Z-44.0;
X80.0 F0.2;
Z-160.0;
X95.0 F0.4
Z-174.0;
X87.0 F0.2;
X95.0 F0.4;
G00 X100.0 Z100.0;
G28 U0 W0;
M05;
M30;
O0003;(内孔右端内孔刀内孔底径40mm)M03 S800 T0303;
G00 X38.0 Z5.0;
G71 U0.5 R0.2;
G71 P30 Q40 U-0.2 F0.5;
N30 G01 X50.0 ;
Z0;
X45.0 Z-2.5;
Z-30.0;
N40 X38.0;
G00 X100.0 Z100.0;
M00;
M03 S1000 T0303;
G00 X38.0 Z5.0;
G70 P30 Q40 F0.2;
G28 U0 W0;
M05;
M30;
O0004;(掉头加工内孔左端)M03 S800 T0303;
G00 X38.0 Z5.0;
G71 U0.5 R0.2;
G71 P50 Q60 U-0.2 F0.5;
N50 G01 X70.0;
Z0;
X65.0 Z-2.5;
Z-195.0;
N60 X38.0;
G00 X100.0 Z100.0;
M00;
M03 S1000 T0303;
G00 X38.0 Z5.0;
G70 P50 Q60 F0.2;
G28 U0 W0;
M05;
M30;
O0005;(内沟槽内沟槽刀)M03 S400 T0404;
G00 X55.0 Z5.0;
G01 Z-191.0 F0.4;
X68.0 F0.2;
X55.0 F0.4;
Z5.0;
G00 X100.0 Z100.0;
G28 U0 W0;
M05;
M30;