发表于:2012/3/9 8:46:06
#0楼
FANUC 车床编程--综合例题
T1:外圆粗车刀 T2:外圆精车刀 T3:床刀 T4:钻头 T5:镗孔刀
图6.5-12
%
步骤:
N010 G30 U0. W0. ;回第二参考点
N015 G50 X0. Z0. T0100 ;建工件坐标系,换T01 号刀
N020 G96 S1500 M03 ;主轴转动,恒线速
N025 G00 X60 Z0. T0101 ;调T01 刀补
N030 G01 X-1. F0.5
N035 G00 X61. Z3.
N040 G71 U2. R0.5 ;粗切循环
N045 G71 P50 Q115 U0.4 W0.2 F0.4 ;粗切循环
N050 G00 X20. ;子步骤
N055 G01 Z0. ;子步骤
N060 X22. ;子步骤
N065 Z-2. X30. ;子步骤
N070 Z-30. X30. ;子步骤
N075 Z-30. X36. ;子步骤
N080 Z-32. X40. ;子步骤
N085 Z-62. X40. ;子步骤
N090 Z-62. X46. ;子步骤
N095 G03 Z-64. X50. K-2. I0. ;子步骤
N100 G01 Z-77. X50. ;子步骤
N105 G03 Z-80. X56. K-3. I0. ;子步骤
N110 G01 Z-85. X56. ;子步骤
N115 Z-85. X57. ;子步骤
N120 G00 X100. Z30.
N125 X150. Z150. T0100 ;退刀往刀补
N130 G00 X61. Z30. T0202 ;换刀T2
N135 G00 Z10.
N140 G70 P50 Q115 ;精切循环
N145 G40 G00 Z30.
N150 X150. Z150. T0200 ;退刀往刀补
N151 G0 X0 Z170. T0404 ;换刀T4
N152 G0 Z1.
N153 G01 Z-60. F100
N154 G0 Z170. T0400 ;退刀往刀补
N155 T0505 ;换刀T5
N156 G0 Z1.
N157 G01 Z-50. F100
N158 G0 Z170 T0500
N159 G97 S500 M03 ;恒转速
N160 G00 X61.Z3. T0303 ;换刀T3
N165 X42. Z-32.
N170 G76 P010060 ;切床循环
N175 G76 X37.835 Z-57. P1083 Q300 F2.0 ;切床循环
N180 G00 X61. Z3
N185 X150. Z150. T0300 ;退刀往刀补
N190 M05 ;主轴中断
N195 M30 ;步骤中断
图6.4-2clear_link=1 床编程--综合例题"/>下一篇:cnc机床补缀的根本要求上一篇:外圆粗切循环 复合稳固循环>
T1:外圆粗车刀 T2:外圆精车刀 T3:床刀 T4:钻头 T5:镗孔刀
图6.5-12
%
步骤:
N010 G30 U0. W0. ;回第二参考点
N015 G50 X0. Z0. T0100 ;建工件坐标系,换T01 号刀
N020 G96 S1500 M03 ;主轴转动,恒线速
N025 G00 X60 Z0. T0101 ;调T01 刀补
N030 G01 X-1. F0.5
N035 G00 X61. Z3.
N040 G71 U2. R0.5 ;粗切循环
N045 G71 P50 Q115 U0.4 W0.2 F0.4 ;粗切循环
N050 G00 X20. ;子步骤
N055 G01 Z0. ;子步骤
N060 X22. ;子步骤
N065 Z-2. X30. ;子步骤
N070 Z-30. X30. ;子步骤
N075 Z-30. X36. ;子步骤
N080 Z-32. X40. ;子步骤
N085 Z-62. X40. ;子步骤
N090 Z-62. X46. ;子步骤
N095 G03 Z-64. X50. K-2. I0. ;子步骤
N100 G01 Z-77. X50. ;子步骤
N105 G03 Z-80. X56. K-3. I0. ;子步骤
N110 G01 Z-85. X56. ;子步骤
N115 Z-85. X57. ;子步骤
N120 G00 X100. Z30.
N125 X150. Z150. T0100 ;退刀往刀补
N130 G00 X61. Z30. T0202 ;换刀T2
N135 G00 Z10.
N140 G70 P50 Q115 ;精切循环
N145 G40 G00 Z30.
N150 X150. Z150. T0200 ;退刀往刀补
N151 G0 X0 Z170. T0404 ;换刀T4
N152 G0 Z1.
N153 G01 Z-60. F100
N154 G0 Z170. T0400 ;退刀往刀补
N155 T0505 ;换刀T5
N156 G0 Z1.
N157 G01 Z-50. F100
N158 G0 Z170 T0500
N159 G97 S500 M03 ;恒转速
N160 G00 X61.Z3. T0303 ;换刀T3
N165 X42. Z-32.
N170 G76 P010060 ;切床循环
N175 G76 X37.835 Z-57. P1083 Q300 F2.0 ;切床循环
N180 G00 X61. Z3
N185 X150. Z150. T0300 ;退刀往刀补
N190 M05 ;主轴中断
N195 M30 ;步骤中断
图6.4-2clear_link=1 床编程--综合例题"/>下一篇:cnc机床补缀的根本要求上一篇:外圆粗切循环 复合稳固循环>
shukongcn.com 数控机床网
bbs.shukongcn.com 数控中国论坛
bbs.shukongcn.com 数控中国论坛