13.02.2017, 07:25
In your mapping each register belonging to a block that you want to read at once should have the same address and read_count value. The real ModBus address is set by the read_offset parameter. This way each block is read only once and then cached, so every other register value belonging to the same block is taken from cache without any sending anything to the slave.