{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Algodue",
  "model": "UPM215 / UPM310 / UPM315 / UPM3060 / UPM3080",
  "models": ["UPM215", "UPM310", "UPM315", "UPM3060", "UPM3080"],
  "vendor_website": "algodue.com",
  "revision": 2,
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table algodue/upm215-upm310-upm315-upm3060-upm3080; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/algodue-upm215-upm310-upm315-upm3060-upm3080.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Algodue UPM215 / UPM310 / UPM315 / UPM3060 / UPM3080.",
    "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 voltage", "area": "holding", "address": 4096, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "L N voltage phase 1", "area": "holding", "address": 4098, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "L N voltage phase 2", "area": "holding", "address": 4100, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "L N voltage phase 3", "area": "holding", "address": 4102, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "L L voltage line 12", "area": "holding", "address": 4104, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "L L voltage line 23", "area": "holding", "address": 4106, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "L L voltage line 31", "area": "holding", "address": 4108, "type": "float32", "unit": "mV", "access": "R"},
    {"name": "System current", "area": "holding", "address": 4110, "type": "float32", "unit": "mA", "access": "R"},
    {"name": "Phase 1 current", "area": "holding", "address": 4112, "type": "float32", "unit": "mA", "access": "R"},
    {"name": "Phase 2 current", "area": "holding", "address": 4114, "type": "float32", "unit": "mA", "access": "R"},
    {"name": "Phase 3 current", "area": "holding", "address": 4116, "type": "float32", "unit": "mA", "access": "R"},
    {"name": "System power factor", "area": "holding", "address": 4118, "type": "float32", "access": "R"},
    {"name": "Phase 1 power factor", "area": "holding", "address": 4120, "type": "float32", "access": "R"},
    {"name": "Phase 2 power factor", "area": "holding", "address": 4122, "type": "float32", "access": "R"},
    {"name": "Phase 3 power factor", "area": "holding", "address": 4124, "type": "float32", "access": "R"},
    {"name": "Phase order", "area": "holding", "address": 4126, "type": "float32", "access": "R"},
    {"name": "Phase 1 cos", "area": "holding", "address": 4128, "type": "float32", "access": "R"},
    {"name": "Phase 2 cos", "area": "holding", "address": 4130, "type": "float32", "access": "R"},
    {"name": "Phase 3 cos", "area": "holding", "address": 4132, "type": "float32", "access": "R"},
    {"name": "System apparent power", "area": "holding", "address": 4134, "type": "float32", "unit": "mVA", "access": "R"},
    {"name": "Phase 1 apparent power", "area": "holding", "address": 4136, "type": "float32", "unit": "mVA", "access": "R"},
    {"name": "Phase 2 apparent power", "area": "holding", "address": 4138, "type": "float32", "unit": "mVA", "access": "R"},
    {"name": "Phase 3 apparent power", "area": "holding", "address": 4140, "type": "float32", "unit": "mVA", "access": "R"},
    {"name": "System active power", "area": "holding", "address": 4142, "type": "float32", "unit": "mW", "access": "R"},
    {"name": "Phase 1 active power", "area": "holding", "address": 4144, "type": "float32", "unit": "mW", "access": "R"},
    {"name": "Phase 2 active power", "area": "holding", "address": 4146, "type": "float32", "unit": "mW", "access": "R"},
    {"name": "Phase 3 active power", "area": "holding", "address": 4148, "type": "float32", "unit": "mW", "access": "R"},
    {"name": "System reactive power", "area": "holding", "address": 4150, "type": "float32", "unit": "mvar", "access": "R"},
    {"name": "Phase 1 reactive power", "area": "holding", "address": 4152, "type": "float32", "unit": "mvar", "access": "R"},
    {"name": "Phase 2 reactive power", "area": "holding", "address": 4154, "type": "float32", "unit": "mvar", "access": "R"},
    {"name": "Phase 3 reactive power", "area": "holding", "address": 4156, "type": "float32", "unit": "mvar", "access": "R"},
    {"name": "Imported active energy", "area": "holding", "address": 4158, "type": "float32", "unit": "mWh", "access": "R"},
    {"name": "Imported reactive inductive energy", "area": "holding", "address": 4160, "type": "float32", "unit": "mvarh", "access": "R"},
    {"name": "Exported active energy", "area": "holding", "address": 4162, "type": "float32", "unit": "mWh", "access": "R"},
    {"name": "Exported reactive inductive energy", "area": "holding", "address": 4164, "type": "float32", "unit": "mvarh", "access": "R"},
    {"name": "Line frequency", "area": "holding", "address": 4166, "type": "float32", "unit": "mHz", "access": "R"},
    {"name": "Phase 1 voltage thd", "area": "holding", "address": 4168, "type": "float32", "unit": "m%", "access": "R"},
    {"name": "Phase 2 voltage thd", "area": "holding", "address": 4170, "type": "float32", "unit": "m%", "access": "R"},
    {"name": "Phase 3 voltage thd", "area": "holding", "address": 4172, "type": "float32", "unit": "m%", "access": "R"},
    {"name": "Phase 1 current thd", "area": "holding", "address": 4174, "type": "float32", "unit": "m%", "access": "R"},
    {"name": "Phase 2 current thd", "area": "holding", "address": 4176, "type": "float32", "unit": "m%", "access": "R"},
    {"name": "Phase 3 current thd", "area": "holding", "address": 4178, "type": "float32", "unit": "m%", "access": "R"},
    {"name": "Void (4180)", "area": "holding", "address": 4180, "type": "float32", "access": "R"},
    {"name": "Void (4182)", "area": "holding", "address": 4182, "type": "float32", "access": "R"},
    {"name": "Imported reactive capacitive energy", "area": "holding", "address": 4184, "type": "float32", "unit": "mvarh", "access": "R"},
    {"name": "Exported reactive capacitive energy", "area": "holding", "address": 4186, "type": "float32", "unit": "mvarh", "access": "R"},
    {"name": "Imported apparent energy", "area": "holding", "address": 4188, "type": "float32", "unit": "mVAh", "access": "R"},
    {"name": "Exported apparent energy", "area": "holding", "address": 4190, "type": "float32", "unit": "mVAh", "access": "R"},
    {"name": "Neutral current", "area": "holding", "address": 4192, "type": "float32", "unit": "mA", "access": "R"},
    {"name": "System current demand", "area": "holding", "address": 4194, "type": "float32", "unit": "mA", "access": "R"}
  ]
}
