N10 PROC L6 SBLOF DISPLOF SAVE
N?20 DEF INT _ACT,_NWT ; Integer Active Tool Data
N30 STOPRE
N40 GETSELT(_NWT) ; Order Tool Number
N50 _ACT=$TC_MPP6[9998,1] ; Current Tool Number
N70 IF(($P_SIM==1) OR ($P_ISTEST==1)) GOTOF END1
N80 IF (($P_SEARCH==0) AND (_NWT==_ACT) AND (_NWT>0) AND (_ACT>0)) GOTOF INFO1
N90 IF (($P_SEARCH==0) AND (_NWT==_ACT) AND (_NWT==0) AND (_ACT==0)) GOTOF INFO2
IF (($TC_MPP4[9998,2]<>0) AND ($TC_MPP4[9998,3]<>0)) GOTOF NOERR
MSG("*** 机械手上有刀具,不能运行程序。请取下机械手上的刀具 ***")
LOOP
G4F1
ENDLOOP
NOERR:
N100 STOPRE
MCALL
想问一下:1、ACT和NWT是什么?2、LOOP就是单独的跳转点?为什么要有暂停1S的程序?3、NOERR:是什么? 哪位大神帮忙解答一下