Echelon i.LON SmartServer Informazioni Techniche

Navigare online o scaricare Informazioni Techniche per Server Echelon i.LON SmartServer. Echelon i.LON SmartServer System information Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 443
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - Programmer's Reference

078-0347-01D®i.LON®SmartServer 2.0 Programmer's Reference

Pagina 2

i.LON SmartServer 2.0 Programmer’s Reference x

Pagina 3 - Table of Contents

i.LON SmartServer 2.0 Programmer’s Reference 7-8 Property Description <DataPoint> An alarm notification will occur each time any of the input

Pagina 4

i.LON SmartServer 2.0 Programmer’s Reference 7-9 Property Description <AlarmDest> Each <AlarmDest> element defines a group of active an

Pagina 5

i.LON SmartServer 2.0 Programmer’s Reference 7-10 Property Description sub-property in the element are described below: <UCPTlogEnable>: When

Pagina 6

i.LON SmartServer 2.0 Programmer’s Reference 7-11 Property Description <UCPTalarmPriority2> The priority level to be assigned to the data poi

Pagina 7

i.LON SmartServer 2.0 Programmer’s Reference 7-12 Property Description <UCPTemailAttachment> The path of the attachment file that will be sen

Pagina 8 - viii

i.LON SmartServer 2.0 Programmer’s Reference 7-13 Variable Substitution Description {alarm_hour_12} Alarm Time Hour (12 hour). The time the alar

Pagina 9

i.LON SmartServer 2.0 Programmer’s Reference 7-14 Variable Substitution Description {dp_value_alias} Data Point Value (by Alias Name). The <U

Pagina 10

i.LON SmartServer 2.0 Programmer’s Reference 7-15 Property Description assigned level 126-255 would use the second destination. NOTE: If you use th

Pagina 11 - About This Document

i.LON SmartServer 2.0 Programmer’s Reference 7-16 <UCPTdataPointPath>DataPoint[@dpType=“Output” and UCPTnickName=“Net/LON/iLON App/Data Logge

Pagina 12 - Getting Started

i.LON SmartServer 2.0 Programmer’s Reference 7-17 Property Description <UCPTnackDelay> The delay, in minutes, to wait for an alarm to be ackn

Pagina 13

i.LON SmartServer 2.0 Programmer’s Reference 1-1 1 Introduction to the SmartServer SOAP/XML Interface The SmartServer contains a powerful micropr

Pagina 14

i.LON SmartServer 2.0 Programmer’s Reference 7-18 <UCPTdescription /> </DataPoint> <DataPoint xsi:type="UFPTalarmNotifie

Pagina 15

i.LON SmartServer 2.0 Programmer’s Reference 7-19 created. An Alarm Notifier will not generate a log file until it has generated an alarm notifica

Pagina 16 - Security

i.LON SmartServer 2.0 Programmer’s Reference 7-20 made. <UCPTalarmLog> The type of log requested (either HISTORICAL or SUMMARY). <UCPTst

Pagina 17 - SOAP Request

i.LON SmartServer 2.0 Programmer’s Reference 7-21 Property Description <UCPTpriority> The priority level currently assigned to the data point

Pagina 18 - SOAP Messages Formats

i.LON SmartServer 2.0 Programmer’s Reference 7-22 7.3.5 Using the Write Function on an Alarm Notifier Log File You can use the Write function to a

Pagina 19 - SOAP Envelope

i.LON SmartServer 2.0 Programmer’s Reference 7-23 Property Description <UCPTackRequired> property, see Input Data Points. • AUTO_CLEAR:

Pagina 20 - SOAP Body

i.LON SmartServer 2.0 Programmer’s Reference 7-24 Response <ClearResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/messa

Pagina 21

i.LON SmartServer 2.0 Programmer’s Reference 7-25 </iLonItem> </Delete> Response <DeleteResponse xmlns="http://wsdl.echelon.co

Pagina 22 - 2.5.3.3 Error Codes

i.LON SmartServer 2.0 Programmer’s Reference 7-26

Pagina 23 - SOAP Function Types

i.LON SmartServer 2.0 Programmer’s Reference 8-1 8 Analog Function Block You can use Analog Function Blocks to perform a variety of statistical op

Pagina 24 - 2-10

i.LON SmartServer 2.0 Programmer’s Reference 1-2 Echelon strongly recommends that you use the SOAP interface to configure the applications of your

Pagina 25 - 2-11

i.LON SmartServer 2.0 Programmer’s Reference 8-2 </DataPoint> <DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType=&quo

Pagina 26 - 2-12

i.LON SmartServer 2.0 Programmer’s Reference 8-3 querying items of a UFPTanalogFunctionBlock_Cfg type as its input, as shown in the example below.

Pagina 27 - 2-13

i.LON SmartServer 2.0 Programmer’s Reference 8-4 <UCPTname>Net/LON/iLON App/Digital Input 1/nvoClsValue_1</UCPTname> <UCPTfiel

Pagina 28 - 2-14

i.LON SmartServer 2.0 Programmer’s Reference 8-5 Property Description Input Analog Function Block. The input data points for an Analog Function Bl

Pagina 29 - 2-15

i.LON SmartServer 2.0 Programmer’s Reference 8-6 Property Description <UCPTtrueThreshold> property is defined. <DataPoint> Output This

Pagina 30 - 2-16

i.LON SmartServer 2.0 Programmer’s Reference 8-7 Property Description select a compare data point by filling in the <CompareDataPoint> elemen

Pagina 31 - 2-17

i.LON SmartServer 2.0 Programmer’s Reference 8-8 Property Description <SCPTovrValue> The value the output data point will be assigned when it

Pagina 32 - 2-18

i.LON SmartServer 2.0 Programmer’s Reference 8-9 Identifier Value Assigned To The Output Data Point the analog function block are True. For an ex

Pagina 33 - 2-19

i.LON SmartServer 2.0 Programmer’s Reference 8-10 8.3.2.2 Comparison Functions The following table lists and describes the comparison functions yo

Pagina 34 - Interface

i.LON SmartServer 2.0 Programmer’s Reference 8-11 20 30 40 50 35 EMPTY 0.0 0 70 80 40 50 35 EMPTY 100.0 1 8.3.2.2.2 FN_OR Example In this exam

Pagina 35

i.LON SmartServer 2.0 Programmer’s Reference 1-3 introduced for the e2 release, and the version 3.0 namespace was introduced for the e3 release.

Pagina 36 - SmartServer Resource Files

i.LON SmartServer 2.0 Programmer’s Reference 8-12 8.3.3 Using the Set Function on an Analog Functional Block Use the Set function to create new An

Pagina 37 - Data Formatting

i.LON SmartServer 2.0 Programmer’s Reference 8-13 </Item> </iLonItem> </Set> 8.3.4 Using the Delete Function on an An

Pagina 38 - SOAP Functions

i.LON SmartServer 2.0 Programmer’s Reference 9-1 9 Scheduler You can use the Scheduler application to schedule periodic updates to the data points

Pagina 39 - Set Functions

i.LON SmartServer 2.0 Programmer’s Reference 9-2 comes from the local Calendar object via an internal binding between the nvoEcDateEvent output of

Pagina 40 - Performance Issues

i.LON SmartServer 2.0 Programmer’s Reference 9-3 <UCPTwednesday>1</UCPTwednesday> <UCPTthursday>1</UCPTthursday>

Pagina 41

i.LON SmartServer 2.0 Programmer’s Reference 9-4 Note: Section 21.1.3, Creating a Scheduler and Calendar in Visual C# .NET, includes a C# programm

Pagina 42 - ONWORKS devices connected to

i.LON SmartServer 2.0 Programmer’s Reference 9-5 <UCPTname>Net/LON/iLON App/Digital Output 2/nviClaValue_2</UCPTname> <SCPTdel

Pagina 43

i.LON SmartServer 2.0 Programmer’s Reference 9-6 </GetResponse> The function returns an <Item> element for each Scheduler referenced in

Pagina 44

i.LON SmartServer 2.0 Programmer’s Reference 9-7 Property Description will be decreased with every heartbeat. <ScheduleEffectivePeriod> The &

Pagina 45 - Data Server SOAP Interface

i.LON SmartServer 2.0 Programmer’s Reference 9-8 <Event> <UCPTindex>2</UCPTindex> <UCPTtime>10:00:00</UCPTtime>

Pagina 46

i.LON SmartServer 2.0 Programmer’s Reference 1-4

Pagina 47

i.LON SmartServer 2.0 Programmer’s Reference 9-9 exception that occurs over a specific range of dates. The actual date or range of dates in which

Pagina 48

i.LON SmartServer 2.0 Programmer’s Reference 9-10 Property Description <Exception> The exceptions for the date-based schedule specify the dat

Pagina 49

i.LON SmartServer 2.0 Programmer’s Reference 9-11 Property Description SNVT_switch data point using either of the following statements: <UCPTval

Pagina 50

i.LON SmartServer 2.0 Programmer’s Reference 9-12 9.3.3 Using the Read Function on a Scheduler You can use the Read function to retrieve the event

Pagina 51 - 4-10

i.LON SmartServer 2.0 Programmer’s Reference 9-13 <Item xsi:type="UFPTscheduler_Meta_Data" > <UCPTname>Net/LON/iLON App/S

Pagina 52 - 4-11

i.LON SmartServer 2.0 Programmer’s Reference 9-14 <EventType> This element may have one of the following values: • ET_LOCK: A #LOCK event.

Pagina 53 - 4-12

i.LON SmartServer 2.0 Programmer’s Reference 9-15 When creating or modifying a Scheduler with this function, you may want to use output from the Ge

Pagina 54 - 4-13

i.LON SmartServer 2.0 Programmer’s Reference 9-16 </Event> <Weekdays> <UCPTsunday>0</UCPTsunday> <UCPTmonda

Pagina 55 - 4-14

i.LON SmartServer 2.0 Programmer’s Reference 9-17 <UCPTfaultCount>0</UCPTfaultCount> <Item> <UCPTname>Net/LON/iLO

Pagina 56 - 4-15

i.LON SmartServer 2.0 Programmer’s Reference 9-18

Pagina 57 - 4-16

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

Pagina 58 - 4-17

i.LON SmartServer 2.0 Programmer’s Reference 10-1 10 Calendar You can use the Calendar application to define the exceptions that you will referenc

Pagina 59 - 4-18

i.LON SmartServer 2.0 Programmer’s Reference 10-2 <UCPTaliasName>Holiday</UCPTaliasName> <UCPTtemporary>0</UCPTtemporary

Pagina 60 - 4-19

i.LON SmartServer 2.0 Programmer’s Reference 10-2 SmartServer. Get Retrieve the configuration of the Calendar that you have added to the SmartSe

Pagina 61 - 4-20

i.LON SmartServer 2.0 Programmer’s Reference 10-3 Response <GetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message

Pagina 62 - 4-21

i.LON SmartServer 2.0 Programmer’s Reference 10-4 Property Description Calendar. This property is always 8000010128000000[4].UFPTcalendar <UCPT

Pagina 63 - 4-22

i.LON SmartServer 2.0 Programmer’s Reference 10-5 Property Description <Exception> You can specify the dates that the Event Calendar applies

Pagina 64 - 4-23

i.LON SmartServer 2.0 Programmer’s Reference 10-6 Property Description <Schedule> The <Schedule> element contains a series of child ele

Pagina 65 - 4-24

i.LON SmartServer 2.0 Programmer’s Reference 10-7 WILDCARD means that the starting date is the 1st. • Setting the <EndDate> of <UCPTday

Pagina 66 - 5 Data Loggers

i.LON SmartServer 2.0 Programmer’s Reference 10-8 Identifier Description DM_SECOND_MON Second Monday of each month DM_SECOND_TUE Second Tuesday of

Pagina 67

i.LON SmartServer 2.0 Programmer’s Reference 10-9 Identifier Description DM_FIFTH_FRI Fifth Friday of each month DM_FIFTH_SAT Fifth Saturday of eac

Pagina 68 - Data Logger SOAP Interface

i.LON SmartServer 2.0 Programmer’s Reference 2-2 2.2 SmartServer WSDL File Each SmartServer includes two WSDL (Web Service Description Language) f

Pagina 69

i.LON SmartServer 2.0 Programmer’s Reference 10-10 Identifier Description MN_JAN January MN_FEB February MN_MAR March MN_APR April MN_MAY May MN_J

Pagina 70

i.LON SmartServer 2.0 Programmer’s Reference 10-11 Identifier Description active. MN_EVERY_11_MONTH Every eleventh month during the interval the C

Pagina 71 - <UCPTlogLevelAlarm>

i.LON SmartServer 2.0 Programmer’s Reference 10-12 <UCPTyearMask>DW_WILDCARD</UCPTyearMask> <UCPTmonthMask>DW_WILDCARD</UCPT

Pagina 72

i.LON SmartServer 2.0 Programmer’s Reference 10-13 <UCPTname>Net/LON/iLON App/Calendar</UCPTname> <UCPTdescription>enter an

Pagina 73

i.LON SmartServer 2.0 Programmer’s Reference 10-14 position() Position of the events in previously selected list. You can use this filter to limi

Pagina 74

i.LON SmartServer 2.0 Programmer’s Reference 10-15 events within the timeframe from <UCPTstart> to <UCPTstop>. The first <DateEve

Pagina 75 - 5-10

i.LON SmartServer 2.0 Programmer’s Reference 10-16

Pagina 76 - 5-11

i.LON SmartServer 2.0 Programmer’s Reference 11-1 11 Real-Time Clock You can use the real-time clock on the SmartServer to schedule events to star

Pagina 77 - 5-12

i.LON SmartServer 2.0 Programmer’s Reference 11-2 Alternatively, you can create and manage the #8000010128000000[4].UFPTrealTimeClock.xml file manu

Pagina 78 - 5-13

i.LON SmartServer 2.0 Programmer’s Reference 11-3 Request <Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/"&g

Pagina 79 - 6 Alarm Generator

i.LON SmartServer 2.0 Programmer’s Reference 2-3 2.4.1 SOAP Request <?xml version="1.0" encoding="utf-8" ?> <soap:En

Pagina 80

i.LON SmartServer 2.0 Programmer’s Reference 11-4 Property Description <UCPTannotation> The program ID and functional profile template used b

Pagina 81

i.LON SmartServer 2.0 Programmer’s Reference 11-5 The first invocation of the Set function will generate the #8000010128000000[4].UFPTrealTimeClock

Pagina 82 - <UCPTitemStatus>

i.LON SmartServer 2.0 Programmer’s Reference 11-6 Response <DeleteResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/mess

Pagina 83

i.LON SmartServer 2.0 Programmer’s Reference 12-1 12 Type Translator You can use Type Translators to convert data points from one network variable

Pagina 84

i.LON SmartServer 2.0 Programmer’s Reference 12-2 12.2 Creating and Modifying the Type Translator XML File You can create and manage the #8000010

Pagina 85

i.LON SmartServer 2.0 Programmer’s Reference 12-3 </iLonItem> </ListResponse> 12.3.2 Using the Get Function on a Type Translator Y

Pagina 86 - SNVT_alarm2 Output

i.LON SmartServer 2.0 Programmer’s Reference 12-4 Property Description 1 – hidden <UCPTitemStatus> This property only appears if the data log

Pagina 87

i.LON SmartServer 2.0 Programmer’s Reference 12-5 Property Description enumeration). In this case, the value of the output data point will be upda

