Virtual comissioning

HI, i created a subroutine in robot program called “Weld” and i have given a signal “150”
When this 150 signal become True the robot should execute that sub routine called Weld if anyone knows python please tell me how i can do that

Thanks in advance

There should be a few options. Based on your setup, the cabinet could call the routine itself, but this image shows a simple example that should work. You could try to use event handlers and queue up and handle multiple calls or just use Wait Input statements in the Main routine.