Save & Load Files

Also checkout the new CB3 forum

Save  file.

After writing a few lines of the program it is advisable the save your work. As explained early in the manual it is good to assign a USB drive for this purpose.

Press the “File” menu and choose “Save As …”.

universal_robots_zacobria_save_file_1

universal_robots_zacobria_save_file_2

A Screen with file structure and files already present on the Hard drive (Flashcard) appears and the USB drive is already shown as a Directory. The controller recognizes the USB drive automatically.

In this case the USB drive has the name “”NANO_1G_F32” which was a name I give it while it was sitting on my office computer, but this can be any legal computer file name. Sometimes a USB drive has a default name when it is purchased and sometimes it is just without a name so you might see other names or even “unknown”. This is not important as long you know it is the USB drive you inserted to the robot controller.

Press on the name “NANO_1G_F32” to go into that directory i.e. go to the drive.

universal_robots_zacobria_save_file_3

If the USB drive is empty there are no directories on the USB drive and you can use the scissor symbol to create a directory. If there is already directories from where it was in your office computer then will be shown on the Screen and you can chose to go to the sub directory. Here we will create a sub directory.

universal_robots_zacobria_save_file_4

Press “Create Directory …”

The controller suggests “new dir” as a name, but better to choose something else that says something about the content of the directory.

universal_robots_zacobria_save_file_5

Press behind the new dir name and use the << button to delete the “new dir” name.

universal_robots_zacobria_save_file_6

universal_robots_zacobria_save_file_7

Use the onscreen keyboard to create a new name e.g. Test in this case.

universal_robots_zacobria_save_file_8

Press “OK” when finish the name.

A new directory called “Test” appears. Press on the “Test” directory to go into it.

universal_robots_zacobria_save_file_9

Press the on Screen keyboard symbol to type in your desired file name for your program. In this case we call it My_first_program.

If you have connected a keyboard along with the mouse, then you can use the keyboard to key in which is much more convenient.

universal_robots_zacobria_save_file_10

Press “OK” when finish typing. Notice after pressing “OK” the file name is listed below on the Screen.

universal_robots_zacobria_save_file_11

Press “Save” to save the file and a popup messages appear to confirm the save of file.

universal_robots_zacobria_save_file_12

After the controller finish the save it returns to the Program tree we were working on and we can continue programming which will be explained in the next chapters.

 

Load a program from USB drive.

universal_robots_zacobria_load_file_1

To load back a program that we previously have saved on the USB drive press the “File” menu – choose “Load”. Press on the name for the USB drive (in my case NANO_1G_F32). If you choose to create sub directories then go all the way down to your file by pressing the sub directories until you see your file you wish to load.

universal_robots_zacobria_load_file_2

Press on the file so it is highlighted.                                Press on the “Open” button.

You will see your program reload into the Program tree block and you can continue to edit the program or simply use the program if is a finish ready made program.

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.

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

Also check out the CB3 forum



19 thoughts on “Save & Load Files

  1. Rahul

    Hello Lars,

    Is there a way to delete all programs in the UR teach pendent ? I cant delete a folder as its saying i need to delete the contents inside it first. But there are lot of files in a folder including all the urp,txt and script files.So deleting each file one by one is not a good option.I checked the magic files but i coudnt find anything.

    Reply
    1. zacopressadmin Post author

      Hello Rahul

      One way is to keep the files on a USB thumb drive and then when need to organize files then move the USB drive to a PC to do the cleaning.

      Or if familiar with Unix commands – then logging on to the controller command line is also an option. More informations at this link

      https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/moving-files-between-controller-and-usb-device-15804/

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

      Also check out the CB3 forum


      Reply
  2. Junhong Liang

    Hi Lars

    Today I tried to transfer file from the robot to my USB-stick. Although the robot recognize my USB-stick and I can even browse the folders and files in it, I cannot save the programm files to it. It keeps saying that “File could not be written to USB-stick, please check if it is attached” something like that. Using magic file didn’t help either.

    So I finally discovered the problem: as it turns out my USB-stick was using NTFS. When I converted it to FAT32, everything worked just fine. I just want to tell you this issue and someone who might have been experiencing the same problem. Hope that could help you guys!

    Best regards,
    Junhong

    Reply
  3. Filippo

    Hello Lars,

    I am running the URSim3.3.1 with the virtual machine.
    I don’t see any FTP setting running on the virtual machine. Is this normal?
    How should I send an URP file to the robot remotely ?

    Thanks you
    Filippo

    Reply
      1. Filippo

        Hi Lars,
        Thanks for your reply.
        My question was more focused on the FTP: Should it be already active an FTP server on the Simulator (or on the robot) ?
        I have already set the bridged adapter on the VM but I wasn’t able to send any file to the simulator.
        If there are any standard procedure I would be happy to know them

        Thanks
        Filippo

        Reply
  4. Jasper

    Hi Lars,

    I’m trying to program our UR10 on my computer. I installed Linux on my pc and copied the files from the robot on a USB stick. However if I open this program on my computer all my variables are lost. If I make them again and then open the program on the robot from the usb stick I have the same problem. Any ideas how to solve this problem?

    Thanks in advance,

    Jasper

    Reply
      1. jasper

        Hi Lars,

        Thanks for your answer. Yes, I’m using the UR simulator. When I connect the usb stick to the controller of the robot it start copying files. However if I open the files on my computer I can’t find a .variables file. Only programs and installations.

        Thanks in advance,

        Jasper

        Reply
          1. zacopressadmin Post author

            Hi Jasper

            Thanks for your question.

            Then when a Polyscope GUI robot program is made there will be created 5 files when the program is saved – for example if the name of the program is “test” then these files will be created.

            test.urp
            test.txt
            test.script
            default.installation
            default.variables

            In order to save variables between program runs then they have to be created as “installation” variables in the Installation -> variables menu

            If there is made modifications to the program then some old versions of the program will also be in the directory.

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

            Also check out the CB3 forum

  5. alberto

    Hi Lars,

    I have tried to connect using the SSH protocol, as you have suggested me. It connects, but the following error appears:

    Autentification failed
    Authentication (password) failed

    What is the default login and password that has to be provided?

    Thanks in advance. Best regards
    Alberto

    Reply
  6. alberto

    Hello Lars,

    I am trying to connect to de ftp server of the UR robot using Firefox and Chrome. So I put the following in the browser direction bar:

    ftp://UR5IPAddress:22/
    in my case UR5IPAddress = 192.168.0.50

    The browser gets stuck trying to connect during a while, finally the browser gives up.
    I do not know if a default user and password is needed.

    Thanks in advance. Best regards
    Alberto

    Reply

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>