Pagina 88 - 6-10

i.LON SmartServer 2.0 Programmer’s Reference 12-6 When modifying an existing type translator, any optional properties omitted from the input will b

Pagina 89 - 6-11

i.LON SmartServer 2.0 Programmer’s Reference 12-7 • The 16 SNVT_switch data points to be translated are defined by a list of <DataPoint> ele

Pagina 90 - 6-12

i.LON SmartServer 2.0 Programmer’s Reference 2-4 2.4.2 SOAP Response <?xml version="1.0" encoding="utf-8" ?> <SOAP-E

Pagina 91 - 6-13

i.LON SmartServer 2.0 Programmer’s Reference 12-8 Each time a type translation is made, the SNVT_occupancy output data point is assigned a value ba

Pagina 92 - 6-14

i.LON SmartServer 2.0 Programmer’s Reference 12-9 ST_HIGH value: 75.0 state: 1 (ON) ST_MED value: 50.0 state: 1 (ON) ST_LOW value: 25.0 state: 1 (O

Pagina 93 - 7 Alarm Notifier

i.LON SmartServer 2.0 Programmer’s Reference 12-10 OC_BYPASS function: SET_STATE setting: 100 rotation: 80.24 OC_STANDBY function: SET_STATE settin

Pagina 94

i.LON SmartServer 2.0 Programmer’s Reference 12-11 The following code demonstrates how to use the Set function to create a type translator that use

Pagina 95

i.LON SmartServer 2.0 Programmer’s Reference 12-12 <Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/"> &

Pagina 96

i.LON SmartServer 2.0 Programmer’s Reference 12-13 <UCPTtranslatorRule>SNVT_setting_TO_SNVT_switch</UCPTtranslatorRule> <SCPTdel

Pagina 97

i.LON SmartServer 2.0 Programmer’s Reference 12-14 • The SNVT_switch input data point is defined by a <DataPointFormat> element that has a “

Pagina 98

i.LON SmartServer 2.0 Programmer’s Reference 12-15 Request <Delete xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/&quo

Pagina 99

i.LON SmartServer 2.0 Programmer’s Reference 12-16

Pagina 100 - <PassiveAlarm>

i.LON SmartServer 2.0 Programmer’s Reference 13-1 13 Type Translator Rules You can use the Type Translator Rule SOAP functions to create additiona

Pagina 101 - 7.3.2.1 Input Data Points

i.LON SmartServer 2.0 Programmer’s Reference 2-5 2.5.1 SOAP Envelope The SOAP envelope is the highest level in a SOAP message. The SOAP envelope

Pagina 102 - 7-10

i.LON SmartServer 2.0 Programmer’s Reference 13-2 <UCPTformatDescription>#0000000000000000[0].SNVT_switch</UCPTformatDescription> &l

Pagina 103 - 7-11

i.LON SmartServer 2.0 Programmer’s Reference 13-3 Delete Delete a type translator rule. 13.3.1 Using the List Function on a Type Translator Rule

Pagina 104 - 7-12

i.LON SmartServer 2.0 Programmer’s Reference 13-4 <UCPTdescription>Translates the state and value fields from two SNVT_switch input DPs t

Pagina 105 - 7-13

i.LON SmartServer 2.0 Programmer’s Reference 13-5 Property Description 0 – shown 1 – hidden <UCPTlastUpdate> A timestamp indicating the last

Pagina 106 - 7-14

i.LON SmartServer 2.0 Programmer’s Reference 13-6 13.3.2.1 Creating a Case Structure You can create case structures for each Type Translator Rule

Pagina 107 - 7-15

i.LON SmartServer 2.0 Programmer’s Reference 13-7 Property Description <UCPTindex> The index number of the case structure. <UCPTinputPath

Pagina 108 - 7-16

i.LON SmartServer 2.0 Programmer’s Reference 13-8 input data point is not equal to that of the compare data point. FN_NUL Null. Returns True for a

Pagina 109 - 7-17

i.LON SmartServer 2.0 Programmer’s Reference 13-9 <UCPTcompValue LonFormat="">2</UCPTcompValue> <Rule> <UCPTinde

Pagina 110 - 7-18

i.LON SmartServer 2.0 Programmer’s Reference 13-10 Property Description as the input data point or field selected for the case rule. The following

Pagina 111 - 7-19

i.LON SmartServer 2.0 Programmer’s Reference 13-11 Property Description <UCPTconstant> If the output data point or field takes an enumeration

Pagina 112 - 7-20

ii Echelon, LON, LONWORKS, LonTalk, Neuron, LONMARK, 3120, 3150, LNS, LonMaker, and the Echelon logo are trademarks of Echelon Corporation regist

Pagina 113 - 7-21

i.LON SmartServer 2.0 Programmer’s Reference 2-6 <UCPTtimeStamp> A time stamp indicating when the message was sent. Per the ISO 8601 standar

Pagina 114 - 7-22

i.LON SmartServer 2.0 Programmer’s Reference 13-12 <Rule> <UCPTindex>0</UCPTindex> <UCPTinputPath>DataPointForma

Pagina 115 - 7-23

i.LON SmartServer 2.0 Programmer’s Reference 14-1 14 LONWORKS Driver The following chapter describes how to manage the networks, channels, devices

Pagina 116 - 7-24

i.LON SmartServer 2.0 Programmer’s Reference 14-2 </Get> Response <Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/m

Pagina 117 - 7-25

i.LON SmartServer 2.0 Programmer’s Reference 14-3 Property Description interface. This property may have the following values: 0 – shown 1 – hidde

Pagina 118 - 7-26

i.LON SmartServer 2.0 Programmer’s Reference 14-4 Property Description <UCPTlnsSync> Specifies the network management service used to manage

Pagina 119 - 8 Analog Function Block

i.LON SmartServer 2.0 Programmer’s Reference 14-5 Property Description <UCPTmgmtMode> Specifies when network configuration changes are propag

Pagina 120

i.LON SmartServer 2.0 Programmer’s Reference 14-6 SmartServer and get its <UCPThandle> property. If you don’t specify the <UCPThandle>

Pagina 121

i.LON SmartServer 2.0 Programmer’s Reference 14-7 synchronization), you can perform a manual synchronization to update the LNS network database wit

