background image

MBUS-RELA4 - User manual

3.5.2 Slave-Select in secondary addressing

In secondary addressing, the reserved primary address

0xFD

is used to communicate with the slave. A

prerequisite is that the respective M-Bus slave is selected via its secondary address with

Slave-Select

, prior to

any other communication.

Byte no.

Size (bytes)

Value (HEX)

Description

1

1

68

Start character of a long frame

2

1

0B

Length field (L)

3

1

0B

Length field (repetition)

4

1

68

Start character of a long frame (repetition)

5

1

73

Control field (C): SND_UD

6

1

FE

Address field (A): Broadcast address with response

7

1

52

Control information field (CI): Slave select

8-11

4

xx xx xx xx

Secondary address (secondary ID)

12-13

2

96 4D

Manufacturer ID: SLV

14

1

01

Device version

15

1

22

Device type

16

1

xx

Checksum (CS)

17

1

16

Stop character

Table 7: Slave Select in secondary addressing

Response of the selected MBUS-RELA4:

0xE5

The

Manufacturer ID

can be converted to a manufacturer code maintained by the

DLMS User Association

.

An overview can be found here: www.dlms.com/flag-id/flag-id-list

The usage of wildcards (

0xF

) in the nibbles of the bytes 8-15 and thus also the secondary search is

supported by the MBUS-RELA4.

After a

Slave-Select

, the entire communication is performed with the special primary address

0xFD

. Therefore,

Slave-Select

is not discussed again in subsequent examples.

3.5.3 SND_UD (Send user data to slave)

Via

SND_UD

, data are sent from the M-Bus master to the M-Bus slave.

The slave has to acknowledge the correct receipt of the data according to EN 13757 with the single character

0xE5

. An acknowledgement does not necessarily imply processing of the data. Depending on the function,

the slave can also discard the data.

• In the MBUS-RELA4, SND_UD is employed, amongst others, to control the relays.

3.5.4 REQ_UD2 (Read user data class 2 by the slave)

Via

REQ_UD2

, the M-Bus master requests data from the M-Bus slave. The M-Bus slave replies with a

RSP_UD

telegram, containing the requested data.

• In the MBUS-RELA4,

REQ_UD2

is employed to read out the state of the device.

3.6 Communication with the MBUS-RELA4

The supported application cases for the communication with the MBUS-RELA4 are given in the subsequent

examples. The

SND_NKE

is not contained in the examples.

3.6.1 Setting the primary address via SND_UD

This call assigns a new primary address to the MBUS-RELA4. The MBUS-RELA4 is selected with its old

primary address. Adhering to EN 13757, the acknowledgement contains the single character

0xE5

.

Byte no.

Size (bytes)

Value (HEX)

Description

1

1

68

Start character of a long frame

2

1

06

Length field (L)

Continued on next page

Frank Richter, 6 December 2022
© solvimus GmbH

Version: 1.3

Released

Page 17/21

UG_EN_MBUS-RELA4.pdf

Summary of Contents for MBUS-RELA4

Page 1: ...the M Bus Version 1 3 Date 6 December 2022 Authors Remo Reichel Frank Richter solvimus GmbH Ratsteichstr 5 98693 Ilmenau Germany solvimus GmbH Ratsteichstr 5 98693 Ilmenau Germany Telephone 49 3677 7...

Page 2: ...MBUS RELA4 User manual Page intentionally left blank Page 2 21 UG_EN_MBUS RELA4 pdf Version 1 3 Released Frank Richter 6 December 2022 solvimus GmbH...

Page 3: ...3 Hygienic flushing 12 2 7 Technical data 12 2 7 1 General specifications 12 2 7 2 Electrical specifications 13 3 M Bus communication interface 14 3 1 General information 14 3 2 Signalling on the M B...

Page 4: ...MBUS RELA4 User manual 4 Accessory 21 Page 4 21 UG_EN_MBUS RELA4 pdf Version 1 3 Released Frank Richter 6 December 2022 solvimus GmbH...

Page 5: ...tion is intended exclusively for qualified electricians or persons instructed by these They must all have good knowledge in the following areas Applicable standards Use of electronic devices 1 2 4 Int...

Page 6: ...ther information References to additional literature manuals data sheets and internet pages 1 4 Font conventions Names of paths and files are marked in italics According to the system the notation is...

Page 7: ...struction of control cabinets must be observed The components are populated with electronic parts which can be destroyed by an electrostatic discharge When handling the components ensure that everythi...

Page 8: ...Protocol Secure I2C Inter Integrated Circuit I O Input Output ICMP Internet Control Message Protocol ID Identification Identifier unique marking IEC International Electrotechnical Commission IEEE Inst...

Page 9: ...hort Range Device SSH Secure Shell SSL Secure Sockets Layer TCP Transmission Control Protocol THT Through Hole Technology TLS Transport Layer Security U Unit width of the housing 1 U 18 mm UART Univer...

Page 10: ...ng loss of communication The device works without external power supply and is completely powered by the M Bus The state of the relays can be read back The MBUS RELA4 comes in a housing 2 U modules wi...

Page 11: ...s these can be switched on abruptly by a closed contact or other switching operations can be performed This holds also for an unpowered MBUS RELA4 Mind that the switch state of the relay outputs is un...

Page 12: ...e switching of the inverter with the four relays to regulate the power to be fed in to 100 60 30 0 2 6 2 Switching of appliances CAUTION LIFE HAZARD Only trained and appropriately qualified personnel...

Page 13: ...puts The device has 4 potential free contacts pin assignment see Section 2 3 Max switching power 60 W for max 30 VDC 2 A Galvanic isolation to each other 1000 V Galvanic isolation to the M Bus 1000 V...

Page 14: ...ding to the Send Confirm principle Certain terms are used in the M Bus standard The basics of communication are taken from IEC 60870 5 101 Key terms are explained in the table below Term Description A...

Page 15: ...trans mitted by the master as a short frame telegram on the M Bus SND_UD SeND User data sending data or commands to the meter transmitted by the master as a long frame telegram on the M Bus Umark Mar...

Page 16: ...nication It acts as Link Layer reset and sets the logic of the communication into a defined state The value of the Frame Count Bit FCB of master and slave is matched and the first data telegram from t...

Page 17: ...ecial primary address 0xFD Therefore Slave Select is not discussed again in subsequent examples 3 5 3 SND_UD Send user data to slave Via SND_UD data are sent from the M Bus master to the M Bus slave T...

Page 18: ...rimary address FD use secondary addressing 7 1 XX Control information field CI set baud rate B8 300 baud B9 600 baud BA 1200 baud BB 2400 baud BC 4800 baud BD 9600 baud 8 1 xx Checksum CS 9 1 16 Stop...

Page 19: ...ype 16 1 00 Access number 17 1 00 Status 18 19 2 00 00 Configuration 20 1 81 Data information field DIF 8 bit integer 21 1 10 Data information field extension DIFE tariff 1 relay 1 22 1 FD Value infor...

Page 20: ...1 FD Value information field VIF 70 1 17 Value information field extension VIFE Error flags 71 1 00 At present 0 72 1 0A Data information field DIF BCD 4 digits 73 1 FD Value information field VIF 74...

Page 21: ...manual 4 Accessory The usage of accessories not recommended is at your own risk It is imperative to mind Section 1 2 5 Frank Richter 6 December 2022 solvimus GmbH Version 1 3 Released Page 21 21 UG_EN...

Reviews: