STACKFORCE calculation module.

Wireless M-Bus manufacturer ID calculation.

The generic ID can be derived from the manufacturers ID list maintained by DLMS User Association. This list can be found here: https://www.dlms.com/flag-id/flag-id-list

Calculation of the 16-bit manufacturer ID used in EN 13757-4 based on those three letter codes is like this: 32 x 32 x <A> + 32 x <B> + <C>
Whereas, <A>, <B> and <C> correspond to the number of the character within the alphabet.

Calculation example

The three letter code for manufacturer STACKFORCE is STF.
The character number within the alphabet for the single letters are: S=19, T=20 and F=6.
This leads to: 32 x 32 x 19 + 32 x 20 + 6 = 20102 = 0x4E86

Calculator:

Enter three letter code for the manufacturer: Manufacturer ID:

STACKFORCE calculation module

Serial frame and CRC

Please note: 

This tool can process a maximum of 255 byte input

Enter bytes, separated by spaces:


CRC calculation is shown within the last two bytes of the result.

SERIAL FRAME and CRC:
Input Length: byte(s)