Pagina 122

i.LON SmartServer 2.0 Programmer’s Reference 14-8 </InvokeCmd> • The following example demonstrates how to synchronize the two devices on th

Pagina 123 - Compare

i.LON SmartServer 2.0 Programmer’s Reference 14-9 14.1.3.2 Issuing Network Scan Commands to Discover Devices You can use the InvokeCmd function to

Pagina 124 - <UCPTtrueThreshold>

i.LON SmartServer 2.0 Programmer’s Reference 2-7 <soap:Body> <MessageName xmlns="http://wsdl.echelon.com/web_services_ns/ilon100

Pagina 125

i.LON SmartServer 2.0 Programmer’s Reference 14-10 Option Description STATUS_CANCEL STATUS_PENDING STATUS_DONE STATUS_FAIL STATUS_INVOKE When this

Pagina 126 - 8.3.2.1 Output Functions

i.LON SmartServer 2.0 Programmer’s Reference 14-11 Read response and store it in the <UCPTlastUpdate> property of the subsequent Read request

Pagina 127

i.LON SmartServer 2.0 Programmer’s Reference 14-12 <Item> <UCPTname>Net/LON IP</UCPTname> <UCPTannotation>IP;xsi:type=

Pagina 128 - 8-10

i.LON SmartServer 2.0 Programmer’s Reference 14-13 Property Description <UCPTname> property to which the channel is to be renamed. <UCPTan

Pagina 129 - 8-11

i.LON SmartServer 2.0 Programmer’s Reference 14-14 Property Description is a power line channel that uses the Enhanced LonTalk® Proxy Protocol to t

Pagina 130 - 8-12

i.LON SmartServer 2.0 Programmer’s Reference 14-15 Property Description is accomplished by assigning each priority device a time (priority) slot wh

Pagina 131 - 8-13

i.LON SmartServer 2.0 Programmer’s Reference 14-16 Property Description Web service should be set to DDT_DYNAMIC. You cannot use the Set function

Pagina 132 - 9 Scheduler

i.LON SmartServer 2.0 Programmer’s Reference 14-17 </Delete> Response <DeleteResponse xmlns="http://wsdl.echelon.com/web_services_ns

Pagina 133

i.LON SmartServer 2.0 Programmer’s Reference 14-18 Response <List xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/"

Pagina 134 - Scheduler SOAP Interface

i.LON SmartServer 2.0 Programmer’s Reference 14-19 14.3.2 Using the Get Function on a LONWORKS Device You can use the Get function to retrieve the

Pagina 135

i.LON SmartServer 2.0 Programmer’s Reference 2-8 <fault> <faultcode faultType="_error">6</faultcode> <faults

Pagina 136

i.LON SmartServer 2.0 Programmer’s Reference 14-20 <xSelect> //Item[@xsi:type="LON_Device_Cfg"] [UCPTitemStatus="IS_UNCON

Pagina 137 - </GetResponse>

i.LON SmartServer 2.0 Programmer’s Reference 14-21 </iLonItem> </Get> The Get function returns an <Item> element for each devic

Pagina 138 - <DateBased>

i.LON SmartServer 2.0 Programmer’s Reference 14-22 Property Description represents the time of day the configuration of the Data Point was last upd

Pagina 139

i.LON SmartServer 2.0 Programmer’s Reference 14-23 Property Description pre-loaded on a device. Devices that support dynamic functional blocks inc

Pagina 140

i.LON SmartServer 2.0 Programmer’s Reference 14-24 Property Description • APP_RUNNING. Online. • APP_STOPPED. Offline. <UCPTcommissionStat

Pagina 141 - 9-10

i.LON SmartServer 2.0 Programmer’s Reference 14-25 Property Description <Command> Lists the network management and debugging commands issued

Pagina 142 - 9-11

i.LON SmartServer 2.0 Programmer’s Reference 14-26 14.3.3 Using the Set Function on a LONWORKS Device You can use the Set function to overwrite the

Pagina 143 - 9-12

i.LON SmartServer 2.0 Programmer’s Reference 14-27 To issue a network management command, you need to provide one or more <Item> elements with

Pagina 144 - 9-13

i.LON SmartServer 2.0 Programmer’s Reference 14-28 <UCPTstatus LonFormat="UCPTstatus">STATUS_REQUEST</UCPTstatus> </Co

Pagina 145 - 9-14

i.LON SmartServer 2.0 Programmer’s Reference 14-29 Reset You can use the Reset command to stop a device application, terminate all incoming and outg

Pagina 146 - 9-15

i.LON SmartServer 2.0 Programmer’s Reference 2-9 Error Code Error Description Comment 15 No Data 2.5.4 Namespace The namespace uniquely identi

Pagina 147 - 9-16

i.LON SmartServer 2.0 Programmer’s Reference 14-30 14.3.3.2 Issuing Debugging Commands You can use the InvokeCmd function to issue debugging comman

Pagina 148 - 9-17

i.LON SmartServer 2.0 Programmer’s Reference 14-31 <UCPTtransactionTimeouts> Transaction timeouts occur when an acknowledged message times out

Pagina 149 - 9-18

i.LON SmartServer 2.0 Programmer’s Reference 14-32 You can use the ClearStatus debugging command to clear the device statistics returned by the Quer

Pagina 150 - 10 Calendar

i.LON SmartServer 2.0 Programmer’s Reference 14-33 • The <UCPTannotation> property is Router. • The <UCPTuri> property is LON_Device_R

Pagina 151 - 10-2

i.LON SmartServer 2.0 Programmer’s Reference 14-34 bridges. You can use permanent bridges to preserve subnet IDs. • LCA_NUL. The SmartServer auto

Pagina 152

i.LON SmartServer 2.0 Programmer’s Reference 14-35 14.6.1 Using the List Function on a LONWORKS Functional Block You can use the List function to r

Pagina 153 - 10-3

i.LON SmartServer 2.0 Programmer’s Reference 14-36 <Item> <UCPTname>Building 2/Channel 1/DIO-5/Digital Output[1]</UCPTname>

Pagina 154 - 10-4

i.LON SmartServer 2.0 Programmer’s Reference 14-37 <UCPThidden>0</UCPThidden> <UCPTlastUpdate>2008-03-31T12:33:54.133-07:00<

Pagina 155 - 10-5

i.LON SmartServer 2.0 Programmer’s Reference 14-38 Property Description was last updated, in UTC (Coordinated Universal Time). UTC is the current te

Pagina 156 - 10-6

i.LON SmartServer 2.0 Programmer’s Reference 14-39 Property Description values: • 0. Standard functional profile defined in the standard resource

Pagina 157 - 10-7

i.LON SmartServer 2.0 Programmer’s Reference 2-10 Because Item is the base class for all types passed in the Get /Set /Delete, Read /Write, and In

Pagina 158 - 10-8

i.LON SmartServer 2.0 Programmer’s Reference 14-40 <iLonItem> <UCPTfaultCount>0</UCPTfaultCount> <Item> <UCPTn

Pagina 159 - 10-9

i.LON SmartServer 2.0 Programmer’s Reference 14-41 <xSelect>//Item[@xsi:type="LON_Dp_Cfg"][starts-with(UCPTname,"Building 2/Cha

Pagina 160 - 10-10

i.LON SmartServer 2.0 Programmer’s Reference 14-42 </iLonItem> </Get> Response <Get xmlns="http://wsdl.echelon.com/web_service

Pagina 161 - 10-11

i.LON SmartServer 2.0 Programmer’s Reference 14-43 Property Description was last updated, in UTC (Coordinated Universal Time). UTC is the current te

Pagina 162 - 10-12

i.LON SmartServer 2.0 Programmer’s Reference 14-44 Property Description <UCPTdefOutput> property. <UCPTunit> This property is a string u

Pagina 163 - 10-13

i.LON SmartServer 2.0 Programmer’s Reference 14-45 Property Description <UCPTpollRate> The frequency in which the SmartServer’s internal data

Pagina 164 - 10-14

i.LON SmartServer 2.0 Programmer’s Reference 14-46 a LON_Dp_Cfg type as its input. The <Item> element only needs to include the network varia

Pagina 165 - 10-15

i.LON SmartServer 2.0 Programmer’s Reference 14-47 <UCPTobjDisableFlag> The device must be disabled for the configuration property value to be

Pagina 166 - 10-16

i.LON SmartServer 2.0 Programmer’s Reference 14-48 o ST_LON_UNACK (Unacknowledged). The sending device sends out the network variable update only

Pagina 167 - 11 Real-Time Clock

i.LON SmartServer 2.0 Programmer’s Reference 14-49 Transaction Timer Calculated based on topology and service type. Broadcast Options Broadcast a

Pagina 168 - 11-2

i.LON SmartServer 2.0 Programmer’s Reference 2-11 You can cast an item to a more specialized type using meta data (the xsi:type attribute) that is

