beautypg.com

Using the get function on a l, Orks, Functional block -36 – Echelon i.LON SmartServer 2.0 User Manual

Page 236: Functional block

background image

i.LON SmartServer 2.0 Programmer’s Reference

14-36


Building 2/Channel 1/DIO-5/Digital Output[1]

#8000010000000000[3].UFPTDigitalOutput;xsi:type="LON_Fb_Cfg"
0


14.6.2

Using the Get Function on a L

ON

W

ORKS

Functional Block

You can use the Get function to retrieve the configuration of a functional block defined on the
SmartServer or in a specific LNS network database. The input parameters you supply to this function
will include one or more elements with a LON_Fb_Cfg type. Each element will
include the of each functional block whose configuration is to be returned by this
function, as shown in the example below.

Request (return a specific functional block)



xsi:type="LON_Fb_Cfg">

Building 2/Channel 1/DIO-5/Digital Output[0]



Alternatively, you can specify one or more functional block properties in the xSelect statement to filter
the items returned by the Get function, including the to filter functional blocks based on
their parent device, and the to filter functional blocks based on the functional profile
template.

Request (use an xSelect statement return all the functional blocks on a specific L

ON

W

ORKS

device)


//Item[@xsi:type="LON_Fb_Cfg"][starts-with(UCPTname,"Building 2/Channel
1/DIO-5/")]


Request (use an xSelect statement to return all functional blocks from a specific manufacturer
based on the functional profile template)


//Item[@xsi:type="LON_Fb_Cfg"][UCPTfptKey="#8000010000000000[3].UFPTDigitalCounter"]


Response



0

xsi:type="LON_Fb_Cfg">

Building 2/Channel 1/DIO-5/Digital Counter[0]

#8000010000000000[3].UFPTDigitalCounter;xsi:type="LON_Fb_Cfg"

0
2008-03-31T12:33:52.013-07:00
LON_Fb_Cfg.htm
1
#8000010000000000[3].UFPTDigitalCounter

LonFormat="UCPTdynamic">DDT_STATIC


xsi:type="LON_Fb_Cfg">

Building 2/Channel 1/DIO-5/Digital Counter[1]

#8000010000000000[3].UFPTDigitalCounter;xsi:type="LON_Fb_Cfg"