beautypg.com

3 using the set function on an alarm generator, Using the set function on an alarm generator -12, Using the set function on an alarm generator – Echelon i.LON SmartServer 2.0 User Manual

Page 90

background image

i.LON SmartServer 2.0 Programmer’s Reference

6-12

Event

Input Data Point Status

Comments

Value of input data point
goes below hysteresis level
for the second alarm
condition.

AL_HIGH_LMT_ALM1

Updated back to the first alarm
condition, as the data point has not
yet reached the hysteresis level for
that condition.

Value of input data point
goes below hysteresis level
for the first alarm condition.

AL_NO_CONDITION

Updated back to normal status.

6.3.3

Using the Set Function on an Alarm Generator

Use the Set function to create new Alarm Generators, or to overwrite the configuration of existing
Alarm Generators. The Alarm Generators to be created or written are signified by a list of
elements in the input parameters supplied to the function. The properties you must define within each
element are the same, whether you are creating a new Alarm Generator or modifying an
existing Alarm Generator. The previous section, Using the Get Function an Alarm Generator,
describes these properties.

Note: If you specify an Alarm Generator with the element, the Set function deletes the
specified Alarm Generator before the specified parameters are set. If the element is not
specified, a new Alarm Generator is created.

When modifying an existing Alarm Generator, any optional properties omitted from the Set Request,
such as the input point, compare point, or SNVT_alarm and SNVT_alarm_2 output data points, will be
erased. Old values will not be preserved, so you must fill in every property when writing to an Alarm
Generator, even if you are not changing all of the values.

The first invocation of the Set function will generate the #8000010128000000[4].UFPTdataLogger.xml
file in the root/config/network///iLONApp || directory of the
SmartServer, if the file does not already exist.

When creating or modifying an Alarm Generator 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.

Request



Net/LON/iLON App/Alarm Generator[0]

#8000010128000000[4].UFPTalarmGenerator;xsi:type="LON_Fb_Cfg"

0

LON_Fb_Cfg.htm

Net/LON/iLON

App/Alarm

Generator[0]/nviAgEnable[0]

#0000000000000000[0].SNVT_switch

dpType="nvoAlarmFlag"

discrim="dir_out">

Net/LON/iLON

App/Alarm

Generator[0]/nvoAgAlarmFlag[0]

#0000000000000000[0].SNVT_switch

Net/LON/iLON

App/Alarm

Generator[0]/nviAgLatchEnbl[0]

#0000000000000000[0].SNVT_switch

0.0

PR_LEVEL_1
0.0