您现在的位置:

铣外轮廓并钻孔、攻丝——加工中心编程实例

解:选用T1=ф20铣刀、T2=中心钻、T3=ф6.8铣刀、T4=M81.25丝锥。

  


 

O001

    G17 G40 G80

N001 G00 G91 G30 X0 Y0 Z0 T1;

M06;

G00 G90 G54 X175.Y-80.;

G43 H01 Z10 M03 S1800;

Z-52.;

GO1 G41 D01X150. Y-160.F400;

X50. F150;

Y-140.;

G03 X-50. Y-140. R50. F150;

G01 Y-160.;

X-100.;

Y150.;

G02 X-90. Y160.;

G01 X50.;

X150. Y0.;

Y-180.;

G40 G00 Z100.;

G00 X-120. Y-20.;


 

Z-20.;

G01 G41 X-50. F300;

Y0.;

G02 I50.;

G01 Y20.;

G00 G40 Z100.;

G17 G40 G80

N002 G00 G91 G30 X0 Y0 Z0 T2;

M06;

G00 G90 G54 X-75.;

G43 H02 Z20.M03 S1800;

G98 G81 Z-23. R-17. F200;

X0. Y75.;

X75.Y0.;

Y-75. X0;

G00 G80 Z100.;

G17 G40 G80

N003 G00 G91 G30 X0 Y0 Z0 T3;

M06;

G00 G90 G54 X-75. Y0.;

G43 H03 Z10.M03 S1000;

G98 G83 Z-55. R-15 Q20. F150;

X0. Y75.;

X75.Y0.;

Y-75. X0;

G00 G80 Z100.;

G17 G40 G80

N004 G00 G91 G30 X0 Y0 Z0 T4;

M06;

.

.