O9001
我这是FUNUC系统的,在运行时发生报警我不知错在哪,请高手帮我看看
#3004=0
M35
G4X.1
G4X.1
#1132=16384
G4X.1
G4X.1
M37
#145=#4003
#144=100
G1G#145F#144
M35
G4X.1
G4X.1
#1105=1
G4X.1
G4X.1
#1105=0
G4X.1
G4X.1
M37
M56
S500M3
G4X2.
M19
M690
POPEN
#4=FIX[#3011/10000]
#5=FIX[[#3011-#4*10000]/100]
#6=#3011-#4*10000-#5*100
#3=FIX[#3012/10000]
#8=FIX[[#3012-#3*10000]/100]
#9=#3012-#3*10000-#8*100
DPRNT[DATE*#4[40]/#5[20]/#6[20]]
DPRNT[TIME*#3[20]/#8[20]/#9[20]]
DPRNT[SHIFTING*COORDINATES]
IF[#7EQ#0]GOTO99
DPRNT[DATA*NO*#7[40]]
#3=20
#4=4141
#5=1
#6=0
N2DPRNT[*OFFSET*NO*G#9[21]]
N74DPRNT[OFFSET*DATA]
#29=#[#4+#9*#3+#6]
#30=#[#4+#5+#9*#3+#6]
#31=#[#4+#5*2+#9*#3+#6]
DPRNT[*X*#29[44]*Y#30[44]]
DPRNT[*Z*#31[44]]
N80DPRNT[**]
PCLOS
N100M99
|