Echelon LonBridg Server Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 67
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
34 LonBridge Device Class File
LonBridge Device Class File Format
A LonBridge device class file is an XML document that the LonBridge Server
uses to define the interface for a device interface for a specified program ID.
When a device is discovered, the LonBridge Server searches the Classes directory
for a device class file with a matching program ID (see
Classes Directory
on page
13).
Table 7 lists the XML elements that a device class file includes.
Table 7. XML Elements for a Device Class File
Element Description
<attribute> Defines the attributes for a device
<attributes> Is a container element for the device attributes that are present
on the device
<byte> Defines the fields within a network variable
<device> Defines the device class, and is the top-most element within a
class file
<enum> Enumerates each network variable defined for an <attribute>
element
<nv> Defines the bytes that are sent on the LONWORKS network for a
network variable update to the device
<nvs> Is a container element for the network variables defined for each
<attribute> element
XML Elements for a Device Class File
<attribute>
The <attribute> element defines the attributes for a device.
For an <attribute> element within a <byte> element, the attribute name
must map an <attribute> element that is defined within the <attributes>
element.
Table 8 lists the attributes for the <attribute> element.
Table 8. Attributes for the <attribute> Element
Attribute Description Required?
enum Defines whether the attribute has an
enumeration of values within an enclosed
set of <enum> elements.
Optional
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 66 67

Kommentare zu diesen Handbüchern

Keine Kommentare