Hi,
Robot: Agilus KR10-R1100 HM-SC
Controller: KRC4 small size
KSS: V8.5.7 HF1
I have an interrupt which is triggered by a collision sensor coupled between the robot and the tool. I have a 20second wait in the interrupt, once the interrupt is completed it jumps back to the program but hangs on the next line of code. The R icon at the top also changes from Green to red. The program is running in External mode.
Imaged attached shows the line the program hangs on.
Any help is much appreciated.
Code
DEF wash( )
INTERRUPT DECL 2 WHEN $IN[8]==FALSE DO washCrash()
SPTP PREPOSTWASH CONT Vel=100 % PDAT9 Tool[3]:long-fat Base[1]:detain-stacker-rail
SPTP P2 CONT Vel=100 % PDAT2 Tool[3]:long-fat Base[1]:detain-stacker-rail
INTERRUPT ON 2
SPTP P3 Vel=100 % PDAT3 Tool[3]:long-fat Base[1]:detain-stacker-rail
WAIT SEC 3
SPTP P4 CONT Vel=100 % PDAT4 Tool[3]:long-fat Base[1]:detain-stacker-rail
SPTP PREPOSTWASH Vel=100 % PDAT8 Tool[3]:long-fat Base[1]:detain-stacker-rail
INTERRUPT OFF 2
END
Display More