# Communicate UR with some External Device

**URL:** <https://forum.universal-robots.com/t/communicate-ur-with-some-external-device/1166>\
**Category:** Technical Questions\
**Tags:** sockets\
**Created:** [September 8, 2017, 2:13pm UTC](https://forum.universal-robots.com/t/communicate-ur-with-some-external-device/1166 "2017-09-08T14:13:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon91084387](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon91084387](https://forum.universal-robots.com/u/anon91084387)\
**Post date:** [September 8, 2017, 2:13pm UTC](https://forum.universal-robots.com/t/communicate-ur-with-some-external-device/1166/1 "2017-09-08T14:13:14Z")

</div>

Hello,  
I’m trying to communicate UR with some external device. I know that I can use UDP communication, and i found some information that it is possible with socket. But I wasn’t able to open socket communication unfortunately.  
I did manage to configure UR + comera controler with socket communication earlier so I’m pretty confident that I know how to do it.

My question is if maybe some of you did try to communicate with devices like that or used some UDP communication?  
I’ve attached some documentation.

Thank you for your help.

[UDC\_Comm.pdf](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/1X/5a271bb52989b91dd9e9715790974d3a2d9fe84d.pdf) (277.2 KB)

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [September 8, 2017, 5:01pm UTC](https://forum.universal-robots.com/t/communicate-ur-with-some-external-device/1166/2 "2017-09-08T17:01:58Z")

</div>

I’m not an expert but I believe that UR only supports TCP socket communications, UDP and TCP are not the same protocol.

I’ve used the socket connection within the UR extensively to cameras as well as our own server but everything is using TCP protocol.

Is the camera that you successfully connected to UDP or TCP?

---

<div class="post-metadata">

**Author:** ![anon91084387](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon91084387](https://forum.universal-robots.com/u/anon91084387)\
**Post date:** [September 12, 2017, 7:27am UTC](https://forum.universal-robots.com/t/communicate-ur-with-some-external-device/1166/3 "2017-09-12T07:27:51Z")

</div>

You’r right. I’ve connected to the camera with TCP Socket communication.  
I’ve thought that maybe UDP i somehow compatible with TCP.

So I think I’ll have to find another way to communicate with that device. But thank you very much for contribution.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [January 27, 2021, 2:04am UTC](https://forum.universal-robots.com/t/communicate-ur-with-some-external-device/1166/5 "2021-01-27T02:04:33Z")

</div>

Closed on January 27, 2021, 2:04am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
