06-02-2017 01:08 PM
I am working with a Universal Robot arm. I believe it is a UR-5. I was under the assumption that it could be controlled via Modbus, but I found that was incorrect. I need to use URScript commands. I am having a hard time getting started with this. I was wondering if anyone has written a VI that would control the movement of one of these robot arms.
Thanks.
06-03-2017 02:33 PM
Hi,
In this forum post the general suggestion is to use the TCP/IP examples:
From what I can tell of the post and manual it references, you can create scripts and then call them as shown in the forum. Do you have a VI you currently use? I would recommend to use the example VI they suggested as a starting ground, read through the manual given here:
https://s3-eu-west-1.amazonaws.com/ur-support-site/27421/UR5_User_en_Global.pdf
Ensure that the network setup is correct as given in Appendix II - 107.
Have you managed any communication with the robot or performed any configuration at this stage?
Thanks,
Ed
06-05-2017 03:47 PM
I am able to read the data messages that are broadcast on port 30001. My problem now is figuring out how to send commands. It appears that all the ports 30001, 2, and 3 are broadcasting information. I don't know if another port is needed or if there is someway to stop the broadcast so a command can be sent.
06-06-2017 10:30 AM
Hey JoeWork!
Did you try this examples:
https://forums.ni.com/t5/LabVIEW/TCP-IP-connection-between-PC-and-UR5-Universal-Robot/td-p/3153351
02-01-2020 01:03 PM
Hi,
This SDK has a ready to use LabVIEW example to read robot data and send commands (URScript, power on, ...) : https://underautomation.com/download/#labview-integration