Instructions

Anybus M-Bus to Modbus-TCP Gateway User Manual Doc: HMSI-27-300, Rev: 1.10
Chapter 5
5. Acquiring and processing meter data
The main task of the Anybus M-Bus to Modbus-TCP Gateway is the processing and transmission of
meter data. For proper operation, the following issues must be considered:
The available meters must be configured correctly. Required meters or meter values must be en-
abled by the checkbox
Active and must have a valid register address.
The read out meter data must be transmittable from the gateway to a PLC via Modbus TCP.
The PLC must be able to interpret the meter data format.
5.1 Meter configuration
5.1.1 Scanning for meters
It is possible to search for meters automatically on the M-Bus interface. The meters primary or second-
ary addresses are used in an iterative scan process. When the scan process has been completed all de-
tected meters will appear in the meter list.
Scan mode (primary or secondary) is selected on the
Configuration tab (see 3.1.3 Configuration tab).
The scan process itself is started from the
Meter tab (see 3.1.2 Meter tab).
The M-Bus interface allows mixed configurations, i. e. it is possible to scan for primary addresses first
and then for secondary addresses in a second run. Newly detected meters are appended to the existing
list. Meters found in both runs stay in the list and remain unchanged if already configured. If a meter is
found for the first time during the primary search, the primary address is used for all further requests.
This applies also to secondary search and secondary addressing.
M-bus supports both primary and secondary addressing when accessing a meter. Secondary addressing
is recommended if the meters should be recognized and read out without additional configuration.
However, the read-out process is slower than with primary addressing. If all meters are pre-configured
with a unique primary address it is recommended to use primary addressing, narrowed down to the limits
for the primary addresses according to the expected values. The big advantage of primary addressing is
that meters of the exact same type and configuration (although with different serial numbers) can be
swapped without reconfiguring the gateway.
Automated allocation of the primary addresses or setting of parameters and registers of meters by the
gateway is available on request.