# RS-232 to Ethernet or RS-232 to USB Serial communication

**URL:** <https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815>\
**Category:** Robot Communication\
**Created:** [November 10, 2020, 1:16am UTC](https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815 "2020-11-10T01:16:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash020212](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@ash020212](https://forum.universal-robots.com/u/ash020212)\
**Post date:** [November 10, 2020, 1:16am UTC](https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815/1 "2020-11-10T01:16:08Z")

</div>

Hello,

I think UR CBseries robots can read serials using an RS-232 converter. Is this possible?  
Also, should I use the script function of the UR robot to use this signal?

Thanks

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [November 10, 2020, 2:10am UTC](https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815/2 "2020-11-10T02:10:35Z")

</div>

Hi @ash020212,

Yes you can plug a USB to serial convertor into one of the USB slots on the motherboard inside the robot controller. The data wouldn’t be directly accessible by URscript. You’d need to write a script (python would be easiest) to interface with the port in the Linux system, then pass it the data into the robot program using RTDE, XMLRPC etc.

---

<div class="post-metadata">

**Author:** ![ash020212](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@ash020212](https://forum.universal-robots.com/u/ash020212)\
**Post date:** [November 10, 2020, 2:30am UTC](https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815/3 "2020-11-10T02:30:28Z")

</div>

thank you for the reply.

Another question is, can I use an RS-232 to Ethernet converter to read the serial signal with the UR script function without using another device?

Also, is there any other way to read the serial signal from the UR robot?

Thanks.

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [November 10, 2020, 2:55am UTC](https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815/4 "2020-11-10T02:55:47Z")

</div>

I’ve never tried an RS232 to Ethernet converter, but it looks like it could be feasible.

There isn’t any way to directly access RS232 data in URScript.

---

<div class="post-metadata">

**Author:** ![msysum](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@msysum](https://forum.universal-robots.com/u/msysum)\
**Post date:** [November 11, 2020, 4:56pm UTC](https://forum.universal-robots.com/t/rs-232-to-ethernet-or-rs-232-to-usb-serial-communication/9815/5 "2020-11-11T16:56:35Z")

</div>

There is a video on You tube describing exactly what your looking for using and Moxa Nport. You execute script commands to the socket connection. [Universal Robots Serial - Moxa NPort - YouTube](https://youtu.be/3CoxCp1_kFs) I have no affiliation with axis new england but in my case I found this helpful. No need for URcap I hope this helps
