abbb2x: registers.json avec cle registers au 1er niveau (vrai contenu, 11 registres)

This commit is contained in:
Patrick Schurig 2026-06-01 08:52:12 +02:00
parent 14a2ae89c1
commit 47257a6a29

View File

@ -1,163 +1,29 @@
{ {
"className": "AbbB2x", "className": "AbbB2x",
"protocol": "BOTH", "protocol": "RTU",
"endianness": "BigEndian", "endianness": "BigEndian",
"errorLimitUntilNotReachable": 15, "errorLimitUntilNotReachable": 15,
"checkReachableRegister": "voltagePhaseA", "checkReachableRegister": "voltagePhaseA",
"registers": [
{ "id": "voltagePhaseA", "address": 23296, "size": 2, "type": "uint32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Voltage L1-N", "unit": "V", "defaultValue": "0", "access": "RO" },
{ "id": "voltagePhaseB", "address": 23298, "size": 2, "type": "uint32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Voltage L2-N", "unit": "V", "defaultValue": "0", "access": "RO" },
{ "id": "voltagePhaseC", "address": 23300, "size": 2, "type": "uint32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Voltage L3-N", "unit": "V", "defaultValue": "0", "access": "RO" },
{ "id": "currentPhaseA", "address": 23308, "size": 2, "type": "uint32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Current L1", "unit": "A", "defaultValue": "0", "access": "RO" },
{ "id": "currentPhaseB", "address": 23310, "size": 2, "type": "uint32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Current L2", "unit": "A", "defaultValue": "0", "access": "RO" },
{ "id": "currentPhaseC", "address": 23312, "size": 2, "type": "uint32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Current L3", "unit": "A", "defaultValue": "0", "access": "RO" },
{ "id": "activePowerTotal", "address": 23316, "size": 2, "type": "int32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Active power Total (signed)", "unit": "W", "defaultValue": "0", "access": "RO" },
{ "id": "activePowerPhaseA", "address": 23318, "size": 2, "type": "int32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Active power L1 (signed)", "unit": "W", "defaultValue": "0", "access": "RO" },
{ "id": "activePowerPhaseB", "address": 23320, "size": 2, "type": "int32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Active power L2 (signed)", "unit": "W", "defaultValue": "0", "access": "RO" },
{ "id": "activePowerPhaseC", "address": 23322, "size": 2, "type": "int32", "registerType": "holdingRegister", "readSchedule": "update", "description": "Active power L3 (signed)", "unit": "W", "defaultValue": "0", "access": "RO" },
{ "id": "frequency", "address": 23340, "size": 1, "type": "uint16", "registerType": "holdingRegister", "readSchedule": "update", "description": "Frequency", "unit": "Hz", "defaultValue": "0", "access": "RO" }
],
"blocks": [ "blocks": [
{
"id": "instantaneousValues",
"readSchedule": "update",
"registers": [
{
"id": "voltagePhaseA",
"address": 23296,
"size": 2,
"type": "uint32",
"unit": "0.1V",
"registerType": "holdingRegister",
"description": "Voltage L1-N",
"defaultValue": "0",
"access": "RO"
},
{
"id": "voltagePhaseB",
"address": 23298,
"size": 2,
"type": "uint32",
"unit": "0.1V",
"registerType": "holdingRegister",
"description": "Voltage L2-N",
"defaultValue": "0",
"access": "RO"
},
{
"id": "voltagePhaseC",
"address": 23300,
"size": 2,
"type": "uint32",
"unit": "0.1V",
"registerType": "holdingRegister",
"description": "Voltage L3-N",
"defaultValue": "0",
"access": "RO"
},
{
"id": "currentPhaseA",
"address": 23308,
"size": 2,
"type": "uint32",
"unit": "0.01A",
"registerType": "holdingRegister",
"description": "Current L1",
"defaultValue": "0",
"access": "RO"
},
{
"id": "currentPhaseB",
"address": 23310,
"size": 2,
"type": "uint32",
"unit": "0.01A",
"registerType": "holdingRegister",
"description": "Current L2",
"defaultValue": "0",
"access": "RO"
},
{
"id": "currentPhaseC",
"address": 23312,
"size": 2,
"type": "uint32",
"unit": "0.01A",
"registerType": "holdingRegister",
"description": "Current L3",
"defaultValue": "0",
"access": "RO"
},
{
"id": "activePowerTotal",
"address": 23316,
"size": 2,
"type": "int32",
"unit": "0.01W",
"registerType": "holdingRegister",
"description": "Active power Total (signed: + import / - export)",
"defaultValue": "0",
"access": "RO"
},
{
"id": "activePowerPhaseA",
"address": 23318,
"size": 2,
"type": "int32",
"unit": "0.01W",
"registerType": "holdingRegister",
"description": "Active power L1 (signed)",
"defaultValue": "0",
"access": "RO"
},
{
"id": "activePowerPhaseB",
"address": 23320,
"size": 2,
"type": "int32",
"unit": "0.01W",
"registerType": "holdingRegister",
"description": "Active power L2 (signed)",
"defaultValue": "0",
"access": "RO"
},
{
"id": "activePowerPhaseC",
"address": 23322,
"size": 2,
"type": "int32",
"unit": "0.01W",
"registerType": "holdingRegister",
"description": "Active power L3 (signed)",
"defaultValue": "0",
"access": "RO"
},
{
"id": "frequency",
"address": 23340,
"size": 1,
"type": "uint16",
"unit": "0.01Hz",
"registerType": "holdingRegister",
"description": "Frequency",
"defaultValue": "0",
"access": "RO"
}
]
},
{ {
"id": "energyAccumulators", "id": "energyAccumulators",
"readSchedule": "update", "readSchedule": "update",
"registers": [ "registers": [
{ { "id": "totalEnergyConsumed", "address": 20480, "size": 4, "type": "uint64", "registerType": "holdingRegister", "readSchedule": "update", "description": "Active import", "unit": "kWh", "defaultValue": "0", "access": "RO" },
"id": "totalEnergyConsumed", { "id": "totalEnergyProduced", "address": 20484, "size": 4, "type": "uint64", "registerType": "holdingRegister", "readSchedule": "update", "description": "Active export", "unit": "kWh", "defaultValue": "0", "access": "RO" }
"address": 20480,
"size": 4,
"type": "uint64",
"unit": "0.01kWh",
"registerType": "holdingRegister",
"description": "Active import (total consumed energy)",
"defaultValue": "0",
"access": "RO"
},
{
"id": "totalEnergyProduced",
"address": 20484,
"size": 4,
"type": "uint64",
"unit": "0.01kWh",
"registerType": "holdingRegister",
"description": "Active export (total produced energy)",
"defaultValue": "0",
"access": "RO"
}
] ]
} }
] ]