favalex / modbus-cli

Command line tool to access Modbus devices
Mozilla Public License 2.0
158 stars 30 forks source link

Added flags to force use of multiple write functions. #18

Closed crashkopf closed 1 year ago

crashkopf commented 1 year ago

Fixes #17 This adds uppercase 'H' and 'C' to the modbus types. Using either of these will force an access to use the multiple write function (0x10 or 0x0F). I know it makes the access syntax a little uglier, but it was the most straight-forward solution I could come up with.