beautypg.com

2 m bus devices, 1 using the list function on m bus devices, 2 using the get function on m bus devices – Echelon i.LON SmartServer 2.0 User Manual

Page 273: M-bus devices -6, Using the list function on m-bus devices -6, Using the get function on m-bus devices -6, M-bus devices

background image

i.LON SmartServer 2.0 Programmer’s Reference

16-6

16.2

M-Bus Devices

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

16.2.1

Using the List Function on M-Bus Devices

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

Request



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


Response



0
4.0

Net/M-Bus

Channel/M-Bus

Device

App;xsi:type="MBS_Device_Cfg"
0


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 device included in the list. The next section
describes the properties included in each of these elements.

16.2.2

Using the Get Function on M-Bus Devices

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

Request



xsi:type="MBS_Device_Cfg">

Net/M-Bus

Channel/M-Bus

Device



Response



0

xsi:type="MBS_Device_Cfg">

Net/M-Bus

Channel/M-Bus

Device

App
0
2008-04-02T14:47:25.970-07:00
MBS_Device_Cfg.htm
0

LonFormat="UCPTspeed">MS_2400

1
1

LonFormat="UCPTmbusMode">MD_MODE1