{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "Smartprocess",
  "model": "Smartrail X835",
  "models": ["Smartrail X835"],
  "revision": 2,
  "vendor_website": "smartprocess.co.uk",
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table smartprocess/smartrail-x835; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/smartprocess-smartrail-x835.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "Smartprocess Smartrail X835.",
    "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 2 line to neutral volts", "area": "holding", "address": 2, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase 3 line to neutral volts", "area": "holding", "address": 4, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Phase 1 current", "area": "holding", "address": 6, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Phase 2 current", "area": "holding", "address": 8, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Phase 3 current", "area": "holding", "address": 10, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Phase 1 power", "area": "holding", "address": 12, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Phase 2 power", "area": "holding", "address": 14, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Phase 3 power", "area": "holding", "address": 16, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Phase 1 volt amps", "area": "holding", "address": 18, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Phase 2 volt amps", "area": "holding", "address": 20, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Phase 3 volt amps", "area": "holding", "address": 22, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Phase 1 volt amps reactive", "area": "holding", "address": 24, "type": "uint32", "unit": "var", "access": "R"},
    {"name": "Phase 2 volt amps reactive", "area": "holding", "address": 26, "type": "uint32", "unit": "var", "access": "R"},
    {"name": "Phase 3 volt amps reactive", "area": "holding", "address": 28, "type": "uint32", "unit": "var", "access": "R"},
    {"name": "Phase 1 power factor (1)", "area": "holding", "address": 30, "type": "uint32", "access": "R"},
    {"name": "Phase 2 power factor (1)", "area": "holding", "address": 32, "type": "uint32", "access": "R"},
    {"name": "Phase 3 power factor (1)", "area": "holding", "address": 34, "type": "uint32", "access": "R"},
    {"name": "Phase 1 phase angle", "area": "holding", "address": 36, "type": "uint32", "unit": "°", "access": "R"},
    {"name": "Phase 2 phase angle", "area": "holding", "address": 38, "type": "uint32", "unit": "°", "access": "R"},
    {"name": "Phase 3 phase angle", "area": "holding", "address": 40, "type": "uint32", "unit": "°", "access": "R"},
    {"name": "Average line to neutral volts", "area": "holding", "address": 42, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Average line current", "area": "holding", "address": 46, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Sum of line currents", "area": "holding", "address": 48, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Total system power", "area": "holding", "address": 52, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Total system volt amps", "area": "holding", "address": 56, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Total system VAr", "area": "holding", "address": 60, "type": "uint32", "unit": "var", "access": "R"},
    {"name": "Total system power factor (1)", "area": "holding", "address": 62, "type": "uint32", "access": "R"},
    {"name": "Total system phase angle", "area": "holding", "address": 66, "type": "uint32", "unit": "°", "access": "R"},
    {"name": "Frequency of supply voltages", "area": "holding", "address": 70, "type": "uint32", "unit": "Hz", "access": "R"},
    {"name": "Import wh since last reset (2)", "area": "holding", "address": 72, "type": "uint32", "access": "R", "description": "unit: kWh/MWh"},
    {"name": "Export wh since last reset (2)", "area": "holding", "address": 74, "type": "uint32", "access": "R", "description": "unit: kWh/MWh"},
    {"name": "Import VArh since last reset (2)", "area": "holding", "address": 76, "type": "uint32", "access": "R", "description": "unit: kVArh/MVArh"},
    {"name": "Export VArh since last reset (2)", "area": "holding", "address": 78, "type": "uint32", "access": "R", "description": "unit: kVArh/MVArh"},
    {"name": "VAh since last reset (2)", "area": "holding", "address": 80, "type": "uint32", "access": "R", "description": "unit: kVAh/MVAh"},
    {"name": "Ah since last reset (3)", "area": "holding", "address": 82, "type": "uint32", "access": "R", "description": "unit: Ah/kAh"},
    {"name": "Total system power demand (4)", "area": "holding", "address": 84, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Maximum total system power demand (4)", "area": "holding", "address": 86, "type": "uint32", "unit": "W", "access": "R"},
    {"name": "Total system VA demand", "area": "holding", "address": 100, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Maximum total system VA demand", "area": "holding", "address": 102, "type": "uint32", "unit": "VA", "access": "R"},
    {"name": "Neutral current demand", "area": "holding", "address": 104, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Maximum neutral current demand", "area": "holding", "address": 106, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Line 1 to line 2 volts", "area": "holding", "address": 200, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Line 2 to line 3 volts", "area": "holding", "address": 202, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Line 3 to line 1 volts", "area": "holding", "address": 204, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Average line to line volts", "area": "holding", "address": 206, "type": "uint32", "unit": "V", "access": "R"},
    {"name": "Neutral current", "area": "holding", "address": 224, "type": "uint32", "unit": "A", "access": "R"},
    {"name": "Phase 1 L/N volts THD", "area": "holding", "address": 234, "type": "uint32", "unit": "%", "access": "R"},
    {"name": "Phase 2 L/N volts THD", "area": "holding", "address": 236, "type": "uint32", "unit": "%", "access": "R"},
    {"name": "Phase 3 L/N volts THD", "area": "holding", "address": 238, "type": "uint32", "unit": "%", "access": "R"},
    {"name": "Phase 1 current THD", "area": "holding", "address": 240, "type": "uint32", "unit": "%", "access": "R"}
  ]
}
