How to set the program No. in robot?

this program will change according plc

Either use a variable that is received from the PLC and then use a Switch node to switch between subprograms, or you can set up socket communication to the Dashboard server which allows you to load programs. :slight_smile:

1 Like

Thanks for your kind respond,i have another question,i wanna copy robot program through usb disk while now robot is running. I afraid it will be stoped because of copy program. can you please give me some advice.

You cannot transfer the running program, but I think you know this already.

To transfer a program to a running robot, you should be able to use Magic Files: Universal Robots - Magic File - Upload All Programs from USB to robot

There’s also the option of using FTP. The robot has a running FTP server, which allows you to connect to its file system from your own computer and then you can upload programs that way.

Added: I actually think you might be able to use the built-in program manager in the e-series (Polyscope 5) with the program running. Maybe you can try this first.

Thanks, i have uploaded .urp program to PC through FTP. I also download URSim VIRTUAL,but i failed at copy .urp program from PC to URSim Virtual ,it shows

Error when getting information for file ‘/tmp/VMwareDnD/b88dc59f/0925.urp’: No such file or directory,can you please give me some clue?

I do not know that error. Looks like an error with VMWare. Maybe Google can help you. :slight_smile:

Anyway ,you’ve been give a great help ,Thanks and have a nice weekend.