朋友你好。编程如下,其中D01=10.
第一段为单层铣。第二段为多层铣,如厚度为10CM,每次1CM。满意请采纳!
M6TO1
G40G49G80
G0G90G54X200YO
M03S2000
G01G43H01Z50F5000
Z10F1000M08
Z0F300
G01G90G41D01X150F500
Y-150,R10
X-150,R10
Y150,R10
X150,R10
Y-10
G40X200
G0Z200M9
M5
M30
++++++++++
M6TO1
G40G49G80
G0G90G54X200YO
M03S2000
G01G43H01Z50F5000
Z10F1000M08
Z0F300
#1=0
N10G01G91Z-1F300
G01G90G41D01X150F500
Y-150,R10
X-150,R10
Y150,R10
X150,R10
Y-10
G40X200
Y0
#1=#1+1
IF[#1LT10]GOTO10
G0Z200M9
M5
M30
三菱机器,洗一个正方形长、宽40R角0.4
G90G0G54G40G15G17G21
M03S2000F1500
G43H0Z50
M08
#1=0
#2=-10
#3=150
#4=140
#5=10
G0X-#3Y-180
Z3
G1Y-#3
N10G01Y#4Z#1
G03X-#4Y#3R#5
G01X#4
G03X#3Y#4R#5
G01Y-#4
G03X#4Y-#3R#5
G01X-#4
G03X-#3Y-#4R#5
#1=#1-0.5
IF[#1GE#2] GOTO10
G01Y#3
G0Z200M09
M05
G91G28Y0Z0
M30