To do that, I would monitor through robot interface the state of the robot using a PC like devise connected on the network and request to launch a program when the robot is on.
When you send a command to the robot via robot interface, the robot return a message with its current status. You will find more details in the following UR post:
https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/overview-of-client-interfaces-21744/
Here below is the part of the robot message concerning the state of the robot:
I hope it helps,
Hi there,
My objective behind asking this question is -
Please consider two scenarios
Scenario 1
1) After switching on the Robot, we loading a program which commands the robot to move to a particular position in space by giving the joint values say (J1 - J6)
Scenario 2
1) After swithcing the robot as the boot loader begins, the robot should automatically reach to the particular point. How can I write a program which can automate the process without loading the program after starting the robot.
Thanks