This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Scale factor on a modbus address
#7
(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!
Reply


Messages In This Thread
RE: Scale factor on a modbus address - by Kilogica - 05.02.2021, 13:59

Forum Jump: