立式加工中心XH715D,工作台尺寸:520mm×1200mm。外轮廓采用平底铣刀加工,刀具直径 mm,加工深度 8mm ,铝棒料毛坯 mm。 内槽: 平底铣刀 mm,内腔深度5mm。(图1)。
图1 铣削零件
各点的坐标:
1 (15,35) 2 (35,15) 3 (35,-22.5) 4 (22.5,-35)
5 (12.5,-35) 6 (-12.5,-35) 7 (-22.261,-35) 8 (-35,0)
9 (-35,22.5) 10 (-22.5,35) 11 (-20,-5) 12 (-15,-10)
13 (-11.18,10) 14 (11.18,-10) 15 (15,-10) 16 (20,-5)
17 (20,5) 18 (15,10) 19 (11.18,10) 20 (-11.18,10)
21 (-15,10) 22 (-20,15)
编程如下:
O 0001
NO1 T1;
N02 M06; / 换刀
N03 G90 G54 G0 X0 Y40 S800 M03; /设定工件坐标系
N04 G43 Z100 H1 M08; /刀具长度补偿(G43、H1并用)
N05 Y50;
N06 Z5;
N07 G01 Z-8 F30;
N08 G41 X-15 F120 D01;
N09 G03 X0 Y35 R15;
N10 G01 X15;
N11 G02 X35 Y15 R20;
N12 G01 Y-22.5;
N13 G02 X22.5 Y-35 R12.5;
N14 G01 X12.5;
N15 G03 X-12.5 Y-35 R12.5;
N16 G01 X-22.261;
N17 G01 X-35 Y0;
N18 G01 Y22.5;
N19 G02 X-22.5 Y35 R12.5;
N20 G01 X0;
N21 G03 X15 Y40 R15;
N22 G40 G01 X0;
N23 G00 Z100 M09; /抬刀
N24 G91 G28 Z0; /Z 方向回到零点
N25 T2;
N26 M06;
N27 G90 G54 G00 X0 Y0 S800 M03;
N28 G43 Z100 H2 M08;
N29 Z5;
N30 Z-5 F30;
N31 G41 X-15 Y5 D02;
N32 G03 X-20 Y0 R5;
N33 G01 Y-5;
N34 G03 X-15 Y-10 R5;
N35 G01 X-11.18;
N36 G03 X11.18 Y-10 R15;
N37 G01 X15;
N38 G03 X20 Y-5 R5;
N39 G01 Y5;
N40 G03 X15 Y10 R5;
N41 G01 X11.18
N42 G03 X-11.18 Y10 R15;
N43 G01 X-15;
N44 G03 X-20 Y5 R5;
N45 G01 Y0;
N46 G03 X-15 Y-5 R5;
N47 G01 G40 X0 Y0;
N48 G0 Z100;
N49 M09 M05;
N50 M30;