内圆 刀具用D10的平底刀
#1=3.5 #2=5 #3=18.5
m03s3500
g90g54g0z50.
x0y0
g01f2000Z-2.0(内圆深度2.0)
N1 g1f1500x#1
g02I-#1
#1=#1+#2
IF[ #1LE#3] GOTO1
g01z50f4000
m05
g28y0
m30
G54g0z200
m3s800f1000
#1=0 #2=(47-25)+0.1
x0y0
z#1
g1x#2
N10g2I-#2 z#1
#1=#1-0.5
if〔#1GE-30〕goto N10
m30