05.02.2021, 13:59
(05.02.2021, 13:00)admin Wrote: Try adding "internal":true to the scaling register entry. Keep in mind that you have to create modbus device from scratch if profile is changed.
Example from a working profile:
Code:{
"address_scale":140,
"bus_datatype":14,
"address":28,
"value_nan":[
65535,
65535
],
"type":"register",
"units":"VArh",
"value_multiplier":1000,
"name":"Reactive Energy",
"datatype":"uint32"
},
{
"internal":true,
"bus_datatype":13,
"address":140,
"value_nan":[
32768
],
"type":"register",
"name":"Scale Factor for Energy",
"datatype":"int16"
},
It works! Thanks a lot!