Echelon i.LON SmartServer Technical Information Page 294

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 293
i.LON SmartServer 2.0 Programmer’s Reference
17-11
Property Description
#<manufacturer ID>[scope selector].<type name>[#format] .
This determines many factors about the Virtual data point,
including the type of values it takes and its base type. If you do
not set this property, it is set to RAW_HEX and the Virtual data
point uses raw hex values.
<UCPTlength>
Specifies the size (in bytes) of the Virtual data point.
<UCPTdirection>
Specifies whether the Modbus data point is an input data point
(DIR_IN), output data point (DIR_OUT), or undefined
(DIR_NUL).
<UCPThandle>
The handle assigned to the Virtual data point assigned by the
SmartServer. When you use the Set function to modify the
configuration of an existing Virtual data point, you must specify
the data point’s handle. If you do not specify the handle, a new
Virtual device is created. You cannot use the Set function to
modify the handle assigned to the Virtual data point.
<UCPTpollRate>
The frequency in which the SmartServer’s internal data server
polls the Virtual data point. The recommended minimum poll
rate is 30 seconds; the maximum poll rate is 1 second.
Polling for Virtual data points is disabled (0 seconds) by default.
Note: The actual poll rate is determined by calculating the least
common denominator of all the poll rates set for the data point
from the applications to which it has been added.
17.4.3
Using the Set Function on Virtual Data Points
You can use the Set function to overwrite the configuration of a Virtual data point, or to create a new
Virtual data point. The input parameters you supply to the function will include one or more <Item>
elements. Each <Item> element includes a <UCPTname> property that specifies a unique Virtual data
point to be created or modified.
Each <Item> element may also include a series of properties that define the configuration of the new
(or modified) Virtual data point. This set of properties is the same whether you are creating a new
Virtual data point or modifying an existing Virtual data point.
If you are creating a new Virtual data point, you should specify the <UCPTformatDescription>
property; all other properties are optional.
If you are modifying an existing Virtual data point, you must specify the <UCPThandle> property.
In addition, all other properties should be filled; otherwise the values stored in them are erased.
The previous section,
Using the Get Function on Virtual Data Points, details the properties you
can include in the Set function.
You can set multiple Virtual data points with a single Set message. However, you should not attempt
to create or write to more than 100 Virtual data points with a single call to the Set function. The
following example demonstrates how to create a new Virtual data point.
Request (add a Virtual data point to a Virtual device)
<Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item xsi:type="Virtual_Dp_Cfg">
<UCPTname>Net/VirtCh/iLON System/VirtFb/virt_switch</UCPTname>
Page view 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 442 443

Comments to this Manuals

No comments