Echelon i.LON SmartServer Technical Information Page 239

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 238
i.LON SmartServer 2.0 Programmer’s Reference
14-39
Property Description
values:
0. Standard functional profile defined in the standard
resource file set.
3. User-defined functional profile, defined in a
manufacturer-specific resource file set.
4. User-defined functional profile, defined in a
manufacturer and device class specific resource file set.
5. User-defined functional profile, defined in a
manufacturer and device class/subclass specific resource
file set.
6. User-defined functional profile, defined in manufacturer, and
device class/subclass/model number specific resource file set.
This property cannot be null for dynamic functional blocks.
<UCPTdynamic>
Indicates whether the functional block is static (DDT_STATIC)
or dynamic (DDT_DYNAMIC). You cannot use the Set
function to modify this property.
14.6.3
Using the Set Function on a LONWORKS Functional Block
You can use the Set function to overwrite the configuration of a functional block, or to create a new
functional block. 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 functional
block to be created or modified.
Each <Item> element may also include a series of properties that define the configuration of the new
(or modified) functional block. This set of properties is the same whether you are creating a new
functional block or modifying an existing functional block.
If you are creating a new functional block, you need to specify the <UCPTfbIndex> and
<UCPTfptKey> properties; all other properties are optional.
If you are modifying an existing functional block, you must specify the <UCPTfbIndex> 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 a LonWorks Functional Block, details the
properties you can include in the Set function.
You can set multiple functional blocks with a single Set message. However, you should not attempt to
create or write to more than 100 functional blocks with a single call to the Set function. The following
example demonstrates how to create a new functional block.
Request (add a functional block to a device)
<Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item>
<UCPTname>Building 2/Channel 1/DIO-5/Digital Counter[0]</UCPTname>
<UCPTfbIndex>1</UCPTfbIndex>
<UCPTfptKey>#8000010000000000[3].UFPTDigitalCounter</UCPTfptKey>
</Item>
</iLonItem>
</Set>
Response
<SetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
Page view 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 442 443

Comments to this Manuals

No comments