Harjit

Results 6 comments of Harjit

Polling register is a hack & i do check the connection before trying write. The connection status is true. To tackle it more efficiently, can it be done by re-connecting...

Or Can we add a system.timer in the master library, which will keep the connection live by writing and reading on stream after 10 seconds. The write and read can...

> Polling a register is not a hack. Anyway, the right thing to do is to set the tcp timeout on your server to a sensible value, and/or prevent the...

> Well, if you plan to connect via modbus to a slave, you should at least be aware of one or more register addresses actually available on that slave. Don't...

> The issue here, IMHO, is that you have a timing-out *slave problem*, that you'd like to solve on the master. > > If so, why don't you just close...