Open nischu opened 2 months ago
From my perspective we can add these strange types if we do find a clear and unique name for those like Finder_T5_Float32
with good description of the layout and a link to the definition document.
Would you be able and willing to put up a PR?
Use Case
I am using power meters that provide measurement values using a Non-IEEE floating point formats:
Unsigned Measurement (32 bit):
Signed Measurement (32 bit)
I am looking for a way to configure/extend the modbus input plugin to handle these values.
Am I right that currently, only IEEE (signed) float values are supported? Can I just come up with new data_types like UFLOAT32 and MSIGN_FLOAT32 (as the mantissa holds the sign)?
I'd be able to implement it on my own, just checking what a sane convention would be.
Kind regards
nischu
Expected behavior
I would like the Modbus input plugin to generate correct floating point values
Actual behavior
I cannot really specify this custom data type
Additional info
https://cdn.findernet.com/app/uploads/Benutzerhandbuch_Typ_7M38_DE.pdf page 52