Multiple robot program

I had a question about multiple robot programming. how we can prioritize between robots program so they can be done in sequence? or if we should call the main program in case, how we can do it?

You could disable all executors, thereby their programs. And then turn on and call routines as needed in script. Or just use signals.

vcExecutor.Enabled = False
if signal.Value == True:
vcExecutor.Enabled = True
vcExectuor.callRoutine(“Main”)

or

vcExecutor.DigitalInputSignals.input(100,True)
vcExecutor.callRoutine(“Main”)