{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Ginlong",
  "model": "Solis PV",
  "models": ["Solis PV"],
  "vendor_website": "ginlong.com",
  "revision": 2,
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table ginlong/solis-pv; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/ginlong-solis-pv.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Ginlong Solis PV.",
    "Converted automatically from the Modbus Database (MIT licence, Jibril Sharafi).",
    "Not verified against the manufacturer's documentation. The byte order is a guess: the source does not give one.",
    "Corrections are welcome (CONTRIBUTING.md). Change x_status once this table has been checked against the manual."
  ],
  "byte_order": "big",
  "word_order": "big",
  "address_base": 0,
  "x_status": "unofficial",
  "x_origin": "modbus-database",
  "registers": [
    {"name": "System time year", "area": "holding", "address": 3021, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "System time month", "area": "holding", "address": 3022, "type": "uint16", "access": "R"},
    {"name": "System time day", "area": "holding", "address": 3023, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "System time (3024)", "area": "holding", "address": 3024, "type": "uint16", "access": "R"},
    {"name": "System time (3025)", "area": "holding", "address": 3025, "type": "uint16", "access": "R"},
    {"name": "System time second", "area": "holding", "address": 3026, "type": "uint16", "access": "R"},
    {"name": "Inverter total power generation", "area": "holding", "address": 3028, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "Inverter power generation in the month", "area": "holding", "address": 3030, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "Inverted last month's power generation", "area": "holding", "address": 3032, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "Inverter power generation today", "area": "holding", "address": 3034, "type": "uint16", "unit": "kW", "access": "R"},
    {"name": "Inverter yesterday's power generation", "area": "holding", "address": 3035, "type": "uint16", "unit": "kW", "access": "R"},
    {"name": "Inverter power generation this year", "area": "holding", "address": 3036, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "Inverter last year's power generation", "area": "holding", "address": 3038, "type": "uint32", "unit": "kW", "access": "R"},
    {"name": "Dc voltage 1", "area": "holding", "address": 3048, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Dc current 1", "area": "holding", "address": 3049, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Dc voltage 2", "area": "holding", "address": 3050, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Dc current 2", "area": "holding", "address": 3051, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Dc voltage 3", "area": "holding", "address": 3052, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Dc current 3", "area": "holding", "address": 3053, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Dc voltage 4", "area": "holding", "address": 3054, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Dc current 4", "area": "holding", "address": 3055, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Total dc output power", "area": "holding", "address": 3056, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Dc bus voltage", "area": "holding", "address": 3070, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Dc bus half voltage", "area": "holding", "address": 3071, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Ab line voltage / phase A voltage", "area": "holding", "address": 3072, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Bc line voltage / phase B voltage", "area": "holding", "address": 3073, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Ca line voltage / C phase voltage", "area": "holding", "address": 3074, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Phase A current", "area": "holding", "address": 3075, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Phase B current", "area": "holding", "address": 3076, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Phase C current", "area": "holding", "address": 3077, "type": "uint16", "unit": "A", "access": "R"},
    {"name": "Active power", "area": "holding", "address": 3078, "type": "int32", "unit": "W", "access": "R"},
    {"name": "Apparent power", "area": "holding", "address": 3082, "type": "int32", "unit": "V", "access": "R"},
    {"name": "National standard", "area": "holding", "address": 3091, "type": "uint16", "access": "R"},
    {"name": "Inverter temperature", "area": "holding", "address": 3092, "type": "uint16", "access": "R"},
    {"name": "Grid frequency", "area": "holding", "address": 3093, "type": "uint16", "unit": "Hz", "access": "R"},
    {"name": "Current state of the inverter", "area": "holding", "address": 3094, "type": "uint16", "access": "R"},
    {"name": "Actual power (3103)", "area": "holding", "address": 3103, "type": "uint16", "access": "R"},
    {"name": "Actual power (3104)", "area": "holding", "address": 3104, "type": "int16", "access": "R"},
    {"name": "Set the flag bit", "area": "holding", "address": 3114, "type": "uint16", "access": "R"},
    {"name": "Electricity meter total active power generation", "area": "holding", "address": 3125, "type": "uint32", "unit": "Wh", "access": "R"},
    {"name": "Meter voltage", "area": "holding", "address": 3127, "type": "uint16", "access": "R"},
    {"name": "Meter current", "area": "holding", "address": 3128, "type": "uint16", "access": "R"},
    {"name": "Meter active power", "area": "holding", "address": 3129, "type": "int32", "access": "R"},
    {"name": "Energy storage control switch", "area": "holding", "address": 3131, "type": "uint16", "access": "R"},
    {"name": "Battery voltage", "area": "holding", "address": 3132, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Battery current", "area": "holding", "address": 3133, "type": "int16", "unit": "A", "access": "R"},
    {"name": "Battery current direction", "area": "holding", "address": 3134, "type": "uint16", "access": "R"},
    {"name": "Llcbus voltage", "area": "holding", "address": 3135, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Bypassac voltage", "area": "holding", "address": 3136, "type": "uint16", "unit": "V", "access": "R"},
    {"name": "Bypass ac current", "area": "holding", "address": 3137, "type": "uint16", "unit": "A", "access": "R"}
  ]
}
