# Max devices Modbus TCP driver

**URL:** <https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270>\
**Category:** Ignition\
**Created:** [October 19, 2018, 9:59am UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270 "2018-10-19T09:59:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![denis.palomanes](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@denis.palomanes](https://forum.inductiveautomation.com/u/denis.palomanes)\
**Post date:** [October 19, 2018, 9:59am UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/1 "2018-10-19T09:59:27Z")

</div>

Hello,

How many devices of Modbus TCP drivers can be created?

Can I have 77 modbus TCP devices(I will read around 260 tags from each PLC (20.000 OPC tags in total))?

In the project I have around 160.000 tags( Memory tags, expression tags, OPC tags…)

I am using Ignition 7.9.7 (64 bit)

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 19, 2018, 11:34am UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/2 "2018-10-19T11:34:54Z")

</div>

> [@denis.palomanes](#):
>
> Can I have 77 modbus TCP devices(I will read around 260 tags from each PLC (20.000 OPC tags in total))?

Yes, no problem.

There's no intentional limit to the number of devices, but the current design probably makes the practical limit somewhere around a couple thousand.

---

<div class="post-metadata">

**Author:** ![denis.palomanes](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@denis.palomanes](https://forum.inductiveautomation.com/u/denis.palomanes)\
**Post date:** [October 19, 2018, 2:19pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/3 "2018-10-19T14:19:19Z")

</div>

Hi!,

When you say “a couple thousand” did you refers to “devices” or “OPC tags”?

Thank you!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 19, 2018, 2:26pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/4 "2018-10-19T14:26:38Z")

</div>

> [@denis.palomanes](#):
>
> When you say "a couple thousand" did you refers to "devices" or "OPC tags"?

I'm talking about a couple thousand devices.

---

<div class="post-metadata">

**Author:** ![denis.palomanes](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@denis.palomanes](https://forum.inductiveautomation.com/u/denis.palomanes)\
**Post date:** [October 19, 2018, 2:29pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/5 "2018-10-19T14:29:08Z")

</div>

Hi,

So It will possible to have 20.000 OPC tags (distributed in 77 devices)?

Thanks,

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 19, 2018, 2:30pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/6 "2018-10-19T14:30:10Z")

</div>

> [@denis.palomanes](#):
>
> So It will possible to have 20.000 OPC tags (distributed in 77 devices)?

Yes, that shouldn't be a problem.

---

<div class="post-metadata">

**Author:** ![denis.palomanes](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@denis.palomanes](https://forum.inductiveautomation.com/u/denis.palomanes)\
**Post date:** [October 19, 2018, 2:40pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/7 "2018-10-19T14:40:16Z")

</div>

Ok, thank you so much!

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [April 8, 2025, 3:12pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/8 "2025-04-08T15:12:36Z")

</div>

Hi Kevin,  
I have 3500 Modbus RTU-OverTCP Devices with 250 TAGs each at 30sec scan rate with 20% of the TAGs changing in every scan.  
I'm thinking of an architecture of 5 backend servers and 5 frontend servers, what do you think?

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2025, 3:20pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/9 "2025-04-08T15:20:51Z")

</div>

That should be plenty. If the backend servers are strictly just acting as OPC servers or IO servers or whatever then you might not even need 5.

How many frontend servers you need is not really related to the number of devices.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2025, 4:44pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/10 "2025-04-08T16:44:06Z")

</div>

What actually worries me is that it's RTU-over-TCP - this tends to be a pretty unreliable setup...

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [April 8, 2025, 4:44pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/11 "2025-04-08T16:44:22Z")

</div>

Thanks for the answer Kevin.  
Let me see if I understand correctly. Are you saying that an Ignition Gateway acting as an IO server (platform+tagHistorian+alarm) is capable of collecting data from at least 1000 MbusRTU devices without any issues?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2025, 4:45pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/12 "2025-04-08T16:45:50Z")

</div>

Yes, the only real issue with 1000 devices would be how difficult it is to configure and manage them, and perhaps how much log entries they will generate.

But it's not uncommon that we see Gateways with ~1000 Modbus devices.

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [April 8, 2025, 4:46pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/13 "2025-04-08T16:46:51Z")

</div>

hummm what do you mean with "unreliable"?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2025, 4:48pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/14 "2025-04-08T16:48:49Z")

</div>

Modbus RTU over TCP is basically a made up variation of Modbus that takes an inherently unframed payload (Modbus RTU) and puts it on a transport that requires framing.

So implementations have to be heuristic / state machine driven.

On top of this, it usually means you're talking over something like a brainless ethernet-to-serial unit or modem.

and there's absolutely no protection from accidentally polling from multiple masters, which is absolutely not supported with RTU-over-TCP.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 8, 2025, 4:51pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/15 "2025-04-08T16:51:19Z")

</div>

To make Modbus RTU over TCP even close to reliable, you need to configure the ethernet to serial converter to buffer properly, or you simply cannot meet RTU timing standards. See the appendix for Moxa devices in my alternate driver's user manual.

(My alternate driver is also _ **much** _ nicer to your gateway logs.)

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [April 8, 2025, 4:52pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/16 "2025-04-08T16:52:28Z")

</div>

Okay, I understand your point, and you're 100% right.

What if I use Modbus Bridge to convert from ModbusRTU to ModbusTCP instead of an Ethernet-to-serial device?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2025, 4:52pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/17 "2025-04-08T16:52:59Z")

</div>

That's much more reliable, but at 3500 devices may be cost prohibitive unless you have them already...

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [April 8, 2025, 4:56pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/18 "2025-04-08T16:56:24Z")

</div>

Luckily, we already have them. We use RDL3000 Redline Radios, which are capable of functioning as Ethernet-to-serial devices or Modbus bridges.

---

<div class="post-metadata">

**Author:** ![Andres\_Rossi](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Andres\_Rossi](https://forum.inductiveautomation.com/u/Andres_Rossi)\
**Post date:** [April 8, 2025, 4:57pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/19 "2025-04-08T16:57:03Z")

</div>

> [@pturmel](#):
>
> \*\*\* To make Modbus RTU over TCP even close to reliable, you need to configure the ethernet to serial converter to buffer properly, or you simply cannot meet RTU timing standards. See the appendix for Moxa devices in my alternate driver's user manual.
> 
> (My alternate driver is also _ **much** _ nicer to your gateway logs.)\*\*\*

Hi Phil, you mean the Advanced Modbus driver?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 8, 2025, 5:13pm UTC](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270/20 "2025-04-08T17:13:43Z")

</div>

> [@Andres\_Rossi](#):
>
> the Advanced Modbus driver?

Yes.

[Next page](https://forum.inductiveautomation.com/t/max-devices-modbus-tcp-driver/20270.md?page=2)
