铣削旋转阵列窄槽

零件图如下

先加工圆形凸台,圆形凸台程序T3刀具为12mm直径立铣刀

T3M6

G90G54G40G43H3G00Z100M03S2500

M08

G00X0Y-50

G00Z5

#1=-2

N10 G1Z#1F500

G1G41X12D2 (D02=14)

G3X0Y-38R12

G2J38

G3X-12Y-50R12

G1G40X0

#1=#1-2

IF [#1GE-16] GOTO 10

#1=-2

N20 G1Z#1F500

G1G41X12D01 (D01=6)

G3X0Y-38R12

G2J38

G3X-12Y-50R12

G1G40X0

#1=#1-2

IF [#1GE-16] GOTO 20

G0Z100

T0M6

M9

M5

M30

凸台仿真结果

使用旋转命令编制中间凸台上的旋转槽,使用ø6键槽铣刀加工窄槽,因为槽宽只有8mm,手工编程时如果设置圆弧切入切出比较麻烦,这个例子中直接使用直线切入和切出。参考程序如下:

T1M6

G90G54G40G43H1G00Z100M03S2000

M08

G00Z5

#2=0

N20 G68 X0 Y0 R#2

#1=-1

N10 G00X12Y0

G1Z#1F20

G1G41X15.06Y-2.58D01

G3X20.49Y29.42R32F300

G3X11.82Y25.35R4.8

G2X9.09Y2.74R19.2

G3X15.06Y-2.58R4

G1G40X12Y0

#1=#1-1

IF [#1GE-5] GOTO 10

G0Z5

#2=#2+60

IF {#2 LE 300] GOTO 20

G69

G0Z100

T0M6

M9

M5

M30

这是仿真结果