I have a few registers to read using modbus flex:
To avoid modbus congestion,can anyone help me generate a sequence of registers/quantity to have as little queries as possible ?
For example :
numbers = [10,11,12,18,500,501,505]
should generate only 2 queries :
address 10 quantity 9
address 500 quantity 6