Danfoss Sonometer 40 Wired M-bus Protocol Description Instruction Manual

Danfoss Sonometer 40 Wired M-bus Protocol Description Instruction Manual

Danfoss-logo

Danfoss SonoMeter 40 Wired M-Bus Protocol Description

Danfoss-SonoMeter-40-Wired-M-Bus-Protocol-Description-product

General structure of protocol

General features of protocol

  • Meter uses an M-bus protocol.
  • Default baud rate: 2400 bps, Even, 1 Stop.
  • The Baud rate can be changed.
  • The protocol is the same for the Mbus interface and for the optical interface.
  • The primary address of Mbus is individual for the Mbus interface and for the optical interface.

Data strings

Data string to meter SND_NKE:

12345
10h40hACS16h
  • A – M-bus primary address of meter
  • CS – control sum (the youngest byte of amount of 2-nd and 3-rd bytes)

Data string to meter SND_UD2

12345678…n-2n-1n
68hLL68h53h 73hA51hData bytesCS16h
  • L – length of string (the number of bytes from 5-th to n-2 byte)
  • A – M-bus primary address of meter
  • CS – control sum (the youngest byte of the amount of 5-th to n-2 bytes)

Data string to meter REQ_UD2:

12345
10h5Bh 7BhACS16h
  • A – M-bus primary address of the meter
  • CS – control sum (the youngest byte of the amount of 2-nd and 3-rd bytes)

The answer of the meter CON:

  • E5h

Answer of the meter RSP_UD2:

12345678…1112, 131415161718,19
68hLL68hCACIIDManVrsMdTCStSign
20 n-2n-1n
DIFVIFData DIFVIFDataCS16h
  • L – length of string (the number of bytes from 5-th to n-2 byte)
  • C – „C field“ (08)
  • A – M-bus primary address of the meter
  • CI – „CI field“
  • ID – identification number of a meter (BSD8, used for secondary addressing, can be changed – see paragraph 4.1),
  • Man – Manufacturer code (Danfoss A/S manufacturer code is „DFS“, 10 D3)
  • Vrs – number of protocol versions (0Bh)
  • Md – code of medium (for „heat / cold energy“: 0Dh)
  • TC – counter of telegrams
  • St – meter status code
  • Sign – 00 00
  • The bytes 20…n-2 is data from the meter:
    • DIF – code of data format
    • VIF – code of data units
    • Data– values of data
  • CS – control sum (the youngest byte of the amount of 5-th to n-2 bytes).

Selection of the data type

Master sends to the meter telegram SND_UD2:

68h03h03h68h53h 73hA50hCS16h

Selection of the data type “All data”

68h04h04h68h53h 73hA50h00hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “User data”
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h10hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “Simple billing” (Years logger)
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h20hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “Enhanced billing” (Days logger)
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h30hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “Multi tariff billing” (Months logger)
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h40hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “Instantaneous values”
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h50hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “Load management values for management” (Hours logger)
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h60hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Selection of the data type “Installation and startup”
Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h80hCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Master sends to the meter telegram SND_UD2:

68h04h04h68h53h 73hA50h90hCS16h

Selection of the data type “Testing”
Answer of the meter CON (if A not equal FFh):

  • E5h

The parameter list for preselecting

If not satisfied with Default parameter lists (presented in tables 1 … 9). Obtain the desired parameter list presented in Table 11th.
(Paragraph 2.1 … 2.9) Additionally it is needed to send the parameter selecting telegram SND_UD2:

68hLL68h53h 73hA51hSEL1SEL2SELNCS16h
  • SEL selecting parameter code from the table of 11 (made out of sequence as many codes as you want to select of the parameters).

Note: It may be selected as many parameters but the Response telegram length can not exceed 250 bytes

Answer of the meter CON (if A not equal FFh):

  • E5h

Data request

Master sends to the meter telegram SND_UD2:

10h53h 73hACS16h

Data request
In all cases, except A = FFh, meter response RSP_UD2 telegram with selected data (tables 1 …9) If no data record, the answer of meter is CON:

  • E5h

Application reset sub-codes and storages: All data (CI = 50 or CI = 50 00)

Default list

#ParameterDIF VIFTypeUnits
1Date and time04 6D32 bit integerType F
2Date and time of error starting34 6D32 bit integerType F
3Error code34 FD 1732 bit integer 
4Battery operation time04 2032 bit integersec
5Working time without error04 2432 bit integersec
 

6

 

Energy for heating

