{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Delab",
  "model": "PQM",
  "models": ["PQM"],
  "revision": 2,
  "vendor_website": "delab.com.my",
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table delab/pqm; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/delab-pqm.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Delab PQM.",
    "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": "Ampere L2", "area": "holding", "address": 2, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Ampere L3", "area": "holding", "address": 4, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Ampere (neutral current)", "area": "holding", "address": 6, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Voltage L1", "area": "holding", "address": 8, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Voltage L2", "area": "holding", "address": 10, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Voltage L3", "area": "holding", "address": 12, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Voltage L12", "area": "holding", "address": 14, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Voltage L23", "area": "holding", "address": 16, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Voltage L31", "area": "holding", "address": 18, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Voltage assym", "area": "holding", "address": 20, "type": "uint16", "unit": "%", "access": "R"},
    {"name": "Frequency", "area": "holding", "address": 21, "type": "uint16", "unit": "Hz", "access": "R"},
    {"name": "Kw L1", "area": "holding", "address": 22, "type": "int32", "unit": "W", "access": "R"},
    {"name": "Kw L2", "area": "holding", "address": 24, "type": "int32", "unit": "W", "access": "R"},
    {"name": "Kw L3", "area": "holding", "address": 26, "type": "int32", "unit": "W", "access": "R"},
    {"name": "Kvar L1", "area": "holding", "address": 28, "type": "int32", "unit": "var", "access": "R"},
    {"name": "Kvar L2", "area": "holding", "address": 30, "type": "int32", "unit": "var", "access": "R"},
    {"name": "Kvar L3", "area": "holding", "address": 32, "type": "int32", "unit": "var", "access": "R"},
    {"name": "Kva L1", "area": "holding", "address": 34, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Kva L2", "area": "holding", "address": 36, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Kva L3", "area": "holding", "address": 38, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Pf L1", "area": "holding", "address": 40, "type": "int16", "access": "R"},
    {"name": "Pf L2", "area": "holding", "address": 41, "type": "int16", "access": "R"},
    {"name": "Pf L3", "area": "holding", "address": 42, "type": "int16", "access": "R"},
    {"name": "Pf avg", "area": "holding", "address": 43, "type": "int16", "access": "R"},
    {"name": "Cos L1", "area": "holding", "address": 44, "type": "int16", "access": "R"},
    {"name": "Cos L2", "area": "holding", "address": 45, "type": "int16", "access": "R"},
    {"name": "Cos L3", "area": "holding", "address": 46, "type": "int16", "access": "R"},
    {"name": "Cos avg", "area": "holding", "address": 47, "type": "int16", "access": "R"},
    {"name": "Energy import (kwh)", "area": "holding", "address": 48, "type": "uint32", "unit": "kWh", "access": "R"},
    {"name": "Energy export (kwh)", "area": "holding", "address": 52, "type": "uint32", "unit": "kWh", "access": "R"},
    {"name": "Energy inductive (kvarh)", "area": "holding", "address": 56, "type": "uint32", "unit": "kvarh", "access": "R"},
    {"name": "Energy capacitive (kvarh)", "area": "holding", "address": 60, "type": "uint32", "unit": "kvarh", "access": "R"},
    {"name": "Energy apparent (kvah)", "area": "holding", "address": 64, "type": "uint32", "unit": "kVAh", "access": "R"},
    {"name": "Max dmd kw L1 (import)", "area": "holding", "address": 68, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Max dmd kw L2 (import)", "area": "holding", "address": 70, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Max dmd kw L3 (import)", "area": "holding", "address": 72, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Max dmd kw total (import)", "area": "holding", "address": 74, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Max dmd kva L1", "area": "holding", "address": 76, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Max dmd kva L2", "area": "holding", "address": 78, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Max dmd kva L3", "area": "holding", "address": 80, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Max dmd kva total", "area": "holding", "address": 82, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Max dmd I L1", "area": "holding", "address": 84, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Max dmd I L2", "area": "holding", "address": 86, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Max dmd I L3", "area": "holding", "address": 88, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Max dmd iavg (3phase)", "area": "holding", "address": 90, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Prev dmd kw L1 (import)", "area": "holding", "address": 92, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Prev dmd kw L2 (import)", "area": "holding", "address": 94, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Prev dmd kw L3 (import)", "area": "holding", "address": 96, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Prev dmd kw total (import)", "area": "holding", "address": 98, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Prev dmd kva L1", "area": "holding", "address": 100, "type": "uint32", "unit": "VA", "access": "R"}
  ]
}
