goburrow / modbus

Fault-tolerant implementation of modbus protocol in Go (golang)
BSD 3-Clause "New" or "Revised" License
936 stars 366 forks source link

reading of holding register limited to 125 bytes #67

Closed pdorrestijn closed 4 years ago

pdorrestijn commented 4 years ago

Reading quantity for holding register (and others) are limited. Not sure why this is limited, but I would like to read quite some more. Can I change this? Are there any limitations?

pdorrestijn commented 4 years ago

p.s. this would be over tcp/ip

pdorrestijn commented 4 years ago

Ah, just found my answer: modbus message size may not exceed 255 bytes....

askfiy commented 1 year ago

I also encountered this problem, is there any good solution? @pdorrestijn