BiancoRoyal / node-red-contrib-modbus

maintained by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-modbus
BSD 3-Clause "New" or "Revised" License
278 stars 107 forks source link

Reconnect timeout for RTU slave behind gateway #446

Closed JeroenVanHoye closed 1 week ago

JeroenVanHoye commented 4 months ago

Describe the requested feature

When an RTU slave does not respond, it would be nice if requests to this specific slave only are suspended until the "RTU reconnect" timeout has passed.

Motivation

When polling multiple slaves behind a gateway at rapid pace and 1 slave is down, it interrupts all communications to this gateway. It would be nice to have other communications go on as normal and only retry a timed out slave ID every minute or so (for example). I thought this would be a nice addition to the configuration menu, or should i cover this problem in my project code?

biancode commented 3 months ago

Just an idea, with a gateway you could try the parallel UintId option to communicate per UnitId. Some gateways can handle that. Let me know if that works for you!

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. It will be closed in 30 days, but can be saved by removing the stale label or commenting.