Browse the xif file to determine indices, 56 to d, 56 t – Echelon LonBridg Server User Manual

Page 62

Advertising
background image

56

LonBridge Device Class File

<nv index="?" direction="output">
<byte index="0">
<attribute name="state" enum="true" scale="100">
<enum input="2" output="off" />
<enum input="3" output="on" />
</attribute>
</byte>
</nv>

The next step is to fill in the missing network variable indices.

Browse the XIF File to Determine Indices

The L

ON

W

ORKS

device’s generated external device interface (XIF) file includes

the device’s self documentation, and thus includes all of the information that is

needed to connect to the device and manage the device within the network.

For creating a device class file, you only need the information about the network

variables, which appears near the beginning of an XIF file. The relevant part of
the XIF file for the simplified Lamp Module includes the following information:

VAR nviValue 0 0 0 0
0 1 63 0 0 1 0 1 0 0 0 0 0
"@0|1
189 * 3
1 0 0 1 0
4 0 1 0 0
1 0 0 0 0
VAR cpMinSendTime 1 0 0 0
0 1 63 0 0 1 0 1 0 0 0 0 1
"&2,2,0\x80,137
13 * 1
2 0 0 0 0
VAR nvoValueFb 2 0 0 0
0 1 63 1 0 1 0 1 0 0 0 0 0
"@0|2
189 * 3
1 0 0 1 0
4 0 1 0 0
1 0 0 0 0
VAR nvoOccupancyFb 3 0 0 0
0 1 63 1 0 1 0 1 0 0 0 0 0
"@0|3
109 * 1
1 0 0 1 0
VAR cpPwrSendOnDelta 4 0 0 0
0 1 63 0 0 1 0 1 0 0 0 0 1
"&2,5,0\x80,315
27 * 1
2 0 0 0 0
VAR nvoPower 5 0 0 0
0 1 63 1 0 1 0 1 0 0 0 0 0
"@0|4
27 * 1
2 0 0 0 0
VAR cpEnergyCntInit 6 0 0 0
0 1 63 0 0 1 0 1 0 0 0 0 1
"&2,7,0\xA4,137
13 * 1
2 0 0 0 0
VAR nvoEnergyHi 7 0 0 0

Advertising