Instructions
Advanced features 41
Anybus M-Bus to Modbus-TCP Gateway User Manual Doc: HMSI-27-300, Rev: 1.10
7.4.2 Meter configuration file
Meter configuration is stored in the file A:/gateway_handle.cfg. If this file does not already exist it will
be generated when the meter list in the Meter tab of the web interface is populated.
Only entries which differ from the default values are stored (except “version”).
Manual changes to the configuration file will take effect after the gateway has been rebooted.
The file is in XML format and has the following structure:
Parent element Element name Description Default value Example
version Version of XML specification - 0x06
meter Parent element for each meter - -
meter interface Interface to meter M-Bus
meter serial Serial number of meter, leading "0x" 0xFFFFFFFF 0x30101198
meter manufacturer Manufacturer of meter (abbreviation) Not set SLV
meter version Version of meter Not set 0x01
meter medium
Medium of meter
a
a. See 5.2.1 Predefined Media ID Values
Not set Electricity
meter primaryaddress Primary address of meter (M-Bus or S0) 0 0x03
meter addressmode Used mode for addressing
0: Secondary,
1: Primary
00
meter readoutcycle Specific read-out interval (in s) 0 900
meter maxvaluecount Limit for number of meter values 0 12
meter encryptionkey Encryption key for meter
(AES for wM-Bus)
Not set, 0 0x82 0xB0 0x55 0x11 0x91 0xF5
0x1D 0x66 0xEF 0xCD 0xAB 0x89
0x67 0x45 0x23 0x01
meter active Enables logging of meter data or trans-
mission via WAN interface
11
meter rssi Received Signal Strength Indicator at
last reception (wM-Bus)
0123
meter register Allocated Modbus register 0 20
meter value Parent element for meter values - -
value description
Description of value
a
None Energy
value unit
Unit of value
a
None Wh
value encodetype Coding of value NODATA INT32
value scale Scale factor (scientific notation) 1e0 1e-3
value valuetype Type of value:
instantaneous,
maximum,
minimum,
errorstate
instantaneous instantaneous
value storagenum Storage number of value 0 2
value tariff Tariff information for value 0 3
value confdata Generic data, OBIS code for value
(X-X:X.X.X*X; X=0...255)
(column OBIS-ID in tab Meter)
Not set 0x01 0x00 0x01 0x08 0x00 0xFF
value active Enables logging of value data or trans-
mission via WAN interface
11
value register Allocated Modbus register 0 30
value user User specific text, max. 50 characters
(column User label in tab Meter)
Not set OG-1-Re