Universal Robots Forum

Reading in Data

I am new to the UR robot. I am currently programming a program using the UR3 robot. I connected the robot to my computer using ethernet connection. I am going to make a text file with coordinates for the robot to move in my computer. I want to know how I can make the robot read the text file which has the coordinates and move according to the coordinates.

Probably the easiest way would be to define those points or offsets in a .script file and use an FTP program like Filezilla or WinSCP to transfer the file into the /programs directory. This would allow you to use the script block in polyscope to bring in the file.

There are a bunch of other ways like RTDE and python you could use to stream the points but the script file will probably be the simplest as it’s basically a text file.

The login for the robot for SSH or SFTP is:
user name: root
default password: easybot