M-bus data information block (DIB)
The coding of the data information field (DIF)
Bit 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Extension bit (E) | LSbit of storage number | Function field | Data field: Length and coding data | ||||
The coding of the data information field extension (DIFE)
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Value | Extension Bit (E) | Device Subunit | Tariff | Storage number | ||||
With the maximum of 10 DIFEs, which are provided, there are 41 bits for the storage number. 20 bits for the tariff and 10 bits for the subunit of the meter. There is no application conceivable in which this immense number of bits could all be used.
DIB fields in preset mode
The DIB fields, for example, function, storage number, tariff, and subunit are modeled as virtual properties and visualized as separate user interface elements.
Validation:
- Storage Number: Max. 41 bits -> Max. value = 2199023255552
- Tariff: Max. 20 bits -> Max. value = 1048576
- Subunit: Max. 10 bits -> Max. value = 1,024
Depending on the value that is entered in these virtual properties, number of bits required to accommodate that value is calculated, and based on that the number of DIFE's is be adjusted (added/removed).