Modbus - Reading dozens of non-contiguous addresses


#1

I will need to read dozens of non-contiguous modbus addresses and making dozens of different modbus read nodes does not make sense. Is there a better way to do this?


#2

Depending on how far apart the dozens of addresses are, sometimes it is more efficient to make one large request. Use the values in the specific registers you are interested in and ignore the rest. On several old control systems I used to work with, that had time/update rate concerns, it was better to make 1 request for 100 contiguous registers than to make 10 requests for 1 register each that were scattered throughout that address space.


#3

Thanks Glenn. I will experiment with requesting one large chunk.