beautypg.com

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

Page 239

background image

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.

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 L

ON

W

ORKS

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
elements. Each element includes a property that specifies a unique functional
block to be created or modified.

Each 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 and

properties; all other properties are optional.

• If you are modifying an existing functional block, you must specify the 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)




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

1
#8000010000000000[3].UFPTDigitalCounter


Response