{
  "version": 2,
  "polls": [
    {
      "name": "DTSU666 voltages, currents, P, Q 0x2000-0x2021",
      "fc": 3,
      "addr": 8192,
      "qty": 34,
      "slaveId": 1,
      "interval": 1000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 8192,
      "chartName": "DTSU666 voltages, currents, P, Q 0x2000-0x2021 [8192]",
      "logFile": "log_DTSU666_voltages_currents_P_Q_0x2000_0x2021.txt"
    },
    {
      "name": "DTSU666 power factor 0x202A-0x2031",
      "fc": 3,
      "addr": 8234,
      "qty": 8,
      "slaveId": 1,
      "interval": 1000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 8234,
      "chartName": "DTSU666 power factor 0x202A-0x2031 [8234]",
      "logFile": "log_DTSU666_power_factor_0x202A_0x2031.txt"
    },
    {
      "name": "DTSU666 frequency 0x2044-0x2045",
      "fc": 3,
      "addr": 8260,
      "qty": 2,
      "slaveId": 1,
      "interval": 1000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 8260,
      "chartName": "DTSU666 frequency 0x2044-0x2045 [8260]",
      "logFile": "log_DTSU666_frequency_0x2044_0x2045.txt"
    },
    {
      "name": "DTSU666 energy kWh 0x101E-0x1031",
      "fc": 3,
      "addr": 4126,
      "qty": 20,
      "slaveId": 1,
      "interval": 5000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 4126,
      "chartName": "DTSU666 energy kWh 0x101E-0x1031 [4126]",
      "logFile": "log_DTSU666_energy_kWh_0x101E_0x1031.txt"
    },
    {
      "name": "DTSU666 wiring net 0x0003",
      "fc": 3,
      "addr": 3,
      "qty": 1,
      "slaveId": 1,
      "interval": 10000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 3,
      "chartName": "DTSU666 wiring net 0x0003 [3]",
      "logFile": "log_DTSU666_wiring_net_0x0003.txt"
    },
    {
      "name": "DTSU666 CT / PT ratio 0x0006-0x0007",
      "fc": 3,
      "addr": 6,
      "qty": 2,
      "slaveId": 1,
      "interval": 10000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 6,
      "chartName": "DTSU666 CT / PT ratio 0x0006-0x0007 [6]",
      "logFile": "log_DTSU666_CT_PT_ratio_0x0006_0x0007.txt"
    },
    {
      "name": "DTSU666 comms settings 0x002C-0x002E",
      "fc": 3,
      "addr": 44,
      "qty": 3,
      "slaveId": 1,
      "interval": 10000,
      "disabled": false,
      "chart": {
        "paused": false,
        "crosshair": false,
        "cursorX": null,
        "dragging": false,
        "layout": null,
        "data": []
      },
      "log": {
        "active": false,
        "buffer": [],
        "startTime": null,
        "count": 0
      },
      "chartReg": 44,
      "chartName": "DTSU666 comms settings 0x002C-0x002E [44]",
      "logFile": "log_DTSU666_comms_settings_0x002C_0x002E.txt"
    }
  ],
  "activePoll": 0,
  "condColors": {},
  "scaling": {},
  "valueNames": {},
  "chartSeries": [],
  "slaveBlocks": [],
  "dashTheme": "modern",
  "dashFx": true,
  "dashBgColor": "#0d1117",
  "dashPages": [
    {
      "id": 1,
      "name": "DTSU666",
      "elements": [
        {
          "id": 1,
          "value": 0,
          "type": "statictext",
          "x": 20,
          "y": 10,
          "w": 840,
          "h": 30,
          "text": "Grid connection  ·  Chint DTSU666  ·  Modbus RTU 9600 8N1, unit 1, read-only",
          "fontSize": 20,
          "bold": true,
          "color": "#e6eef8"
        },
        {
          "id": 2,
          "value": 0,
          "type": "meter3",
          "x": 20,
          "y": 50,
          "w": 330,
          "h": 270,
          "label": "DTSU666 · ID 1",
          "unitId": 1,
          "nomV": 230,
          "ratedA": 100,
          "pUnit": "kW",
          "vUnbal": 2,
          "iUnbal": 10,
          "lostPct": 50,
          "showLL": true,
          "showEnergy": true,
          "view": "full",
          "phaseColors": "iec",
          "flagTag": "",
          "tpl": "sdm630",
          "pts": {
            "v1": {
              "src": "tag",
              "tagName": "Ua"
            },
            "v2": {
              "src": "tag",
              "tagName": "Ub"
            },
            "v3": {
              "src": "tag",
              "tagName": "Uc"
            },
            "i1": {
              "src": "tag",
              "tagName": "Ia"
            },
            "i2": {
              "src": "tag",
              "tagName": "Ib"
            },
            "i3": {
              "src": "tag",
              "tagName": "Ic"
            },
            "p1": {
              "src": "tag",
              "tagName": "Pa"
            },
            "p2": {
              "src": "tag",
              "tagName": "Pb"
            },
            "p3": {
              "src": "tag",
              "tagName": "Pc"
            },
            "pt": {
              "src": "tag",
              "tagName": "Pt"
            },
            "pf1": {
              "src": "tag",
              "tagName": "PFa"
            },
            "pf2": {
              "src": "tag",
              "tagName": "PFb"
            },
            "pf3": {
              "src": "tag",
              "tagName": "PFc"
            },
            "pft": {
              "src": "tag",
              "tagName": "PFt"
            },
            "hz": {
              "src": "tag",
              "tagName": "Freq"
            },
            "v12": {
              "src": "tag",
              "tagName": "Uab"
            },
            "v23": {
              "src": "tag",
              "tagName": "Ubc"
            },
            "v31": {
              "src": "tag",
              "tagName": "Uca"
            },
            "eimp": {
              "src": "tag",
              "tagName": "E_imp"
            },
            "eexp": {
              "src": "tag",
              "tagName": "E_exp"
            }
          }
        },
        {
          "id": 3,
          "value": 0,
          "type": "text",
          "x": 370,
          "y": 50,
          "w": 240,
          "h": 66,
          "label": "Import ImpEp 0x101E",
          "unit": "kWh",
          "decimals": 2,
          "fontSize": 24,
          "color": "#00d4aa",
          "sourceType": "tag",
          "tagName": "E_imp"
        },
        {
          "id": 4,
          "value": 0,
          "type": "text",
          "x": 620,
          "y": 50,
          "w": 240,
          "h": 66,
          "label": "Export ExpEp 0x1028",
          "unit": "kWh",
          "decimals": 2,
          "fontSize": 24,
          "color": "#9fb3cc",
          "sourceType": "tag",
          "tagName": "E_exp"
        },
        {
          "id": 5,
          "value": 0,
          "type": "text",
          "x": 370,
          "y": 126,
          "w": 155,
          "h": 66,
          "label": "Reactive Qt 0x201A",
          "unit": "kvar",
          "decimals": 2,
          "fontSize": 24,
          "color": "#00d4aa",
          "sourceType": "tag",
          "tagName": "Qt"
        },
        {
          "id": 6,
          "value": 0,
          "type": "text",
          "x": 537,
          "y": 126,
          "w": 155,
          "h": 66,
          "label": "PF total 0x202A",
          "unit": "",
          "decimals": 3,
          "fontSize": 24,
          "color": "#00d4aa",
          "sourceType": "tag",
          "tagName": "PFt"
        },
        {
          "id": 7,
          "value": 0,
          "type": "text",
          "x": 705,
          "y": 126,
          "w": 155,
          "h": 66,
          "label": "Raw float Ua 0x2006",
          "unit": "",
          "decimals": 1,
          "fontSize": 24,
          "color": "#f0c040",
          "sourceType": "tag",
          "tagName": "Ua_raw"
        },
        {
          "id": 8,
          "value": 0,
          "type": "text",
          "x": 370,
          "y": 202,
          "w": 155,
          "h": 66,
          "label": "CT ratio IrAt 0x0006",
          "unit": "",
          "decimals": 0,
          "fontSize": 24,
          "color": "#00d4aa",
          "sourceType": "tag",
          "tagName": "CT_ratio"
        },
        {
          "id": 9,
          "value": 0,
          "type": "text",
          "x": 537,
          "y": 202,
          "w": 155,
          "h": 66,
          "label": "PT ratio UrAt 0x0007",
          "unit": "",
          "decimals": 1,
          "fontSize": 24,
          "color": "#00d4aa",
          "sourceType": "tag",
          "tagName": "PT_ratio"
        },
        {
          "id": 10,
          "value": 0,
          "type": "multistate",
          "x": 705,
          "y": 202,
          "w": 155,
          "h": 66,
          "label": "Wiring net 0x0003",
          "states": "0=3P4W:#3fd28a,1=3P3W:#f0c040",
          "sourceType": "tag",
          "tagName": "Wiring_net"
        },
        {
          "id": 11,
          "value": 0,
          "type": "multistate",
          "x": 370,
          "y": 278,
          "w": 155,
          "h": 66,
          "label": "Parity 0x002C",
          "states": "1=DL/T645:#f85149,2=n.2:#9fb3cc,3=n.1:#3fd28a,4=E.1:#9fb3cc,5=o.1:#9fb3cc",
          "sourceType": "tag",
          "tagName": "Comm_protocol"
        },
        {
          "id": 12,
          "value": 0,
          "type": "multistate",
          "x": 537,
          "y": 278,
          "w": 155,
          "h": 66,
          "label": "Baud 0x002D",
          "states": "0=1200:#9fb3cc,1=2400:#9fb3cc,2=4800:#9fb3cc,3=9600:#3fd28a",
          "sourceType": "tag",
          "tagName": "Comm_baud"
        },
        {
          "id": 13,
          "value": 0,
          "type": "text",
          "x": 705,
          "y": 278,
          "w": 155,
          "h": 66,
          "label": "Address 0x002E",
          "unit": "",
          "decimals": 0,
          "fontSize": 24,
          "color": "#00d4aa",
          "sourceType": "tag",
          "tagName": "Comm_addr"
        },
        {
          "id": 14,
          "value": 0,
          "type": "multitend",
          "x": 20,
          "y": 360,
          "w": 840,
          "h": 180,
          "label": "Active power total and per phase (kW)",
          "maxPoints": 1200,
          "decimals": 2,
          "sampleMs": 1000,
          "items": [
            {
              "name": "Pt 0x2012",
              "sourceType": "tag",
              "tagName": "Pt",
              "color": "#00d4aa",
              "value": 0
            },
            {
              "name": "Pa 0x2014",
              "sourceType": "tag",
              "tagName": "Pa",
              "color": "#b5733f",
              "value": 0
            },
            {
              "name": "Pb 0x2016",
              "sourceType": "tag",
              "tagName": "Pb",
              "color": "#c9d1d9",
              "value": 0
            },
            {
              "name": "Pc 0x2018",
              "sourceType": "tag",
              "tagName": "Pc",
              "color": "#808080",
              "value": 0
            }
          ]
        }
      ]
    }
  ],
  "tags": [
    {
      "name": "Uab_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8192,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "line voltage A-B, V (float in 0.1 V), secondary (0x2000, wire 8192)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Ubc_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8194,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "line voltage B-C, V, secondary (0x2002, wire 8194)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Uca_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8196,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "line voltage C-A, V, secondary (0x2004, wire 8196)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Ua_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8198,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase voltage A, V (float in 0.1 V), secondary (0x2006, wire 8198)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Ub_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8200,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase voltage B, V, secondary (0x2008, wire 8200)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Uc_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8202,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase voltage C, V, secondary (0x200A, wire 8202)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Ia_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8204,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase current A, A (float in 0.001 A), secondary (0x200C, wire 8204)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "Ib_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8206,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase current B, A, secondary (0x200E, wire 8206)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "Ic_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8208,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase current C, A, secondary (0x2010, wire 8208)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "Pt_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8210,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "combined active power, kW (float in 0.1 W), secondary (0x2012, wire 8210)",
      "scale": 0.0001,
      "offset": 0
    },
    {
      "name": "Pa_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8212,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "active power A, kW, secondary (0x2014, wire 8212)",
      "scale": 0.0001,
      "offset": 0
    },
    {
      "name": "Pb_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8214,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "active power B, kW, secondary (0x2016, wire 8214)",
      "scale": 0.0001,
      "offset": 0
    },
    {
      "name": "Pc_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8216,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "active power C, kW, secondary (0x2018, wire 8216)",
      "scale": 0.0001,
      "offset": 0
    },
    {
      "name": "Qt_sec",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8218,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "combined reactive power, kvar (float in 0.1 var), secondary (0x201A, wire 8218)",
      "scale": 0.0001,
      "offset": 0
    },
    {
      "name": "PFt",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8234,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "combined power factor (float in 0.001), + inductive, - capacitive (0x202A, wire 8234)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "PFa",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8236,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "power factor A (0x202C, wire 8236)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "PFb",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8238,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "power factor B (0x202E, wire 8238)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "PFc",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8240,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "power factor C (0x2030, wire 8240)",
      "scale": 0.001,
      "offset": 0
    },
    {
      "name": "Freq",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8260,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "frequency, Hz (float in 0.01 Hz) (0x2044, wire 8260)",
      "scale": 0.01,
      "offset": 0
    },
    {
      "name": "Ua_raw",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 8198,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "phase voltage A as the raw float, unscaled (0x2006, wire 8198)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "E_imp",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 4126,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "ImpEp total forward active energy, kWh (0x101E, wire 4126)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "E_imp_A",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 4128,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "ImpEpA forward active energy A, kWh (0x1020, wire 4128)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "E_imp_B",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 4130,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "ImpEpB forward active energy B, kWh (0x1022, wire 4130)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "E_imp_C",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 4132,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "ImpEpC forward active energy C, kWh (0x1024, wire 4132)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "E_exp",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 4136,
      "dataType": "float32",
      "wordOrder": "big",
      "description": "ExpEp total reverse active energy, kWh (0x1028, wire 4136)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "Wiring_net",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 3,
      "dataType": "int16",
      "wordOrder": "big",
      "description": "net: 0 three phase four wire, 1 three phase three wire (0x0003, wire 3)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "CT_ratio",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 6,
      "dataType": "int16",
      "wordOrder": "big",
      "description": "IrAt current transformer rate 1..9999 (0x0006, wire 6)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "PT_ratio",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 7,
      "dataType": "int16",
      "wordOrder": "big",
      "description": "UrAt voltage transformer rate (register x 0.1) (0x0007, wire 7)",
      "scale": 0.1,
      "offset": 0
    },
    {
      "name": "Comm_protocol",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 44,
      "dataType": "int16",
      "wordOrder": "big",
      "description": "Protocol: 1 DL/T645, 2 n.2, 3 n.1, 4 E.1, 5 o.1 (0x002C, wire 44)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "Comm_baud",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 45,
      "dataType": "int16",
      "wordOrder": "big",
      "description": "bAud: 0 1200, 1 2400, 2 4800, 3 9600 (0x002D, wire 45)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "Comm_addr",
      "type": "register",
      "slaveId": 1,
      "regType": "holdingRegisters",
      "address": 46,
      "dataType": "int16",
      "wordOrder": "big",
      "description": "Addr Modbus address 1..247 (0x002E, wire 46)",
      "scale": 1,
      "offset": 0
    },
    {
      "name": "K_I",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "current ratio used by the script (IrAt, 1 if not read yet)"
    },
    {
      "name": "K_U",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "voltage ratio used by the script (UrAt x 0.1, 1 if not read yet)"
    },
    {
      "name": "Uab",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "line voltage A-B, V, primary"
    },
    {
      "name": "Ubc",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "line voltage B-C, V, primary"
    },
    {
      "name": "Uca",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "line voltage C-A, V, primary"
    },
    {
      "name": "Ua",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "phase voltage A, V, primary"
    },
    {
      "name": "Ub",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "phase voltage B, V, primary"
    },
    {
      "name": "Uc",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "phase voltage C, V, primary"
    },
    {
      "name": "Ia",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "phase current A, A, primary"
    },
    {
      "name": "Ib",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "phase current B, A, primary"
    },
    {
      "name": "Ic",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "phase current C, A, primary"
    },
    {
      "name": "Pt",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "combined active power, kW, primary"
    },
    {
      "name": "Pa",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "active power A, kW, primary"
    },
    {
      "name": "Pb",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "active power B, kW, primary"
    },
    {
      "name": "Pc",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "active power C, kW, primary"
    },
    {
      "name": "Qt",
      "type": "internal",
      "slaveId": 0,
      "regType": "holdingRegisters",
      "address": 0,
      "dataType": "float32",
      "wordOrder": "big",
      "value": 0,
      "description": "combined reactive power, kvar, primary"
    }
  ],
  "script": "(* Chint DTSU666: values read over Modbus are secondary-side data,      *)\n(* \"without transformer ratio\" - multiply by the voltage and current      *)\n(* ratio (user manual ZTW0.464.0104, troubleshooting, p. 17).              *)\n(* IrAt 0x0006 is the CT ratio, UrAt 0x0007 the PT ratio x 0.1.            *)\nK_I := CT_ratio; IF K_I <= 0 THEN K_I := 1; END_IF;\nK_U := PT_ratio; IF K_U <= 0 THEN K_U := 1; END_IF;\nUab := Uab_sec * K_U; Ubc := Ubc_sec * K_U; Uca := Uca_sec * K_U;\nUa := Ua_sec * K_U; Ub := Ub_sec * K_U; Uc := Uc_sec * K_U;\nIa := Ia_sec * K_I; Ib := Ib_sec * K_I; Ic := Ic_sec * K_I;\nPt := Pt_sec * K_U * K_I; Pa := Pa_sec * K_U * K_I; Pb := Pb_sec * K_U * K_I; Pc := Pc_sec * K_U * K_I;\nQt := Qt_sec * K_U * K_I;\n",
  "scriptInterval": "1000",
  "historianLogging": {
    "registers": [],
    "tags": []
  },
  "saved": "2026-11-29T12:00:00.000Z"
}