Files Format

Also checkout the new CB3 forum

UR Files format.

Extracting files to the office computer.

After the user program files have been saved on a USB drive it is very easy to transport them to an office computer for documentation and backup. Just insert the files into your office computer and they are there to be viewed.


Aside from the user files the UR controller also stores the default.intsllation files which are useful if a user program is transferred to another robot that for some reason had a modified default installation file. E.g. another IP address. Then it is very easy to reload the default.installastion file and make the user program run on another robot and.

The controller saves the user program file in three different versions. This is our “My_first_program” as explained in the “Programming” section of this manual.

The .txt files contain a simple description of our user program.



The .urp file is a binary file that the UR robot use and is not easy readable.



The .script file is our user program as a script file.


def My_first_program():
set_analog_inputrange(0, 0)
set_analog_inputrange(1, 0)
set_analog_outputdomain(0, 0)
set_analog_outputdomain(1, 0)
set_gravity([0.0, 0.0, 9.82])
while True:
$ 0 “Robot Program”
$ 1 “MoveJ”
$ 2 “Waypoint_1″
movej([-0.7601482324296471, -1.9284112483400442, 2.4200850009312065, -2.13148960204731, -1.562351390833685, -0.9523963238633675], a=1.3962634015954636, v=1.0471975511965976)
$ 3 “Waypoint_2″
movej([-0.7601145807261123, -1.925313457229536, 1.4271208291636501, -1.1406326407517442, -1.5621569587688118, -0.9518539657810257], a=1.3962634015954636, v=1.0471975511965976)

Disclaimer: While the Zacobria Pte. Ltd. believes that information and guidance provided is correct, parties must rely upon their skill and judgement when making use of them. Zacobria Pte. Ltd. assumes no liability for loss or damage caused by error or omission, whether such an error or omission is the result of negligence or any other cause. Where reference is made to legislation it is not to be considered as legal advice. Any and all such liability is disclaimed.

If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.

By Zacobria Lars Skovsgaard
Accredited Universal Robots support Centre and Forum.

Also check out the CB3 forum

6 thoughts on “Files Format

  1. Jorah Gavos

    Is there a way to directly connect from a PC to the UR via Ethernet? Basically map it as a network drive so I don’t have to transfer scripts back and forth via USB drive?

    1. zacopressadmin Post author

      Hi Jorah

      Thanks for the question.

      Maybe consider to transfer files via FTP to the robot.

      By Zacobria Lars Skovsgaard
      Accredited Universal Robots support Centre and Forum.

      Also check out the CB3 forum

  2. Karl-Etienne Forand

    Hi Lars!

    Do you know if there is a way to directly modify the script of a program done via polyscope? By example, I have put “if” instead of “elif” at several location and I think it would far easier to add only a couple of letters at some place in the script than redo most of my program via polyscope. I tried to modify the script file via expert mode, directly on the controller, but it did not appear to change anything when I return in polyscope. Do you have an idea what I could do?

    1. zacopressadmin Post author

      Hi Karl

      Thanks for your question.

      I am not aware of any method to do this directly in a file because the script code is an embedded part of the UR program and therefore it has to be done with the Polyscope GUI.


    2. Jensen Aw

      How can I edit the URP file? I’m trying to change some coordinate in .script file, but when I upload to the machine. It still run the same script before.

      So is there any chance that I can write my own script by just changing the coordinate of the robot?

      Thank you

      1. zacopressadmin Post author

        Hi Jensen Aw

        The URP file is created when editing the program in Polyscope.

        Some examples on script programming can be found at these links.

        By Zacobria Lars Skovsgaard
        Accredited Universal Robots support Centre and Forum.

        Also check out the CB3 forum


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>