|
楼主 |
发表于 2021-11-26 00:17:47
|
显示全部楼层
T11M6
G0G90G59S5000M3
G43H11Z30
#600=#3901+1000
N110
#11=1.
#5=[FIX[#600*0.001]]*1000
#6=[FIX[[#600-#5]*0.01]]*100
#7=[FIX[[#600-#5-#6]*0.1]]*10
#8=#600-#5-#6-#7
#10=0
#701=#5*0.001-1
#702=#6*0.01
#703=#7*0.1
#704=#8
N120
G90G52X#10
IF[#[700+#11]EQ0.]GOTO200
IF[#[700+#11]EQ1.]GOTO210
IF[#[700+#11]EQ2.]GOTO220
IF[#[700+#11]EQ3.]GOTO230
IF[#[700+#11]EQ4.]GOTO240
IF[#[700+#11]EQ5.]GOTO250
IF[#[700+#11]EQ6.]GOTO260
IF[#[700+#11]EQ7.]GOTO270
IF[#[700+#11]EQ8.]GOTO280
IF[#[700+#11]EQ9.]GOTO290
后面数字自己编
|
|