Hi everybody!
I'm trying to create some auto recovery program but may I'm missing something...
We have an RJ-3/M6i robot where sadly the operator can take the part in a wrong angle to the fixture and the robot stops with collision detect later in a position.My idea was that I give a numeric value to a register after all the points in the program, and another program can handle the situation by checking that register... for example if the main program is in P[8] than R1=8 than the homerun program knows where the robot is than just jumps to a label and goes back home safely.
So what I want is when the operator presses a button than the robot goes home, in the right path of course, than restarts the main program.
I created a macro what is waiting for the cycle stop UI[4] signal (aborting the main program) and when the button is held down for 2 sec calls the homerun prog....and everything works, the robot goes home, the same macro calls the main program, but no matter what I do, the main prog trying to continue from the line it stopped (with collision detect) ... what I'm missing?