# Add delay between Polls for devices in Modbus RTU

**URL:** <https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591>\
**Category:** Ignition\
**Created:** [November 12, 2020, 5:01pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591 "2020-11-12T17:01:49Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 9, 2020, 4:05am UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/21 "2020-12-09T04:05:20Z")

</div>

Hi Phil  
It’s games changer for specially when you add slave mode in ignition.  
Could I know the price?  
Does your serial lib work in ARM like raspberry PI?

---

<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:** [December 9, 2020, 12:10pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/22 "2020-12-09T12:10:26Z")

</div>

> [@nader.chinichian](#):
>
> Could I know the price?

Tentatively, $400.

> [@nader.chinichian](#):
>
> your serial lib work in ARM

It should. It is in the list:

> **[jSerialComm](http://fazecast.github.io/jSerialComm/)**
>
> jSerialComm : Platform-independent serial port access for Java

Note that this is the same library that IA switched to in the midst of v8.0, and made part of the platform before v8.1 came out. I'll be leveraging that when I release support for v8.1.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 10, 2020, 4:49am UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/23 "2020-12-10T04:49:32Z")

</div>

I test that lib and it works.  
Can we have separate timeout setting for each ID on the same serial link?  
Can we access setting via opc ua? Like timeout and dynamicly change it?

---

<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:** [December 10, 2020, 12:56pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/24 "2020-12-10T12:56:09Z")

</div>

No, the timeout is per-link. Sorry. But the minimum time between requests is per-unit.

No, the architecture requires the settings be in place at device startup, so they are part of the settings record.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [February 5, 2023, 11:21am UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/25 "2023-02-05T11:21:42Z")

</div>

Does this RS-485 Mode new feature solve this issue in v8.1.25 rc1?

> Added an "RS-485 mode" setting to Modbus RTU driver.

---

<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:** [February 5, 2023, 1:13pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/26 "2023-02-05T13:13:12Z")

</div>

No, just turns on “RS-485 Mode” on the underlying serial library, which I think just enables tx/rcv on the RTS pin.

---

<div class="post-metadata">

**Author:** ![etheng](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@etheng](https://forum.inductiveautomation.com/u/etheng)\
**Post date:** [July 6, 2024, 12:02pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/27 "2024-07-06T12:02:55Z")

</div>

I also want to read 25 power analyzers with rs485 communication. I can read sequentially into the TGW 700 (modbus rtu to tcp) gateway and into Kepserver.  
Is it possible to read this directly with Ignition?

---

<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:** [July 6, 2024, 12:51pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/28 "2024-07-06T12:51:05Z")

</div>

Should be possible. Have you tried? (Ignition's two-hour free trial mode should let you confirm this on your hardware.)

---

<div class="post-metadata">

**Author:** ![etheng](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@etheng](https://forum.inductiveautomation.com/u/etheng)\
**Post date:** [July 7, 2024, 9:45am UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/30 "2024-07-07T09:45:07Z")

</div>

I think it doesn't work, I did many tests.  
"In queries on Kepserver"  
ID1 - query-answer  
wait 1 second  
ID2 -  
wait 1 second  
ID3 -  
wait 1 second  
ID4 -  
wait 1 second  
........  
ID25  
I can do this in Kepserver.

"Queries in Ignition"  
The device becomes busy. Where should I set the waiting time?

---

<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:** [July 7, 2024, 12:43pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/31 "2024-07-07T12:43:50Z")

</div>

Ignition's native driver doesn't have such an option. My alternate driver (linked above) has something close to that, that forces a delay between requests **to the same ID**. Note that you'll need to have all of your tags in a tag group that is set to 25000 ms pace.

---

<div class="post-metadata">

**Author:** ![danw1](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@danw1](https://forum.inductiveautomation.com/u/danw1)\
**Post date:** [September 7, 2025, 2:23am UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/32 "2025-09-07T02:23:37Z")

</div>

For anyone finding this, note that the Modbus Broadcast function using slave ID zero supports a write function code only, like when Lt. Rip Masters (of Rin Tin Tin fame) tells the sergeant to get the cavalry troops mounted up and the Sergeant yells out, “Saddle up, men”. The sergeant is not expecting a reply and neither is the Modbus RS-485 bus, the expectation is the completion of some universal action. An RS-485 bus would be chaos with multiple slaves attempting to reply all at once.

---

<div class="post-metadata">

**Author:** ![danw1](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@danw1](https://forum.inductiveautomation.com/u/danw1)\
**Post date:** [September 7, 2025, 2:24am UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/33 "2025-09-07T02:24:15Z")

</div>

[https://modbus.org/docs/Modbus\_over\_serial\_line\_V1.pdf](https://modbus.org/docs/Modbus_over_serial_line_V1.pdf)

> In broadcast mode, the master can send a request to all slaves.  
> No response is returned to broadcast requests sent by the master. The broadcast requests are necessarily writing commands. All  
> devices must accept the broadcast for writing function. The address 0 is reserved to identify a broadcast exchange.

---

<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:** [September 7, 2025, 12:29pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/34 "2025-09-07T12:29:12Z")

</div>

I'm aware. Due to shared code between serial Modbus and Modbus TCP, I don't actually support broadcasts on unit zero. (Modbus TCP expects unit zero to work like any other unit.)

---

<div class="post-metadata">

**Author:** ![brian.mcenulty](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Post date:** [January 14, 2026, 7:20pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/35 "2026-01-14T19:20:19Z")

</div>

I’m looking at an application where we have 6 slave devices connected to a gateway, some of which are through slower radio links. We’re trying to control the rate at which the tags are polled and hoping to scan each device in a round-robin to avoid overwhelming the modbus gateway. From this post and from the documentation, it does appear that your driver handles the round-robin nature of the scanning internally.

We’ve done some testing and so far the results are promising however the relationship between the Tag Group, Timeout Delay (device setting) and Request Delay (Slave device) aren’t clear to me. With the settings for two of the slave devices listed below, I’m seeing requests/responses between the Ignition and Modbus gateways in the ~150ms range. The tags associated with each slave device are on their own direct tag group, both set to 2 seconds. With this and the 1000ms request delay, I would expect more along the lines of a 3 second delay.

If I increase the tag group to 25 seconds, I’ll see responses come in at around 25-28 seconds in wireshark. It seems like the tag group has more of an influence at this rate than it does at a faster rate.

If the goal is to poll each device at a predictable rate, say 5 seconds, is there anything special that needs to be set up in terms of tag groups or device configuration?

- Gateway
  - Timeout Delay - 3000ms
  - Devices
    - ID28
      - Request Delay - 1000ms

    - ID31
      - Request Delay - 1000ms

---

<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:** [January 14, 2026, 7:36pm UTC](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591/36 "2026-01-14T19:36:05Z")

</div>

> [@brian.mcenulty](#):
>
> If the goal is to poll each device at a predictable rate, say 5 seconds

Set your tag groups to 5000ms. This sets how fast Ignition will **try** to read the tags.

Set your request delay (per unit) to get the desired spread for each unit, if necessary. This limits how hard that specific unit can be hammered.

Your timeout might need to be shorter, as a timeout stalls the entire link.

The delay and timeout settings cannot make the link go faster. They can only make things go slower.

Also, if your gateway is presenting Modbus **TCP** , make sure concurrency is set to **1**.

[Previous page](https://forum.inductiveautomation.com/t/add-delay-between-polls-for-devices-in-modbus-rtu/40591.md?page=1)
