modbus4j icon indicating copy to clipboard operation
modbus4j copied to clipboard

How to write multi values that are not continuous in one request?

Open zhtisi opened this issue 5 years ago • 1 comments

I want to write multiple values( not continuous ) to one modbus slave. For example, I want to write 1 to offset 1, 2 to offset 5, 3 to offset 10. In order to do this, I can only send three requests. But doing this is much slower than sending one request, especially when there are a lot of offsets to be written. Is there any way to write multi values that are not continuous in just one request?

Or is there any other way to fulfill this requirement(write multi values that are not continuous quickly) ?

zhtisi avatar May 19 '20 06:05 zhtisi

怎么解决的

jdzhang1221 avatar Oct 23 '24 15:10 jdzhang1221