1、车床与铣床编程练习毛坯:62100mm棒料。从右端至左端轴向进给切削,粗车每次切削深度2mm,进给量80mm/min,精车余量X向0.4mm。T01 粗车外圆车刀 T02 精车外圆车刀 T03 切槽刀 刀宽3mm 夹左端,车右端1、 平端面(用端面车刀将毛坯右端面见光,方便对刀)2、 程序N0001 G00 X100 Z100N0002 T0101N0003 M03 S450N0004 G00 X65 Z2N0005 G71 L10 Q2 R2 I0.4 K0 F80 N0006 G00 X0 N0007 G01 Z0 F100N0008 G03 X20 Z-10 R10 F60N0009 G
2、01 Z-15 F80N0010 X30N0011 Z-43N0012 G02 X36 Z-46 R3 F60N0013 G01 X40 F80 N0014 Z-66N0015 X60N0016 G00 X100N0017 Z100N0018 T0202N0019 G00 Z5N0020 G70 P0006 L0015N0021 G00 X100N0022 Z100N0023 T0303 换切槽刀N0024 M03 S150N0025 G00 Z-28N0026 X32N0027 G01 X26 F30N0028 G04 P4N0029 G00 X31N0030 Z-31N0031 G01 X26 F30N0032 G04 P4N0033 G00 X31N0034 Z-34N0035 G01 X26 F30N0036 G04 P4N0037 G00 X100N0038 Z100N0039 M30调头装夹,车削62毛坯至60尺寸,同时车削端面保证总长。程序:%12G00 Z100M03 S500G00 X-20 Y-20 G00 Z5G01 Z-3 F100G01 G41 D1 X0 Y0 F60G01 Y20X23G03 X30 Y13 R7G01 Y5G02 X25 Y0 R5G01 Y0 X0 G01 G40 X-20 Y-20 G00 Z100 M30加工中心加工件