Danfoss SONOMETER 30 Operating guide

Heat meter SONOMETER 30 wired M-bus communication protocol

description

Table of Contents

1.

General structure of protocol.....................................................................................................

3

 

1.1.

General features of protocol ...............................................................................................

3

 

1.2.

Data strings ...........................................................................................................................

3

2. Selection of the data type ...........................................................................................................

4

 

2.1. Selection of the data type “All data” ....................................................................................

4

 

2.2. Selection of the data type “User data”.................................................................................

4

 

2.3. Selection of the data type “Simple billing” (Years logger)....................................................

5

 

2.4. Selection of the data type “Enhanced billing” (Days logger)................................................

5

 

2.5. Selection of the data type “Multi tariff billing” (Months logger) .........................................

5

 

2.6. Selection of the data type “Instantaneous values” ..............................................................

5

 

2.7. Selection of the data type “Load management values for management” (Hours logger)...

5

 

2.8. Selection of the data type “Installation and startup”...........................................................

6

 

2.9. Selection of the data type “Testing”.....................................................................................

6

 

2.10.

Parameter list for preselecting..........................................................................................

6

3.

Data request ................................................................................................................................

6

 

3.1.

Data request .........................................................................................................................

6

 

3.2.

Meter data coding ................................................................................................................

7

 

3.3.

CRC16 checksum calculation algorithm.............................................................................

16

4. Settings the parameters of meter .............................................................................................

17

 

4.1.

Changing the identification number..................................................................................

17

 

4.2.

Changing the identification number, Manufacturer ID and Medium ...............................

17

 

Remark: Generation code is ignored (In meter Generation code is fixed 07h) ........................

17

 

4.3.

Changing the primary address ...........................................................................................

17

 

4.4. 4Changing the data and time of the meter ........................................................................

17

 

4.5. Changing the yearly set day................................................................................................

18

 

4.6. Changing the monthly set day ............................................................................................

18

 

4.7. Changing the baud rate ......................................................................................................

18

5.

Secondary addressing................................................................................................................

19

 

5.1. Selecting of the meter ........................................................................................................

19

 

5.2. Communication with selected meter .................................................................................

19

 

5.3. Deselection of seccondary addresing mode.......................................................................

19

01.01.00

© Danfoss| Energy Meters| 2017.05| 2

1. General structure of protocol

1.1. General features of protocol

Meter uses a M-bus protocol.

Default baud rate: 2400 bps, Even, 1 Stop.

Baud rate can be changed (see paragraph 4.6), but at the end of communication – after 2 minutes it automatically returns to the original 2400 bps.

Protocol is the same for Mbus interface and for optical interface.

Primmary adress of Mbus is individual for Mbus interface and for optical interface.

1.2. Data strings

Data string to meter SND_NKE:

1

2

3

4

5

10h

40h

A

CS

16h

 

 

 

 

 

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:

1

2

3

4

5

6

7

8...n-2

n-1

n

68h

L

L

68h

53h

A

51h

Duomenų

CS

16h

73h

baitai

 

 

 

 

 

 

 

 

L - lenght 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 amount of 5-th to n-2 bytes)

Data string to meter REQ_UD2:

1

2

3

4

5

10h

5Bh

A

CS

16h

7Bh

 

 

 

 

A - M-bus primary address of meter

CS – control sum (the youngest byte of amount of 2-nd and 3-rd bytes)

Answer of the meter CON:

E5h

Answer of the meter RSP_UD2:

1

2

3

4

5

6

7

8...11

12, 13

14

15

16

17

18,19

68h

L

L

68h

C

A

CI

ID

Man

Vrs

Md

TC

St

Sign

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01.01.00

© Danfoss| Energy Meters| 2017.05| 3

20

...

...

...

...

...

... n-2

n-1

n

DIF

VIF

Data

 

DIF

VIF

Data

CS

16h

 

 

 

 

 

 

 

 

 

L - lenght of string (the number of bytes from 5-th to n-2 byte) C – „C field“ (08)

A - M-bus primary address of meter CI - „CI field“

ID – identification number of meter (BSD8, used for secondary addressing, can be changed - see paragraph 4.1),

Man – Manufacturer code (AB AxisIndustries manufacturer code „AXI“: 09h 07h) Vrs – number of protocol version (07h)

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 meter: DIF – code of data format VIF – code of data units Data– values of data

CS – control sum (the youngest byte of amount of 5-th to n-2 bytes).

2.Selection of the data type

2.1. Selection of the data type “All data”

Master sends to the meter telegram SND_UD2:

 

68h

03h

03h

68h

53h

A

50h

CS

 

16h

 

 

73h

 

 

or

 

 

 

 

 

 

 

 

 

 

 

68h

04h

04h

68h

53h

A

50h

00h

 

CS

16h

 

73h

 

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

E5h

2.2. Selection of the data type “User data”

Master sends to the meter telegram SND_UD2:

 

68h

04h

04h

68h

53h

A

50h

10h

CS

16h

 

 

 

 

 

73h

 

 

 

 

 

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

 

E5h

 

 

 

 

 

 

 

 

 

01.01.00

© Danfoss| Energy Meters| 2017.05| 4

Danfoss SONOMETER 30 Operating guide

2.3. Selection of the data type “Simple billing” (Years logger)

Master sends to the meter telegram SND_UD2:

68h 04h 04h 68h

53h

A 50h 20h CS 16h

73h

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

E5h

2.4. Selection of the data type “Enhanced billing” (Days logger)

Master sends to the meter telegram SND_UD2:

68h 04h 04h 68h

53h

A 50h 30h CS 16h

73h

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

E5h

2.5. Selection of the data type “Multi tariff billing” (Months logger)

Master sends to the meter telegram SND_UD2:

68h 04h 04h 68h

53h

A 50h 40h CS 16h

73h

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

E5h

2.6. Selection of the data type “Instantaneous values”

Master sends to the meter telegram SND_UD2:

68h

04h

04h

68h

53h

A

50h

50h

CS

16h

 

 

 

 

73h

 

 

 

 

 

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

E5h

2.7. Selection of the data type “Load management values for management” (Hours logger)

Master sends to the meter telegram SND_UD2:

68h 04h 04h 68h

53h

A 50h 60h CS 16h

73h

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

E5h

01.01.00

© Danfoss| Energy Meters| 2017.05| 5

2.8. Selection of the data type “Installation and startup”

Master sends to the meter telegram SND_UD2:

68h 04h 04h 68h

53h

A 50h 80h CS 16h

73h

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

E5h

2.9. Selection of the data type “Testing”

Master sends to the meter telegram SND_UD2:

68h 04h 04h 68h

53h

A 50h 90h CS 16h

73h

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

E5h

2.10.Parameter list for preselecting

If not satisfied with Default parameter lists (presented in the tables 1 ... 9). Obtain a desired parameter list presented in Table 11th.

(Paragraph 2.1 ... 2.9) Additionaly it is need to send parameter selecting telegram SND_UD2:

 

68h

L

L

68h

53h

A

51h

SEL1

SEL2

SELN

CS

16h

 

 

73h

 

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 selectes as many parameters but Response telegram length can not exceed

250 bytes.

 

 

 

 

 

 

 

 

 

 

 

 

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

E5h

3.Data request

3.1. Data request

Master sends to the meter telegram SND_UD2:

10h

5Bh

A

CS 16h

7Bh

In all cases, except A = FFh, meter response RSP_UD2 telegrame with selected data (tables 1 ...9)

01.01.00

© Danfoss| Energy Meters| 2017.05| 6

Loading...
+ 14 hidden pages