Echelon i.LON 100 e2 Internet Server Manual de usuario

Busca en linea o descarga Manual de usuario para Sensores Echelon i.LON 100 e2 Internet Server. Echelon i.LON 100 e2 Internet Server User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 223
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 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

Pagina 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

Pagina 3 - Table Of Contents

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

Pagina 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

Pagina 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

Pagina 6 - 1.1 About This Document

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

Pagina 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

Pagina 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

Pagina 9

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

Pagina 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

Pagina 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

Pagina 12 - 2.2 Security

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 17

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

Pagina 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

Pagina 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

Pagina 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

Pagina 21 - <UCPTpriority>

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

Pagina 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

Pagina 23

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 31

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

Pagina 32

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

Pagina 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

Pagina 34

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

Pagina 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

Pagina 36

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

Pagina 37

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

Pagina 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

Pagina 39

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

Pagina 40 - 4.5 Data Formatting

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

Pagina 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

Pagina 42 - 4.6.4 Delete Functions

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

Pagina 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

Pagina 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

Pagina 45 - 5 Data Server

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 50

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

Pagina 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

Pagina 52

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 60 - <UCPTsettings>

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

Pagina 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

Pagina 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

Pagina 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

Pagina 64

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

Pagina 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

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

Pagina 67

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

Pagina 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

Pagina 69

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

Pagina 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

Pagina 71

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

Pagina 72 - 5.2.1.7 DataServerDelete

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

Pagina 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

Pagina 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

Pagina 75

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

Pagina 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

Pagina 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

Pagina 78 - 6.2.1.2 DataLoggerGet

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 89 - 6.2.1.6 DataLoggerDelete

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

Pagina 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

Pagina 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

Pagina 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

Pagina 93 - 7.2.1.1 AlarmGeneratorList

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

Pagina 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

Pagina 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

Pagina 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

Pagina 97 - <InputDataPoint>

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

Pagina 98 - <UCPTalarmSetTime>

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 105 - 7.2.1.3 AlarmGeneratorSet

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

Pagina 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

Pagina 107 - 8 Alarm Notifier

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

Pagina 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

Pagina 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

Pagina 110

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

Pagina 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

Pagina 112 - 8.2.1.2 AlarmNotifierGet

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 118 - <UCPTalarmFlags>

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

Pagina 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

Pagina 120

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

Pagina 121

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

Pagina 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

Pagina 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

Pagina 124 - <UCPTnackDelay>

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

Pagina 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

Pagina 126 - 8.2.1.4 AlarmNotifierRead

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

Pagina 127 - <UCPTcount>

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

Pagina 128 - <UCPTstop>

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

Pagina 129

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

Pagina 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

Pagina 131

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

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

Pagina 133

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

Pagina 134

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 140

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

Pagina 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

Pagina 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

Pagina 143 - <UCPTfbName>

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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 152 - 9.2.1.4 AnalogFBDelete

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

Pagina 153 - 10 Event Scheduler

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

Pagina 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

Pagina 155

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

Pagina 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

Pagina 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

Pagina 158 - 10.2.1.2 EventSchedulerGet

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 165 - 10.2.1.3 EventSchedulerSet

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

Pagina 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

Pagina 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

Pagina 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

Pagina 169

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

Pagina 170

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

Pagina 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

Pagina 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

Pagina 173 - <Exceptions>

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

Pagina 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

Pagina 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

Pagina 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

Pagina 177

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

Pagina 178

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 183

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

Pagina 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

Pagina 185 - 12.2.1.2 TypeTranslatorGet

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

Pagina 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

Pagina 187 - <OutDataPoint>

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

Pagina 188

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

Pagina 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

Pagina 190 - SET_STATE 75 0

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

Pagina 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

Pagina 192 - 12.2.1.3 TypeTranslatorSet

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

Pagina 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

Pagina 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

Pagina 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

Pagina 196

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

Pagina 197

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

Pagina 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

Pagina 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

Pagina 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

Pagina 201

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

Pagina 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

Pagina 203

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

Pagina 204 - <UCPTconstant>

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

Pagina 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

Pagina 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

Pagina 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

Pagina 208

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

Pagina 209

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

Pagina 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

Pagina 211

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

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 219

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

Pagina 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

Pagina 221

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

Pagina 222

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

Pagina 223

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

Comentarios a estos manuales

Sin comentarios