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 …”.
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.
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.
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.
Press behind the new dir name and use the << button to delete the “new dir” name.
Use the onscreen keyboard to create a new name e.g. Test in this case.
Press “OK” when finish the name.
A new directory called “Test” appears. Press on the “Test” directory to go into it.
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.
Press “OK” when finish typing. Notice after pressing “OK” the file name is listed below on the Screen.
Press “Save” to save the file and a popup messages appear to confirm the save of file.
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.
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.
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 2015-2018 Universal Robots support Centre and Forum.
Hello,
I wrote a .script file on my remote pc in order to test, whether the functions I have used do what I would like them to do. I’ve now transfered this .script file to the UR5e-Robot by USB and would like to execute this file on my robot. However, it does not work. Is it right to execute a .script file over there? Or is there some sort of guide available here?
Best regards,
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.
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
Follow @zacobria
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
Hi Junhong
Thanks for your contribution to the forum.
Author:
By Zacobria Lars Skovsgaard
Accredited Universal Robots support Centre and Forum.
Also check out the CB3 forum
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
Hi Filippo
Thanks for the question.
Maybe consider to use “Bridge network setting” and set the IP address on the virtual machine in /etc/network/interfaces (the file is interfaces).
FTP can be used to transfer files to the robot.
Author:
By Zacobria Lars Skovsgaard
Accredited Universal Robots support Centre and Forum.
Also check out the CB3 forum
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
Hi Filippo
FTP is active on the robot and its possible to transfer files between the robot and a PC with a FTP program.
You might need a password and maybe it is like as shown on UR webpage at this link below.
http://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/moving-files-between-controller-and-usb-device-15804/
If the password has been changed then you might need to contact your robot provieder.
Regards
Lars
Thank you Lars!
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
Hi Jasper
Thanks for your question.
Are you using the UR simulator ? and did you copy all the files for the program including the default instaltion and variables files ?
Author:
By Zacobria Lars Skovsgaard
Accredited Universal Robots support Centre and Forum.
Also check out the CB3 forum
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
Hi Jasper
Which version of the software are you running ?
Author:
By Zacobria Lars Skovsgaard
Accredited Universal Robots support Centre and Forum.
Also check out the CB3 forum
Hi Lars,
I’m running SW 3.2 18744
Regards,
Jasper
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
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
Hi Alberto
Your supplier should be able to know.
Regards
Lars
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
Hi Alberto
Try to activate SSH protocol. Yes use port 22.
Regards
Lars