# HiveMQ-Edge Modbus polling rate

**URL:** <https://community.hivemq.com/t/hivemq-edge-modbus-polling-rate/2316>\
**Category:** Uncategorized\
**Created:** [August 25, 2023, 11:21am UTC](https://community.hivemq.com/t/hivemq-edge-modbus-polling-rate/2316 "2023-08-25T11:21:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blabladudelioe](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@blabladudelioe](https://community.hivemq.com/u/blabladudelioe)\
**Post date:** [August 25, 2023, 11:21am UTC](https://community.hivemq.com/t/hivemq-edge-modbus-polling-rate/2316/1 "2023-08-25T11:21:57Z")

</div>

Hi all!  
When configurin a modbus adapter, there is no option to set the rate at which the modbus device is being polled. Is this a fixed rate or is it mabe defined by the publishing interval?

Thanks!

---

<div class="post-metadata">

**Author:** ![AaronTLFranz](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/aarontlfranz/32/638_2.png) [@AaronTLFranz](https://community.hivemq.com/u/AaronTLFranz)\
**Post date:** [August 28, 2023, 2:42pm UTC](https://community.hivemq.com/t/hivemq-edge-modbus-polling-rate/2316/2 "2023-08-28T14:42:38Z")

</div>

Hello @blabladudelioe ,

Thank you for the outreach!

I do believe the publishing interval you have describe here is the configuration option you are looking for. Specifically, within the [documentation](https://github.com/hivemq/hivemq-edge/wiki/Protocol-adapters#modbus-tcp-adapter) for HiveMQ Edge, “The connection will sample the ModBus slave on a sampling time specified by the configuration.” This would be defined by the publishingInterval configuration option, defined as ‘Time in milliseconds between sampling’.

Let us know if you have any further questions - we’re always happy to assist!

Best,  
Aaron from the HiveMQ Team

---

<div class="post-metadata">

**Author:** ![blabladudelioe](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@blabladudelioe](https://community.hivemq.com/u/blabladudelioe)\
**Post date:** [August 29, 2023, 5:54am UTC](https://community.hivemq.com/t/hivemq-edge-modbus-polling-rate/2316/3 "2023-08-29T05:54:22Z")

</div>

Thanks @AaronTLFranz for the clarification!
