圆形腔的加工程序,在原点垂直下刀,圆弧切入切出。
T01M6
G90G54G40G43H1G00Z100M03S2500
M08
G00X0Y0
G00Z5
#1=-2
N20 G1Z#1F20
G1G41X-10Y-6D01F300
G3X0Y-16R10
G3J16
G3X10Y-6R10
G1G40X0Y0
#1=#1-2
IF [#1GE-10] GOTO 20
G0Z100
T0M6
M9
M5
M30
由仿真结果看出,只加刀补,切削一圈会有残余余料不能完全切出,需要再加上一圈走刀轨迹。
参考程序
T01M6
G90G54G40G43H1G00Z100M03S2500
M08
G00X0Y0
G00Z5
#1=-2
N20 G1Z#1F20
G1X6F300
G3I-6
G1X0
G1G41X-10Y-6D01F300
G3X0Y-16R10
G3J16
G3X10Y-6R10
G1G40X0Y0
#1=#1-2
IF [#1GE-10] GOTO 20
G0Z100
T0M6
M9
M5
M30
仿真结果