MBus
The Meter-Bus protocol is designed for querying data from meters and enables communication via two-wire conductors, Ethernet, or wireless connections.
Note: To use the M-Bus, a level converter is required, as it not only performs signal conversion but also supplies power to connected devices on the M-Bus. Level converters are connected either via a serial interface (RS232) or Ethernet.
Connection Parameters
M-Bus (Serial) | |
Port | Selection of the serial interface |
Stop bits | Number of stop bits (refer to the device configuration or device documentation) |
Parity | Parity bit (refer to the device configuration or device documentation) |
Baud rate | Speed (refer to the device configuration or device documentation) |
M-Bus over TCP | |
Hostname | Hostname or IP address |
Port | TCP port |
General | |
Addressing | Choose whether to use the primary addresses configured on the device (Primary) or to search for device-specific secondary addresses (Secondary) |
Timeout (ms) | Maximum waiting time for responses |
Interval (sec) | Optional specification of a query interval in seconds (e.g., for battery-powered devices) |
Primary Addressing
With primary addressing, each device is assigned a unique primary address between 1 and 254. During the scan, all addresses between the configured min address and the configured max address are queried.
Advantages
- Fast and straightforward scanning
- If a device is replaced, only the same address needs to be configured
Disadvantages
- Effort required for assigning primary addresses
- Issues with duplicate primary addresses
Secondary Addressing
With secondary addressing, each device is identified by a unique serial number, typically consisting of 8 to 12 digits. During the scan, many address combinations are tried to identify all devices.
Advantages
- No need to assign primary addresses
- Unique identification
Disadvantages
- The scanning process is less reliable
- If a device is replaced, data points in AnyViz must be adjusted
Continuous Scanning
Newly connected devices are recognized even after the initial scan. An unused address combination is checked after each read cycle. Over time, the possible address range is re-scanned, and newly found devices appear in AnyViz.