# CLICK PLC Client Communication to Robot's Modbus TCP Server?

**URL:** <https://forum.universal-robots.com/t/click-plc-client-communication-to-robots-modbus-tcp-server/22899>\
**Category:** Robot Communication\
**Created:** [July 25, 2022, 11:17pm UTC](https://forum.universal-robots.com/t/click-plc-client-communication-to-robots-modbus-tcp-server/22899 "2022-07-25T23:17:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlocke](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mlocke](https://forum.universal-robots.com/u/mlocke)\
**Post date:** [July 25, 2022, 11:17pm UTC](https://forum.universal-robots.com/t/click-plc-client-communication-to-robots-modbus-tcp-server/22899/1 "2022-07-25T23:17:55Z")

</div>

Hello - Has anyone used an Automation Direct CLICK PLC as a Modbus client to communicate to the robot’s Modbus server?

I am trying to use the CLICK PLC’s receive/send instructions to read coils. I am following this guide:  
[https://www.universal-robots.com/articles/ur/interface-communication/modbus-server/](https://www.universal-robots.com/articles/ur/interface-communication/modbus-server/)

I am not having much luck though. I am able to have the robot act as the client and communicate with the CLICK PLC’s Modbus server, just not the other way around.

Any help would be much appreciated! Thanks!

---

<div class="post-metadata">

**Author:** ![m.hammerton](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@m.hammerton](https://forum.universal-robots.com/u/m.hammerton)\
**Post date:** [July 27, 2022, 8:37am UTC](https://forum.universal-robots.com/t/click-plc-client-communication-to-robots-modbus-tcp-server/22899/2 "2022-07-27T08:37:06Z")

</div>

mlocke,

What error code or colour does the Robot display on the Fieldbus Modbus page?

The UR has a limited number of Function codes available.

---

<div class="post-metadata">

**Author:** ![WattsUp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/wattsup/32/5732_2.png) [@WattsUp](https://forum.universal-robots.com/u/WattsUp)\
**Post date:** [July 27, 2022, 12:24pm UTC](https://forum.universal-robots.com/t/click-plc-client-communication-to-robots-modbus-tcp-server/22899/3 "2022-07-27T12:24:00Z")

</div>

I just set this exact system up last week.  
The addresses in the MODBUS server document are in DEC, Convert them to HEX to be used in the Click Receive function.

And if you do any with the Bits / words on the UR fieldbus setup, just note the address are off by 1. UR starts at 0, Click starts at 1.

For example, address 258 is robot status (stopped, idle, booting), convert to 102H and the click with read the status.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/b/b0392a6098ac95537d37af20a865c39fe0d281aa.png)
