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.

SolarEdge inverter
#14
(12.02.2020, 14:28)Daniel. Wrote: Just create new object. If you make 4byte bus data_type then LM object must have the same.
I did  a lot of modbus integration and scaling factor was never dynamic, this wouldn't make sense at all.

Initially I misunderstood, but I think I got it right this time. Unfortunately I still only get the value of the first register.
This is the profile as it is at the moment:
Code:
{
"manufacturer": "SolarEdge",
  "description": "SE6000 inverter",
  "mapping": [
  { "name": "I_AC_VoltageAN", "bus_datatype": "uint16", "type": "register", "address": 40079, "value_multiplier": 0.1},
  { "name": "I_AC_VoltageSF", "bus_datatype": "int16", "type": "register", "address": 40082},
  { "name": "I_AC_Power", "bus_datatype": "int16", "type": "register", "address": 40083},
  { "name": "I_AC_Power_SF", "bus_datatype": "int16", "type": "register", "address": 40084},
  { "name": "I_AC_Energy_WH", "bus_datatype": "float32", "data_type": "uint32", "type": "register", "address": 40093},
  { "name": "I_AC_Energy_WH_SF", "bus_datatype": "int16", "type": "register", "address": 40095}
  ]
}

The object's datatype is 4 byte floating point and I still only get the value of the first register.
As to the scaling factor: there always has to be a first time:  Wink I can see the scaling factor changing whenever the value of the data register reaches a certain value. The SF object switches between 32767 and 0...
Reply


Messages In This Thread
SolarEdge inverter - by baggins - 11.02.2020, 13:51
RE: SolarEdge inverter - by Daniel - 11.02.2020, 13:59
RE: SolarEdge inverter - by baggins - 11.02.2020, 14:24
RE: SolarEdge inverter - by admin - 11.02.2020, 14:58
RE: SolarEdge inverter - by baggins - 11.02.2020, 15:38
RE: SolarEdge inverter - by Daniel - 11.02.2020, 15:47
RE: SolarEdge inverter - by baggins - 12.02.2020, 12:55
RE: SolarEdge inverter - by Daniel - 12.02.2020, 13:02
RE: SolarEdge inverter - by baggins - 12.02.2020, 13:53
RE: SolarEdge inverter - by Daniel - 12.02.2020, 13:58
RE: SolarEdge inverter - by baggins - 12.02.2020, 14:25
RE: SolarEdge inverter - by admin - 12.02.2020, 14:24
RE: SolarEdge inverter - by Daniel - 12.02.2020, 14:28
RE: SolarEdge inverter - by baggins - 12.02.2020, 15:00
RE: SolarEdge inverter - by Daniel - 12.02.2020, 16:22
RE: SolarEdge inverter - by baggins - 12.02.2020, 16:48
RE: SolarEdge inverter - by admin - 12.02.2020, 16:35
RE: SolarEdge inverter - by admin - 12.02.2020, 17:01
RE: SolarEdge inverter - by baggins - 12.02.2020, 17:59
RE: SolarEdge inverter - by baggins - 13.02.2020, 09:04
RE: SolarEdge inverter - by Daniel - 13.02.2020, 09:08
RE: SolarEdge inverter - by baggins - 13.02.2020, 09:33
RE: SolarEdge inverter - by Daniel - 13.02.2020, 09:51
RE: SolarEdge inverter - by baggins - 13.02.2020, 10:04
RE: SolarEdge inverter - by baggins - 13.02.2020, 12:43
RE: SolarEdge inverter - by Joep - 20.04.2020, 14:49
RE: SolarEdge inverter - by baggins - 21.04.2020, 08:14
RE: SolarEdge inverter - by Joep - 21.04.2020, 15:14
RE: SolarEdge inverter - by Daniel - 13.02.2020, 12:46

Forum Jump: