Echelon LonBridg Server Manual de usuario Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
50 LonBridge Device Class File
Figure 5. The Scales Tab for the SNVT_power Type
For a LonBridge application, you might want to show the power as whole units,
so you can include a scale attribute of 10 to display whole values.
Thus, the <nv> element for the
power
attribute within the device class file
includes the following information:
<nv index="?" direction="output" size="2">
<byte index="0">
<attribute name="power" scale="10" length="2" />
</byte>
</nv>
The definition still lacks the network variable index for the nvoPower network
variable; see
Browse the XIF File to Determine Indices
on page 56 to determine
the index.
Determining the Attributes for nviValue and
nvoValueFb
For SNVT_switch_2, the Resource Editor displays the attribute information
shown in
Figure 6 on page 51.
Vista de pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 66 67

Comentarios a estos manuales

Sin comentarios