beautypg.com

16 m bus driver, 1 m bus channels, 1 using the list function on m bus channels – Echelon i.LON SmartServer 2.0 User Manual

Page 268: 2 using the get function on m bus channels, M-bus driver -1, M-bus channels -1, Using the list function on m-bus channels -1, Using the get function on m-bus channels -1, 16 m-bus driver, M-bus channels

background image

i.LON SmartServer 2.0 Programmer’s Reference

16-1

16

M-Bus Driver

The following chapter describes how to manage M-Bus channels, devices, and data points on the
SmartServer.

16.1

M-Bus Channels

The following section describes how to use the List, Get, Set, and Delete functions on M-Bus channels.

16.1.1

Using the List Function on M-Bus Channels

You can use the List function to retrieve a list of M-Bus channels on the SmartServer. The List
function takes an element that has an xSelect statement with an MBS_Channel_Cfg type
as its input, as shown in the example below.

Request



//Item[@xsi:type="MBS_Channel_Cfg"]


Response



0
4.0

Net/M-Bus

Channel

RS232;xsi:type="MBS_Channel_Cfg"
0



The List function returns a list of elements for each M-Bus channel defined on the
SmartServer. You could use the list of elements returned by this function as input for the Get
function. The Get function would then return the configuration of each M-Bus channel included in the
list. The next section describes the properties included in each of these elements.

16.1.2

Using the Get Function on M-Bus Channels

You can use the Get function to retrieve the configuration of an M-Bus channel defined on the
SmartServer. The input parameters you supply to this function will include one or more
elements with an MBS_Channel_Cfg type. Each element will include the of
each channel whose configuration is to be returned by this function, as shown in the example below.

Request



xsi:type="MBS_Channel_Cfg">

Net/M-Bus

Channel



Response



0

xsi:type="MBS_Channel_Cfg">

Net/M-Bus

Channel

RS232