# Modbus TCP communication

**URL:** <https://forum.universal-robots.com/t/modbus-tcp-communication/29578>\
**Category:** Technical Questions\
**Created:** [July 18, 2023, 8:58pm UTC](https://forum.universal-robots.com/t/modbus-tcp-communication/29578 "2023-07-18T20:58:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![abalalimoghaddam](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@abalalimoghaddam](https://forum.universal-robots.com/u/abalalimoghaddam)\
**Post date:** [July 16, 2024, 8:19pm UTC](https://forum.universal-robots.com/t/modbus-tcp-communication/29578/4 "2024-07-16T20:19:14Z")

</div>

@abergeron thanks for sharing the code, it was helpful to get me started. It looks like you used this code to send some information from the Arduino to the Robot controller, right?

What I need to do is to send a couple of binary coils and a couple of analog registers to the Arduino so that it can control the stepper motors accordingly.

I am also running into some problems testing even the most basic Modbus setup with a simulator. I described [my problem in another post.](https://forum.universal-robots.com/t/modbus-basic-connection-to-simulator/35259)

Thank you!

---

_[View the full topic](https://forum.universal-robots.com/t/modbus-tcp-communication/29578)._
