Echelon i.LON 100 e2 Internet Server Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Capteurs Echelon i.LON 100 e2 Internet Server. Echelon i.LON 100 e2 Internet Server User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 223
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Reference

i.LON™ 100 e2 Internet Server Programmer’s Reference Version 1.1 @echelon® C o r p o r a t i o n 078-0250-01B

Page 2 - ONMARK Powered by Echelon

i.LON 100 Internet Server Programmer’s Reference 1-5 Function Description of Change For More Information, See… DataServerRead In version 1.0 of

Page 3 - Table Of Contents

i.LON 100 Internet Server Programmer’s Reference 7-11 Property Description <SCPThystHigh1> <SCPThystHigh2> <SCPThystLow1> <S

Page 4

i.LON 100 Internet Server Programmer’s Reference Identifier Notes PR_10 HVAC Critical Equipment RTN, Fire RTN (Display) PR_16 HVAC RTN (lowest pri

Page 5

i.LON 100 Internet Server Programmer’s Reference 7-13 You can make inequality comparisons between SNVT_switch (BT_STRUCT) data points, or betwee

Page 6 - 1.1 About This Document

Table 28 Alarm Generator Hysteresis Levels Offset Limit Causing Alarm Alarm Cleared When... <UCPThighLimit1Offset> Input Value<=Comp Value+

Page 7 - 1.3 Getting Started

The following diagram depicts the four different alarm conditions, as well as the corresponding hysteresis levels that must be reached to clear the al

Page 8

7.2.1.3 AlarmGeneratorSet You can use the AlarmGeneratorSet function to create a new Alarm Generator, or to overwrite the configuration of an existing

Page 9

i.LON 100 Internet Server Programmer’s Reference 7-17 <SCPThystHigh1>50.00</SCPThystHigh1> <SCPThystHigh2>75.00</SCPThystHig

Page 10

i.LON 100 Internet Server Programmer’s Reference 8-1 8 Alarm Notifier Use the Alarm Notifier application to log user-defined alarm conditons, and

Page 11

Auto-Generated Log Files Each Alarm Notifier will generate its own log file. It will add an entry to this log file each time it generates an alarm not

Page 12 - 2.2 Security

i.LON 100 Internet Server Programmer’s Reference 8-3 <Point> <UCPTindex>0</UCPTindex> <UCPTpointName>NVL_nvoLev

Page 13 - 2.3.1.1 SOAP Envelope

1.4.2 Changes to SOAP Message Formats The SOAP body that must be included in every message sent to the i.LON 100, and in every output message returne

Page 14 - 2.3.1.2 SOAP Body

8.2 Creating and Modifying the AlarmNotifier.XML File You can create and manage the AlarmNotifier.XML file with the AlarmNotifierSet SOAP function. T

Page 15 - 2.3.2.1 SOAP Header

i.LON 100 Internet Server Programmer’s Reference 8-5 8.2.1.1 AlarmNotifierList Use the AlarmNotifierList function to retrieve a list of the Alarm

Page 16 - 2.3.3 SOAP Error Responses

8.2.1.2 AlarmNotifierGet You can use the AlarmNotifierGet function to return the configuration of any Alarm Notifier that you have added to the i.LON

Page 17

i.LON 100 Internet Server Programmer’s Reference 8-7 <UCPTpasAlarmType>AL_NO_CONDITION</UCPTpasAlarmType> <UCP

Page 18 - SOAP/XML Interface

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTindex> The index number assigned to the Alarm Notifier must be in th

Page 19 - 3.2 About This Chapter

i.LON 100 Internet Server Programmer’s Reference 8-9 Property Description <UCPThistLogSize> The size of the historical alarm log file, in k

Page 20 - 3.3 DataPointWrite

i.LON 100 Internet Server Programmer’s Reference Property Description <ActiveAlarm> If the input data point is updated and matches the conditio

Page 21 - <UCPTpriority>

i.LON 100 Internet Server Programmer’s Reference 8-11 Table 32 Input Data Point Properties Property Description <UCPTindex> The index numb

Page 22 - <UCPTpropagate>

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTalarmFlags> This field is a series of seven Boolean values (0,1) sep

Page 23

i.LON 100 Internet Server Programmer’s Reference 8-13 Property Description <UCPTalarmGroup> The group number for alarm notifications caused

Page 24 - 3.4 DataPointRead

i.LON 100 Internet Server Programmer’s Reference 2-1 2 SOAP Messages and the i.LON 100 WSDL File This chapter contains general information about

Page 25 - <UCPTvalue>

i.LON 100 Internet Server Programmer’s Reference Property Description The path can be a maximum of 1024 characters long. Table 34 lists the macro ar

Page 26

i.LON 100 Internet Server Programmer’s Reference 8-15 Macro Argument Description %tm The minute that the alarm occurred. %ts The second that t

Page 27 - 3.5 DataPointResetPriority

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTlevel> Enter an alarm level for the condition set, in the range 0-25

Page 28 - 3.6.3 DataPointResetPriority

i.LON 100 Internet Server Programmer’s Reference 8-17 Every <AlarmDest> should contain one or more <ActiveDest> and <PassiveDest&g

Page 29 - 3.6.4 Programming Samples

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTnackDelay> The delay, in minutes, to wait for an alarm to be acknowl

Page 30

i.LON 100 Internet Server Programmer’s Reference 8-19 8.2.1.3 AlarmNotifierSet Use the AlarmNotifierSet function to create new Alarm Notifiers, o

Page 31

<UCPTlevel>1</UCPTlevel> <UCPTalarmText>Log 30 percent full</UCPTalarmText> <UCPTactAlarmType>AL

Page 32

i.LON 100 Internet Server Programmer’s Reference 8-21 Table 37 AlarmNotifierRead Input Properties Parameter Description <UCPTpointName> En

Page 33

Parameter Description <UCPTstart> Use these fields to specify a range for the log time of the entries that will be returned by the function. You

Page 34

i.LON 100 Internet Server Programmer’s Reference 8-23 <Data> <iLONAlarmNotifier> <Data> Parameter <AlarmLog&g

Page 35 - 4.3.1 <Data> Parameter

authenticate access to Web pages that send or receive multiple SOAP messages. If a SOAP message is sent to the i.LON 100 that does not contain the cor

Page 36

Properties Description <UCPTfileName> The name of the log file the Alarm Notifier is using. <UCPTstop> When reading the Alarm History Log,

Page 37

i.LON 100 Internet Server Programmer’s Reference 8-25 Property Description <UCPTlogSourceAddress> The network address of the device the dat

Page 38 - Resource Files

Property Description <UCPTalarmStatus> The status of the alarm. This can be AUTO_ACK or MANUAL_ACK for an acknowlegded alarm that has not been r

Page 39

i.LON 100 Internet Server Programmer’s Reference 8-27 Property Description <UCPTalarmStatus> You can select one of four parameters to chang

Page 40 - 4.5 Data Formatting

Table 41 AlarmNotifierWrite Output Properties Property Description <UCPTindex> <UCPTalarmLog> The type of log file affected by the functi

Page 41 - 4.6.3 Set Functions

i.LON 100 Internet Server Programmer’s Reference 8-29 8.2.1.6 AlarmNotifierClear Use the AlarmNotifierClear function to clear a group of log entr

Page 42 - 4.6.4 Delete Functions

<Data> Parameter <Data> <iLONAlarmNotifier> <AlarmLog> <UCPTindex>0</UCPTindex> <UCPTpointN NVL_nviB

Page 43 - 4.7 Performance Issues

i.LON 100 Internet Server Programmer’s Reference 8-31 8.2.1.7 AlarmNotifierDelete You can use the AlarmNotifierDelete function to delete an Alarm

Page 44 - 4.8 Getting Started

i.LON 100 Internet Server Programmer’s Reference 9-1 9 Analog Function Block You can use Analog Function Blocks to perform a variety of statisti

Page 45 - 5 Data Server

<SCPTobjMinVer>1</SCPTobjMinVer> nalogFB> <A <UCPTindex>0</UCPTindex> <UCPTlastUpdate>2002-06-02T09:16

Page 46 - ONMAKER, as well as the

i.LON 100 Internet Server Programmer’s Reference 2-3 http://www.w3.org/TR/2000/NOTE-SOAP-20000508/ The SOAP envelope portion of the sample input

Page 47

i.LON 100 Internet Server Programmer’s Reference 9-3 9.2 Creating and Modifying the AnalogFB.XML File You can create and modify the AnalogFB.XML

Page 48 - 5.1 Data Server XML Files

9.2.1.1 AnalogFBList Use the AnalogFBList function to retrieve a list of the Analog Function Blocks that you have added to the i.LON 100. The AnalogFB

Page 49 - 5.1.1 DP_NVL.XML

i.LON 100 Internet Server Programmer’s Reference 9-5 9.2.1.2 AnalogFBGet You can use the AnalogFBGet function to retrieve the configuration of an

Page 50

The function returns an <AnalogFB> element for each Analog Function Block referenced in the <Data> parameter you supplied to the function

Page 51 - 5.1.2 DP_NVC.XML

i.LON 100 Internet Server Programmer’s Reference 9-7 Property Description <UCPTcompFunction> This property defines the comparison function

Page 52

Property Description <UCPTcalculationInterval> The delay, in seconds (0.0 to 6553.0), that must elapse between updates to the Analog Function Bl

Page 53

i.LON 100 Internet Server Programmer’s Reference 9-9 Property Description <Point> You can specify as many input data points as you want per

Page 54 - 5.2.1.1 DataServerList

Property Description <OutputDataPoint> This element defines the output data point for this function block. You must specify the <UCPTpointNa

Page 55

i.LON 100 Internet Server Programmer’s Reference 9-11 Identifier Value Assigned To The Output Data Point FN_NUL Value not available. 9.2.1.2.2 Co

Page 56 - 5.2.1.2 DataServerGet

Table 48 FN_AND Examples Input 1 Input 2 Input 3 Input 4 Value of Compare Data Point UCPTtrueThreshold Output 9 11 12 13 10 0.0 0 Does not matter s

Page 57

document includes a sample XML string you could supply as the <Data> parameter, and a description of how to build the XML string. However, there

Page 58 - <SCPTmaxSendTime>

i.LON 100 Internet Server Programmer’s Reference 9-13 property if it is defined, for this to happen. If the <UCPTtrueThreshold> is defined

Page 59 - <UCPTminValue>

9.2.1.3 AnalogFBSet Use the AnalogFBSet function to create new Analog Function Blocks, or to overwrite the configuration of existing Analog Function B

Page 60 - <UCPTsettings>

i.LON 100 Internet Server Programmer’s Reference 9-15 </CompareDataPoint> <OutputDataPoint> <UCPTfieldName>value</

Page 61 - 5.2.1.3 DataServerSet

i.LON 100 Internet Server Programmer’s Reference 10-1 10 Event Scheduler You can use the Event Scheduler application to schedule periodic updates

Page 62 - <Data>

After a restart, the Event Scheduler recalculates the last Event Scheduler operation. It also sets the data point NVL_nvoDateResync to “100.0 1”, and

Page 63 - 5.2.1.4 DataServerRead

i.LON 100 Internet Server Programmer’s Reference 10-3 <UCPTweekdays>1,0,0,0,0,0,1</UCPTweekdays> <DayTimeVal> <UC

Page 64

10.2 Creating and Modifying the EventScheduler.XML File You can create and modify the EventScheduler.XML file with the EventSchedulerSet SOAP function

Page 65

i.LON 100 Internet Server Programmer’s Reference 10-5 10.2.1.1 EventSchedulerList Use the EventSchedulerList function to retrieve a list of the E

Page 66

10.2.1.2 EventSchedulerGet You can use the EventSchedulerGet function to return the configuration of any Event Scheduler that you have added to the i.

Page 67

i.LON 100 Internet Server Programmer’s Reference 10-7 </DateTimeVal> </DayBased> <DateBased> <UC

Page 68 - 5.2.1.5 DataServerWrite

i.LON 100 Internet Server Programmer’s Reference 2-5 standards mentioned in the previous section. Every element in a SOAP Header, and all immedi

Page 69

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTlastUpdate> A timestamp indicating the last time the configuration o

Page 70

i.LON 100 Internet Server Programmer’s Reference 10-9 Property Description <Point> The data points that will be updated by the Event Schedu

Page 71

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTpriority> The priority assigned to the schedule, from 0 (highest pri

Page 72 - 5.2.1.7 DataServerDelete

i.LON 100 Internet Server Programmer’s Reference 10-11 <UCPTscheduleValue>ON</UCPTscheduleValue> <UCPTscheduleTime>03:40<

Page 73 - 6 Data Loggers

i.LON 100 Internet Server Programmer’s Reference Property Description <DateTimeVal> The update events for each date-based schedule are signifie

Page 74

i.LON 100 Internet Server Programmer’s Reference 10-13 10.2.1.3 EventSchedulerSet You can use the EventSchedulerSet function to create new Event

Page 75

<UCPTpriority>240</UCPTpriority> <UCPTweekdays>1,0,0,0,0,0,1</UCPTweekdays> <DayTimeVal> <UCP

Page 76

i.LON 100 Internet Server Programmer’s Reference 10-15 10.2.1.4 EventSchedulerDelete You can use the EventSchedulerDelete function to delete an E

Page 77 - 6.2.1.1 DataLoggerList

i.LON 100 Internet Server Programmer’s Reference 11-1 11 Event Calendar Use the Event Calendar application to define the exception points that yo

Page 78 - 6.2.1.2 DataLoggerGet

<Calendar> <UCPTindex>0</UCPTindex> <UCPTlastUpdate>2002-06-26T10:44:27Z</UCPTlastUpdate> <UCPTdescription

Page 79 - ONMAKER. You can

i.LON 100 Internet Server Programmer’s Reference Error Code Error Message 0 No Error 1 Unknown function call. 2 Parameter error. For example, the

Page 80 - <UCPTlogMinDeltaTime>

i.LON 100 Internet Server Programmer’s Reference 11-3 XML Configuration File11.2 Creating and Modifying the EventCalendar.XML File You can create

Page 81 - <UCPTpollRate>

11.2.1.1 EventCalendarList Use the EventCalendarList function to retrieve a list of the Event Calendars that you have added to the i.LON 100. The Even

Page 82 - 6.2.1.3 DataLoggerSet

i.LON 100 Internet Server Programmer’s Reference 11-5 11.2.1.2 EventCalendarGet You can use the EventCalendarGet function to return the configura

Page 83 - 6.2.1.4 DataLoggerRead

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTlastUpdate> A timestamp indicating the last time the configuration o

Page 84

i.LON 100 Internet Server Programmer’s Reference 11-7 11.2.1.2.1 Creating an Exception Point The exception points for an Event Calendar are defi

Page 85

Table 58 DAY_T Identifiers Identifier Description DY_LAST_DAY_OF_MONTH Last day of month DY_LAST_SECOND_DAY Second-to-last day of the month. DY_LAS

Page 86

i.LON 100 Internet Server Programmer’s Reference 11-9 Identifier Description DY_FOURTH_FRI Fourth Friday of each month DY_FOURTH_SAT Fourth Sat

Page 87 - 6.2.1.5 DataLoggerClear

Table 59 MONTH_T Identifiers Identifier Description MN_JAN January MN_FEB February MN_MAR March MN_APR April MN_MAY May MN_JUN June MN_JUL July MN_AU

Page 88

i.LON 100 Internet Server Programmer’s Reference 11-11 The following string would set up an exception that occurs every day from 2000/2/28 until

Page 89 - 6.2.1.6 DataLoggerDelete

11.2.1.3 EventCalendarSet i.LON 100 Internet Server Programmer’s Reference EventCalendarGet <UCPTtemporary>0</UCPTtemporary>

Page 90 - 7 Alarm Generator

i.LON 100 Internet Server Programmer’s Reference 3-1 3 Monitoring and Controlling Data Points with the SOAP/XML Interface Any i.LON 100 user can

Page 91 - 7.1 AlarmGenerator.XML

i.LON 100 Internet Server Programmer’s Reference 11-13 11.2.1.4 EventCalendarDelete You can use the EventCalendarDelete function to delete an Ev

Page 92

i.LON 100 Internet Server Programmer’s Reference 12-1 13-112 Type Translator You can use Type Translators to convert data points from one network

Page 93 - 7.2.1.1 AlarmGeneratorList

<?xml version="1.0" ?> <iLONTypeTranslator> <SCPTobjMajVer>1</SCPTobjMajVer> <SCPTobjMinVer>1</SCPT

Page 94 - 7.2.1.2 AlarmGeneratorGet

i.LON 100 Internet Server Programmer’s Reference 12-3 XML Configuration FileThe SOAP interface for the Type Translator application includes four

Page 95 - <SCPTalrmIhbT>

i.LON 100 Internet Server Programmer’s Reference 12.2.1.1 TypeTranslatorList Use the TypeTranslatorList function to retrieve a list of the Type Trans

Page 96 - <UCPTalarmPriority>

i.LON 100 Internet Server Programmer’s Reference 12-5 12.2.1.2 TypeTranslatorGet You can use the TypeTranslatorGet function to retrieve the confi

Page 97 - <InputDataPoint>

Table 61 TypeTranslatorGet Output Properties Property Description <UCPTindex> The index number assigned to the Type Translator must be in the r

Page 98 - <UCPTalarmSetTime>

i.LON 100 Internet Server Programmer’s Reference 12-7 Property Description <SCPTdelayTime> This property specifies the time period to wait

Page 99

The 16 SNVT_switch data points to be translated are defined by a list of <InDataPoint> elements. Each element must contain two properties: <U

Page 100 - <SCPThystLow2>

i.LON 100 Internet Server Programmer’s Reference 12-9 Table 63 SNVT_lev_disc_TO_SNVT_switch If the Input SNVT_lev_disc Data Point Is... Then

Page 101 - on page 7-13

point. This property is updated by the Data Server in real time, and can be read or written to with the functions described in this chapter. 3.2 Abou

Page 102

i.LON 100 Internet Server Programmer’s Reference If the SNVT_scene Input Field Values Are…. Then the SNVT_setting Output Field Values Are…. function

Page 103 - <UCPThighLimit1Offset>

i.LON 100 Internet Server Programmer’s Reference 12-11 SET_STATE >100.0 0xFF 0 SET_STATE <=100.0 (setting value) 0 SET_NUL N/A 0xFF 0 12.

Page 104

12.2.1.3 TypeTranslatorSet You can use the TypeTranslatorSet function to create new Type Translators, or to overwrite the configuration of existing Ty

Page 105 - 7.2.1.3 AlarmGeneratorSet

i.LON 100 Internet Server Programmer’s Reference 12-13 <Result> Parameter <Result> <iLONTypeTranslator> <TypeTranslato

Page 106 - 7.2.1.4 AlarmGeneratorDelete

i.LON 100 Internet Server Programmer’s Reference 13-1 pe Translator13 Type Translator Rules You can use the Type Translator Rule SOAP functions t

Page 107 - 8 Alarm Notifier

<UCPTdescription>Test</UCPTdescription> <UCPTtranslatorRule>2xSwitch_to_Switch</UCPTtranslatorRule> <InDataPoint>

Page 108 - 8.1 AlarmNotifier.XML

i.LON 100 Internet Server Programmer’s Reference 13-3 pe Translator Rule SOAP Interface13.2 Creating and Modifying the Type Translator Rule XML F

Page 109

13.2.1.1 TypeTranslatorRuleList Use the TypeTranslatorRuleList function to retrieve a list of the Type Translator Rules that you have added to the i.L

Page 110

i.LON 100 Internet Server Programmer’s Reference 13-5 </iLONTypeTranslatorRule> 13.2.1.2 TypeTranslatorRuleGet You can use the TypeTrans

Page 111 - 8.2.1.1 AlarmNotifierList

Table 70 TypeTranslatorRuleGet Properties Property Description The index number assigned to the Type Translator Rule must be in the range 0-32,767. A

Page 112 - 8.2.1.2 AlarmNotifierGet

Echelon, LON, LONWORKS, NodeBuilder, LonTalk, Neuron, LONMARK, LNS, LonBuilder, LonUsers, BeAtHome, LonManager, 3120, 3150, LonPoint, Digital Home, LO

Page 113

i.LON 100 Internet Server Programmer’s Reference 3-3 3.3 DataPointWrite You can use the DataPointWrite function to write to the value of any data

Page 114 - ONMAKER

i.LON 100 Internet Server Programmer’s Reference 13-7 Property Description <InDataPoint> You can define the network variable types a Type T

Page 115 - <Mail>

If the result of the operation is True, each of the case rules defined for the case structure will be used. If the result is False, the case rules wi

Page 116 - 8.2.1.2.1 Input Data Points

i.LON 100 Internet Server Programmer’s Reference 13-9 Identifier Description FN_LT Less than. Returns True if the value of the input data point i

Page 117 - <UCPTpointName>

Property Description <UCPTindexIn> The index number of the input data point you want the case rule to use, as defined within the <InDataPoint

Page 118 - <UCPTalarmFlags>

i.LON 100 Internet Server Programmer’s Reference 13-11 Property Description <UCPTmultiplier> If the output data point, or data point field,

Page 119 - 8.2.1.2.2 E-mail Profiles

13.2.1.3 TypeTranslatorRuleSet i.LON 100 Internet Server Programmer’s Reference The following example uses the TypeTranslatorRuleSet function to cre

Page 120

i.LON 100 Internet Server Programmer’s Reference 13-13 <UCPTmultiplier>0</UCPTmultiplier> <UCPTconstant&

Page 121

i.LON 100 Internet Server Programmer’s Reference 13.2.1.4 TypeTranslatorRuleDelete You can use the TypeTranslatorRuleDelete function to delete a Typ

Page 122

14 Using the SOAP Interface as a Web Service i.LON 100 Internet Server Programi.LON 100 SOAP interface. mer’s Reference 14-1 This chapter assumes

Page 123

[ilon 100 ipaddress] represents the IP address assigned to the i.LON 100 you want the application to reference. 5. Press Enter to download the web r

Page 124 - <UCPTnackDelay>

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTpointName> Enter the <UCPTpointName> of the data point to be w

Page 125 - 8.2.1.3 AlarmNotifierSet

i.LON 100 Internet Server Programmer’s Reference 14-3 14.2 Programming Samples This section contains programming samples written in Visual Basic

Page 126 - 8.2.1.4 AlarmNotifierRead

myXMLReturnString = myWebReference.DataServerRead(myXMLInputString) 14.2.2 Using an XMLDocument Object Visual Basic .NET provides several fea

Page 127 - <UCPTcount>

i.LON 100 Internet Server Programmer’s Reference 14-5 'the string to be retrieved and manipulated. Load the <Result> 'parameter

Page 128 - <UCPTstop>

myXmlNodeList = myXML.SelectNodes("/iLONDataServer/NVL") myXmlNode = myXmlNodeList.Item(NV_INDEX) Const UCPTindex As Integer = 0 If myXmlNo

Page 129

i.LON 100 Internet Server Programmer’s Reference 14-7 s = s & units.Current.Value() & "', '" Dim statuses As Sy

Page 130

The DataSet is a relational structure that can be easily traversed and manipulated when you parse the XML string retrieved by the function. You can us

Page 131

i.LON 100 Internet Server Programmer’s Reference 14-9 <xs:sequence> </xs:element> </xs:sequence> <

Page 132 - 8.2.1.5 AlarmNotifierWrite

A, the parent element, represents the DataSet Name. B represents the Table Name. This must match the name of the child element below the <Data>

Page 133

i.LON 100 Internet Server Programmer’s Reference 14-11 rapping Elements .UCPTstartIndex = 5001 .UCPTcount = 3 End

Page 134

i.LON 100 Internet Server Programmer’s Reference myDataRow_DpNVL = myDataTable_DpNVL.Rows(0) 'Get the first and only DpNVL returned. Al

Page 135 - 8.2.1.6 AlarmNotifierClear

i.LON 100 Internet Server Programmer’s Reference 3-5 Property Description <UCPTpropagate> 0 or 1. If you assign the default value 1 to the

Page 136

i.LON 100 Internet Server Programi.LON 100: mer’s Reference 15-1 The following procedure describes how to create an XML file, and add it to the c

Page 137 - 8.2.1.7 AlarmNotifierDelete

3. Open the XML file you want to modify using Microsoft XML Notepad or any other text editor. Modify the XML file as you like, but be sure that the fo

Page 138 - 9 Analog Function Block

i.LON 100 Internet Server Programmer’s Reference Index A Index acknowledging alarms, 8-26 Alarm Generators creating Alarm Generators, 7-16 deleti

Page 139

i.LON 100 Internet Server Programmer’s Reference R E encoded XML, 4-6 Event Calendars creating exception points, 11-12 deleting exception points, 11-

Page 140

i.LON 100 Internet Server Programmer’s Reference Event Priority Level Assigned Result of Operation Custom Application Invokes DataPointResetPriority

Page 141 - 9.2.1.1 AnalogFBList

i.LON 100 Internet Server Programmer’s Reference 3-7 3.4 DataPointRead You can use the DataPointRead function to retrieve the current value assig

Page 142 - 9.2.1.2 AnalogFBGet

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTpointName> Enter the <UCPTpointName> of the data point to be w

Page 143 - <UCPTfbName>

i.LON 100 Internet Server Programmer’s Reference 3-9 Property Description <UCPTvalueDef> The value definition being used by the data point.

Page 144

3.5 DataPointResetPriority You can use the DataPointResetPriority function to reset the priority level of a data point to 255, the lowest priority lev

Page 145 - <SCPTovrBehave>

i.LON 100 Internet Server Programmer’s Reference 3-11 3.6 Using the DataPoint Functions With Visual Basic .NET You can call the DataPoint functi

Page 146 - <CompareDataPoint>

Input Parameters For descriptions of the input parameters that you must supply to the function, see DataPointResetPriority on page 3-10. Returns: The

Page 147 - 9.2.1.2.1 Output Functions

i.LON 100 Internet Server Programmer’s Reference i Table Of Contents 1 Introduction to the i.LON 100 SOAP/XML Interface...

Page 148 - 9.2.1.2.3 FN_AND Example

i.LON 100 Internet Server Programmer’s Reference 3-13 'Call DataPointWrite, and then call DataPointResetPriority. Note 'that the priori

Page 149 - 9.2.1.2.5 FN_COMPARE Example

i.LON 100 Internet Server Programmer’s Reference 4-1 4 i.LON 100 Applications and the SOAP/XML Interface This chapter provides an overview of th

Page 150

triggered them. Alarms can be configured to shut off automatically when certain conditions are met, or they can be configured to require manual clear

Page 151 - 9.2.1.3 AnalogFBSet

i.LON 100 Internet Server Programmer’s Reference 4-3 As an alternative to using SOAP, you can modify the files manually using an ASCII-text or XM

Page 152 - 9.2.1.4 AnalogFBDelete

i.LON 100 Internet Server Programmer’s Reference Function Names Description DataloggerList DataloggerGet DataloggerSet DataLoggerRead DataLoggerClea

Page 153 - 10 Event Scheduler

i.LON 100 Internet Server Programmer’s Reference 4-5 Function Names Description EventSchedulerList EventSchedulerGet EventSchedulerSet EventSche

Page 154 - 10.1 EventScheduler.XML

This input is a string of encoded XML containing a list of objects, or the desired settings of any number of the configuration properties associated w

Page 155

i.LON 100 Internet Server Programmer’s Reference 4-7 • & character is replaced by &amp; For both the <Data> and <Result> par

Page 156

4.4 i.LON 100 Resource Files There are many configuration properties you can configure using the SOAP functions described in this document. This docu

Page 157 - 10.2.1.1 EventSchedulerList

i.LON 100 Internet Server Programmer’s Reference 4-9 directory /root/lonworks/types, and are named STANDARD.ENU, STANDARD.TYP, STANDARD.FMT and S

Page 158 - 10.2.1.2 EventSchedulerGet

4.8 Getting Started ... 4-14 5 Data Server.

Page 159

4.5 Data Formatting In order to keep the i.LON SOAP/XML interface neutral across regions, most of the rules for formatting data, which would normally

Page 160

i.LON 100 Internet Server Programmer’s Reference 4-11 4.6 List, Get, Set and Delete Functions The SOAP interface for each i.LON 100 application

Page 161 - <DateBased>

After its initial invocation, you can use the AlarmGeneratorSet function to overwrite the values of the global properties defined for the Alarm Genera

Page 162

i.LON 100 Internet Server Programmer’s Reference 4-13 4.7 Performance Issues The i.LON 100 contains 32 MB of RAM, which allows for complicated ap

Page 163

4.8 Getting Started Chapters 5-13 of this document provide more detailed information on the various applications of the i.LON 100, and describe the SO

Page 164

i.LON 100 Internet Server Programmer’s Reference 5-1 5 Data Server The i.LON 100 uses the concept of a data point to map logical names to i.LON 1

Page 165 - 10.2.1.3 EventSchedulerSet

i.LON 100Data Serveri.LON 100 Applications:Alarm NotifierAlarm GeneratorData LoggerAnalog Function BlockEvent SchedulerEvent CalendarType TranslatorW

Page 166 - Parameter

i.LON 100 Internet Server Programmer’s Reference 5-3 notified each time the data point is updated. In this fashion, each application has current

Page 167

5.1 Data Server XML Files The /root/config/software/dataserver directory of your i.LON 100 contains several XML files that will store the configurati

Page 168 - 11 Event Calendar

i.LON 100 Internet Server Programmer’s Reference 5-5 5.1.1 DP_NVL.XML The DP_NVL.XML file is created automatically the first time the i.LON 100 b

Page 169

i.LON 100 Internet Server Programmer’s Reference iii 9.2.1.4 AnalogFBDelete ...

Page 170

<NVL> <UCPTindex>2</UCPTindex> <UCPTpointName>NVL_nvoDlClear</UCPTpointName> <UCPTlocation>iLON</UCPTlocat

Page 171 - 11.2.1.1 EventCalendarList

i.LON 100 Internet Server Programmer’s Reference 5-7 5.1.2 DP_NVC.XML The DP_NVC.XML file contains a list of <NVC> elements, one for each N

Page 172 - 11.2.1.2 EventCalendarGet

5.2 Creating and Modifying the Data Server XML Files The i.LON 100 generates all of the Data Server configuration files the first time it boots. The

Page 173 - <Exceptions>

i.LON 100 Internet Server Programmer’s Reference 5-9 Function Description DataServerResetPriority Use this function to reset the priority level

Page 174 - <UCPTtemporary>

5.2.1.1 DataServerList Use the DataServerList function to retrieve a list of data points that you have added to the i.LON 100 Data Server. The Data Se

Page 175

i.LON 100 Internet Server Programmer’s Reference 5-11 The interval resets each time the value of a data point is retrieved. By default this value

Page 176

5.2.1.2 DataServerGet You can use the DataServerGet function to retrieve the configuration of any data point that you have added to the i.LON 100 Data

Page 177

i.LON 100 Internet Server Programmer’s Reference 5-13 <UCPTdirection>DIR_OUT</UCPTdirection> <UCPTvalueDef> <O

Page 178

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTformatDescription> The format description of the data point. This de

Page 179 - 11.2.1.3 EventCalendarSet

i.LON 100 Internet Server Programmer’s Reference 5-15 Property Description <SCPTminSendTime> This property applies to output data points, a

Page 180 - 11.2.1.4 EventCalendarDelete

i.LON 100 Internet Server Programmer’s Reference 1-1 1 Introduction to the i.LON 100 SOAP/XML Interface The i.LON 100 contains a powerful microp

Page 181 - 12 Type Translator

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTmaxValue> Optional. This value is initially taken from the i.LON 100

Page 182

i.LON 100 Internet Server Programmer’s Reference 5-17 5.2.1.3 DataServerSet Use the DataServerSet function to overwrite the configuration of an N

Page 183

<Data> Parameter <Data> <iLONDataServer> <NVL> <UCPTindex>200</UCPTindex> <UCPTpointName

Page 184 - 12.2.1.1 TypeTranslatorList

i.LON 100 Internet Server Programmer’s Reference 5-19 5.2.1.4 DataServerRead You can use the DataServerRead function to read the value and status

Page 185 - 12.2.1.2 TypeTranslatorGet

<Data> Parameter <Data> <iLONDataServer> <UCPTlifeTime> </UCPTlifeTime> <NVC> <UCPTindex>0</UCPTinde

Page 186 - <UCPTTranslatorRule>

i.LON 100 Internet Server Programmer’s Reference 5-21 5.2.1.4.2 Requesting Data Points by Type and Last Update Time You can also reference the d

Page 187 - <OutDataPoint>

<Data> Parameter <Data> <iLONDataServer> <UCPTlifeTime> </UCPTlifeTime> <UCPTdataPointType>NVL<

Page 188

i.LON 100 Internet Server Programmer’s Reference 5-23 Property Description <UCPTfieldName> If the value of a field was requested in the <

Page 189 - SET_STATE 25 0

5.2.1.5 DataServerWrite A data point's value and priority level are initially set when the data point is added to the Data Server. The value is s

Page 190 - SET_STATE 75 0

i.LON 100 Internet Server Programmer’s Reference 5-25 <Result> Parameter <Result> <iLONDataServer> <NVL> <U

Page 191

You can create or modify the files using any XML editor or ASCII text editor. This document provides examples you can use when creating the XML config

Page 192 - 12.2.1.3 TypeTranslatorSet

<SOAP-ENV:detail> of Fault Response Message <SOAP-ENV:detail> <iLONDataServer/> <AoDP/> <DP/> &l

Page 193

i.LON 100 Internet Server Programmer’s Reference 5-27 5.2.1.6 DataServerResetPriority You can use the DataServerResetPriority function to reset t

Page 194 - 13 Type Translator Rules

5.2.1.7 DataServerDelete You can use the DataServerDelete function to remove a data point from the Data Server. Each NVL data point to be deleted must

Page 195

i.LON 100 Internet Server Programmer’s Reference 6-1 6 Data Loggers You can use Data Loggers to monitor activity on your network. Each Data Logge

Page 196

<?xml version="1.0" ?> LONDataLogger> <i <SCPTobjMajVer>1</SCPTobjMajVer> <SCPTobjMinVer>1</SCPTobj

Page 197

i.LON 100 Internet Server Programmer’s Reference 6-3 </Point> <Point> <UCPTindex>1</UCPTindex> <UCPTp

Page 198

6.2 Creating and Modifying the DataLogger.XML File You can create and modify the DataLogger.XML file with the DataLoggerSet SOAP function. The follow

Page 199 - <UCPTtranslatorRule>

i.LON 100 Internet Server Programmer’s Reference 6-5 6.2.1.1 DataLoggerList Use the DataLoggerList function to retrieve a list of the Data Logger

Page 200 - <Case>

6.2.1.2 DataLoggerGet You can use the DataLoggerGet function to retrieve the configuration of any Data Logger that you have added to the i.LON 100. Yo

Page 201

i.LON 100 Internet Server Programmer’s Reference 6-7 Property Description <UCPTindex> The index number assigned to the Data Logger must be

Page 202 - 13.2.1.2.1.1 Case Rules

i.LON 100 Internet Server Programmer’s Reference 1-3 1.0 of the SOAP/XML interface. An i.LON 100 using version 1.1 software will accept and respo

Page 203

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTlogLevelAlarm> Enter a value between 0.0 and 100.0. The default valu

Page 204 - <UCPTconstant>

i.LON 100 Internet Server Programmer’s Reference 6-9 Property Description <UCPTlogMinDeltaValue> This property applies to scalar data point

Page 205

6.2.1.3 DataLoggerSet Use the DataLoggerSet function to create new Data Loggers, or to overwrite the configuration of existing Data Loggers. The Data

Page 206

i.LON 100 Internet Server Programmer’s Reference 6-11 6.2.1.4 DataLoggerRead Use the DataLoggerRead function to retrieve the entries in the log f

Page 207

6.2.1.4.1 Local Times and Coordinated Universal Time The timestamps for the <UCPTstart> and <UCPTstop> properties conform to the ISO 8601

Page 208

i.LON 100 Internet Server Programmer’s Reference 6-13 <Result> Parameter <Result> <iLONDataLogger> <Log> <UCPTin

Page 209

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTlastEvent> This property contains a timestamp indicating the last ti

Page 210 - 14.2 Programming Samples

i.LON 100 Internet Server Programmer’s Reference 6-15 6.2.1.5 DataLoggerClear You can use the DataLoggerClear function to remove log entries from

Page 211

<Data> Parameter <Data> <iLONDataLogger> <Log> <UCPTindex>2</UCPTindex> <UCPTpointNam

Page 212

i.LON 100 Internet Server Programmer’s Reference 6-17 6.2.1.6 DataLoggerDelete You can use the DataLoggerDelete function to delete a Data Logger.

Page 213 - 14.2.2.2 Reading Data Logs

i.LON 100 Internet Server Programmer’s Reference Function Description of Change For More Information, See… AlarmGeneratorGet The i.LON 100 has been

Page 214 - 14.2.3 Using DataSets

i.LON 100 Internet Server Programmer’s Reference 7-1 7 Alarm Generator Use the Alarm Generator application to generate alarms based on the values

Page 215

7.1 AlarmGenerator.XML i.LON 100 Internet Server ProgramThe AlarmGenerator.XML file stores the configuration of the Alarm Generators that you have add

Page 216 - 14.2.3.2 Wrapping Elements

i.LON 100 Internet Server Programmer’s Reference 7-3 7.2 Creating and Modifying the AlarmGenerator.XML File You can create and modify the AlarmG

Page 217

7.2.1.1 AlarmGeneratorList Use the AlarmGeneratorList function to retrieve a list of the Alarm Generators that you have added to the i.LON 100. The Al

Page 218

i.LON 100 Internet Server Programmer’s Reference 7-5 7.2.1.2 AlarmGeneratorGet You can use the AlarmGeneratorGet function to retrieve the configu

Page 219

<Alarm> element are initially defined when you create the Alarm Generator. You can write to them with the AlarmGeneratorSet function. Table 22 d

Page 220 - 15.2 Modifying an XML File

i.LON 100 Internet Server Programmer’s Reference 7-7 Property Description <UCPTalarmPriority> Specifies the alarm priority that will be rep

Page 221

i.LON 100 Internet Server Programmer’s Reference Property Description <InputDataPoint> The input data point for this Alarm Generator. The data

Page 222

i.LON 100 Internet Server Programmer’s Reference 7-9 Property Description <AlarmDataPoint> <Alarm2DataPoint> Optional. These properti

Page 223

i.LON 100 Internet Server Programmer’s Reference Property Description <UCPTalarmClrTime> Specifies the time period to wait after the condition

Commentaires sur ces manuels

Pas de commentaire