# Sending Program Code Between Robot and PC

**URL:** <https://forum.universal-robots.com/t/sending-program-code-between-robot-and-pc/19057>\
**Category:** Technical Questions\
**Created:** [February 4, 2022, 5:18pm UTC](https://forum.universal-robots.com/t/sending-program-code-between-robot-and-pc/19057 "2022-02-04T17:18:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon7615640](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@anon7615640](https://forum.universal-robots.com/u/anon7615640)\
**Post date:** [February 4, 2022, 5:18pm UTC](https://forum.universal-robots.com/t/sending-program-code-between-robot-and-pc/19057/1 "2022-02-04T17:18:47Z")

</div>

Hi there,

I’m new to Universal Robots and only started getting my feet wet.  
Is there a way to send existing program code from the Teach Pendant to a regular PC and vice versa? Our robot is out on the manufacturing floor and it would be much easier to read & edit program code at my desk on a PC.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![anon63330883](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@anon63330883](https://forum.universal-robots.com/u/anon63330883)\
**Post date:** [February 4, 2022, 9:33pm UTC](https://forum.universal-robots.com/t/sending-program-code-between-robot-and-pc/19057/2 "2022-02-04T21:33:15Z")

</div>

You could save the .urp and .installation file on a flash drive. If you want to work with the program through the Universal Robot UI, Polyscope, you should download the offline simulator. You will need to run the offline simulator on a a virtual machine. If your flash communicating with the VM you should be able to open it from the simulation and work with it as if it were on a teach pendant

Here is the link to where you can download the latest version of the offline simulator: [https://www.universal-robots.com/download/?query=sim](https://www.universal-robots.com/download/?query=sim)

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [February 4, 2022, 9:35pm UTC](https://forum.universal-robots.com/t/sending-program-code-between-robot-and-pc/19057/3 "2022-02-04T21:35:46Z")

</div>

There’s probably some other more sophisticated methods, but if you can connect to the robot via ethernet, then using a VNC is really easy and fast to setup.

> [@Remote desktop to the controller UI](https://forum.universal-robots.com/t/remote-desktop-to-the-controller-ui/3826):
>
> Does anyone managed to make a remote desktop connection to the controller in order to see the UI on a PC? On google I have found that someone has solved this issue installing a VNC server on the controller. Is this the “official” way? Does the installation of the VNC server have some impacts on the controller performances? Thanks!

Here’s a link to the magic file. Just follow the readme, but essentially you just put the file on a flashdrive and put it into the controller. Then reboot the robot.

Then download a VNC viewer. (I use this one: [https://www.realvnc.com/en/connect/download/viewer/](https://www.realvnc.com/en/connect/download/viewer/)) Type in the IP address of the robot into the VNC viewer and you can control the robot live from your computer.
