Echelon i.LON SmartServer 2.0 User Manual
Page 130
i.LON SmartServer 2.0 Programmer’s Reference
8-12
8.3.3
Using the Set Function on an Analog Functional Block
Use the Set function to create new Analog Functional Blocks, or to overwrite the configuration of
existing Analog Functional Blocks. The Analog Functional Blocks to be created or written to are
signified by a list of
you must define within each
Functional Block or modifying an existing Analog Functional Block. The previous section, Using the
Get Function on an Analog Functional Block, describes these properties.
Note: If you specify an Analog Functional Block with the
deletes the specified Analog Functional Block before the specified parameters are set. If the
When modifying an existing Analog Functional Block, any optional properties omitted from the Set
Request, such as the input point, compare point, or output data points, will be erased. Old values will
not be preserved, so you must fill in every property when writing to an Analog Functional Block, even
if you are not changing all of the values.
The first invocation of the Set function will generate the
#8000010128000000[4].UFPTanalogFunctionBlock.xml file in the
root/config/network/
file does not already exist.
When creating or modifying an Analog Functional Block with the Set function, you may want to use
output from the Get function as the basis for your input. You would then only need to modify the
values of each property to match the new configuration you want, as opposed to re-creating an entire
string like the one shown below.
The example below uses the Set function to create an Analog Function Block that calculates the
maximum value of the value field of the nviClaValue_1 and nviClaValue_2 data points on the
Digital Output 1 and Digital Output 2 functional blocks on the SmartServer, and stores that value in
the value field of the nvoClsValue_1 data point on the Digital Input 1 functional block on the
SmartServer.