{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "YTL",
  "model": "5300",
  "models": ["5300"],
  "revision": 2,
  "vendor_website": "ytl-e.com",
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table ytl/5300; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/ytl-5300.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "YTL 5300.",
    "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": "Meter ID", "area": "holding", "address": 2, "type": "float32", "access": "R"},
    {"name": "Baud rate", "area": "holding", "address": 3, "type": "float32", "access": "R"},
    {"name": "Software version", "area": "holding", "address": 4, "type": "float32", "access": "R"},
    {"name": "Hardware version", "area": "holding", "address": 6, "type": "float32", "access": "R"},
    {"name": "S0 output rate", "area": "holding", "address": 9, "type": "float32", "access": "R"},
    {"name": "Combined code", "area": "holding", "address": 11, "type": "float32", "access": "R"},
    {"name": "HOLIDAY WEEKEND T", "area": "holding", "address": 12, "type": "float32", "access": "R"},
    {"name": "Cycle time", "area": "holding", "address": 13, "type": "float32", "access": "R"},
    {"name": "L1 voltage", "area": "holding", "address": 14, "type": "float32", "access": "R"},
    {"name": "L2 voltage", "area": "holding", "address": 16, "type": "float32", "access": "R"},
    {"name": "L3 voltage", "area": "holding", "address": 18, "type": "float32", "access": "R"},
    {"name": "Grid frequency", "area": "holding", "address": 20, "type": "float32", "access": "R"},
    {"name": "L1 current", "area": "holding", "address": 22, "type": "float32", "access": "R"},
    {"name": "L2 current", "area": "holding", "address": 24, "type": "float32", "access": "R"},
    {"name": "L3 current", "area": "holding", "address": 26, "type": "float32", "access": "R"},
    {"name": "Total active power", "area": "holding", "address": 28, "type": "float32", "access": "R"},
    {"name": "L1 active power", "area": "holding", "address": 30, "type": "float32", "access": "R"},
    {"name": "L2 active power", "area": "holding", "address": 32, "type": "float32", "access": "R"},
    {"name": "L3 active power", "area": "holding", "address": 34, "type": "float32", "access": "R"},
    {"name": "Total reactive power", "area": "holding", "address": 36, "type": "float32", "access": "R"},
    {"name": "L1 reactive power", "area": "holding", "address": 38, "type": "float32", "access": "R"},
    {"name": "L2 reactive power", "area": "holding", "address": 40, "type": "float32", "access": "R"},
    {"name": "L3 reactive power", "area": "holding", "address": 42, "type": "float32", "access": "R"},
    {"name": "Total apparent power", "area": "holding", "address": 44, "type": "float32", "access": "R"},
    {"name": "L1 apparent power", "area": "holding", "address": 46, "type": "float32", "access": "R"},
    {"name": "L2 apparent power", "area": "holding", "address": 48, "type": "float32", "access": "R"},
    {"name": "L3 apparent power", "area": "holding", "address": 50, "type": "float32", "access": "R"},
    {"name": "Total power factor", "area": "holding", "address": 52, "type": "float32", "access": "R"},
    {"name": "Power factor (54)", "area": "holding", "address": 54, "type": "float32", "access": "R"},
    {"name": "Power factor (56)", "area": "holding", "address": 56, "type": "float32", "access": "R"},
    {"name": "Power factor (58)", "area": "holding", "address": 58, "type": "float32", "access": "R"},
    {"name": "Time", "area": "holding", "address": 60, "type": "float32", "access": "R"},
    {"name": "Season ON/OFF", "area": "holding", "address": 64, "type": "float32", "access": "R"},
    {"name": "CRC CODE", "area": "holding", "address": 65, "type": "float32", "access": "R"},
    {"name": "Total active energy", "area": "holding", "address": 256, "type": "float32", "access": "R"},
    {"name": "L1 total active energy", "area": "holding", "address": 258, "type": "float32", "access": "R"},
    {"name": "L2 total active energy", "area": "holding", "address": 260, "type": "float32", "access": "R"},
    {"name": "L3 total active energy", "area": "holding", "address": 262, "type": "float32", "access": "R"},
    {"name": "Forward active energy", "area": "holding", "address": 264, "type": "float32", "access": "R"},
    {"name": "L1 forward active energy", "area": "holding", "address": 266, "type": "float32", "access": "R"},
    {"name": "L2 forward active energy", "area": "holding", "address": 268, "type": "float32", "access": "R"},
    {"name": "L3 forward active energy", "area": "holding", "address": 270, "type": "float32", "access": "R"},
    {"name": "Reverse active energy", "area": "holding", "address": 272, "type": "float32", "access": "R"},
    {"name": "L1 reverse active energy", "area": "holding", "address": 274, "type": "float32", "access": "R"},
    {"name": "L2 reverse active energy", "area": "holding", "address": 276, "type": "float32", "access": "R"},
    {"name": "L3 reverse active energy", "area": "holding", "address": 278, "type": "float32", "access": "R"},
    {"name": "Total reactive energy", "area": "holding", "address": 280, "type": "float32", "access": "R"},
    {"name": "L1 reactive energy", "area": "holding", "address": 282, "type": "float32", "access": "R"},
    {"name": "L2 reactive energy", "area": "holding", "address": 284, "type": "float32", "access": "R"},
    {"name": "L3 reactive energy", "area": "holding", "address": 286, "type": "float32", "access": "R"}
  ]
}
