{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Secure",
  "model": "CEWE CDM",
  "models": ["CEWE CDM"],
  "vendor_website": "securemeters.com",
  "revision": 2,
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table cewe/cdm; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/cewe-cdm.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "CEWE CDM.",
    "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": "V1 L N voltage phase 1", "area": "holding", "address": 4096, "type": "float32", "unit": "V", "access": "R"},
    {"name": "V2 L N voltage phase 2", "area": "holding", "address": 4098, "type": "float32", "unit": "V", "access": "R"},
    {"name": "V3 L N voltage phase 3", "area": "holding", "address": 4100, "type": "float32", "unit": "V", "access": "R"},
    {"name": "V12 L L voltage line 12", "area": "holding", "address": 4102, "type": "float32", "unit": "V", "access": "R"},
    {"name": "V23 L L voltage line 23", "area": "holding", "address": 4104, "type": "float32", "unit": "V", "access": "R"},
    {"name": "V31 L L voltage line 31", "area": "holding", "address": 4106, "type": "float32", "unit": "V", "access": "R"},
    {"name": "V system voltage", "area": "holding", "address": 4108, "type": "float32", "unit": "V", "access": "R"},
    {"name": "A1 phase 1 current", "area": "holding", "address": 4110, "type": "float32", "unit": "A", "access": "R"},
    {"name": "A2 phase 2 current", "area": "holding", "address": 4112, "type": "float32", "unit": "A", "access": "R"},
    {"name": "A3 phase 3 current", "area": "holding", "address": 4114, "type": "float32", "unit": "A", "access": "R"},
    {"name": "An neutral current", "area": "holding", "address": 4116, "type": "float32", "unit": "A", "access": "R"},
    {"name": "A system current", "area": "holding", "address": 4118, "type": "float32", "unit": "A", "access": "R"},
    {"name": "PF1 phase 1 power factor", "area": "holding", "address": 4120, "type": "float32", "access": "R"},
    {"name": "PF2 phase 2 power factor", "area": "holding", "address": 4122, "type": "float32", "access": "R"},
    {"name": "PF3 phase 3 power factor", "area": "holding", "address": 4124, "type": "float32", "access": "R"},
    {"name": "Pf system power factor", "area": "holding", "address": 4126, "type": "float32", "access": "R"},
    {"name": "P1 phase 1 active power", "area": "holding", "address": 4128, "type": "float32", "unit": "W", "access": "R"},
    {"name": "P2 phase 2 active power", "area": "holding", "address": 4130, "type": "float32", "unit": "W", "access": "R"},
    {"name": "P3 phase 3 active power", "area": "holding", "address": 4132, "type": "float32", "unit": "W", "access": "R"},
    {"name": "P system active power", "area": "holding", "address": 4134, "type": "float32", "unit": "W", "access": "R"},
    {"name": "S1 phase 1 apparent power", "area": "holding", "address": 4136, "type": "float32", "unit": "VA", "access": "R"},
    {"name": "S2 phase 2 apparent power", "area": "holding", "address": 4138, "type": "float32", "unit": "VA", "access": "R"},
    {"name": "S3 phase 3 apparent power", "area": "holding", "address": 4140, "type": "float32", "unit": "VA", "access": "R"},
    {"name": "S system apparent power", "area": "holding", "address": 4142, "type": "float32", "unit": "VA", "access": "R"},
    {"name": "Q1 phase 1 reactive power", "area": "holding", "address": 4144, "type": "float32", "unit": "var", "access": "R"},
    {"name": "Q2 phase 2 reactive power", "area": "holding", "address": 4146, "type": "float32", "unit": "var", "access": "R"},
    {"name": "Q3 phase 3 reactive power", "area": "holding", "address": 4148, "type": "float32", "unit": "var", "access": "R"},
    {"name": "Q system reactive power", "area": "holding", "address": 4150, "type": "float32", "unit": "var", "access": "R"},
    {"name": "F frequency", "area": "holding", "address": 4152, "type": "float32", "unit": "Hz", "access": "R"},
    {"name": "+kwh1 phase 1 imported active energy", "area": "holding", "address": 4352, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "+kwh2 phase 2 imported active energy", "area": "holding", "address": 4354, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "+kwh3 phase 3 imported active energy", "area": "holding", "address": 4356, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "+kwh system imported active energy", "area": "holding", "address": 4358, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "Kwh1 phase 1 exported active energy", "area": "holding", "address": 4360, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "Kwh2 phase 2 exported active energy", "area": "holding", "address": 4362, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "Kwh3 phase 3 exported active energy", "area": "holding", "address": 4364, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "Kwh system exported active energy", "area": "holding", "address": 4366, "type": "float32", "unit": "Wh", "access": "R"},
    {"name": "+kvah1 L phase 1 imported lagging apparent energy", "area": "holding", "address": 4368, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah2 L phase 2 imported lagging apparent energy", "area": "holding", "address": 4370, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah3 L phase 3 imported lagging apparent energy", "area": "holding", "address": 4372, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah L system imported lagging apparent energy", "area": "holding", "address": 4374, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "Kvah1 L phase 1 exported lagging apparent energy", "area": "holding", "address": 4376, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "Kvah2 L phase 2 exported lagging apparent energy", "area": "holding", "address": 4378, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "Kvah3 L phase 3 exported lagging apparent energy", "area": "holding", "address": 4380, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "Kvah L system exported lagging apparent energy", "area": "holding", "address": 4382, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah1 C phase 1 imported leading apparent energy", "area": "holding", "address": 4384, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah2 C phase 2 imported leading apparent energy", "area": "holding", "address": 4386, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah3 C phase 3 imported leading apparent energy", "area": "holding", "address": 4388, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "+kvah C system imported leading apparent energy", "area": "holding", "address": 4390, "type": "float32", "unit": "VAh", "access": "R"},
    {"name": "Kvah1 C phase 1 exported leading apparent energy", "area": "holding", "address": 4392, "type": "float32", "unit": "VAh", "access": "R"}
  ]
}
