21.03.2017, 14:34
Are you sure it's float16 on ModBus side? float16 is KNX-specific datatype and I've only seen one ModBus AC unit which has it as register value. Also, second mb:readregistervalue() parameter must be a string, not a dt.something. Do you have documentation for your ModBus device?