Echelon LonBridg Server Manual de usuario Pagina 41

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 40
LonBridge Server User’s Guide 35
Attribute Description Required?
length Defines the length of an input network
variable.
Example: For a network variable with a
length of 2, the <byte> element maps
attributes to bytes 0 and 1.
Optional
name Defines the name for the attribute. Required
scale Defines a percentage by which to scale the
value.
Example: If the server reads a value of 200
from a device while polling brightness, and
it has a scale value of 50 for that byte, then
the LonBridge XML for messages will
display the brightness as 100 (50% of 200 is
100).
Optional
value Defines an absolute value for the byte to be
updated for a network variable.
The value attribute is used only for input
network variables.
Optional
Example 1:
<attributes>
<attribute name="brightness">
<nvs>
<nv ... />
</nvs>
</attribute>
</attributes>
Example 2:
<nvs>
<nv ... >
<byte ...>
<attribute name="brightness" enum="true">
<enum ... />
</attribute>
</byte>
</nv>
</nvs>
<attributes>
The <attributes> element is a container element for the device attributes that
are present on the device. It also contains the network variables that are
used for input and output.
At least one <attribute> element, with one or more <nv> elements within the
<nvs> element, must be defined for a specific <attributes> element.
Vista de pagina 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 66 67

Comentarios a estos manuales

Sin comentarios