LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control of UR5 Universal Robot Arm

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.

0 Kudos
Message 1 of 5
(8,782 Views)

Hi,

 

In this forum post the general suggestion is to use the TCP/IP examples:

 

https://forums.ni.com/t5/LabVIEW/TCP-IP-connection-between-PC-and-UR5-Universal-Robot/td-p/3153351/p...

 

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

0 Kudos
Message 2 of 5
(8,727 Views)

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.

0 Kudos
Message 3 of 5
(8,713 Views)
0 Kudos
Message 4 of 5
(8,698 Views)

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

0 Kudos
Message 5 of 5
(5,973 Views)