Modbus TCP multiple read and writes

I have been using tom's Modbus TCP blog article to develop a local Modbus TCP network with 4 servers and 1 client that displays data and gets setpoints on a Nextion screen, and it works fine but quite slow when the client reads individually input registers (or writes individually holding registers, but this is a lesser problem), so I have been looking for a solution to read multiple input registers on Modbus TCP and came across requestFrom() and read(), but no luck to day to get them to read the 45 input registers every server leaves at the disposal of the client.

Any ideas welcome, I'll keep digging and keep you posted if I find something.

Didier, DG2R

Didier DORGUIN
Didier DORGUIN
172
| 4 1 3
Asked on 5/25/21, 4:16 AM
0
vote
1232 Views

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

63 follower(s)

Stats

Asked: 5/25/21, 4:16 AM
Seen: 1232 times
Last updated: 5/25/21, 4:16 AM