23.01.2018, 14:24
(This post was last modified: 23.01.2018, 17:52 by tormod@hoyemweb.no.)
Problem 3:
I have an int32 value that is split up into two int16 and i can't get the value i need. I have tried read_offset 0 and 1 and value_nan but i don't realy get it.... Is there an other method?
I have an int32 value that is split up into two int16 and i can't get the value i need. I have tried read_offset 0 and 1 and value_nan but i don't realy get it.... Is there an other method?
Code:
{
"manufacturer": "xxx",
"description": "xxx",
"mapping":[
{ "address": 1005, "name": "320000.IE001.PV1", "read_offset": 1, "bus_datatype": "float16", "datatype": "float32",
"value_multiplier": 0.1, "units": " kW"},
{ "address": 1006, "name": "320000.IE001.PV2", "read_offset": 1, "bus_datatype": "float16", "datatype": "float32",
"value_multiplier": 0.1, "units": " °C"},
{ "address": 1007, "name": "320000.IE001.PV3", "read_offset": 1, "bus_datatype": "float16", "datatype": "float32",
"value_multiplier": 0.1, "units": " °C"}
]
}