(04 86 3B)

(04 8E 3B) (04 FB 8D 3B)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

7

 

Energy for cooling *

(04 86 3C)

(04 8E 3C) (04 FB 8D 3C)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

8

 

Energy of tariff 1 *

(84 10 86 3x)

(84 10 8E 3x)

(84 10 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

9

 

Energy of tariff 2 *

(84 20 86 3x)

(84 20 8E 3x)

(84 20 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

10Volume04 1332 bit integer0,001 m3
11Volume of pulse input 1 *84 40 1332 bit integer0,001 m3
12Volume of pulse input 2 *84 80 40 1332 bit integer0,001 m3
13Power04 2B32 bit integerW
14Flow rate04 3B32 bit integer0,001m3/h
15Temperature 102 5916 bit integer0,01ºC
16Temperature 202 5D16 bit integer0,01ºC
17Temperature difference02 6116 bit integer0,01K
18Serial number0C 7832bit BCD8 
19CRC02 7F16 bit integerCRC16

x = B – for energy for heating, x = C – for energy for cooling.

Meter data coding

Application reset sub-codes and storages: User data (CI = 50 10)

Default list

#ParameterDIF VIFTypeUnits
1Date and time04 6D32 bit integerType F
2Date and time of error starting34 6D32 bit integerType F
3Error code34 FD 1732 bit integer 
4Battery operation time04 2032 bit integersec
5Volume of pulse input 1 *84 40 1332 bit integer0,001 m3
6Volume of pulse input 2 *84 80 40 1332 bit integer0,001 m3
7Pulse value of input 1 *02 93 2816 bit integer0,001 m3
8Pulse value of input 2 *02 93 2916 bit integer0,001 m3
9Pulse value of output 1 *02 93 2A16 bit integer0,001 m3
10Pulse value of output 2 *02 93 2B16 bit integer0,001 m3
11Software version01 FD 0E8 bit integer
12Yearly set day42 EC 7EType G
13Monthly set day82 08 EC 7EType G
14Meter type0D FD 0B88 bit string
15Serial number0C 7832bit BCD8
16CRC02 7F16 bit integerCRC16

Application reset sub-codes and storages: Simple billing (Years logger) (CI = 50 20)

Default list

#ParameterDIF VIFTypeUnits
1Logger date and time44 6D32 bit integerType F
2Logger working time without error44 2432 bit integersec
 

3

 

Logger energy for heating

(44 86 3B)

(44 8E 3B) (44 FB 8D 3B)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

4

 

Logger energy for cooling *

(44 86 3C)

(44 8E 3C) (44 FB 8D 3C)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

5

 

Logger energy of tariff 1 *

(C4 10 86 3x) (C4 10 8E 3x) (C4 10 FB 8D 3x) 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

6

 

Logger energy of tariff 2 *

(C4 20 86 3x) (C4 20 8E 3x) (C4 20 FB 8D 3x) 

32 bit integer

(kWh),

(MJ),

(Mcal).

7Logger volume44 1332 bit integer0,001 m3
8Logger volume of pulse input 1 *C4 40 1332 bit integer0,001 m3
9Logger volume of pulse input 2 *C4 80 40 1332 bit integer0,001 m3
10CRC02 7F16 bit integerCRC16

x = B – for energy for heating, x = C – for energy for cooling

Application reset sub-codes and storages: Enhanced billing (Days logger) (CI = 50 30)

Default list

#ParameterDIF VIFTypeUnits
#ParameterDIF VIFTypeUnits
1Logger date and time84 08 6D32 bit integerType F
2Average temperature 182 08 5916 bit integer0,01ºC
3Average temperature 282 08 5D16 bit integer0,01ºC
4Logger working time without error84 08 2432 bit integersec
 

5

 

Logger energy for heating

(84 08 86 3B)

(84 08 8E 3B)

(84 08 FB 8D 3B)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

6

 

Logger energy for cooling *

(84 08 86 3C)

(84 08 8E 3C)

(84 08 FB 8D 3C)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

7

 

Logger energy of tariff 1 *

(84 18 86 3x)

(84 18 8E 3x)

(84 18 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

8

 

Logger energy of tariff 2 *

(84 28 86 3x)

(84 28 8E 3x)

(84 28 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

9Logger volume84 08 1332 bit integer0,001 m3
10Logger volume of pulse input 1 *84 48 1332 bit integer0,001 m3
11Logger volume of pulse input 2 *84 88 40 1332 bit integer0,001 m3
12Logger duration when q > qmax84 08 BB 5832 bit integersec
13CRC02 7F16 bit integerCRC16

x = B – for energy for heating, x = C – for energy for cooling.

Application reset sub-codes and storages: Multi tariff billing (Months logger) (CI = 50 40)

Default list

#ParameterDIF VIFTypeUnits
1Logger date and time84 08 6D32 bit integerType F
2Average temperature 182 08 5916 bit integer0,01ºC
3Average temperature 282 08 5D16 bit integer0,01ºC
4Logger working time without error84 08 2432 bit integersec
 

5

 

Logger energy for heating

(84 08 86 3B)

(84 08 8E 3B)

(84 08 FB 8D 3B)

 

32 bit integer

kWh (MJ)

(Mcal)

 

6

 

Logger energy for cooling *

(84 08 86 3C)

(84 08 8E 3C)

(84 08 FB 8D 3C)

 

32 bit integer

kWh (MJ)

(Mcal)

 

7

 

Logger energy of tariff 1 *

(84 18 86 3x)

(84 18 8E 3x)

(84 18 FB 8D 3x)

 

32 bit integer

kWh (MJ)

(Mcal)

 

8

 

Logger energy of tariff 2 *

(84 28 86 3x)

(84 28 8E 3x)

(84 28 FB 8D 3x)

 

32 bit integer

kWh (MJ)

(Mcal)

9Logger volume84 08 1332 bit integer0,001 m3
10Logger volume of pulse input 1 *84 48 1332 bit integer0,001 m3
11Logger volume of pulse input 2 *84 88 40 1332 bit integer0,001 m3
12Logger duration when q > qmax84 08 BE 5832 bit integersec
13CRC02 7F16 bit integerCRC16

x = B – for energy for heating, x = C – for energy for cooling

Remark
If meter is specially configured, in table 5 listed monthly parameters data is transmitted and in accordance after inquiry (“All data” table 1) data transmission.

Application reset sub-codes and storages: Instantaneous values (CI = 50 50)

Default list

#ParameterDIF VIFTypeUnits
1Date and time04 6D32 bit integerType F
2Date and time of error starting34 6D32 bit integerType F
3Error code34 FD 1732 bit integer
4Battery operation time04 2032 bit integersec
5Working time without error04 2432 bit integersec
 

6

 

Energy for heating

(04 86 3B)

(04 8E 3B) (04 FB 8D 3B)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

7

 

Energy for cooling *

(04 86 3C)

(04 8E 3C) (04 FB 8D 3C)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

8

 

Energy of tariff 1 *

(84 10 86 3x)

(84 10 8E 3x)

(84 10 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

9

 

Energy of tariff 2 *

(84 20 86 3x)

(84 20 8E 3x)

(84 20 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

10Volume04 1332 bit integer0,001 m3
11Volume of pulse input 1 *84 40 1332 bit integer0,001 m3
12Volume of pulse input 2 *84 80 40 1332 bit integer0,001 m3
13Power04 2B32 bit integerW
14Flow rate04 3B32 bit integer0,001m3/h
15Temperature 102 5916 bit integer0,01ºC
16Temperature 202 5D16 bit integer0,01ºC
17Temperature difference02 6116 bit integer0,01K
18Meter type0D FD 0B88 bit string
19Serial number0C 7832bit BCD8
20CRC02 7F16 bit integerCRC16

x = B – for energy for heating, x = C – for energy for cooling

Application reset sub-codes and storages: Load management values for management (Hours logger) (CI = 50 60)

Default list

#ParameterDIF VIFTypeUnits
1Logger date and timeC4 86 03 6D32 bit integerType F
2Average powerC4 86 03 2B32 bit integerW
3Average flowC4 86 03 3B32 bit integer0,001 m3/h
4Average temperature 1C2 86 03 5916 bit integer0,01 ºC
5Average temperature 2C2 86 03 5D16 bit integer0,01 ºC
6Logger min flowE4 86 03 3B32 bit integer0,001 m3/h
7Logger max flowD4 86 03 3B32 bit integer0,001 m3/h
8Logger min temperature differenceE2 86 03 6116 bit integer0,01 K
9Logger max temperature differenceD2 86 03 6116 bit integer0,01 K
10Logger error codeF4 86 03 FD 1732 bit integer
11Logger working time without errorC4 86 03 2432 bit integersec
 

12

 

Logger energy for heating

(C4 86 03 86 3B)

(C4 86 03 8E 3B)

(C4 86 03 FB 8D 3B)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

13

 

Logger energy for cooling *

(C4 86 03 86 3C)

(C4 86 03 8E 3C)

(C4 86 03 FB 8D 3C)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

14

 

Logger energy of tariff 1 *

(C4 96 03 86 3x)

(C4 96 03 8E 3x)

(C4 96 03 FB 8D 3x)

 

32 bit integer

(kWh),

(MJ),

(Mcal).

 

15

 

Logger energy of tariff 2 *

(C4 A6 03 86 3x) (C4 A6 03 8E 3x) (C4 A6 03 FB 8D 3x) 

32 bit integer

(kWh),

(MJ),

(Mcal).

16Logger volumeC4 86 03 1332 bit integer0,001 m3
17Logger volume of pulse input 1 *C4 C6 03 1332 bit integer0,001 m3
18Logger volume of pulse input 2 *C4 86 43 1332 bit integer0,001 m3
19Logger duration when q > qmaxC4 86 03 BE 5832 bit integersec
20CRC02 7F16 bit integerCRC16

x = B – for energy for heating, x = C – for energy for cooling

Default list

#ParameterDIF VIFTypeUnits
1Date and time04 6D32 bit integerType F
2Date and time of error starting34 6D32 bit integerType F
3Error code34 FD 1732 bit integer
4Battery operation time04 2032 bit integersec
5Working time without error04 2432 bit integersec
6Test mode status01 FF 038 bit integer
7Device mode status01 FF 048 bit integer
8Software version01 FD 0E8 bit integer
9Yearly set day42 EC 7EType G
10Monthly set day82 08 EC 7EType G
11Meter type0D FD 0B88 bit string
12Serial number0C 7832bit BCD8
13CRC02 7F16 bit integerCRC16

Application reset sub-codes and storages: Testing (CI = 50 90)

Default list

#ParameterDIF VIFTypeUnits
1Date and time04 6D32 bit integerType F
2Date and time of error starting34 6D32 bit integerType F
3Error code34 FD 1732 bit integer
4Battery operation time04 2032 bit integersec
5Flow rate04 3B32 bit integer0,001 m3/h
6Temperature 102 5916 bit integer0,01 ºC
7Temperature 202 5D16 bit integer0,01 ºC
8Temperature difference02 6116 bit integer0,01 K
9Pulse value of energy test output02 FF 0116 bit integer
10Pulse value of volume test output02 FF 0216 bit integer
11Test mode status01 FF 038 bit integer
12Device mode status01 FF 048 bit integer
13Volume high resolution04 0132 bit integermWh
14Energy high resolution04 1032 bit integerml
15Device configuration01 FF 098 bit integer
16Software version01 FD 0E8 bit integer
17Device type0D FD 0B88 bit string
18Seial number0C 7832bit BCD8
19CRC02 7F16 bit integerCRC16

Error code encryption

Byte NBite Nif bite = 1LCD indication code “ERROR xxxx”
 

 

 

 

0

0
1
2Hardware status flag Er028000
3Hardware status flag Er038000
4End of battery live time1000
5Hardware status flag Er050008
6
7
 

 

 

 

1

0
1
2Flow sensor is empty0001
3Flow flows in a reverse direction0002
4Flow rate less qi
5
6
7
 

 

 

 

2

0Temperature sensor 1 error or short circuit0080
1Temperature sensor 1 disconnected0080
2Temperature 1 < 0ºC00C0
3Temperature 1 > 180ºC0080
4Temperature sensor2 error or short circuit0800
5Temperature sensor 2 disconnected0800
6Temperature 2 < 0ºC0C00
7Temperature 2 > 180ºC0800
 

 

 

 

3

0Hardware status flag Er300880
1
2Temperature difference < 3ºC4000
3Temperature difference > 150ºC2000
4Flow rate greater 1,2qs0004
5Hardware status flag Er358000
6
7Hardware status flag Er378000

Parameters list for preselecting

 

#

 

Parameter

 

SEL

DIF VIF 

Type

 

Units

CI = 50

Instantaneous

CI = 50 60

Hours logger

CI = 50 30

Days logger

CI = 50 40

Months logger

CI = 50 20

Years logger

1Date and time stampC8 FF 7F 6D04 6DC4 86 03 6D84 08 6D84 08 6D44 6D32 bit integerType F
2Working time without errorC8 FF 7F 2404 24C4 86 03 2484 08 2484 08 2444 2432 bit integersec
3Error codeF8 FF 7F FD 1734 FD 17F4 86 03 FD 17B4 08 FD 17B4 08 FD 1774 FD 1732 bit integer
4Date and time of error startingF8 FF 7F 6D34 6D32 bit integerType F
 

5

 

Energy for heating

C8 0F FE 3B (C8 0F FE FE 3B

for „Mcal“)

(04 86 3B)

(04 8E 3B) (04 FB 8D 3B)

(C4 86 03 86 3B)

(C4 86 03 8E 3B)

(C4 86 03 FB 8D 3B)

(84 08 86 3B)

(84 08 8E 3B)

(84 08 FB 8D 3B)

(84 08 86 3B)

(84 08 8E 3B)

(84 08 FB 8D 3B)

(44 86 3B)

(44 8E 3B) (44 FB 8D 3B)

 

32 bit integer

kWh (MJ)

(Mcal)

 

6

 

Energy for cooling *

C7 0F FE 3C (C8 0F FE FE 3C

for „Mcal“)

(04 86 3C)

(04 8E 3C) (04 FB 8D 3C)

(C4 86 03 86 3C)

(C4 86 03 8E 3C)

(C4 86 03 FB 8D 3C)

(84 08 86 3C)

(84 08 8E 3C)

(84 08 FB 8D 3C)

(84 08 86 3C)

(84 08 8E 3C)

(84 08 FB 8D 3C)

(44 86 3C)

(44 8E 3C) (44 FB 8D 3C)

 

32 bit integer

kWh (MJ)

(Mcal)

7VolumeC8 FF 7F 1304 13C4 86 03 1384 08 1384 08 1344 1332 bit integer0,001 m3
 

8

 

Energy of tariff 1 *

 

C8 1F 7E

(84 10 86 3x)

(84 10 8E 3x)

(84 10 FB 8D 3x)

(C4 96 03 86 3x)

(C4 96 03 8E 3x)

(C4 96 03 FB 8D 3x)

(84 18 86 3x)

(84 18 8E 3x)

(84 18 FB 8D 3x)

(84 18 86 3x)

(84 18 8E 3x)

(84 18 FB 8D 3x)

(C4 10 86 3x) (C4 10 8E 3x) (C4 10 FB 8D 3x) 

32 bit integer

kWh (MJ)

(Mcal)

 

9

 

Energy of tariff 2 *

 

C8 BF 7F 7E

(84 20 86 3x)

(84 20 8E 3x)

(84 20 FB 8D 3x)

(C4 A6 03 86 3x) (C4 A6 03 8E 3x) (C4 A6 03 FB 8D 3x)(84 28 86 3x)

(84 28 8E 3x)

(84 28 FB 8D 3x)

(84 28 86 3x)

(84 28 8E 3x)

(84 28 FB 8D 3x)

(C4 20 86 3x) (C4 20 8E 3x) (C4 20 FB 8D 3x) 

32 bit integer

kWh (MJ)

(Mcal)

10Volume of pulse input 1 *C8 FF 3F 7B84 40 13C4 C6 03 1384 48 1384 48 13C4 40 1332 bit integer0,001 m3
11Volume of pulse input 2 *C8 BF 7F 7B84 80 40 13C4 86 43 1384 88 40 1384 88 40 13C4 80 40 1332 bit integer0,001 m3
12Average powerC8 FF 7F 2B04 2BC4 86 03 2B84 08 2B84 08 2B44 2B32 bit integerW
13Averago Flow rateC8 FF 7F 3B04 3BC4 86 03 3B84 08 3B84 08 3B44 3B32 bit integer0,001 m3/h
14Average Temperature 1C8 FF 7F 5902 59C2 86 03 5982 08 5982 08 5942 5916 bit integer0,01 ºC
15Average Temperature 2C8 FF 7F 5D02 5DC2 86 03 5D82 08 5D82 08 5D42 5D16 bit integer0,01 ºC
16Average Temperature differenceC8 FF 7F 6102 61C2 86 03 6182 08 6182 08 6142 6116 bit integer0,01 K
17Min PowerE8 FF 7F 2BE4 86 03 2BA4 08 2BA4 08 2B64 2B32 bit integerW
18Min Power dateE8 FF 7F AB 6DE4 86 03 AB 6DA4 08 AB 6DA4 08 AB 6D64 AB 6D32 bit integerType F
19Max PowerD8 FF 7F 2BD4 86 03 2B94 08 2B94 08 2B54 2B32 bit integerW
20Max Power dateD8 FF 7F AB 6DD4 86 03 AB 6D94 08 AB 6D94 08 AB 6D54 AB 6D32 bit integerType F
21Min Flow rateE8 FF 7F 3BE4 86 03 3BA4 08 3BA4 08 3B64 3B32 bit integer0,001 m3/h
22Min Flow rate DateE8 FF 7F BB 6DE4 86 03 BB 6DA4 08 BB 6DA4 08 BB 6D64 BB 6D32 bit integerType F
23Max Flow rateD8 FF 7F 3BD4 86 03 3B94 08 3B94 08 3B54 3B32 bit integer0,001 m3/h
24Max Flow rate DateD8 FF 7F BB 6DD4 86 03 BB 6D94 08 BB 6D94 08 BB 6D54 BB 6D32 bit integerType F
25Min Temerature 1E8 FF 7F DB 59E2 86 03 59A2 08 59A4 08 5962 5916 bit integer0,01 ºC
26Min Temerature 1 DateE8 FF 7F D9 6DE4 86 03 D9 6DA4 08 D9 6DA4 08 D9 6D64 D9 6D32 bit integerType F
27Max Temperature 1D8 FF 7F 59D2 86 03 5992 08 5992 08 5952 5916 bit integer0,01ºC
28Max Temperature 1 DateD8 FF 7F D9 6DD4 86 03 D9 6D94 08 D9 6D94 08 D9 6D54 D9 6D32 bit integerType F
29Min temperature 2E8 FF 7F 5DE2 86 03 5DA2 08 5DA2 08 5D62 5D16 bit integer0,01ºC
30Min Temperature 2 DateE8 FF 7F DD 6DE4 86 03 DD 6DA4 08 DD 6DA4 08 DD 6D64 DD 6D32 bit integerType F
31Max Temperature 2D8 FF 7F 5DD2 86 03 5D92 08 5D92 08 5D52 5D16 bit integer0,01ºC
32Max Temperature 2 DateD8 FF 7F DD 6DD4 86 03 DD 6D94 08 DD 6D94 08 DD 6D54 DD 6D32 bit integerType F
33Min Temperature differenceE8 FF 7F 61E2 86 03 61A2 08 61A2 08 6162 6116 bit integer0,01K
34Min Temperature difference DateE8 FF 7F E1 6DE4 86 03 E1 6DA4 08 E1 6DA4 08 E1 6D64 E1 6D32 bit integerType F
35Max Temperature differenceD8 FF 7F 61D2 86 03 6192 08 6192 08 6152 6116 bit integer0,01K
36Max Temperature difference DateD8 FF 7F E1 6DD4 86 03 E1 6D94 08 E1 6D94 08 E1 6D54 E1 6D32 bit integerType F
37Duration when q < qminC8 FF 7F BE 5004 BE 50C4 86 03 BE 5084 08 BE 5084 08 BE 5044 BE 5032 bit integersec
38Flow min level qminC8 FF 7F BE 4005 BE 40float1 m3/h
39Duration when q > qmaxC8 FF 7F BE 5804 BE 58C4 86 03 BE 5884 08 BE 5884 08 BE 5844 BE 5832 bit integersec
40Flow max level qmaxC8 FF 7F BE 4805 BE 48float1 m3/h
41Battery operation timeC8 FF 7F 2004 2032 bit integersec
42Energy high resolutionC8 FF 7F 0104 0132 bit integer 
43Volume high resolutionC8 FF 7F 1004 1032 bit integer 

x = B – for energy for heating, x = C – for energy for cooling.

Remarks:

  1. Table 1…11 energy and volume DIF VIF codes are provided of comma position for 0,001 MWh, 0,001 GJ, 0,001 Gcal, and 0,001 m3. Other values can be set for energy and volume.
  2. Table 1…11 parameters marked “*”, will be transmitted only if the conditions are kept:
ParameterCondition
Energy for cooling . Logger energy for coolingHeat meter application type – for measurement of energy consumed for heating and cooling
Energy of tariff 1. Logger energy of tariff 1Tariff 1 function is On
Energy of tariff 2, Logger energy of tariff 2Tariff 2 function is On
Volume of pulse input 1, Logger pulse input 1Pulse input 1 is active
Volume of pulse input 2, Logger pulse input 2Pulse input 2 is active
Pulse value of output 1Pulse output 1 is active
Pulse value of output 2Pulse output 2 is active
CRC16 checksum calculation algorithm
  • The polynomial x^0 + x^5 + x^12.
  • const __u16 crc_ccitt_table[256] = {
    • 0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf,
    • 0x8c48, 0x9dc1, 0xaf5a, 0xbed3, 0xca6c, 0xdbe5, 0xe97e, 0xf8f7, 0x1081, 0x0108, 0x3393, 0x221a, 0x56a5, 0x472c, 0x75b7, 0x643e, 0x9cc9, 0x8d40, 0xbfdb, 0xae52, 0xdaed, 0xcb64, 0xf9ff,
    • 0xe876, 0x2102, 0x308b, 0x0210, 0x1399, 0x6726, 0x76af, 0x4434, 0x55bd, 0xad4a, 0xbcc3, 0x8e58, 0x9fd1, 0xeb6e, 0xfae7, 0xc87c, 0xd9f5, 0x3183, 0x200a, 0x1291, 0x0318, 0x77a7, 0x662e,
    • 0x54b5, 0x453c, 0xbdcb, 0xac42, 0x9ed9, 0x8f50, 0xfbef, 0xea66, 0xd8fd, 0xc974, 0x4204, 0x538d, 0x6116, 0x709f, 0x0420, 0x15a9, 0x2732, 0x36bb, 0xce4c, 0xdfc5, 0xed5e, 0xfcd7, 0x8868,
    • 0x99e1, 0xab7a, 0xbaf3, 0x5285, 0x430c, 0x7197, 0x601e, 0x14a1, 0x0528, 0x37b3, 0x263a, 0xdecd, 0xcf44, 0xfddf, 0xec56, 0x98e9, 0x8960, 0xbbfb, 0xaa72, 0x6306, 0x728f, 0x4014, 0x519d,
    • 0x2522, 0x34ab, 0x0630, 0x17b9, 0xef4e, 0xfec7, 0xcc5c, 0xddd5, 0xa96a, 0xb8e3, 0x8a78, 0x9bf1, 0x7387, 0x620e, 0x5095, 0x411c, 0x35a3, 0x242a, 0x16b1, 0x0738, 0xffcf, 0xee46, 0xdcdd,
    • 0xcd54, 0xb9eb, 0xa862, 0x9af9, 0x8b70, 0x8408, 0x9581, 0xa71a, 0xb693, 0xc22c, 0xd3a5, 0xe13e, 0xf0b7, 0x0840, 0x19c9, 0x2b52, 0x3adb, 0x4e64, 0x5fed, 0x6d76, 0x7cff, 0x9489, 0x8500,
    • 0xb79b, 0xa612, 0xd2ad, 0xc324, 0xf1bf, 0xe036, 0x18c1, 0x0948, 0x3bd3, 0x2a5a, 0x5ee5, 0x4f6c, 0x7df7, 0x6c7e, 0xa50a, 0xb483, 0x8618, 0x9791, 0xe32e, 0xf2a7, 0xc03c, 0xd1b5, 0x2942,
    • 0x38cb, 0x0a50, 0x1bd9, 0x6f66, 0x7eef, 0x4c74, 0x5dfd, 0xb58b, 0xa402, 0x9699, 0x8710, 0xf3af, 0xe226, 0xd0bd, 0xc134, 0x39c3, 0x284a, 0x1ad1, 0x0b58, 0x7fe7, 0x6e6e, 0x5cf5, 0x4d7c,
    • 0xc60c, 0xd785, 0xe51e, 0xf497, 0x8028, 0x91a1, 0xa33a, 0xb2b3, 0x4a44, 0x5bcd, 0x6956, 0x78df, 0x0c60, 0x1de9, 0x2f72, 0x3efb, 0xd68d, 0xc704, 0xf59f, 0xe416, 0x90a9, 0x8120, 0xb3bb,
    • 0xa232, 0x5ac5, 0x4b4c, 0x79d7, 0x685e, 0x1ce1, 0x0d68, 0x3ff3, 0x2e7a, 0xe70e, 0xf687, 0xc41c, 0xd595, 0xa12a, 0xb0a3, 0x8238, 0x93b1, 0x6b46, 0x7acf, 0x4854, 0x59dd, 0x2d62, 0x3ceb,
    • 0x0e70, 0x1ff9, 0xf78f, 0xe606, 0xd49d, 0xc514, 0xb1ab, 0xa022, 0x92b9, 0x8330, 0x7bc7, 0x6a4e, 0x58d5, 0x495c, 0x3de3, 0x2c6a, 0x1ef1, 0x0f78.
  • crc_ccitt – recompute the CRC for the data buffer
  • @crc – previous CRC value
  • @buffer – data pointer
  • @len – number of bytes in the buffer
  • u16 crc_ccitt(__u16 crc, __u8 const *buffer, size_t len){ while (len–)
  • crc = (crc >> 8) ^ crc_ccitt_table[(crc ^ (*buffer++)) & 0xff]; return crc;

Settings the parameters of meter

Master sends to the meter string SND_UD2 with new identification number „ID“ (BCD8 format):

68h09h09h68h53h 73hA51h0Ch79hIDCS16h

Changing the identification number

Answer of the meter CON (if A not equal FFh):

  • E5h

Changing the identification number, Manufacturer ID and Medium
Master sends to the meter string SND_UD2 with new Complete ID (64 bit integer):

68h0Dh0Dh68h53h 73hA51h07h79hComplete ID (64 bit)CS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Structure of “Complete ID” (64 bit integer):

Identification number „ID“Manufacturer IDGenerationMedium
4 byte (BCD8 format)2 byte1 byte1 byte

Remark: Generation code is ignored (In meter Generation code is fixed 0Bh)

Changing the primary address

Master sends to the meter string SND_UD2 with new primary address „aa“:

68h06h06h68h53h 73hA51h01h7AhaaCS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Changing the data and time of the meter
Master sends to the meter string SND_UD2 with new primary address „aa“:

68h09h09h68h53h 73hA51h04h6DhDat and time (Type F)CS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Changing the yearly set day
Master sends to the meter string SND_UD2 with new set data:

68h08h08h68h53h 73hA51h42hECh7EhMonth and day (Type G)CS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Changing the monthly set day
Master sends to the meter string SND_UD2 with new set data:

68h09h09h68h53h 73hA51h82h08hECh7EhDay (Type G)CS16h

Answer of the meter CON (if A not equal FFh):

  • E5h

Remark: Changing the identification number and the set date is possible only when meter is set to SERVICE mode.

Changing the baud rate
Master sends to the meter string SND_UD2 with new baud rate code „BR“:

68h03h03h68h53h 73hABRCS16h

Answer of the meter CON (if A not equal FFh) with old baud rate:

  • E5h

Values of BR code:

  • BR=B8h – for changing boud rate to 300 bps
  • BR=B9h – for changing boud rate to 600 bps
  • BR=BAh – for changing boud rate to 1200 bps
  • BR=BBh – for changing boud rate to 2400 bps
  • BR=BCh – for changing boud rate to 4800 bps
  • BR=BDh – for changing boud rate to 9600 bps

Secondary addressing

Master sends to the meter string SND_UD2:

68h0Bh0Bh68h53h 73hFD52NNNNNNNNHHHHIDMMCS16h

Selecting of the meter

  • NN – Identification number (secondary adress) BCD8 format (if „F“- this number ignored)
  • HH – Manufacturer code, HST format (if „FF“- this byte ignored)
  • ID – Identification code, HST format (if „FF“- ignored)
  • MM – Medium code, SMED format (if „FF“- ignored)

The meter, whose identification number is the same, is selected for further communication and sends an answer CON:

  • E5h

Communication with selected meter

Communication with selected meter carried out as usual:

  • the data type for reading is selected by sending to meter strig SND_UD2 (see paragraph 2), only in this case, the M-bus address must be FDh,
  • the answer of the selected meter CON:
    • E5h

for data request master sends to the meter string (M-bus address must be FDh):

10h53h 73hFDhCS16h
  • meter response RSP_UD2 telegram with selected data (tables 1 …9)

Deselection of secondary addressing mode
Master sends to the meter telegram SND_NKE with adress FDh:

10h40hFDhCS16h

Danfoss A/S
Climate Solutions danfoss.com +45 7488 2222.

Any information, including, Dut not limited to information on the selection of the product, its application or use, product design, weight, dimensions, capacity or any other technical data in product manuals, catalogs descriptions, advertisements, etc. and whether made available in writing, orally, electronically, online or via download, shall be considered informative and is only binding it and to the
Danfos reserves the right to alter its products without notice. This also applies to products ordered but not delivered provided that such alterations can be made without changes to the form, fit, or
function of the product.

All trademarks in this material are property of Danfoss A/S or Danfoss group companies. Danfoss and the Danfoss logo are trademarks of Danfoss A/S. All rights reserved.

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals