Echelon i.LON SmartServer Technical Information Page 146

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 145
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 Get
function as the basis for your input. You would then only need to modify the values of each property
to match the new configuration you want, as opposed to re-creating an entire string like the one shown
below, to generate your input.
The following example updates the nviClaValue_1 SNVT_switch data point on the Digital Ouput 1
functional block on the SmartServer. It includes one <DayBased> items that sets the data point to ON
at 05:00, OFF at 09:00, and ON again at 17:00, and it contains one <DateBased> sets the data point to
OFF 15 minutes before sunrise and unlocks the data point at sundown so that the Day Based schedule
can update the data point.
Request
<Set xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item xsi:type="UFPTscheduler_Cfg">
<UCPTname>Net/LON/iLON App/Scheduler[0]</UCPTname>
<UCPTdescription>enter an optional description</UCPTdescription>
<DataPoint xsi:type="UFPTscheduler_DpRef" dpType="Output" discrim="dir_out">
<UCPTname>Net/LON/iLON App/Digital Output 1/nviClaValue_1</UCPTname>
<SCPTdelayTime>0</SCPTdelayTime>
</DataPoint>
<DataPoint xsi:type="UFPTscheduler_BaseTime_DpRef" dpType="BaseTime">
<UCPTname>Net/LON/iLON App/Real Time Clock/nvoSunrise</UCPTname>
<UCPTnickName>Sunrise</UCPTnickName>
</DataPoint>
<DataPoint xsi:type="UFPTscheduler_BaseTime_DpRef" dpType="BaseTime">
<UCPTname>Net/LON/iLON App/Real Time Clock/nvoSunset</UCPTname>
<UCPTnickName>Sunset</UCPTnickName>
</DataPoint>
<ScheduleEffectivePeriod xsi:type="UFPTscheduler_CfgEffectivePeriod">
<StartDate>2000-01-01</StartDate>
<EndDate>2037-12-31</EndDate>
</ScheduleEffectivePeriod>
<DayBased>
<UCPTindex>0</UCPTindex>
<UCPTdescription>Weekday</UCPTdescription>
<UCPTpriority>255</UCPTpriority>
<Event>
<UCPTindex>0</UCPTindex>
<UCPTtime>00:00:00</UCPTtime>
<UCPTeventType xsi:type="string" LonFormat="UCPTeventType">ET_LOCK</UCPTeventType>
</Event>
<Event>
<UCPTindex>1</UCPTindex>
<UCPTtime>05:00:00</UCPTtime>
<UCPTvalue LonFormat="">ON</UCPTvalue>
<UCPTvalue LonFormat="UCPTvalueDef">ON</UCPTvalue>
<UCPTtimeDirection xsi:type="string" LonFormat="UCPTtimeDirection">TD_POSITIVE
</UCPTtimeDirection>
<UCPTeventType xsi:type="string" LonFormat="UCPTeventType">ET_NUL</UCPTeventType>
</Event>
<Event>
<UCPTindex>2</UCPTindex>
<UCPTtime>09:00:00</UCPTtime>
<UCPTvalue LonFormat="">OFF</UCPTvalue>
<UCPTvalue LonFormat="UCPTvalueDef">OFF</UCPTvalue>
<UCPTtimeDirection xsi:type="string" LonFormat="UCPTtimeDirection">TD_POSITIVE
</UCPTtimeDirection>
<UCPTeventType xsi:type="string" LonFormat="UCPTeventType">ET_NUL</UCPTeventType>
</Event>
<Event>
<UCPTindex>3</UCPTindex>
<UCPTtime>17:00:00</UCPTtime>
<UCPTvalue LonFormat="">ON</UCPTvalue>
<UCPTvalue LonFormat="UCPTvalueDef">ON</UCPTvalue>
<UCPTtimeDirection xsi:type="string" LonFormat="UCPTtimeDirection">TD_POSITIVE
</UCPTtimeDirection>
<UCPTeventType xsi:type="string" LonFormat="UCPTeventType">ET_NUL</UCPTeventType>
Page view 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 442 443

Comments to this Manuals

No comments