Call subprog with string

Elettrotec_AC14,
I don’t think its possible because of the way the Program gets compiled when you save it.

When a Sub program is added into an Main program it gets incorporated into one file when saved.
(If you look at the txt file that gets created when you save a program you’ll see all the lines of code for your sub program too)!!
You would have to have a Case for each program and call the sub program like that.
This of course makes the program Massive if you have lots of sub programs you may want to call. which may cause the Robot controller to slowdown or even fall over.

(Its probably the most annoying feature with the UR Robot)

I’ve already created a wish list pos for this feature