beautypg.com

Echelon i.LON SmartServer 2.0 User Manual

Page 53

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-12

include the data point’s and properties and the position on the
SmartServer. You can also use the in an xSelect statement to specify that the
Read function return the data point values in raw hex or return the values of the fields within structured
data points individually.

Note: You cannot use the position () filter with in an xSelect statement that includes the
filter. If you write an xSelect statement with both of these filters, the position ()
filter is ignored.

The Read function will return a list of elements of a Dp_Data type for each data point
referenced by the input you supplied to the function. Each of these elements contains the
current values of a group of properties and attributes associated with the referenced data point. This
includes the value, status, and the current priority level of the data point.

Request (a specific data point on the Net/LON/DIO-1/Digital Encoder functional block)




Net/LON/DIO-3/Digital

Encoder[0]/DE_D1_1



Request (use an xSelect statement to return all data points on the Data Server)



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

Request (use an xSelect statement to return the first 50 data points on the internal SmartServer
automated systems device [i.LON App])



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

[starts-with(UCPTname,"Net/LON/iLON

App")]

[position()<50]


Request (use an xSelect statement to return the data points on the Data Server that have been
updated since 2008-03-17T00:00:00 with raw hex values)



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

[UCPTlastUpdate>"2008-03-17T00:00:00"]
[UCPTvalueFormat="VF_RAW_HEX"]


Request (use an xSelect statement to return the data points on the Net/LON/i.LON App/VirtFb
functional; individually list values of fields within structured data points)



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

[starts-with(UCPTname,"Net/LON/iLON

App/VirtFb")]

[UCPTvalueFormat="VF_FIELDS"]