{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Klemsan",
  "model": "Klea 220P Powys 3121",
  "models": ["Klea 220P", "Powys 3121"],
  "vendor_website": "klemsan.ir",
  "revision": 2,
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table klemsan/klea-220p-powys-3121; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/klemsan-klea-220p-powys-3121.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Klemsan Klea 220P Powys 3121.",
    "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": "Phase 1 2 voltage (l l)", "area": "holding", "address": 2, "type": "float32", "access": "R"},
    {"name": "Phase 1 current", "area": "holding", "address": 4, "type": "float32", "access": "R"},
    {"name": "Phase 1 cos", "area": "holding", "address": 6, "type": "float32", "access": "R"},
    {"name": "Phase 1 power factor", "area": "holding", "address": 8, "type": "float32", "access": "R"},
    {"name": "Phase 1 active power", "area": "holding", "address": 10, "type": "float32", "access": "R"},
    {"name": "Phase 1 reactive power", "area": "holding", "address": 12, "type": "float32", "access": "R"},
    {"name": "Phase 1 apparent power", "area": "holding", "address": 14, "type": "float32", "access": "R"},
    {"name": "Phase 1 thdv", "area": "holding", "address": 16, "type": "float32", "access": "R"},
    {"name": "Phase 1 thdi", "area": "holding", "address": 18, "type": "float32", "access": "R"},
    {"name": "Phase 2 voltage (l n)", "area": "holding", "address": 20, "type": "float32", "access": "R"},
    {"name": "Phase 2 3 voltage (l l)", "area": "holding", "address": 22, "type": "float32", "access": "R"},
    {"name": "Phase 2 current", "area": "holding", "address": 24, "type": "float32", "access": "R"},
    {"name": "Phase 2 cos", "area": "holding", "address": 26, "type": "float32", "access": "R"},
    {"name": "Phase 2 power factor", "area": "holding", "address": 28, "type": "float32", "access": "R"},
    {"name": "Phase 2 active power", "area": "holding", "address": 30, "type": "float32", "access": "R"},
    {"name": "Phase 2 reactive power", "area": "holding", "address": 32, "type": "float32", "access": "R"},
    {"name": "Phase 2 apparent power", "area": "holding", "address": 34, "type": "float32", "access": "R"},
    {"name": "Phase 2 thdv", "area": "holding", "address": 36, "type": "float32", "access": "R"},
    {"name": "Phase 2 thdi", "area": "holding", "address": 38, "type": "float32", "access": "R"},
    {"name": "Phase 3 voltage (l n)", "area": "holding", "address": 40, "type": "float32", "access": "R"},
    {"name": "Phase 3 1 voltage (l l)", "area": "holding", "address": 42, "type": "float32", "access": "R"},
    {"name": "Phase 3 current", "area": "holding", "address": 44, "type": "float32", "access": "R"},
    {"name": "Phase 3 cos", "area": "holding", "address": 46, "type": "float32", "access": "R"},
    {"name": "Phase 3 power factor", "area": "holding", "address": 48, "type": "float32", "access": "R"},
    {"name": "Phase 3 active power", "area": "holding", "address": 50, "type": "float32", "access": "R"},
    {"name": "Phase 3 reactive power", "area": "holding", "address": 52, "type": "float32", "access": "R"},
    {"name": "Phase 3 apparent power", "area": "holding", "address": 54, "type": "float32", "access": "R"},
    {"name": "Phase 3 thdv", "area": "holding", "address": 56, "type": "float32", "access": "R"},
    {"name": "Phase 3 thdi", "area": "holding", "address": 58, "type": "float32", "access": "R"},
    {"name": "Average voltage (l n)", "area": "holding", "address": 60, "type": "float32", "access": "R"},
    {"name": "Average voltage (l l)", "area": "holding", "address": 62, "type": "float32", "access": "R"},
    {"name": "Total current", "area": "holding", "address": 64, "type": "float32", "access": "R"},
    {"name": "System power factor", "area": "holding", "address": 66, "type": "float32", "access": "R"},
    {"name": "Total active power", "area": "holding", "address": 68, "type": "float32", "access": "R"},
    {"name": "Total reactive power", "area": "holding", "address": 70, "type": "float32", "access": "R"},
    {"name": "Total apparent power", "area": "holding", "address": 72, "type": "float32", "access": "R"},
    {"name": "System frequency", "area": "holding", "address": 74, "type": "float32", "access": "R"},
    {"name": "Neutral current", "area": "holding", "address": 76, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 1", "area": "holding", "address": 78, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 3", "area": "holding", "address": 80, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 5", "area": "holding", "address": 82, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 7", "area": "holding", "address": 84, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 9", "area": "holding", "address": 86, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 11", "area": "holding", "address": 88, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 13", "area": "holding", "address": 90, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 15", "area": "holding", "address": 92, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 17", "area": "holding", "address": 94, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 19", "area": "holding", "address": 96, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 21", "area": "holding", "address": 98, "type": "float32", "access": "R"},
    {"name": "Phase 1 voltage harmonics 23", "area": "holding", "address": 100, "type": "float32", "access": "R"}
  ]
}
