Universal Robots Forum

Are program labels essential?

I want to insert predefined programs in the program tree using my version of the Script Wrapper, however every program starts the program labels from 1, so I get duplicate label errors.

Are program labels essential for program execution? If so, how can I count the existing program nodes from the Robot Program node? If I could do this, I could renumber every label, but I haven’t found a solution yet.


Hi @tarko.viktor99

The program labels are not necessary, they are used to track program execution in PolyScope (the blue arrow).
But as you do not add new nodes to PolyScope, you can just remove all labels from your script program.


1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.