Echelon i.LON SmartServer Technical Information

Browse online or download Technical Information for Servers Echelon i.LON SmartServer. Echelon i.LON SmartServer System information User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Programmer's Reference

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

Page 2

i.LON SmartServer 2.0 Programmer’s Reference x

Page 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

Page 4

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

Page 5

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

Page 6

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

Page 7

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 14

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

Page 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

Page 16 - Security

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

Page 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

Page 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

Page 19 - SOAP Envelope

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

Page 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

Page 21

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

Page 22 - 2.5.3.3 Error Codes

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

Page 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

Page 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

Page 25 - 2-11

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

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

Page 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

Page 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

Page 29 - 2-15

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

Page 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

Page 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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 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

Page 40 - Performance Issues

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

Page 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

Page 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

Page 43

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

Page 44

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

Page 45 - Data Server SOAP Interface

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

Page 46

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

Page 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

Page 48

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

Page 49

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

Page 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

Page 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

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

Page 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

Page 54 - 4-13

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

Page 55 - 4-14

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

Page 56 - 4-15

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

Page 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

Page 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

Page 59 - 4-18

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

Page 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

Page 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

Page 62 - 4-21

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 71 - <UCPTlogLevelAlarm>

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

Page 72

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

Page 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

Page 74

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

Page 75 - 5-10

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

Page 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

Page 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

Page 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

Page 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

Page 80

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

Page 81

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 95

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

Page 96

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

Page 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 “

Page 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

Page 99

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

Page 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

Page 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

Page 102 - 7-10

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

Page 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

Page 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

Page 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

Page 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

Page 107 - 7-15

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

Page 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

Page 109 - 7-17

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

Page 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

Page 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

Page 112 - 7-20

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

Page 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

Page 114 - 7-22

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

Page 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

Page 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

Page 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

Page 118 - 7-26

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

Page 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

Page 120

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

Page 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

Page 122

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

Page 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

Page 124 - <UCPTtrueThreshold>

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

Page 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

Page 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

Page 127

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

Page 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

Page 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

Page 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

Page 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

Page 132 - 9 Scheduler

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

Page 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/"

Page 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

Page 135

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

Page 136

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

Page 137 - </GetResponse>

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

Page 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

Page 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

Page 140

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

Page 141 - 9-10

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

Page 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

Page 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

Page 144 - 9-13

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

Page 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

Page 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

Page 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

Page 148 - 9-17

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

Page 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

Page 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

Page 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

Page 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

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

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

Page 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

Page 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

Page 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

Page 158 - 10-8

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

Page 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

Page 160 - 10-10

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

Page 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

Page 162 - 10-12

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 170 - 11-4

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

Page 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

Page 172 - 11-6

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

Page 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

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

Page 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

Page 176 - 12-4

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 187 - 12-15

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

Page 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

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

Page 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

Page 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

Page 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

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

Page 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

Page 195 - 13-7

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 201 - WORKS Driver

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 207 - 14-7

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

Page 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

Page 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

Page 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

Page 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

Page 212 - 14-12

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

Page 213 - 14-13

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

Page 214 - 14-14

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

Page 215 - 14-15

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

Page 216 - 14-16

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

Page 217 - 14-17

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

Page 218 - 14-18

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

Page 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,

Page 220 - 14-20

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

Page 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

Page 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

Page 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

Page 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

Page 225 - 14-25

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

Page 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

Page 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

Page 228 - 14-28

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

Page 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’

Page 230 - 14-30

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

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

Page 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

Page 233 - 14-33

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

Page 234 - 14-34

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

Page 235 - 14-35

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

Page 236 - 14-36

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 242 - 14-42

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

Page 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

Page 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

Page 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

Page 246 - 14-46

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

Page 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=

Page 248 - 14-48

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

Page 249 - 14-49

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 257 - 15-8

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

Page 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

Page 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

Page 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

Page 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

Page 262 - 15-13

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

Page 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

Page 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

Page 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

Page 266 - 15-17

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

Page 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

Page 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

Page 269 - 16-2

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

Page 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

Page 271 - 16-4

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

Page 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

Page 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

Page 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

Page 275 - 16-8

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

Page 276 - 16-9

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 282 - 16-15

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

Page 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

Page 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

Page 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

Page 286 - 17-3

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

Page 287 - 17-4

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

Page 288 - 17-5

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

Page 289 - 17-6

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

Page 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

Page 291 - 17-8

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

Page 292 - 17-9

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

Page 293 - 17-10

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

Page 294 - 17-11

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

Page 295 - 17-12

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

Page 296 - 18 File System Data

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

Page 297 - 18-2

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

Page 298 - 18-3

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

Page 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

Page 300 - 18-5

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

Page 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

Page 302 - 19-2

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

Page 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

Page 304 - 19-4

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

Page 305 - 19-5

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

Page 306 - 19-6

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

Page 307 - 19-7

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

Page 308 - 19-8

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

Page 309 - 19-9

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

Page 310 - 19-10

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

Page 311 - 19-11

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

Page 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

Page 313 - 19-13

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

Page 314 - 19-14

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

Page 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

Page 316 - 19-16

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

Page 317 - 19-17

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

Page 318 - 19-18

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

Page 319 - 19-19

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

Page 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

Page 321 - 19-21

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

Page 322 - 19-22

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

Page 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

Page 324 - 20-2

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

Page 325 - 20-3

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

Page 326 - 20-4

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

Page 327 - 20-5

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

Page 328 - 20-6

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

Page 329 - 20-7

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

Page 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

Page 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

Page 332 - 20-10

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

Page 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

Page 334 - 20-12

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

Page 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

Page 336 - 20-14

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

Page 337 - 20-15

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

Page 338 - 20-16

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

Page 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

Page 340 - 20-18

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

Page 341 - 20-19

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

Page 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

Page 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

Page 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

Page 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

Page 346 - 20-24

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

Page 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

Page 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

Page 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

Page 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

Page 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,

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 362 - 21-10

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

Page 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

Page 364 - 21-12

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

Page 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

Page 366 - 21-14

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

Page 367 - 21-15

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

Page 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

Page 369 - 21-17

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

Page 370 - 21-18

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

Page 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

Page 372 - 21-20

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

Page 373 - 21-21

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

Page 374 - 21-22

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

Page 375 - 21-23

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 383 - 21-31

www.echelon.com

Page 384 - 21-32

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

Page 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

Page 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

Page 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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 397 - 21-45

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

Page 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

Page 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

Page 400 - 21-48

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

Page 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

Page 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)

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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,

Page 410

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

Page 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

Page 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

Page 413

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

Page 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

Page 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

Page 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/">

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 423 - 22-18

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

Page 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

Page 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

Page 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

Page 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

Page 428 - 22-23

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

Page 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

Page 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

Page 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

Page 432 - 22-27

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

Page 433 - 22-28

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

Page 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

Page 435 - 22-30

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

Page 436 - 22-31

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

Page 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

Page 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

Page 439

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

Page 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

Page 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

Page 442 - <UCPTvalue

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

Page 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

Comments to this Manuals

No comments