vapor-ware / synse-modbus-ip-plugin

Modbus over TCP/IP plugin for Synse
GNU General Public License v3.0
2 stars 3 forks source link

Aggregate reads to avoid round trips. #20

Closed MatthewHink closed 5 years ago

MatthewHink commented 5 years ago

We can id modbus devices by ip and port. When we need to read registers that are sequentially addressed, we can perform those reads in one round trip and unpacking the results. This will help from overwhelming small modbus devices.

We can do this with writes as well, but writes are far more infrequent.

MatthewHink commented 5 years ago

Fixed: https://github.com/vapor-ware/synse-modbus-ip-plugin/commit/b2d54d77daef21e9187b92c049659fd81a8c5294