# Connect UR Robot with Keyence KV8000 PLC using modbus TCP/IP

**URL:** <https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354>\
**Category:** Robot Communication\
**Created:** [December 26, 2021, 9:07am UTC](https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354 "2021-12-26T09:07:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon49794731](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@anon49794731](https://forum.universal-robots.com/u/anon49794731)\
**Post date:** [December 26, 2021, 9:07am UTC](https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354/1 "2021-12-26T09:07:02Z")

</div>

Hi. I am using a Keyence KV 8000 PLC communicating with UR5e Robot through Modbus TCP/IP. The PLC is Modbus client and the robot is Modbus Server. I have successfully open socket KV8000 and connected to the robot. When I try to send read holding register command to the robot. PLC receive error which indicates that Communication Destination Closed. May I know how to solve this error?

---

<div class="post-metadata">

**Author:** ![sya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sya/32/216_2.png) [@sya](https://forum.universal-robots.com/u/sya)\
**Post date:** [December 26, 2021, 11:58am UTC](https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354/2 "2021-12-26T11:58:44Z")

</div>

Hi @anon49794731,

I do not have the experience in using modbus tcp with Keyence PLC. Perhaps, you could share more info. or materials about how to use the PLC in modbus TCP. As I know, there is also specific Keyence communication module to provide the modbus TCP function. Are you using this specific module or just using the embedded Ethernet port with special function block to achieve the modbus TCP? If any, welcome to share these documents.

About the modbus server in UR, the server is activated all the time and one thing worthwhile to mention is that you may need to add 4000 to the address offset in order to read/write the correct address.

Please read this article to see whether this is helpful.

[https://www.universal-robots.com/articles/ur/interface-communication/modbus-server/](https://www.universal-robots.com/articles/ur/interface-communication/modbus-server/)

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

---

<div class="post-metadata">

**Author:** ![anon49794731](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@anon49794731](https://forum.universal-robots.com/u/anon49794731)\
**Post date:** [December 27, 2021, 5:00am UTC](https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354/3 "2021-12-27T05:00:48Z")

</div>

I have successfully communicate the robot. Thank you very much on your advice and support

---

<div class="post-metadata">

**Author:** ![sya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sya/32/216_2.png) [@sya](https://forum.universal-robots.com/u/sya)\
**Post date:** [December 27, 2021, 6:59am UTC](https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354/4 "2021-12-27T06:59:04Z")

</div>

@anon49794731 , OK but what is the key to solve your problem?

---

<div class="post-metadata">

**Author:** ![anon49794731](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@anon49794731](https://forum.universal-robots.com/u/anon49794731)\
**Post date:** [December 28, 2021, 2:18am UTC](https://forum.universal-robots.com/t/connect-ur-robot-with-keyence-kv8000-plc-using-modbus-tcp-ip/18354/5 "2021-12-28T02:18:19Z")

</div>

HI,

I have successfully comm the UR Robot.

Thank you for your advice and support.

Regards,

Wong Yau Yun

Software & Control Enigneer

![image001.png](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/74fe85a312f76a660c8f533722d7b43349605e8f.png)

No.9, Kaki Bukit Road 1 #02-06/07/08

Eunos Technolink, Singapore 415938

Tel : (65) 67488007

Hp : (65) 84147860

Fax : (65) 67489232

Web : [www.yac.com.sg](http://www.yac.com.sg/); [www.yac.co.jp](http://www.yac.co.jp/)

![~WRD0000.jpg](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/52d5f1c08649212fe6768d2cacdcf8df711810d9.jpeg)
