{
  "$schema": "https://raw.githubusercontent.com/nobrega8/mbmap-library/main/schema/mbmap-2.schema.json",
  "mbmap": 2,
  "vendor": "SACI",
  "model": "TCIL2",
  "models": ["TCIL2"],
  "revision": 2,
  "vendor_website": "saci.es",
  "source": "Modbus Database (Jibril Sharafi, MIT licence), table saci/tcil2; https://www.aggsoft.com/serial-data-logger/tutorials/modbus-data-logging/saci-tcil2.htm. Not verified against the manufacturer's documentation",
  "notes": [
    "SACI TCIL2.",
    "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": "Total power factor", "area": "holding", "address": 86, "type": "float32", "access": "R"},
    {"name": "Grid frequency", "area": "holding", "address": 88, "type": "float32", "unit": "Hz", "access": "R"},
    {"name": "Average value of three phase voltages", "area": "holding", "address": 96, "type": "float32", "unit": "V", "access": "R"},
    {"name": "Average value of three line voltages", "area": "holding", "address": 98, "type": "float32", "unit": "V", "access": "R"},
    {"name": "Average value of three phase currents", "area": "holding", "address": 100, "type": "float32", "unit": "A", "access": "R"},
    {"name": "EP+", "area": "holding", "address": 102, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "EP", "area": "holding", "address": 104, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "EQ+", "area": "holding", "address": 112, "type": "float32", "unit": "kvarh", "access": "R"},
    {"name": "EQ", "area": "holding", "address": 114, "type": "float32", "unit": "kvarh", "access": "R"},
    {"name": "Apparent energy", "area": "holding", "address": 116, "type": "float32", "unit": "kVAh", "access": "R"},
    {"name": "Trip energy", "area": "holding", "address": 118, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "First quadrant reactive energy EQL+", "area": "holding", "address": 120, "type": "float32", "unit": "kvarh", "access": "R"},
    {"name": "Second quadrant reactive energy EQC+", "area": "holding", "address": 128, "type": "float32", "unit": "kvarh", "access": "R"},
    {"name": "Third quadrant reactive energy EQL", "area": "holding", "address": 130, "type": "float32", "unit": "kvarh", "access": "R"},
    {"name": "Four quadrant reactive energy EQC", "area": "holding", "address": 132, "type": "float32", "unit": "kvarh", "access": "R"},
    {"name": "Import active energy[total", "area": "holding", "address": 134, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy[tip", "area": "holding", "address": 136, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy[peak", "area": "holding", "address": 144, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy[flat", "area": "holding", "address": 146, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy[valley", "area": "holding", "address": 148, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy[total", "area": "holding", "address": 150, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy[tip", "area": "holding", "address": 152, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy[peak", "area": "holding", "address": 256, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy[flat", "area": "holding", "address": 258, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy[valley", "area": "holding", "address": 260, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of this month[total", "area": "holding", "address": 262, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of this month[tip", "area": "holding", "address": 264, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of this month[peak", "area": "holding", "address": 272, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of this month[flat", "area": "holding", "address": 274, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of this month[valley", "area": "holding", "address": 276, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of this month[total", "area": "holding", "address": 278, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of this month[tip", "area": "holding", "address": 280, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of this month[peak", "area": "holding", "address": 288, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of this month[flat", "area": "holding", "address": 290, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of this month[valley", "area": "holding", "address": 292, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of last month[total", "area": "holding", "address": 294, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of last month[tip", "area": "holding", "address": 296, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of last month[peak", "area": "holding", "address": 304, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of last month[flat", "area": "holding", "address": 306, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy of last month[valley", "area": "holding", "address": 308, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of last month[total", "area": "holding", "address": 310, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of last month[tip", "area": "holding", "address": 312, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of last month[peak", "area": "holding", "address": 320, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of last month[flat", "area": "holding", "address": 322, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Export active energy of last month[valley", "area": "holding", "address": 324, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy two month before[total", "area": "holding", "address": 326, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy two month before[tip", "area": "holding", "address": 328, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy two month before[peak", "area": "holding", "address": 336, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy two month before[flat", "area": "holding", "address": 338, "type": "float32", "unit": "kWh", "access": "R"},
    {"name": "Import active energy two month before[valley", "area": "holding", "address": 340, "type": "float32", "unit": "kWh", "access": "R"}
  ]
}
