19.11.2020, 10:21
You cannot read more than 125 registers (250 bytes) at once, this is defined in modbus standard.
In the profile you can specify read_count / read_offset fields to read a large block at once. For each register within the same block read_count and address fields must be the same, read_offset tells where the actual data is stored (final address = base address + read_offset).
When using luamodbus directly it will do one read with the specified length.
In the profile you can specify read_count / read_offset fields to read a large block at once. For each register within the same block read_count and address fields must be the same, read_offset tells where the actual data is stored (final address = base address + read_offset).
When using luamodbus directly it will do one read with the specified length.