Echelon i.LON SmartServer Technical Information Page 442

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 441
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
(100.0 1) and OFF (0.0 0) presets, as specified in the root/config/template/lonworks/Dp/
#0000000000000000[0].SNVT_switch.xml file. These presets are specified in the
<UCPTvalue
LonFormat="UCPTvalueDef"> property. Because these data points have presets defined for
them, you can toggle their values in the following two ways:
Change the preset (the
<UCPTvalue LonFormat="UCPTvalueDef"> property) to ON or
OFF.
Delete the preset, and change the formatted value (the
<UCPTvalue
LonFormat="#0000000000000000[0].SNVT_switch"> property) to 100.0 1 or 0.0 0.
This is because if you pass in both the <UCPTvalue> property with the formatted LonFormat
attribute and a <UCPTvalue> property with the <UCPTvalueDef> LonFormat attribute in a single
Write function, the <UCPTvalueDef> property will be used to determine the value to assign to the
data point—unless it references an invalid value.
10. Click Write. This calls the Data Server’s Write function and returns the updated values of the
subject data points.
For more information on using the Data Server Write function, including how to write formatted
values and presets, see
section 4.3.5, Using the Write Function on the Data Server.
Page view 441
1 2 ... 437 438 439 440 441 442 443

Comments to this Manuals

No comments