Example – Echelon LonWorks Network XML User Manual

Page 42

Advertising
background image

34

Using the XML Schema

Dimension

Y

N

The number of elements in the CP are reported.
A value of 1 indicates a single element. A value
greater than 1 indicates multiple elements (an
array for example).

FlagsByte

Y N An

enumerated

value indicating the type of flag

set on the CP. The possible values are as
follows:

1 Disabled (the CP can only be changed

when the application device is disabled).

2 Offline (the CP can only be changed

when the application device is offline).

4

Constant (the CP is read-only).

8 Reset (the application device is reset

when the CP value is changed).

16 ManufactureOnly (the CP can only be

changed when the application device is
manufactured).

32 DeviceSpecific

(the

value of the CP can

be modified independent of the LNS
network database.)

An instance of this property is reported for each
flag set on the CP; therefore, multiple instances
of this property may be reported for a given CP.
If no flags are set on the CP, a value of “None”
is reported.

Value Index

Y

Y

To report the values of device-specific CPs, you
must specify the Export Device Specific CPs
option (&H40) in the XMLOptions export
automation property (see Invoking the Export
Feature
in Chapter 1).

For CP array values, each element of the array is
specified as a separate Value property, with an
Index attribute to indicate the array index.

On import, the Value property is ignored if you
set the ConstantAttribute in the device
template object element to True.

Example

<ConfigProperty Handle="536870913">

<Name>SCPTmaxRcvT</Name>
<DeviceSpecificAttribute ID="0">False</DeviceSpecificAttribute>
<ConstantAttribute ID="0">False</ConstantAttribute>
<Dimension>1</Dimension>
<FlagsByte ID="1">Disabled</FlagsByte>
<Value Index="0">00:00:20.000</Value>

</ConfigProperty>

Advertising