2 using the get function on an alarm notifier, Using the get function on an alarm notifier -5, Using the get function on an alarm notifier – Echelon i.LON SmartServer 2.0 User Manual

Page 97

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

7-5

7.3.2

Using the Get Function on an Alarm Notifier

You can use the Get function to retrieve the configuration of any Alarm Notifier that you have added
to the SmartServer. You must reference the Alarm Notifier whose configuration is to be returned by
its <UCPTname> in the input you supply to the function, as shown in the example below.

Request

<Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>

<Item>

<UCPTname>Net/LON/iLON

App/Alarm

Notifier[0]</UCPTname>

</Item>

</iLonItem>

</Get>

Response

<GetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem >
<UCPTfaultCount>0</UCPTfaultCount>

<Item xsi:type="UFPTalarmNotifier_Cfg" >

<UCPTname>Net/LON/iLON

App/Alarm

Notifier[0]</UCPTname>

<UCPTannotation>8000010128000000[4].UFPTalarmNotifier</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTlastUpdate>2008-02-29T11:16:53.190-08:00</UCPTlastUpdate>
<UCPTuri>#8000010128000000[4].UFPTalarmNotifier_Cfg.htm</UCPTuri>

<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/Data

Logger[0]/nvoDlLevAlarm[0]</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>
<UCPTdescription/>
</DataPoint>

<DataPoint xsi:type="UFPTalarmNotifier_DpRef" dpType="Output" discrim="dir_out" >

<UCPTname>Net/LON/iLON

App/Data

Logger[0]/nviDlClear[0]</UCPTname>

<UCPTnickName>Net/LON/iLON

App/Data

Logger[0]/nviDlClear[0]</UCPTnickName>

</DataPoint>
<SCPTdelayTime>0</SCPTdelayTime>
<UCPTsumLogSize>50</UCPTsumLogSize>
<UCPThistLogSize>100</UCPThistLogSize>
<UCPTlogFormat

LonFormat="UCPTlogFormat">LF_TEXT</UCPTlogFormat>

<UCPTsumLogFileName>Net/LON/iLON

App/Alarm

Notifier[0]_Summary.csv</UCPTsumLogFileName>

<UCPThistLogFileName>Net/LON/iLON

App/Alarm

Notifier[0]_History.csv</UCPThistLogFileName>

<UCPTemailAggregTime>0</UCPTemailAggregTime>
<Mail>
<UCPTindex>0</UCPTindex>
<UCPTnickName>Alarm

Notification

</UCPTnickName>

<UCPTemailAddress>[email protected]</UCPTemailAddress>
<UCPTemailFormat>{status}{alarm_time}</UCPTemailFormat>

<UCPTemailSubject>Data Logger at Alarm Level</UCPTemailSubject>

<UCPTemailAttachment/>
</Mail>
<ActiveAlarm>
<UCPTindex>5</UCPTindex>
<UCPTlevel>240</UCPTlevel>
<UCPTalarmText>Alarm</UCPTalarmText>
<UCPTalarmCondition

LonFormat="UCPTalarmCondition">AL_ALM_CONDITION</UCPTalarmCondition>

</ActiveAlarm>
<PassiveAlarm>
<UCPTindex>0</UCPTindex>

Advertising