Pagina 169 - 11-3

i.LON SmartServer 2.0 Programmer’s Reference 15-1 15 Modbus Driver The following chapter describes how to manage Modbus channels, devices, and data

Pagina 170 - 11-4

i.LON SmartServer 2.0 Programmer’s Reference 15-2 <UCPTannotation>RS232</UCPTannotation> <UCPThidden>0</UCPThidden> &l

Pagina 171 - 11-5

i.LON SmartServer 2.0 Programmer’s Reference 15-3 Property Description 10:13:13 AM on August 15, 2002. If it is not UTC, time shift has to be define

Pagina 172 - 11-6

i.LON SmartServer 2.0 Programmer’s Reference 15-4 Property Description <InterfaceOptions> This element contains the following options for Mod

Pagina 173 - 12 Type Translator

i.LON SmartServer 2.0 Programmer’s Reference 15-5 Property Description <UCPTserialMode> The transmission mode used by the SmartServer for comm

Pagina 174 - 12-2

i.LON SmartServer 2.0 Programmer’s Reference 15-6 • If you are creating a new Modbus channel, you only need to specify the <UCPTchannelType>

Pagina 175 - 12-3

i.LON SmartServer 2.0 Programmer’s Reference 15-7 15.2 Modbus Devices The following section describes how to use the List, Get, Set, and Delete fu

Pagina 176 - 12-4

i.LON SmartServer 2.0 Programmer’s Reference 15-8 </Item> </iLonItem> </Get> The Get function returns an <Item> element fo

Pagina 177 - 12-5

i.LON SmartServer 2.0 Programmer’s Reference 15-9 Property Description <UCPTuri> The name of the file on the SmartServer flash disk containin

Pagina 178 - 12-6

i.LON SmartServer 2.0 Programmer’s Reference 15-10 </SetResponse> 15.2.4 Using the Delete Function on Modbus Devices You can use the Delete

Pagina 179 - 12-7

i.LON SmartServer 2.0 Programmer’s Reference 2-12 The following code samples demonstrate supported xSelect statements. Example 1 – List or Get a

Pagina 180 - 12-8

i.LON SmartServer 2.0 Programmer’s Reference 15-11 15.4.1 Using the List Function on Modbus Data Points You can use the List function to retrieve

Pagina 181 - 12-9

i.LON SmartServer 2.0 Programmer’s Reference 15-12 15.4.2 Using the Get Function on Modbus Data Points You can use the Get function to retrieve th

Pagina 182 - 12-10

i.LON SmartServer 2.0 Programmer’s Reference 15-13 Property Description rename a Modbus data point by providing its <UCPThandle> and specifyi

Pagina 183 - 12-11

i.LON SmartServer 2.0 Programmer’s Reference 15-14 Property Description including the type of values it takes and its base type. If you do not set

Pagina 184 - 12-12

