Echelon i.LON SmartServer Technical Information Page 109

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 108
i.LON SmartServer 2.0 Programmer’s Reference
7-17
Property Description
<UCPTnackDelay>
The delay, in minutes, to wait for an alarm to be acknowledged before
sending an e-mail to the e-mail profile for the destination. If the alarm
is not acknowledged before this time expires, the e-mail profile will
be used.
The default value used if this property is not set is 0. In this case, the
e-mail profile will be used as soon as the alarm occurs. The
maximum is 65,535.
7.3.3
Using the Set Function on an Alarm Notifier
Use the Set function to create new Alarm Notifiers, or to overwrite the configuration of existing Alarm
Notifiers. The Alarm Notifiers to be created or written to are signified by a list of <Item> elements in
the input parameters supplied to the function. The properties you must define within each <Item>
element are the same, whether you are creating a new Alarm Notifier or modifying an existing Alarm
Notifier. The previous section,
Using the Get Function on an Alarm Notifier, describes these
properties.
Note: If you specify an Alarm Notifier with the <UCPTname> element, the Set function deletes the
specified Alarm Notifier before the specified parameters are set. If the <UCPTname> element is not
specified, a new Alarm Notifier is created.
When modifying an existing Alarm Notifier, any optional properties omitted from the Set Request,
such as the input point points, will be erased. Old values will not be preserved, so you must fill in
every property when writing to an Alarm Notifier, even if you are not changing all of the values.
The first invocation of the Set function will generate the
#8000010128000000[4].UFPTalarmNotifier.xml file in the
root/config/network/<network>/<channel>/iLONApp ||<device> directory of the SmartServer, if the
file does not already exist.
When creating or modifying an Alarm Notifier 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 creates an Alarm Notifier that uses an nviRequest input data point. This Alarm
Notifier includes one e-mail profile that it can use each time an alarm notification occurs. It also has
two data points that can be updated when alarm notifications occur. Several factors determine which
of the data points will be updated when the Alarm Notifier logs an alarm, including the status the input
data point and the alarm level assigned to the alarm condition set.
<Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item xsi:type="UFPTalarmNotifier_Cfg">
<UCPTname>Net/LON/iLON App/Alarm Notifier[0]</UCPTname>
<DataPoint dpType="nviEnable" discrim="dir_in">
<UCPTname>Net/LON/iLON App/Alarm Notifier[0]/nviAnEnable[0]</UCPTname>
</DataPoint>
<DataPoint xsi:type="UFPTalarmNotifier_Input_DpRef" dpType="Input" discrim="dir_in">
<UCPTname>Net/LON/iLON App/VirtFb/temp_f</UCPTname>
<AlarmFlags>
<UCPTlogEnable>1</UCPTlogEnable>
<UCPTinvisible>0</UCPTinvisible>
<UCPTclearRequired>0</UCPTclearRequired>
<UCPTackRequired>1</UCPTackRequired>
<UCPTdisabled>0</UCPTdisabled>
<UCPTcovEnabled>1</UCPTcovEnabled>
</AlarmFlags>
<UCPTalarmGroup>0</UCPTalarmGroup>
<UCPTalarmPriority2>0</UCPTalarmPriority2>
Page view 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 442 443

Comments to this Manuals

No comments