Tolka M-bus-telegrammen
Exempel på svar från mätaren
68 38 38 68 08 15 72 21 08 90 64 43 23 01 07 22 00 00 00 0C 13 05 02 00 00 8C 10 13 00 00 00
00 0C 3B 00 00 00 00 0C 26 00 00 00 00 0B 59 18 24 00 04 6D 32 13 4F 3A 02 FD 17 02 00 81 16
Avkoding och tolkning av svaret från mätaren
| Index |
Fält |
Beskrivning |
Format/Enhet |
| 0 |
Postiv volym |
8-siffrigt BCD-tal |
4 byte / liter |
| 1 |
Negative volym |
8-siffrigt BCD-tal |
4 byte / liter |
| 2 |
Flöde |
8-siffrigt BCD-tal |
4 byte / m3/h |
| 3 |
Drifttid |
8-siffrigt BCD-tal |
4 byte / timmar |
| 4 |
Vattentemperatur |
Integer |
x 0,01 / °C |
| 5 |
Tid |
Integer |
4 byte / timmar |
| 6 |
Felkod |
Integer |
2 byte |
Detaljerad beskrivning med DIF / VIF
{
"len": 62,
"type": "Data",
"l": 56,
"c": 8,
"a": 21,
"ci": 114,
"errors": [],
"fixed": false,
"id": 64900821,
"manId": "HZC",
"version": 1,
"deviceCode": 7,
"deviceType": "Water meter",
"accessN": 34,
"status": 0,
"data": [
{
"id": 0,
"dif": [
12
],
"vif": [
19
],
"type": "Volume",
"unit": "m³",
"value": 0.205,
"rawValue": [
5,
2,
0,
0
],
"func": "Instantaneous",
"storage": 0
},
{
"id": 1,
"dif": [
140,
16
],
"vif": [
19
],
"type": "Volume",
"unit": "m³",
"value": 0,
"rawValue": [
0,
0,
0,
0
],
"func": "Instantaneous",
"device": 0,
"tariff": 1,
"storage": 0
},
{
"id": 2,
"dif": [
12
],
"vif": [
59
],
"type": "Volume Flow",
"unit": "m³/h",
"value": 0,
"rawValue": [
0,
0,
0,
0
],
"func": "Instantaneous",
"storage": 0
},
{
"id": 3,
"dif": [
12
],
"vif": [
38
],
"type": "Operating Time",
"unit": "hours",
"value": 0,
"rawValue": [
0,
0,
0,
0
],
"func": "Instantaneous",
"storage": 0
},
{
"id": 4,
"dif": [
11
],
"vif": [
89
],
"type": "Flow Temperature",
"unit": "°C",
"value": 24.18,
"rawValue": [
24,
36,
0
],
"func": "Instantaneous",
"storage": 0
},
{
"id": 5,
"dif": [
4
],
"vif": [
109
],
"type": "Time Point (time & date)",
"value": {
"rawY": 26,
"y": 2026,
"m": 10,
"d": 15,
"hr": 19,
"mi": 50
},
"rawValue": [
50,
19,
79,
58
],
"func": "Instantaneous",
"storage": 0
},
{
"id": 6,
"dif": [
2
],
"vif": [
253,
23
],
"type": "Error flags",
"unit": "binary",
"value": 2,
"rawValue": [
2,
0
],
"func": "Instantaneous",
"storage": 0
}
]
}