# How to set the program No. in robot?

**URL:** <https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108>\
**Category:** Technical Questions\
**Created:** [September 12, 2025, 3:13am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108 "2025-09-12T03:13:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangzhaoxue8888](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@wangzhaoxue8888](https://forum.universal-robots.com/u/wangzhaoxue8888)\
**Post date:** [September 12, 2025, 3:13am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/1 "2025-09-12T03:13:16Z")

</div>

this program will change according plc

---

<div class="post-metadata">

**Author:** ![efn](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@efn](https://forum.universal-robots.com/u/efn)\
**Post date:** [September 12, 2025, 5:07am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/2 "2025-09-12T05:07:48Z")

</div>

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. 🙂

---

<div class="post-metadata">

**Author:** ![wangzhaoxue8888](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@wangzhaoxue8888](https://forum.universal-robots.com/u/wangzhaoxue8888)\
**Post date:** [September 12, 2025, 5:36am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/3 "2025-09-12T05:36:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![efn](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@efn](https://forum.universal-robots.com/u/efn)\
**Post date:** [September 12, 2025, 5:50am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/4 "2025-09-12T05:50:29Z")

</div>

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](https://www.universal-robots.com/download/software-e-series/support/magic-files/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.

---

<div class="post-metadata">

**Author:** ![wangzhaoxue8888](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@wangzhaoxue8888](https://forum.universal-robots.com/u/wangzhaoxue8888)\
**Post date:** [September 12, 2025, 8:19am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/5 "2025-09-12T08:19:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![efn](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@efn](https://forum.universal-robots.com/u/efn)\
**Post date:** [September 12, 2025, 8:45am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/6 "2025-09-12T08:45:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wangzhaoxue8888](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@wangzhaoxue8888](https://forum.universal-robots.com/u/wangzhaoxue8888)\
**Post date:** [September 12, 2025, 8:51am UTC](https://forum.universal-robots.com/t/how-to-set-the-program-no-in-robot/41108/7 "2025-09-12T08:51:51Z")

</div>

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