{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Heyuan",
  "model": "DZ81 / DZS310",
  "models": ["DZ81", "DZS310"],
  "vendor_website": "heyuanintel.com",
  "revision": 2,
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table heyuan/dz81-dzs310; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/heyuan-dz81-dzs310.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Heyuan DZ81 / DZS310.",
    "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": "A phase voltage (4096)", "area": "holding", "address": 4096, "type": "uint16", "access": "R"},
    {"name": "B phase voltage (4097)", "area": "holding", "address": 4097, "type": "uint16", "access": "R"},
    {"name": "C phase voltage (4098)", "area": "holding", "address": 4098, "type": "uint16", "access": "R"},
    {"name": "Phase voltage mean value (4099)", "area": "holding", "address": 4099, "type": "uint16", "access": "R"},
    {"name": "Zero phase voltage (4100)", "area": "holding", "address": 4100, "type": "uint16", "access": "R"},
    {"name": "Line voltage (A b) (4101)", "area": "holding", "address": 4101, "type": "uint16", "access": "R"},
    {"name": "Line voltage (B c) (4102)", "area": "holding", "address": 4102, "type": "uint16", "access": "R"},
    {"name": "Line voltage (C a) (4103)", "area": "holding", "address": 4103, "type": "uint16", "access": "R"},
    {"name": "Line voltage mean value (4104)", "area": "holding", "address": 4104, "type": "uint16", "access": "R"},
    {"name": "A phase current (4105)", "area": "holding", "address": 4105, "type": "uint16", "access": "R"},
    {"name": "B phase current (4106)", "area": "holding", "address": 4106, "type": "uint16", "access": "R"},
    {"name": "C phase current (4107)", "area": "holding", "address": 4107, "type": "uint16", "access": "R"},
    {"name": "Current mean value (4108)", "area": "holding", "address": 4108, "type": "uint16", "access": "R"},
    {"name": "Zero phase current (4109)", "area": "holding", "address": 4109, "type": "uint16", "access": "R"},
    {"name": "A phase active power (4110)", "area": "holding", "address": 4110, "type": "int16", "access": "R"},
    {"name": "B phase active power (4111)", "area": "holding", "address": 4111, "type": "int16", "access": "R"},
    {"name": "C phase active power (4112)", "area": "holding", "address": 4112, "type": "int16", "access": "R"},
    {"name": "Total active power", "area": "holding", "address": 4113, "type": "int16", "access": "R"},
    {"name": "A phase reactive power", "area": "holding", "address": 4114, "type": "int16", "access": "R"},
    {"name": "B phase reactive power", "area": "holding", "address": 4115, "type": "int16", "access": "R"},
    {"name": "C phase reactive power", "area": "holding", "address": 4116, "type": "int16", "access": "R"},
    {"name": "Total reactive power", "area": "holding", "address": 4117, "type": "int16", "access": "R"},
    {"name": "A phase apparent power", "area": "holding", "address": 4118, "type": "int16", "access": "R"},
    {"name": "B phase apparent power", "area": "holding", "address": 4119, "type": "int16", "access": "R"},
    {"name": "C phase apparent power", "area": "holding", "address": 4120, "type": "int16", "access": "R"},
    {"name": "Total apparent power", "area": "holding", "address": 4121, "type": "int16", "access": "R"},
    {"name": "A phase power factor", "area": "holding", "address": 4122, "type": "int16", "access": "R"},
    {"name": "B phase power factor", "area": "holding", "address": 4123, "type": "int16", "access": "R"},
    {"name": "C phase power factor", "area": "holding", "address": 4124, "type": "int16", "access": "R"},
    {"name": "Total power factor", "area": "holding", "address": 4125, "type": "int16", "access": "R"},
    {"name": "Frequency", "area": "holding", "address": 4126, "type": "uint16", "access": "R"},
    {"name": "Voltage unbalance", "area": "holding", "address": 4127, "type": "uint16", "access": "R"},
    {"name": "Current unbalance", "area": "holding", "address": 4128, "type": "uint16", "access": "R"},
    {"name": "A phase voltage (5376)", "area": "holding", "address": 5376, "type": "uint32", "access": "R"},
    {"name": "B phase voltage (5378)", "area": "holding", "address": 5378, "type": "uint32", "access": "R"},
    {"name": "C phase voltage (5380)", "area": "holding", "address": 5380, "type": "uint32", "access": "R"},
    {"name": "Phase voltage mean value (5382)", "area": "holding", "address": 5382, "type": "uint32", "access": "R"},
    {"name": "Zero phase voltage (5384)", "area": "holding", "address": 5384, "type": "uint32", "access": "R"},
    {"name": "Line voltage (A b) (5386)", "area": "holding", "address": 5386, "type": "uint32", "access": "R"},
    {"name": "Line voltage (B c) (5388)", "area": "holding", "address": 5388, "type": "uint32", "access": "R"},
    {"name": "Line voltage (C a) (5390)", "area": "holding", "address": 5390, "type": "uint32", "access": "R"},
    {"name": "Line voltage mean value (5392)", "area": "holding", "address": 5392, "type": "uint32", "access": "R"},
    {"name": "A phase current (5394)", "area": "holding", "address": 5394, "type": "uint32", "access": "R"},
    {"name": "B phase current (5396)", "area": "holding", "address": 5396, "type": "uint32", "access": "R"},
    {"name": "C phase current (5398)", "area": "holding", "address": 5398, "type": "uint32", "access": "R"},
    {"name": "Current mean value (5400)", "area": "holding", "address": 5400, "type": "uint32", "access": "R"},
    {"name": "Zero phase current (5402)", "area": "holding", "address": 5402, "type": "uint32", "access": "R"},
    {"name": "A phase active power (5404)", "area": "holding", "address": 5404, "type": "int32", "access": "R"},
    {"name": "B phase active power (5406)", "area": "holding", "address": 5406, "type": "int32", "access": "R"},
    {"name": "C phase active power (5408)", "area": "holding", "address": 5408, "type": "int32", "access": "R"}
  ]
}
