好好学习,天天向上,机械爱好者欢迎您! (技术交流QQ群:13438135)
当前位置:首页 >  数控编程 >  数控基础 > 内容页

数控加工中心固定循环功能应用实例

2021-12-01 09:49:04数控基础访问手机版304
N50 G99 G81 X40 Y-35 Z-63 R-27 F120   //加工#1孔(回R平面)
N60 Y-75                              //加工#2孔(回R平面)
N70 G98 Y-115                         //加工#3孔(回起始平面)
N80 G99 X300                         //加工#4孔(回R平面)
N90 Y-75                              //加工#5孔(回R平面)
N100 G98 Y-35                         //加工#6孔(回起始平面)
N110 G49 Z20                        //Z向抬刀,撤消刀补
N120 G00 X500 Y0                    //回换刀点,
N130 T02 M98 P9000                  //换用T02号刀
N140 G43 Z5 H02                      //T02刀具长度补偿
N150 S600 M03                        //主轴起动
N160 G99 G81 X70 Y-55 Z-50 R-27 F120  //加工#7孔(回R平面)
N170 G98 Y-95                         //加工#8孔(回起始平面)
N180 G99 X270                        //加工#9孔(回R平面)
N190 G98 Y-55                         //加工#10孔(回起始平面)
N200 G49 Z20                         //Z向抬刀,撤消刀补
N210 G00 X500 Y0                     //回换刀点
T220 M98 P9000                      //换用T03号刀具
N230 G43 Z5 H03                      //T03号刀具长度补偿
N240 S300 M03                        //主轴起动
N250 G76 G99 X170 Y-35 Z-65 R3 F50   //加工#11孔(回R平面)
N260 G98 Y-115                        //加工#12孔(回起始平面)
N270 G49 Z30                        //撤消刀补
N280 M30                            //程序停

参数设置:
H01=0,H02=-10,H03=-50;
G54:X=-600,Y=-80,Z=-35。