27.01.2016, 09:03
(27.01.2016, 07:12)admin Wrote: Try this, since the resulting value has to be multiplied by 0.001, bus_datatype field has to be set to float32, but datatype field (which tells what kind of data is read from ModBus) should be set to int32.
Code:{ "manufacturer": "satec", "description": "PM", "mapping": [ { "name": "PF_L1", "bus_datatype": "float32", "datatype": "int32", "type": "register", "value_multiplier": 0.001, "address": 13342 } ] }
Thanks for fast reply. I think now the received value is not real ( screenshot in attachment). Value for power factor must be from -1000 to 1000 when is not multiplied.