编制如下图所示零件的数控车削加工程序
来源于数控工作室Busnc.com
工艺过程:
①直径为19.8mm钻头钻直径为19.8mm的预孔,深度为30mm;
②T01内孔粗车刀粗车内孔;
③T02内孔精车刀精车内孔;
④T03内孔切槽刀切直径为50mm槽;
⑤T04内螺纹刀车螺纹。
设工件原点在毛坯中心线上,且在右端面,程序为:
%4000
T0101
S500M03
G006Z2
G71U1R1P100Q200X-0.2Z0.1F200
G00Z200
T0202
G006Z2
N100G0046.04
G01Z-20F100
X20
N200Z-30
G00X6
Z200
T0303
Z2
G72W1R1P300Q400X-0.4Z0.2F200
N300G00Z-20
N400G01X50F100
G00X6
Z200
T0404
G006Z2
G82X46.84Z17F1.5
G82X47.44 Z17F1.5
G82X47.84 Z17F1.5
G82X48 Z17F1.5
M05
M02