Echelon i.LON 100 e2 Internet Server Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Czujniki Echelon i.LON 100 e2 Internet Server. Echelon i.LON 100 e2 Internet Server User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 223
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 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

Strona 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

Strona 3 - Table Of Contents

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

Strona 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

Strona 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

Strona 6 - 1.1 About This Document

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

Strona 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

Strona 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

Strona 9

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

Strona 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

Strona 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

Strona 12 - 2.2 Security

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 17

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

Strona 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

Strona 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

Strona 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

Strona 21 - <UCPTpriority>

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

Strona 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

Strona 23

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 31

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

Strona 32

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

Strona 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

Strona 34

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

Strona 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

Strona 36

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

Strona 37

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

Strona 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

Strona 39

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

Strona 40 - 4.5 Data Formatting

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

Strona 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

Strona 42 - 4.6.4 Delete Functions

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

Strona 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

Strona 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

Strona 45 - 5 Data Server

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 50

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

Strona 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

Strona 52

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 60 - <UCPTsettings>

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

Strona 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

Strona 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

Strona 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

Strona 64

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

Strona 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

Strona 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.

Strona 67

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

Strona 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

Strona 69

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

Strona 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

Strona 71

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

Strona 72 - 5.2.1.7 DataServerDelete

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

Strona 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

Strona 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

Strona 75

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

Strona 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

Strona 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

Strona 78 - 6.2.1.2 DataLoggerGet

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 89 - 6.2.1.6 DataLoggerDelete

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

Strona 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

Strona 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

Strona 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

Strona 93 - 7.2.1.1 AlarmGeneratorList

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

Strona 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

Strona 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

Strona 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

Strona 97 - <InputDataPoint>

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

Strona 98 - <UCPTalarmSetTime>

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 105 - 7.2.1.3 AlarmGeneratorSet

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

Strona 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

Strona 107 - 8 Alarm Notifier

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

Strona 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

Strona 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

Strona 110

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

Strona 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

Strona 112 - 8.2.1.2 AlarmNotifierGet

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 118 - <UCPTalarmFlags>

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

Strona 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

Strona 120

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

Strona 121

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

Strona 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

Strona 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

Strona 124 - <UCPTnackDelay>

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

Strona 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

Strona 126 - 8.2.1.4 AlarmNotifierRead

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

Strona 127 - <UCPTcount>

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

Strona 128 - <UCPTstop>

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

Strona 129

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

Strona 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

Strona 131

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

Strona 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>

Strona 133

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

Strona 134

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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-

Strona 140

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

Strona 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

Strona 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

Strona 143 - <UCPTfbName>

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

Strona 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

Strona 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

Strona 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

Strona 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...

Strona 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

Strona 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

Strona 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

Strona 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

Strona 152 - 9.2.1.4 AnalogFBDelete

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

Strona 153 - 10 Event Scheduler

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

Strona 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

Strona 155

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

Strona 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

Strona 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

Strona 158 - 10.2.1.2 EventSchedulerGet

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 165 - 10.2.1.3 EventSchedulerSet

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

Strona 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

Strona 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

Strona 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

Strona 169

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

Strona 170

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

Strona 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

Strona 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

Strona 173 - <Exceptions>

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

Strona 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

Strona 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

Strona 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

Strona 177

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

Strona 178

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 183

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

Strona 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

Strona 185 - 12.2.1.2 TypeTranslatorGet

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

Strona 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

Strona 187 - <OutDataPoint>

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

Strona 188

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

Strona 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

Strona 190 - SET_STATE 75 0

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

Strona 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

Strona 192 - 12.2.1.3 TypeTranslatorSet

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

Strona 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

Strona 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

Strona 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

Strona 196

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

Strona 197

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

Strona 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

Strona 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

Strona 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

Strona 201

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

Strona 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

Strona 203

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

Strona 204 - <UCPTconstant>

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

Strona 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

Strona 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

Strona 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

Strona 208

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

Strona 209

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

Strona 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

Strona 211

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

Strona 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.

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 219

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

Strona 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

Strona 221

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

Strona 222

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

Strona 223

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

Komentarze do niniejszej Instrukcji

Brak uwag