beautypg.com

2 using the get function on virtual data points, Using the get function on virtual data points -9, Using the get function on virtual data points – Echelon i.LON SmartServer 2.0 User Manual

Page 292

background image

i.LON SmartServer 2.0 Programmer’s Reference

17-9



Net/VirtCh/iLON

System/VirtFb/CMdialInIp

Dp_Out;xsi:type="Virtual_Dp_Cfg"
0


17.4.2

Using the Get Function on Virtual Data Points

You can use the Get function to retrieve the configuration of Virtual data points defined on the
SmartServer. The input parameters you supply to this function will include one or more
elements with a Virtual_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

Virtual data point)



xsi:type="Virtual_Dp_Cfg">

Net/VirtCh/iLON

System/VirtFb/CMdialInNum



Alternatively, you can specify one or more Virtual data point properties in the xSelect statement to
filter the items returned by the Get function, including the to filter data points based on
their parent device.

Request (use an xSelect statement return all the Virtual data points on a specific device)


//Item[@xsi:type="Virtual_Dp_Cfg"][starts-with(UCPTname,"Net/VirtCh/iLON
System/VirtFb")]


Response



0

xsi:type="Virtual_Dp_Cfg">

Net/VirtCh/iLON

System/VirtFb/CMdialInNum

Dp_Out
0
2008-03-26T11:09:27.420-07:00
Virtual_Dp_Cfg.htm
#0000000000000000[0].SNVT_str_asc
31

LonFormat="UCPTdirection">DIR_OUT

0


The Get function returns an element for each Virtual data point referenced in the input
parameters you supplied to the function. The properties included within each element are
initially defined when the Virtual data point is added to the SmartServer. You can write to these data
point properties with the Set function. The following table describes these properties.

Property Description

The name of the Virtual data point in the following format: