beautypg.com

Echelon LonBridg Server User Manual

Page 64

background image

58

LonBridge Device Class File

Neuron C Declaration

XIF File Definition

network output polled SNVT_switch_2
nvoValueFb

nv_properties {

cpMinSendTime

};

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

network output polled SNVT_power
nvoPower

nv_properties {

cpPwrSendOnDelta

};

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

For a device class file, you need the network variable index for each network

variable. The index is the first value following the network variable name:

• VAR nviValue 0 0 0 0 …
• VAR nvoValueFb 2 0 0 0 …
• VAR nvoPower 5 0 0 0 …

Thus, nviValue has index 0, nvoValueFb has index 2, and nvoPower has index

5. And so, you can fill in these values within element in the device
class file:













Likewise, you can you can fill in these values within element in the device
class file:





...