A way to pause when collision is detected instead of error code

I have a very long program to run, in an industrial setting. (69minutes) If a part doesn’t go exactly as intended in that time and a crash happens I need to find a way to pause the program so it can resume after the issue is clear.

FYI I have 2 automated tooling processes and 330 part positions on a tray.

Hi Slapit,

Do you use Blockly or Python code?

If you use Blockly, do you mean you will pause the program manually? If yes, you can use ‘protective stop’ function with SI0/SI1 on the controller.

Normally, the arm may collide and the Blockly may be exited automatically, you can number each part, when you restart the program, jump to the corresponding section based on the numbered value.

If you use python, can you share the python code with me?

Best regards,
Minna

I can only use I use blocky at this time.

So there’s a way to resume a program from the last crash point if they are numbered ? I assume you need to have a PC on and connect to do this yes?

Also how do you number/label blocks?

So there’s no way to change the collision detection to a Pause or safety stop instead of ending the program? or resuming a program where left off. Unless I design and build external switches.

Sorry I can’t get to the robot today for the code. I can in a few days.

Hi Slpait,

Thanks, currently Blockly does not support such a function, we need to evaluate it first, please send your Blockly program to support@ufactory.cc.

Best regards,
Minna