# Connecting with multiple devices in modbus

**URL:** <https://discourse.nodered.org/t/connecting-with-multiple-devices-in-modbus/92434>\
**Category:** General\
**Tags:** modbus\
**Created:** [16 October 2024 10:53 UTC](https://discourse.nodered.org/t/connecting-with-multiple-devices-in-modbus/92434 "2024-10-16T10:53:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 October 2024 15:28 UTC](https://discourse.nodered.org/t/connecting-with-multiple-devices-in-modbus/92434/5 "2024-10-16T15:28:36Z")

</div>

> [@MHNYZ](#):
>
> this problem dose not refer to the modbus protocol and serial bus.

There is no way with a serial bus that you can talk to two devices at the same instant. The device sending a message streams a sequence of bits along the wire, it cannot send a stream of bits to one device and a stream to another at the same time. It is, of course, possible to send a message to one modbus device and get a reply, and then send a message to another modbus device, and then one to a third device, and so on.

> [@MHNYZ](#):
>
> on PCs or maybe industrial edge PCs it's possible to communicate with only one device over modbus?

Of course it is possible to communicate with more than one, but each transaction must be complete before the next is started.

Please describe exactly how you are trying to communicate with two devices. Select the nodes that do the communication (only a few nodes, we do not need the whole flow), use the menu Export facility to export to the clipboard, then paste the export here. In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/connecting-with-multiple-devices-in-modbus/92434)._
