normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">加工图3—40所示零件凹槽的内轮廓,采用刀具半径补偿指令进行编程。
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt"> 图3-40 刀具半径补偿的应用
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">采用刀具半径右补偿进行加工,数控程序如下:
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0005 G54S1500M03
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0010 G90 Z50. /抬刀至安全高度
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0020 G0080.Y60.Z2. /刀具快进至P点上方
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0030 G01Z-3.F100. /刀具以切削进给到深度3mm处
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0040 G42X60.Z40. /建立刀具半径右补偿P一A
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0050 X30. /直线插补A—B
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0060 G02X20.Y50.I0J10. /圆弧插补B—C
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0070 G01Y80. /直线插补C—D
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0080 G02X30.Y90.I10.J0 /圆弧插补D—E
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0090 G01X90. /直线插补E—F
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0100 G02X120.Y60.I0J-30 /圆弧捅补F—G
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0110 G01Y20. /直线插补G—H
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0120 G02X110.Y10.I-10.J0 /圆弧插补H--I
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0130 G01X70. /直线插补I—J
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0140 G02X60.Y20.I0J10. /圆弧插补J--K
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0150 G01Y40. /直线插补K—A
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0160 G00G4080.Y60. /取消刀具半径右补偿A—P
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0170 G00Z100. /刀具沿Z轴快速退出
normal style="TEXT-INDENT: 24pt; LINE-HEIGHT: 18pt">N0180 G53 /取消工件零点偏置
normal style="TEXT-INDENT: 24pt">N0190 M02 /程序结束