Echelon SmartServer 2.2 User Manual
Page 475

476
Using Type Translators
Tip: If you would like more information about the specific device used in this tutorial, you can
download the data sheet of the Scampy water meter from the Hydrometer GmbH web site at
Installing an M-Bus Device
You can install an M-Bus device on the SmartServer and add it to the SmartServer network Net tree.
To do this, you do the following:
1. Connect the M-Bus device to the RS-232 or RS-485 ports on the SmartServer following the steps
described in the SmartServer Hardware Guide.
2. Add a new M-Bus channel to the SmartServer network Net icon, as described in Chapter 5, Using
the SmartServer as a Network Management Tool.
3. Add a new M-Bus device to the M-Bus channel you created in step 2, as described in Chapter 5,
Using the SmartServer as a Network Management Tool.
Viewing M-Bus Data Point Properties
After you have installed an M-Bus device and added it to the SmartServer, you can examine the
properties of the data points of the M-Bus device. To do this, you do the following:
1. Expand the M-Bus device created in the previous section, Installing an M-Bus Device.
2. Expand the Virtual Functional Block VirtFB icon under the M-Bus device to show all the data
points of the M-Bus device.
3. Click General.
4. Click an M-Bus data point. The Configure - Data Point Web page for the M-Bus data point
opens.
5. View the Format Description and Unit String properties to ascertain the type of data to be
translated. For example, consider an M-Bus data point that has the following Format
Description: UCPT_MBS8. This means that this data point is an array with 8 elements. The
Unit String property provides the type of data stored in each element of the array. For example,
the first element of this data point is a measurement of volume in m³ format, the second element is
a time stamp, and so on.
The formats used for the M-Bus data point are described in the M-BUS_Integrator resource file set
which is installed with the SmartServer software. These files may be viewed with the LonMark
Resource Editor, which is also included with the SmartServer software
Note: The format description and unit string will not be set if the SmartServer cannot communicate
with the M-Bus device.
Evaluating Device Specification
Although the format description and unit string can be easily read from the device, many M-Bus
devices have complex data structures. As a result, you may need to read the device specification to
determine how each piece of data should be interpreted. To do this, follow these steps:
1. In the section of the specification describing the M-Bus protocol (such a section is typically
included in the specification for an M-Bus device), locate the description of the data being
returned by the device on the REQ_UD2 M-BUS command. This command could also be called
the standard telegram or the response RSP_UP.
2. Map the entries in the Unit String property one by one to the values in the vendor specification.
Using the UCPT_MBS8 data point described in the previous section, for example, the device
specification shows a structure with the following elements:
value[0] m³: This value reflects the current meter reading (total amount of water).