beautypg.com

1 using the list function on m bus data points, 2 using the get function on m bus data points, Using the list function on m-bus data points -12 – Echelon i.LON SmartServer 2.0 User Manual

Page 279: Using the get function on m-bus data points -12, Using the list function on m-bus data points, Using the get function on m-bus data points

background image

i.LON SmartServer 2.0 Programmer’s Reference

16-12

16.4.1

Using the List Function on M-Bus Data Points

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

Request (return all the M-Bus data points on the SmartServer)



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


Alternatively, you can filter the M-Bus data points returned by the List function to those on a specific
device by including the of the parent device in the xSelect statement, or you can filter
the M-Bus data points returned using the and data point properties.

Request (use an xSelect statement to return all the M-Bus data points on a specific device)


//Item[@xsi:type="MBS_Dp_Cfg"][starts-with(UCPTname,"Net/M-Bus Channel/M-Bus Device")]


Request (use an xSelect statement to return all the M-Bus data points that were updated after a
specific time)


//Item[@xsi:type="MBS_Dp_Cfg"][UCPTlastUpdate>"2008-03-31T00:00:00"]


Request (return all the M-Bus data points of a specific type based on name)



//Item[@xsi:type="MBS_Dp_Cfg"][contains(UCPTname,"In")]

Response


Net/M-Bus Channel/M-Bus Device/Virtual Fb/In

Dp_In;xsi:type="MBS_Dp_Cfg"
0

16.4.2

Using the Get Function on M-Bus Data Points

You can use the Get function to retrieve the configuration of M-Bus data points defined on the
SmartServer. The input parameters you supply to this function will include one or more
elements with an MBS_Dp_Cfg type. Each element will include the of each

Modbus data point whose configuration is to be returned by this function, as shown in the example
below.

Request (use an xSelect statement to return a specific

M-Bus data point)



xsi:type="MBS_Dp_Cfg">

Net/M-Bus Channel/M-Bus Device/Virtual Fb/In