AdvancedClimateSystems / uModbus

Python implementation of the Modbus protocol.
Mozilla Public License 2.0
211 stars 81 forks source link

Adding support for string datatype #95

Closed akshaykhushu closed 4 years ago

akshaykhushu commented 4 years ago

Is there any plan of adding support for string datatype to uModbus?

If not are there any other libraries like uModbus with support for string?

OrangeTux commented 4 years ago

Modbus doens't have a string type. Only uint16 (registers) and booleans (coils). So no, uModbus won't implement a string type. If you want to send strings you need to implement them self on on top of uint16 and/or coils.