数控车床用车刀、镗刀、钻头等加工孔举例
更新日期:2024-02-10  来源:数控工作室

        对于孔加工,不同的数控机床有不同的指令。本机床孔加工所使用的指令为直线插补指令G01,下面说明孔加工的编程方法。

设—号刀为外圆刀,二号刀为Φ3mm钻头,三号刀为切断刀,四号刀为Φ16mm钻头,六号刀为镗刀。毛坯为Φ53mm×100mm的棒料。选取工件轴线与工件右端面的交点O 为坐标原点,其加工程序为:

%0002

N01 G92 X150.0 Z200.0

N02 M03 S800

T0101

N03 G00 X55.0 Z0

N04 G01 X0

G95 F0.4   (转进给)

N05 G00 Z2.0

N06 X50.0

N07 G01 Z-73.0 F0.4

N08 G00 X52.0 Z2.0

N09 X40.0

N10 G01 Z-45.0 F0.3

N11 G02 X50.0 Z-50.0 R5.0

N12 G00 X55.0 Z1.0

N13 X34.0

N15 G00 X150.0 Z200.0

T0100

N16 M03 S1500 T0202

N17 G00 X0 Z2.0

N18 G01 Z-4.0 F0.12

N19 G00 Z2.0

N20 X150.0 Z200.0 T0200

N21 M03 S500 T0404 M08

N22 G00 X0 Z2.0

N23 G01 W-15.0 F0.12

N24 G00 W5.0

N25 G01 W-15.0 F0.12

N26 G00 W5.0

N27 G01 W-15.0 F0.12

N28 G00 W5.0

N29 G0l W-10.0 F0.12

N30 G00 W40.0

N31 M09

N32 G00 X150.0 Z200.0 T0400

N33 X18.0 Z2.0T0606 M08

N34 G01 Z-30.0 S1000 F10

N35 G00 Xl6.0

N36 Z2.0

N37 X20.0

N38 G01 Z-30.0 F10

N39 G00 Xl8.0

N39 Z2.0

N40 X22.0

N38 G01 Z0 F0.3

N39 X20.0 Z-1.0

N40 G00 Z2.0

N41 X150.0 Z200.0 T0600

N42 G00 X52.0 Z-70.0 S500 T0303

N43 G01 X0 F0.15

G94 F1000

N44 G01 X55.0

N45 X150.0 Z200.0

M05

N46 M09

N47 M30