You've created a part successfully, added it to a playlist, and pressed the play button, but the program doesn't run. This guide will walk you through a fix for this common problem.
The program doesn't start when pressing the play button on the operator button box, if you press the Play icon on the UR teach pendant you will get an error or be asked to move the robot to the starting point.
The likely problem is the program on the teach pendant has been modified accidentally.
There are a couple of different issues we have seen including having yellow program nodes that are not complete, accidentally added usually. We have also see an instance where a Home step was added to the robot program such as this image below:
On the teach pendant, navigate to the Program tab.
What you should see is a program that looks like the image below, if there are any other lines added please remove them
If you see yellow items (nodes) under the Robot Program, they need to be removed
For each yellow node, select it and tap the trash can item in the gray bar at the bottom.
After each has been deleted, tap the Save icon (floppy disk) in the top bar.
Then tap Save All to finalize the changes.
Your program should now only contain the welding_scripts.script under BeforeStart and the main() under Robot Program.
The program should now play as expected when pressing the play button.
To prevent this from happening in the future, you can follow this guide to secure your cobot.