加工下面零件的圆形凸台和圆形腔。
刀具轨迹安排如下
先加工外轮廓,使用直径10mm立铣刀,D01=5,D02=13,参考程序如下
T01M6
G90G54G40G43H1G00Z100M03S2500
M08
G00X0Y-35
G00Z5
#1=-2
N10 G1Z#1F500
G1G41X15D02
G3X0Y-20R15
G2X0Y-20I0J20
G3X-15Y-35R15
G1G40X0
#1=#1-2
IF [#1GE-10] GOTO 10
#1=-2
N20 G1Z#1F500
G1G41X15D01
G3X0Y-20R15
G2X0Y-20I0J20
G3X-15Y-35R15
G1G40X0
#1=#1-2
IF [#1GE-10] GOTO 20
G0Z100
T0M6
M9
M5
M30