i.LON SmartServer 2.0 Programmer’s Reference 15-15 Property Description states (on/off). • MTT_C_MO [Coil Functions (Functions 1 & 15 multi-wr

Pagina 185 - 12-13

i.LON SmartServer 2.0 Programmer’s Reference 15-16 Property Description • DO_WORD_SWAP. Data is first arranged from highest to lowest order, but

Pagina 186 - 12-14

i.LON SmartServer 2.0 Programmer’s Reference 15-17 You can set multiple Modbus data points with a single Set message. However, you should not atte

Pagina 187 - 12-15

i.LON SmartServer 2.0 Programmer’s Reference 15-18

Pagina 188 - 12-16

i.LON SmartServer 2.0 Programmer’s Reference 16-1 16 M-Bus Driver The following chapter describes how to manage M-Bus channels, devices, and data

Pagina 189 - 13 Type Translator Rules

i.LON SmartServer 2.0 Programmer’s Reference 16-2 <UCPThidden>0</UCPThidden> <UCPTlastUpdate>2008-04-02T13:06:24.430-07:00<

Pagina 190 - 13-2

i.LON SmartServer 2.0 Programmer’s Reference 2-13 Example 9 – Select a formatter report: xSelect = "//Item[@xsi:type=”TemplateManager_NVT_Cfg

Pagina 191 - 13-3

i.LON SmartServer 2.0 Programmer’s Reference 16-3 Property Description If it is not UTC, time shift has to be defined: 2008-02-28T09:59:53.660+01:0

Pagina 192 - 13-4

i.LON SmartServer 2.0 Programmer’s Reference 16-4 Property Description the M-Bus network. A parity bit is an extra bit used to check for errors in

Pagina 193 - 13-5

i.LON SmartServer 2.0 Programmer’s Reference 16-5 • If you are creating a new M-Bus channel, you only need to specify the <UCPTchannelType>

Pagina 194 - 13-6

i.LON SmartServer 2.0 Programmer’s Reference 16-6 16.2 M-Bus Devices The following section describes how to use the List, Get, Set, and Delete fun

Pagina 195 - 13-7

i.LON SmartServer 2.0 Programmer’s Reference 16-7 <UCPTmbusMedId>MED_NUL</UCPTmbusMedId> <UCPTmbusManId /> <UCPTmbusGenI

Pagina 196 - 13-8

i.LON SmartServer 2.0 Programmer’s Reference 16-8 Property Description 10:13:13 AM on August 15, 2002. If it is not UTC, time shift has to be defin

Pagina 197 - 13-9

i.LON SmartServer 2.0 Programmer’s Reference 16-9 Property Description received from the device. The device answers to a REQ_UD-request with toggl

Pagina 198 - 13-10

i.LON SmartServer 2.0 Programmer’s Reference 16-10 Property Description (AT_SECONDARY) addressing. Primary addressing is preferred because it make

Pagina 199 - 13-11

i.LON SmartServer 2.0 Programmer’s Reference 16-11 16.2.4 Using the Delete Function on M-Bus Devices You can use the Delete function to delete an

Pagina 200 - 13-12

i.LON SmartServer 2.0 Programmer’s Reference 16-12 16.4.1 Using the List Function on M-Bus Data Points You can use the List function to retrieve a

Pagina 201 - WORKS Driver

i.LON SmartServer 2.0 Programmer’s Reference 2-14 Driver Item xsi type Type Translator UFPTtypeTranslator_Cfg Type Translator Rule

Pagina 202 - 14-2

i.LON SmartServer 2.0 Programmer’s Reference 16-13 </iLonItem> </Get> Alternatively, you can specify one or more M-Bus data point pro

Pagina 203 - 14-3

i.LON SmartServer 2.0 Programmer’s Reference 16-14 Property Description YYYY-MM-DDTHH:MM:SS.sssZPhh:mm The first segment of the time stamp (YYYY-MM

Pagina 204 - 14-4

i.LON SmartServer 2.0 Programmer’s Reference 16-15 Property Description <UCPTpollRate> The frequency in which the SmartServer’s internal data

Pagina 205 - 14-5

i.LON SmartServer 2.0 Programmer’s Reference 16-16 16.4.4 Using the Delete Function on M-Bus Data Points You can use the Delete function to delete

Pagina 206 - 14-6

i.LON SmartServer 2.0 Programmer’s Reference 17-1 17 Virtual Driver The virtual channel is the SmartServer's internal channel. It is used as

Pagina 207 - 14-7

i.LON SmartServer 2.0 Programmer’s Reference 17-2 <UCPTfaultCount>0</UCPTfaultCount> <Item xsi:type="Virtual_Channel_Cfg&quo

Pagina 208 - 14-8

i.LON SmartServer 2.0 Programmer’s Reference 17-3 Property Description <UCPTdescription> A user-defined description of the channel. This can

Pagina 209 - 14-9

i.LON SmartServer 2.0 Programmer’s Reference 17-4 17.1.4 Using the Delete Function on a Virtual Channel You can use the Delete function to delete

Pagina 210 - 14-10

i.LON SmartServer 2.0 Programmer’s Reference 17-5 elements with a Virtual_Device_Cfg type. Each <Item> element will include the <UCPTname

Pagina 211 - 14-11

i.LON SmartServer 2.0 Programmer’s Reference 17-6 Property Description represents the time of day the configuration of the Data Point was last upda

Pagina 212 - 14-12

i.LON SmartServer 2.0 Programmer’s Reference 2-15 <DataPoint dpType="nvoLevelAlarm" discrim="dir_out"> <UCPTname>

Pagina 213 - 14-13

i.LON SmartServer 2.0 Programmer’s Reference 17-7 <UCPTname>Net/Virtual Channel/Virtual Device</UCPTname> </Item> </iLonI

Pagina 214 - 14-14

i.LON SmartServer 2.0 Programmer’s Reference 17-8 </iLonItem> </SetResponse> 17.4 Virtual Data Points The following section descri

Pagina 215 - 14-15

i.LON SmartServer 2.0 Programmer’s Reference 17-9 </Item> <Item> <UCPTname>Net/VirtCh/iLON System/VirtFb/CMdialInIp</UCPTn

Pagina 216 - 14-16

i.LON SmartServer 2.0 Programmer’s Reference 17-10 Property Description <network/channel/device/functionalblock/data point>. You can rename

Pagina 217 - 14-17

i.LON SmartServer 2.0 Programmer’s Reference 17-11 Property Description #<manufacturer ID>[scope selector].<type name>[#format] . This

Pagina 218 - 14-18

i.LON SmartServer 2.0 Programmer’s Reference 17-12 <UCPTannotation>Dp_Out</UCPTannotation> <UCPTformatDescription>#0000000000

Pagina 219 - 14-19

i.LON SmartServer 2.0 Programmer’s Reference 18-1 18 File System Data You can use the List, Read, Write, and Delete functions to download, upload,

Pagina 220 - 14-20

i.LON SmartServer 2.0 Programmer’s Reference 18-2 <xSelect>//*[@xsi:type="FileSystem"][UCPTname="/eventlog.txt"][UCPTfi

Pagina 221 - 14-21

i.LON SmartServer 2.0 Programmer’s Reference 18-3 returns the following data: Hello World ! 18.3 Using the Write Function on File System Data Y

Pagina 222 - 14-22

i.LON SmartServer 2.0 Programmer’s Reference 18-4 ilonWebRef.Item_Coll wrteResp = ilon.Write(itemDataColl); 18.4 Using the Delete Function on File

Pagina 223 - 14-23

i.LON SmartServer 2.0 Programmer’s Reference iii Table of Contents 1 Introduction to the SmartServer SOAP/XML Interface ... 1-1 1.1 A

Pagina 224 - 14-24

i.LON SmartServer 2.0 Programmer’s Reference 2-16 2.10.1 Configuration Data The following example demonstrates how to use a Get function to obtain

Pagina 225 - 14-25

i.LON SmartServer 2.0 Programmer’s Reference 18-5

Pagina 226 - 14-26

i.LON SmartServer 2.0 Programmer’s Reference 19-1 19 System Information Methods You can use the SystemService_Read_Info and SystemService_Write_In

Pagina 227 - 14-27

i.LON SmartServer 2.0 Programmer’s Reference 19-2 • Time of last refresh. SI_MAIL E-mail (SMTP) server settings. SI_RTR IP-852 router settin

Pagina 228 - 14-28

i.LON SmartServer 2.0 Programmer’s Reference 19-3 <UCPTethernetMode>Auto</UCPTethernetMode> <UCPTSoftwareDisabledByDownRevHardwa

Pagina 229 - 14-29

i.LON SmartServer 2.0 Programmer’s Reference 19-4 Property Description R/W address prior to a reboot. <UCPTcurrentIpMask> The SmartServer’

Pagina 230 - 14-30

i.LON SmartServer 2.0 Programmer’s Reference 19-5 </iLONSystemService> </SystemService_Read_Info> Response <SystemService_Read_I

Pagina 231 - 14-31

i.LON SmartServer 2.0 Programmer’s Reference 19-6 Response <SystemService_Read_Info xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/

Pagina 232 - 14-32

i.LON SmartServer 2.0 Programmer’s Reference 19-7 Property Description R/W <UCPTftpPassword The password used to access the SmartServer via FTP

Pagina 233 - 14-33

i.LON SmartServer 2.0 Programmer’s Reference 19-8 <UCPTmodemPresent>true</UCPTmodemPresent> <UCPTip852RouterPresent>true</

Pagina 234 - 14-34

i.LON SmartServer 2.0 Programmer’s Reference 19-9 Property Description R/W used to accommodate block failures. <UCPTdiskSpareBlocksMinRec>

Pagina 235 - 14-35

i.LON SmartServer 2.0 Programmer’s Reference 2-17 </ValueDef> <ValueDef> <UCPTindex>1</UCPTindex> <UCPTnam

Pagina 236 - 14-36

i.LON SmartServer 2.0 Programmer’s Reference 19-10 <UCPTdpMessageFailures>1440 0</UCPTdpMessageFailures> </AoUCPTdpMessageFailu

Pagina 237 - 14-37

i.LON SmartServer 2.0 Programmer’s Reference 19-11 Property Description R/W <UCPTnumBlocksFree> The number of free blocks of RAM on the Smar

Pagina 238 - 14-38

i.LON SmartServer 2.0 Programmer’s Reference 19-12 Property Description R/W <UCPTmailLogin> The user name for logging in to an SMTP serve

Pagina 239 - 14-39

i.LON SmartServer 2.0 Programmer’s Reference 19-13 Property Description R/W on which devices are attached to be determined automatically. Configu

Pagina 240 - 14-40

i.LON SmartServer 2.0 Programmer’s Reference 19-14 Property Description R/W <UCPTrouterLONWORKSAddr_LT> The domain, subnet, node address of

Pagina 241 - 14-41

i.LON SmartServer 2.0 Programmer’s Reference 19-15 Property Description R/W IP-852 Configuration Server on the IP-852 channel. <UCPTcfgPacketsR

Pagina 242 - 14-42

i.LON SmartServer 2.0 Programmer’s Reference 19-16 Property Description R/W <UCPTlspaCaptureAllPackets> This property enables packets direct

Pagina 243 - 14-43

i.LON SmartServer 2.0 Programmer’s Reference 19-17 <UCPTstate> This property specifies whether to start a test or get the current status of t

Pagina 244 - 14-44

i.LON SmartServer 2.0 Programmer’s Reference 19-18 Response <SystemService_TestResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon

Pagina 245 - 14-45

i.LON SmartServer 2.0 Programmer’s Reference 19-19 • SS_SENDING_MAIL • SS_BUSY <UCPTerror> A flag indicating whether there was an error wit

Pagina 246 - 14-46

i.LON SmartServer 2.0 Programmer’s Reference 2-18 <p:UCPTprocessingTime>20</p:UCPTprocessingTime> </p:messageProperties> <

Pagina 247 - 14-47

i.LON SmartServer 2.0 Programmer’s Reference 19-20 </SystemService_Test> Request (check the status of the test) <SystemService_Test xmlns=

Pagina 248 - 14-48

i.LON SmartServer 2.0 Programmer’s Reference 19-21 Property Description Required/ Optional <UCPTTestType> Enumeration that defines the type

Pagina 249 - 14-49

i.LON SmartServer 2.0 Programmer’s Reference 19-22 <UCPTdetailDescr></UCPTdetailDescr> <AoTestLog> <TestLo

Pagina 250 - 15 Modbus Driver

i.LON SmartServer 2.0 Programmer’s Reference 20-1 20 Using the SOAP Interface as a Web Service This chapter assumes that you have some familiarity

Pagina 251 - <UCPTlastUpdate>

i.LON SmartServer 2.0 Programmer’s Reference 20-2 4. Add a service reference to the version 4.0 WSDL to your project. To do this, follow these s

Pagina 252 - <UCPTport>

i.LON SmartServer 2.0 Programmer’s Reference 20-3 c. In the URL or Address box, enter the following address: http://SmartServer IP address/WSDL

Pagina 253 - <InterfaceOptions>

i.LON SmartServer 2.0 Programmer’s Reference 20-4 e. In the Namespace box, enter a name for the service reference. You will use this name when y

Pagina 254 - <UCPTminOfflineTime>

i.LON SmartServer 2.0 Programmer’s Reference 20-5 f. Click OK. The new service reference appears in the list of references in the Solution Explor

Pagina 255

i.LON SmartServer 2.0 Programmer’s Reference 20-6 7. In the Name box, enter “iLON_SoapCalls” and then click Add. 8. You should now use the iLON

Pagina 256 - 15-7

i.LON SmartServer 2.0 Programmer’s Reference 20-7 3. Enter a name, location, and project type for the project, and then click OK. 4. Add a Web

Pagina 257 - 15-8

i.LON SmartServer 2.0 Programmer’s Reference 2-19 </p:messageProperties> </SOAP-ENV:Header> <SOAP-ENV:Body> <ReadResponse xm

Pagina 258 - 15-9

i.LON SmartServer 2.0 Programmer’s Reference 20-8 b. In the URL or Address box, enter the following address: http://SmartServer IP address/WSDL

Pagina 259 - 15-10

i.LON SmartServer 2.0 Programmer’s Reference 20-9 e. Click Add Reference. The new Web reference appears in the list of references in the Solutio

Pagina 260 - 15-11

i.LON SmartServer 2.0 Programmer’s Reference 20-10 5. A .NET 2.0 client must turn off the keep-alive attribute to communicate with the SmartServer

Pagina 261 - 15-12

i.LON SmartServer 2.0 Programmer’s Reference 20-11 class iLON_WebService : iLON_SmartServer.iLON100 // iLON_SmartServer refers to the name o

Pagina 262 - 15-13

i.LON SmartServer 2.0 Programmer’s Reference 20-12 namespace SmartServerConsoleExample { class iLON_SoapCalls { // your SmartServer

Pagina 263 - 15-14

i.LON SmartServer 2.0 Programmer’s Reference 20-13 20.2.2 Instantiating the Web Service Client in Visual C# .NET 2.0 using System; using System.Co

Pagina 264 - 15-15

i.LON SmartServer 2.0 Programmer’s Reference 20-14 20.2.3 Instantiating the Web Service Client in Visual Basic .NET 3.5 The following example show

Pagina 265 - 15-16

i.LON SmartServer 2.0 Programmer’s Reference 20-15 Note: The following examples assume that you are using a SmartServer that has been set to its f

Pagina 266 - 15-17

i.LON SmartServer 2.0 Programmer’s Reference 20-16 // -------------- WRITING A DATA POINT VALUE --------------

Pagina 267 - 15-18

i.LON SmartServer 2.0 Programmer’s Reference 20-17 after you have completed section 20.2.1, Referencing and Inheriting from the WSDL Using .NET 2.0

Pagina 268 - 16 M-Bus Driver

i.LON SmartServer 2.0 Programmer’s Reference 3-1 3 SmartServer Applications and the SOAP/XML Interface This chapter provides an overview of the ap

Pagina 269 - 16-2

i.LON SmartServer 2.0 Programmer’s Reference 20-18 "Net/LON/iLON App/Digital Output 1/nviClaValue_1"; ((iLON_Sma

Pagina 270 - 16-3

i.LON SmartServer 2.0 Programmer’s Reference 20-19 20.3.3 Reading and Writing Data Point Values in Visual Basic .NET 3.5 The following Visual Basi

Pagina 271 - 16-4

i.LON SmartServer 2.0 Programmer’s Reference 20-20 SmartServer._iLON.InvokeCmd(itemCollInvoke) ' set the DP priority to 200 (

Pagina 272 - 16-5

i.LON SmartServer 2.0 Programmer’s Reference 20-21 a. Open a Command Prompt window to the following folder on your computer: C:\Program Files\Mi

Pagina 273 - 16-6

i.LON SmartServer 2.0 Programmer’s Reference 20-22 4. Add a reference to the Microsoft.Web.Services2.dll component. To do this, click Project an

Pagina 274 - 16-7

i.LON SmartServer 2.0 Programmer’s Reference 20-23 7. Write the code for web service. You can simply copy and paste the following code snippet in

Pagina 275 - 16-8

i.LON SmartServer 2.0 Programmer’s Reference 20-24 // create the response object Item_Coll itemColl_resp = new Item_Coll()

Pagina 276 - 16-9

i.LON SmartServer 2.0 Programmer’s Reference 20-25 <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Co

Pagina 277 - 16-10

i.LON SmartServer 2.0 Programmer’s Reference 20-26 a. Right-click the LAN icon or a dial-out connection icon, point to Add Host, and then click Se

Pagina 278 - 16-11

i.LON SmartServer 2.0 Programmer’s Reference 20-27 f. Configure the following properties for the WebBinder Target server: i.LON SmartServer Prope

Pagina 279 - 16-12

i.LON SmartServer 2.0 Programmer’s Reference 3-2 manage these tasks. You can also create a Real-Time Cock to create events based on sunrise and su

Pagina 280 - 16-13

i.LON SmartServer 2.0 Programmer’s Reference 20-28 hexadecimal format. Maximum Age Specify the maximum age (in seconds) to be written to the targe

Pagina 281 - 16-14

i.LON SmartServer 2.0 Programmer’s Reference 20-29 d. Click Submit. 13. Return to your .NET project, put a break point on the first line in Wr

Pagina 282 - 16-15

i.LON SmartServer 2.0 Programmer’s Reference 20-30

Pagina 283 - 16-16

i.LON SmartServer 2.0 Programmer’s Reference 21-1 21 Programming Examples This chapter includes programming examples, written in Visual C# (.NET 3

Pagina 284 - 17 Virtual Driver

i.LON SmartServer 2.0 Programmer’s Reference 21-2 try { // See Section 20.2.1 (NET 3.5) or 20.2.2 (NET 2.0)for more information on iL

Pagina 285 - 17-2

i.LON SmartServer 2.0 Programmer’s Reference 21-3 21.1.2.1 Creating a Data Logger The following C# console example creates a new data logger from

Pagina 286 - 17-3

i.LON SmartServer 2.0 Programmer’s Reference 21-4 // -------------- CREATING A DATA LOGGER -------------- //Create an xSelec

Pagina 287 - 17-4

i.LON SmartServer 2.0 Programmer’s Reference 21-5 dataPointRef2.UCPTpollRate = 60; dataPointRef2.dpType = "Input

Pagina 288 - 17-5

i.LON SmartServer 2.0 Programmer’s Reference 21-6 Console.Out.WriteLine("Item: " + ItemColl.Item[j].UCPTname + ", fault code: "

Pagina 289 - 17-6

i.LON SmartServer 2.0 Programmer’s Reference 21-7 Console.ReadLine(); } finally { iLON_SoapCalls.Clo

Pagina 290 - 17-7

i.LON SmartServer 2.0 Programmer’s Reference 3-3 3.3 SmartServer Resource Files There are many configuration properties you can configure with the

Pagina 291 - 17-8

i.LON SmartServer 2.0 Programmer’s Reference 21-8 Console.Out.WriteLine("Item: " + ItemCfgColl.Item[j].UCPTname + &qu

Pagina 292 - 17-9

i.LON SmartServer 2.0 Programmer’s Reference 21-9 myScheduler.UCPTname = "Net/LON/iLON App/myScheduler"; my

Pagina 293 - 17-10

i.LON SmartServer 2.0 Programmer’s Reference 21-10 offEvent.UCPTvalue[0].Value = "OFF"; offEvent.UCPTvalue[

Pagina 294 - 17-11

i.LON SmartServer 2.0 Programmer’s Reference 21-11 sat.UCPTwednesday = 0; sat.UCPTthursday = 0; sat.UC

Pagina 295 - 17-12

i.LON SmartServer 2.0 Programmer’s Reference 21-12 myScheduler.DayBased[2] = new iLON_SmartServer.UFPTscheduler_CfgDayBased();

Pagina 296 - 18 File System Data

i.LON SmartServer 2.0 Programmer’s Reference 21-13 //create Exception item holidays.Exception = new i

Pagina 297 - 18-2

i.LON SmartServer 2.0 Programmer’s Reference 21-14 //create exception dates myCalendar.Exception[0].Schedule = new iLON_Smart

Pagina 298 - 18-3

i.LON SmartServer 2.0 Programmer’s Reference 21-15 myCalendar.Exception[0].Schedule[3].UCPTschedDay = new iLON_SmartServer.E_LonString()

Pagina 299 - 18-4

i.LON SmartServer 2.0 Programmer’s Reference 21-16 class Program { //Function required for converting device Neuron IDs and program ID

Pagina 300 - 18-5

i.LON SmartServer 2.0 Programmer’s Reference 21-17 my_LON_Device1.Command[1].UCPTstatus.Value = "STATUS_REQUEST";

Pagina 301 - 19-1

i.LON SmartServer 2.0 Programmer’s Reference 3-4 3.3.3 User-Defined Network Variable Type (UNVT) Device Resource Files Device manufacturers create

Pagina 302 - 19-2

i.LON SmartServer 2.0 Programmer’s Reference 21-18 ", fault string: " + Device_Return_ItemColl.Item[j].fault.faultstring);

Pagina 303 - 19-3

i.LON SmartServer 2.0 Programmer’s Reference 21-19 // If you are using NET 2.0 Framework, uncomment the following line of code to enter

Pagina 304 - 19-4

i.LON SmartServer 2.0 Programmer’s Reference 21-20 deviceItems.Command[0].UCPTcommand = iLON_SmartServer.LON_Device_eComma

Pagina 305 - 19-5

i.LON SmartServer 2.0 Programmer’s Reference 21-21 Console.Out.WriteLine(deviceItemsCheck.UCPTname + "RESET REQUEST STAT

Pagina 306 - 19-6

i.LON SmartServer 2.0 Programmer’s Reference 21-22 { int nLen = str.Length / 2; byte[] arr = new byte[nLen];

Pagina 307 - 19-7

i.LON SmartServer 2.0 Programmer’s Reference 21-23 //Check scan status bool scanDone = false; whil

Pagina 308 - 19-8

i.LON SmartServer 2.0 Programmer’s Reference 21-24 Console.WriteLine("Neuron ID = " + NID); Strin

Pagina 309 - 19-9

i.LON SmartServer 2.0 Programmer’s Reference 21-25 iLON_SmartServer.LON_Device_eCommand.ChangeCommissionStatus;

Pagina 310 - 19-10

i.LON SmartServer 2.0 Programmer’s Reference 21-26 finally { iLON_SoapCalls.CloseBindingToSmartServer();

Pagina 311 - 19-11

i.LON SmartServer 2.0 Programmer’s Reference 21-27 iLON_SmartServer_System.messageProperties_system systemInfo = new iLON_SmartServer_S

Pagina 312 - 19-12

i.LON SmartServer 2.0 Programmer’s Reference 3-5 Precision – Single floats always use 7 digits of precision, including digits before and after the

Pagina 313 - 19-13

i.LON SmartServer 2.0 Programmer’s Reference 21-28 { // Specify the binding to be used for the client. BasicHttpBin

Pagina 314 - 19-14

i.LON SmartServer 2.0 Programmer’s Reference 21-29 // _iLON.Credentials = new System.Net.NetworkCredential("ilon",

Pagina 315 - 19-15

i.LON SmartServer 2.0 Programmer’s Reference 21-30 21.2 Visual Basic.NET Examples 21.2.1 Reading and Writing Data Point Values in Visual Basic.N

Pagina 316 - 19-16

i.LON SmartServer 2.0 Programmer’s Reference 21-31 Next Dim ItemWriteDpValues As ILON_SmartServer.Item_Coll = SmartServer.

Pagina 317 - 19-17

i.LON SmartServer 2.0 Programmer’s Reference 21-32 Dim SmartServer As iLON_SoapCalls = New iLON_SoapCalls SmartServer.BindClientTo

Pagina 318 - 19-18

i.LON SmartServer 2.0 Programmer’s Reference 21-33 myDataLogger.DataPoint(1) = dataPointRef2 'call Set function

Pagina 319 - 19-19

i.LON SmartServer 2.0 Programmer’s Reference 21-34 PrintGetError(ItemColl) Else Dim myDataLogger As iLON_SmartServe

Pagina 320 - 19-20

i.LON SmartServer 2.0 Programmer’s Reference 21-35 ' print out error and exit Console.Out.WriteLine("An error occurred:&q

Pagina 321 - 19-21

i.LON SmartServer 2.0 Programmer’s Reference 21-36 dataPointRef1.UCPTname = "Net/LON/iLON App/Digital Output 1/nviClaValue_1"

Pagina 322 - 19-22

i.LON SmartServer 2.0 Programmer’s Reference 21-37 mon_to_fri.UCPTsaturday = 0 mon_to_fri.UCPTsunday = 0 dayB

Pagina 323 - 20-1

i.LON SmartServer 2.0 Programmer’s Reference 3-6 3.4.2 Get Functions You can use the Get function to retrieve the configuration of any application

Pagina 324 - 20-2

i.LON SmartServer 2.0 Programmer’s Reference 21-38 '---create ON event---- Dim onEvent_Sun As New iLON_SmartServer.UF

Pagina 325 - 20-3

i.LON SmartServer 2.0 Programmer’s Reference 21-39 Dim lockEvent_holiday As New iLON_SmartServer.UFPTscheduler_CfgEvent() l

Pagina 326 - 20-4

i.LON SmartServer 2.0 Programmer’s Reference 21-40 Dim newScheduler As iLON_SmartServer.Item = ItemColl_Set_Scheduler_Return.Item(

Pagina 327 - 20-5

i.LON SmartServer 2.0 Programmer’s Reference 21-41 myCalendar.Exception(0).Schedule(1).UCPTschedMonth = New iLON_SmartServer.E_LonString()

Pagina 328 - 20-6

i.LON SmartServer 2.0 Programmer’s Reference 21-42 Console.ReadLine() Finally SmartServer.CloseBindingToSmartServer()

Pagina 329 - 20-7

i.LON SmartServer 2.0 Programmer’s Reference 21-43 my_LON_Device1.UCPTprogramId = HexStringToArray("80000105288a0403") my

Pagina 330 - 20-8

i.LON SmartServer 2.0 Programmer’s Reference 21-44 'get the device template to show FBs and DPs in Web UI my_LON_Device2.Comma

Pagina 331 - 20-9

i.LON SmartServer 2.0 Programmer’s Reference 21-45 'we create an xSelect object and then specify the filter to be used Dim xSel

Pagina 332 - 20-10

i.LON SmartServer 2.0 Programmer’s Reference 21-46 ItemColl_SetReturn.xSelect = "//Item[@xsi:type=""LON_Device_Cfg"&quo

Pagina 333 - 20-11

i.LON SmartServer 2.0 Programmer’s Reference 21-47 21.2.6 Discovering and Installing External Devices in Visual Basic.NET This console example sca

Pagina 334 - 20-12

i.LON SmartServer 2.0 Programmer’s Reference iv 3.4.5 Write Functions...3-7

Pagina 335 - 20-13

i.LON SmartServer 2.0 Programmer’s Reference 3-7 3.4.4 Read Functions You can use the Read function to read the value, status, or priority of a da

Pagina 336 - 20-14

i.LON SmartServer 2.0 Programmer’s Reference 21-48 networkScan.UCPTscan(0) = domain 'send InvokeCmd Dim

Pagina 337 - 20-15

i.LON SmartServer 2.0 Programmer’s Reference 21-49 End If ' -------------- CREATING DISCOVERED LONWORKS DEVICE

Pagina 338 - 20-16

i.LON SmartServer 2.0 Programmer’s Reference 21-50 my_LON_Device.Command = New iLON_SmartServer.LON_Device_CfgCommand(2) {}

Pagina 339 - 20-17

i.LON SmartServer 2.0 Programmer’s Reference 21-51 21.2.7 Configuring the SmartServer in Visual Basic.NET This console example uses the system inf

Pagina 340 - 20-18

i.LON SmartServer 2.0 Programmer’s Reference 21-52 vbNewLine) Thread.Sleep(10000) Dim newTime As New iLON_SmartServer_Sys

Pagina 341 - 20-19

i.LON SmartServer 2.0 Programmer’s Reference 21-53 ' Closing the client gracefully ' closes the connection and cleans up

Pagina 342 - 20-20

i.LON SmartServer 2.0 Programmer’s Reference 22-1 22 Programming the SmartServer with Java You can write custom applications for the SmartServer in

Pagina 343 - 20-21

i.LON SmartServer 2.0 Programmer’s Reference 22-2 2. Download the Maven 2.2.1 .zip file. 3. Browse to the C:\eclipse\eclipse 3.5\ilon.ws.clients

Pagina 344 - 20-22

i.LON SmartServer 2.0 Programmer’s Reference 22-3 22.2 Creating a JAX-WS Client To create a JAX-WS client, follow these steps: 1. Create the java

Pagina 345 - 20-23

i.LON SmartServer 2.0 Programmer’s Reference 22-4 b. The Import dialog opens with the Select window. Expand General, click Existing Projects into

Pagina 346 - 20-24

i.LON SmartServer 2.0 Programmer’s Reference 3-8

Pagina 347 - 20-25

i.LON SmartServer 2.0 Programmer’s Reference 22-5 c. The Import window opens. In the Root Directory property, enter C:\eclipse\eclipse 3.5\ilon.w

Pagina 348 - 20-26

i.LON SmartServer 2.0 Programmer’s Reference 22-6 b. In the Work With property, enter http://m2eclipse.sonatype.org/update/. In the Type Filter T

Pagina 349 - 20-27

i.LON SmartServer 2.0 Programmer’s Reference 22-7 d. Restart Eclipse. To do this, click File and then click Restart. If the following warning dia

Pagina 350 - 20-28

i.LON SmartServer 2.0 Programmer’s Reference 22-8 b. The Preferences dialog opens. Expand JAVA and then click Installed JREs. c. Add the JDK t

Pagina 351 - 20-29

i.LON SmartServer 2.0 Programmer’s Reference 22-9 d. A jdk entry is listed under Installed JREs. e. Delete the existing jre6 entry. To do this,

Pagina 352 - 20-30

i.LON SmartServer 2.0 Programmer’s Reference 22-10 f. Click OK. g. Browse to C:\WINDOWS\system32 and rename the java.exe, javaw.exe, javaws.exe f

Pagina 353 - 21 Programming Examples

i.LON SmartServer 2.0 Programmer’s Reference 22-11 • In the Properties dialog, click Java Build Path and then click the Libraries tab. If there i

Pagina 354 - 21-2

i.LON SmartServer 2.0 Programmer’s Reference 22-12 • A JRE System Library [jdk] entry is listed • Click OK. 6. Enable Maven to manage your Jav

Pagina 355 - 21-3

i.LON SmartServer 2.0 Programmer’s Reference 22-13 a. In the Project Explorer view, right-click the ilon-ws folder, point to Maven, and then click

Pagina 356 - 21-4

i.LON SmartServer 2.0 Programmer’s Reference 22-14 8. Enter the following command in the C:\eclipse\eclipse 3.5\ilon.ws.clients folder to generate

Pagina 357 - 21-5

i.LON SmartServer 2.0 Programmer’s Reference 4-1 4 Using the SmartServer Data Server The SmartServer’s internal Data Server is a software componen

Pagina 358 - 21-6

i.LON SmartServer 2.0 Programmer’s Reference 22-15 9. Enter the following command in the C:\eclipse\eclipse 3.5\ilon.ws.clients\jax-ws folder to ge

Pagina 359 - 21-7

i.LON SmartServer 2.0 Programmer’s Reference 22-16 11. Run the Client.java class. To do this, click Run and then click Run or Debug.

Pagina 360 - 21-8

i.LON SmartServer 2.0 Programmer’s Reference 22-17 12. Observe the output in the Console view at the bottom of the development environment. 22.3

Pagina 361 - 21-9

i.LON SmartServer 2.0 Programmer’s Reference 22-18 package com.echelon.sample.client.ilon; import com.echelon.wsdl.web_services_ns.ilon100.v4_0.mes

Pagina 362 - 21-10

i.LON SmartServer 2.0 Programmer’s Reference 22-19 } ItemColl writeResponse = SmartServer.write(itemDataColl);

Pagina 363 - 21-11

i.LON SmartServer 2.0 Programmer’s Reference 22-20 import com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.UFPTdataLoggerCfg; import com.echelo

Pagina 364 - 21-12

i.LON SmartServer 2.0 Programmer’s Reference 22-21 logFormat_LonString.setLonFormat("UCPTlogFormat"); myDataLo

Pagina 365 - 21-13

i.LON SmartServer 2.0 Programmer’s Reference 22-22 import com.echelon.wsdl.web_services_ns.ilon100.v4_0.wsdl.ILON100; import com.echelon.wsdl.web_se

Pagina 366 - 21-14

i.LON SmartServer 2.0 Programmer’s Reference 22-23 // print out error and exit System.out.println("An error

Pagina 367 - 21-15

i.LON SmartServer 2.0 Programmer’s Reference 22-24 /** * @param args */ public static byte[] hexStringToByteArray(String s) { int le

Pagina 368 - 21-16

i.LON SmartServer 2.0 Programmer’s Reference 4-2 Two of the most important properties in the Data Server for any data point are the <UCPTpointS

Pagina 369 - 21-17

i.LON SmartServer 2.0 Programmer’s Reference 22-25 //run device application

Pagina 370 - 21-18

i.LON SmartServer 2.0 Programmer’s Reference 22-26 LONDeviceCfg.Command getTemplate_my_LON_Device2 = new LONDeviceCfg.Command();

Pagina 371 - 21-19

i.LON SmartServer 2.0 Programmer’s Reference 22-27 You can execute this code after you have setup the Java programming environment as described in s

Pagina 372 - 21-20

i.LON SmartServer 2.0 Programmer’s Reference 22-28 new LONNetworkScanCommandInvoke.Command(); scanFrequency.setUCPTcommand(LONDeviceIlonNi

Pagina 373 - 21-21

i.LON SmartServer 2.0 Programmer’s Reference 22-29 // A "<network>/#DeviceDiscovery" data logger is automatically created by

Pagina 374 - 21-22

i.LON SmartServer 2.0 Programmer’s Reference 22-30 String xifName = templateName_justxif[templateNameLength-1]; Syst

Pagina 375 - 21-23

i.LON SmartServer 2.0 Programmer’s Reference 22-31 newDevice.getUCPTapplicationStatus().getValue() + ".");

Pagina 376 - 21-24

i.LON SmartServer 2.0 Programmer’s Reference A-1 Appendix A: SOAP Tester Example You can use the iLON SOAP Tester (version 2.0.3994) to perform func

Pagina 377 - 21-25

i.LON SmartServer 2.0 Programmer’s Reference A-2 4. Click List. This calls the Data Server’s List function and returns all the data points on the

Pagina 378 - 21-26

i.LON SmartServer 2.0 Programmer’s Reference A-3 6. In this example, we want to read and write only to the SmartServer’s digital relay outputs; th

Pagina 379 - 21-27

i.LON SmartServer 2.0 Programmer’s Reference 4-3 • The data points on the SmartServer’s internal automated systems device (i.LON App), which conta

Pagina 380 - 21-28

i.LON SmartServer 2.0 Programmer’s Reference A-4 7. Click List. This calls the Data Server’s List function and returns all the data points that

Pagina 381 - 21-29

i.LON SmartServer 2.0 Programmer’s Reference A-5 8. Click Read. This calls the Data Server’s Read function and returns the Dp_Data type for the su

Pagina 382 - 21-30

i.LON SmartServer 2.0 Programmer’s Reference A-6 9. Toggle the values of the data points. By default, the subject data points have pre-defined ON

Pagina 383 - 21-31

www.echelon.com

Pagina 384 - 21-32

i.LON SmartServer 2.0 Programmer’s Reference 4-4 <ValueDef> <UCPTindex>0</UCPTindex> <UCPTname>OFF</UCPTname>

Pagina 385 - 21-33

i.LON SmartServer 2.0 Programmer’s Reference 4-5 You can use additional filters in the xSelect statement to return a specific set of data points on

Pagina 386 - 21-34

i.LON SmartServer 2.0 Programmer’s Reference 4-6 Alternatively, you can specify one or more data point properties such as <UCPTformatDescription

Pagina 387 - 21-35

i.LON SmartServer 2.0 Programmer’s Reference 4-7 Property Description <UCPTname> The name of the data point in the following format: <netw

Pagina 388 - 21-36

i.LON SmartServer 2.0 Programmer’s Reference 4-8 Property Description standard (SNVT) format type included in the resource files on the SmartServer

Pagina 389 - 21-37

i.LON SmartServer 2.0 Programmer’s Reference v 8.2 Creating and Modifying the Analog Functional Block XML File...8-2 8.3 Analog Functiona

Pagina 390 - 21-38

i.LON SmartServer 2.0 Programmer’s Reference 4-9 Property Description function to edit the unit strings of data point fields. <UCPTbaseType>

Pagina 391 - 21-39

i.LON SmartServer 2.0 Programmer’s Reference 4-10 Property Description it exists for the data point type selected. This value represents the minim

Pagina 392 - 21-40

i.LON SmartServer 2.0 Programmer’s Reference 4-11 or more <Item> elements. Each <Item> element includes a <UCPTname> property th

Pagina 393 - 21-41

i.LON SmartServer 2.0 Programmer’s Reference 4-12 include the data point’s <UCPTname> and <UCPTlastUpdate> properties and the position

Pagina 394 - 21-42

i.LON SmartServer 2.0 Programmer’s Reference 4-13 Response <ReadResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/messag

Pagina 395 - 21-43

i.LON SmartServer 2.0 Programmer’s Reference 4-14 Property Description <UCPThidden> A flag indicating whether the data point is hidden or sho

Pagina 396 - 21-44

i.LON SmartServer 2.0 Programmer’s Reference 4-15 • If <UCPTmaxAge> is set to 0, the Data Server returns polls the data point and returns th

Pagina 397 - 21-45

i.LON SmartServer 2.0 Programmer’s Reference 4-16 <UCPTvalue LonFormat= "SNVT_scene.function">SC_RECALL</UCPTvalue> <UCPTv

Pagina 398 - 21-46

i.LON SmartServer 2.0 Programmer’s Reference 4-17 Response <WriteResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/mess

Pagina 399 - 21-47

i.LON SmartServer 2.0 Programmer’s Reference 4-18 For example, consider a scenario where a SOAP application uses the Write function to write to the

Pagina 400 - 21-48

i.LON SmartServer 2.0 Programmer’s Reference vi 14 LONWORKS Driver ... 14-1

Pagina 401 - 21-49

i.LON SmartServer 2.0 Programmer’s Reference 4-19 data point is still registered on its respective bus. The following code sample demonstrates ho

Pagina 402 - 21-50

i.LON SmartServer 2.0 Programmer’s Reference 4-20 much slower (40 data point updates per second) than IP-852 connections (1,000 updates per second)

Pagina 403 - 21-51

i.LON SmartServer 2.0 Programmer’s Reference 4-21 <UCPTannotation>Dp_In_WebBinding;xsi:type=&quot;Dp_Ref&quot;</UCPTannotation&g

Pagina 404 - 21-52

i.LON SmartServer 2.0 Programmer’s Reference 4-22 Property Description <UCPTname> The name of the source data point in the Web connection in

Pagina 405 - 21-53

i.LON SmartServer 2.0 Programmer’s Reference 4-23 Property Description Acknowledged messaging service (ST_WEB_ACK). This means that the sending de

Pagina 406 - Installing Maven 2.2.1

i.LON SmartServer 2.0 Programmer’s Reference 4-24 Request <Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/"&g

Pagina 407

i.LON SmartServer 2.0 Programmer’s Reference 5-1 5 Data Loggers You can use Data Loggers to monitor activity on your network. Each Data Logger wi

Pagina 408 - Creating a JAX-WS Client

i.LON SmartServer 2.0 Programmer’s Reference 5-2 <Item xsi:type="UFPTdataLogger_Cfg" > <UCPTname>Net/LON/iLON App/Data

Pagina 409

i.LON SmartServer 2.0 Programmer’s Reference 5-3 SmartServer will require a reboot to read the configuration of the downloaded file. Additionally,

Pagina 410

i.LON SmartServer 2.0 Programmer’s Reference 5-4 <iLonItem> <Item> <UCPTname>Net/LON/iLON App/Data Logger[0]</UCPTname>

Pagina 411

i.LON SmartServer 2.0 Programmer’s Reference vii 16.1.1 Using the List Function on M-Bus Channels ...16-1 16.1.2 Using the

Pagina 412

i.LON SmartServer 2.0 Programmer’s Reference 5-5 Property Description <UCPTname> The name of the data logger in the following format: <net

Pagina 413

i.LON SmartServer 2.0 Programmer’s Reference 5-6 Property Description <UCPTlogType> Either LT_HISTORICAL or LT_CIRCULAR. This indicates whet

Pagina 414

i.LON SmartServer 2.0 Programmer’s Reference 5-7 Property Description <UCPTlogFileName> The path of the data log file on the SmartServer flas

Pagina 415 - 22-10

i.LON SmartServer 2.0 Programmer’s Reference 5-8 Property Description 214,748,364.0 seconds. The Data Logger will check for updates to the data po

Pagina 416 - 22-11

i.LON SmartServer 2.0 Programmer’s Reference 5-9 Request <Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">

Pagina 417 - 22-12

i.LON SmartServer 2.0 Programmer’s Reference 5-10 Request (data point updates recorded during a specific interval) <Read xmlns="http://wsdl

Pagina 418 - 22-13

i.LON SmartServer 2.0 Programmer’s Reference 5-11 entries in the log file. <UCPTmodificationNumber> A counter indicating the number of time

Pagina 419 - 22-14

i.LON SmartServer 2.0 Programmer’s Reference 5-12 5.3.4.1 Local Times and Coordinated Universal Time The timestamps for the <UCPTstart> and

Pagina 420 - 22-15

i.LON SmartServer 2.0 Programmer’s Reference 5-13 <UCPTstop>2008-02-28T14:00:00.070-08:00</UCPTstop> <UCPTmodificationNumber&g

Pagina 421 - 22-16

i.LON SmartServer 2.0 Programmer’s Reference 6-1 6 Alarm Generator Use the Alarm Generator application to generate alarms based on the values of t

Pagina 422 - 22-17

i.LON SmartServer 2.0 Programmer’s Reference viii 20 Using the SOAP Interface as a Web Service ... 20-1 20.1 Referencin

Pagina 423 - 22-18

i.LON SmartServer 2.0 Programmer’s Reference 6-2 <Item xsi:type="UFPTalarmGenerator_Cfg" > <UCPTname>Net/LON/iLON App/Alarm

Pagina 424 - 22-19

i.LON SmartServer 2.0 Programmer’s Reference 6-3 Get Retrieve the configuration of any Alarm Generator that you have added to the SmartServer. S

Pagina 425 - 22-20

i.LON SmartServer 2.0 Programmer’s Reference 6-4 <UCPTlastUpdate>2008-02-28T15:45:26.060-08:00</UCPTlastUpdate> <UCPTuri>#800

Pagina 426 - 22-21

i.LON SmartServer 2.0 Programmer’s Reference 6-5 Property Description deleted. In this case, it has the following values: IS_NOTSYNCED IS_DELETE

Pagina 427 - 22-22

i.LON SmartServer 2.0 Programmer’s Reference 6-6 Property Description point every five seconds to ensure that each application gets a current value

Pagina 428 - 22-23

i.LON SmartServer 2.0 Programmer’s Reference 6-7 Property Description Point – lowLimit2Offset The value entered for <UCPThighLimit2Offset> mu

Pagina 429 - 22-24

i.LON SmartServer 2.0 Programmer’s Reference 6-8 Property Description will be generated. The <UCPTpointSatus> of this data point will be upda

Pagina 430 - 22-25

i.LON SmartServer 2.0 Programmer’s Reference 6-9 Property Description e-mail messages each time they are updated to an alarm status. For more info

Pagina 431 - 22-26

i.LON SmartServer 2.0 Programmer’s Reference 6-10 Identifier Description FN_NE Not equal. An alarm will be generated if the input value is not equ

Pagina 432 - 22-27

i.LON SmartServer 2.0 Programmer’s Reference 6-11 Offset Limit Alarm Generated When... Alarm Status <UCPThighLimit1Offset> Input Value>

Pagina 433 - 22-28

i.LON SmartServer 2.0 Programmer’s Reference ix 22.1.1 Installing Echelon SmartServer JAX-ES Programming Example...

Pagina 434 - 22-29

i.LON SmartServer 2.0 Programmer’s Reference 6-12 Event Input Data Point Status Comments Value of input data point goes below hysteresis level fo

Pagina 435 - 22-30

i.LON SmartServer 2.0 Programmer’s Reference 6-13 <UCPTpollRate>0.0</UCPTpollRate> <UCPTalarm2Description>none</UCPTalarm2Desc

Pagina 436 - 22-31

i.LON SmartServer 2.0 Programmer’s Reference 6-14

Pagina 437

i.LON SmartServer 2.0 Programmer’s Reference 7-1 7 Alarm Notifier Use the Alarm Notifier application to log user-defined alarm conditions, and to

Pagina 438

i.LON SmartServer 2.0 Programmer’s Reference 7-2 In addition, the Alarm Notifier application generates a summary log that summarizes the log entrie

Pagina 439

i.LON SmartServer 2.0 Programmer’s Reference 7-3 <UCPTemailAggregTime>0</UCPTemailAggregTime> <Mail> <UCPTindex>0<

Pagina 440

i.LON SmartServer 2.0 Programmer’s Reference 7-4 7.3 Alarm Notifier SOAP Interface You can use the SOAP interface to perform the following functio

Pagina 441

i.LON SmartServer 2.0 Programmer’s Reference 7-5 7.3.2 Using the Get Function on an Alarm Notifier You can use the Get function to retrieve the co

Pagina 442 - <UCPTvalue

i.LON SmartServer 2.0 Programmer’s Reference 7-6 <UCPTlevel>255</UCPTlevel> <UCPTalarmText>Online</UCPTalarmText>

Pagina 443

i.LON SmartServer 2.0 Programmer’s Reference 7-7 Property Description <UCPTuri> The name of the file containing the configuration web page fo

Commenti su questo manuale

Nessun commento