Echelon LonBridg Server Bedienungsanleitung Seite 58

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 67
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 57
52 LonBridge Device Class File
Figure 7. The Scales Tab for the SNVT_switch_2 Type
For the enumeration value within the device class file to define the “on” state,
you need to include a scale value of 200 to allow the LonBridge application to use
simple values of 0 and 1 to specify “off” and “on” states.
Thus, the <nv> elements for the
state
attribute within the device class file
includes the following information:
<nv index="?" direction="input" size="3">
<byte index="0" length="1">
<attribute name="state" enum="true">
...
</attribute>
</byte>
<byte index="1" length="1">
<attribute name="state" enum="true">
...
</attribute>
</byte>
</nv>
<nv index="?" direction="output">
<byte index="0">
<attribute name="state" enum="true">
...
</attribute>
</byte>
Seitenansicht 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 66 67

Kommentare zu diesen Handbüchern

Keine Kommentare