Echelon LonBridg Server Bedienungsanleitung Seite 61

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 67
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 60
LonBridge Server User’s Guide 55
Figure 9. The switch_state_t Enumeration
For the nviValue network variable, a LonBridge application uses the
SW_SET_OFF and SW_SET_ON values, which are enumeration values 0 and 1.
For the nvoValueFb network variable, a LonBridge application receives the
SW_REPORT_OFF and SW_REPORT_ON values, which are enumeration values
2 and 3.
Thus, the enumerations of 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">
<enum input="off" output="0" />
<enum input="on" output="1" />
</attribute>
</byte>
<byte index="1" length="1">
<attribute name="state" enum="true">
<enum input="off" output="0" />
<enum input="on" output="200" />
</attribute>
</byte>
</nv>
Seitenansicht 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 67

Kommentare zu diesen Handbüchern

Keine Kommentare