RSS Feed

M-Bus Communication Driver

M-Bus Communication Driver is intended for data connection between Reliance's runtime software and devices communicating via the M-Bus (Meter Bus) protocol.

Communication with a PLC runs in one of the following ways:

  • RS-232/485 serial link
  • serial link connected via Ethernet

The desired channel type can be selected in the Reliance development environment's Project Structure Manager (device connection).

Starting up the driver

The communication driver is a DLL loaded into memory by the Reliance 4 Driver Server program, which can be launched either as a Windows service at Windows startup or as a standard application at the start of a visualization project. Information required to make a connection with devices is read from the visualization project. After reading this information, communication to all connected devices is activated.

Establishing a connection with the device

A connection is established by sending the SND_NKE communication packet. This packet is transmitted even if the connection is cut off. A successful connection is followed by further communication packets. If the connection is not made, the communication driver sends the SND_NKE packet repeatedly at a specified interval.

Reading data

Data is read periodically or based on a one-shot request of Reliance's runtime software. This is accomplished by sending the SND_UD2 communication packet. When reading periodically, the communication packet is sent regularly according to the update interval set for individual tags.

Detecting the loss of connection with the device

The loss of connection is detected if the communication driver doesn't receive a valid response Nx consecutively (N represents the maximum number of failed communications). This parameter can be adjusted.

Supported devices

The communication driver is able to read most devices complying with the M-Bus communication protocol standard. Besides, the communication driver has been tested with these devices:

Heat meters: Siemens UH50, Kamstrup Multical 401, Sensonic 95, Sensonic Plus, Combimeter II

Question iconHaven't found what you were looking for? Use this form to inform us about it.

Reliance 4 Box