Device templates, Attributes, Properties – Echelon LonWorks Network XML User Manual

Page 51

Advertising
background image

L

ON

W

ORKS

Network XML Programmer’s Guide

43

<PropertyOptions ID="64">ReceiveTimer</PropertyOptions>
<PropertyOptions ID="128">TransmitTimer</PropertyOptions>
<ReceiveTimer>0</ReceiveTimer>
<RepeatCount>3</RepeatCount>
<RepeatTimer>1</RepeatTimer>
<RetryCount>6</RetryCount>
<ServiceType ID="1">UnackdRpt</ServiceType>
<TransmitTimer>0</TransmitTimer>
</ConnectDescTemplate>

Device Templates

Attributes

Attribute

Applicable

Values

Description/Notes

Action

1 IGNORE
2 CREATE
3 CREATE_UNIQUE
4 UPDATE
5 MODIFY
6 DELETE

Device templates will match existing entries
based on the program ID specified in the XIF.

To create a new device template, you must
specify the Name and XIF properties.

Properties

Supported by

Function?

Property

Export Import

Description/Notes

Name

Y

Y

The name of the device template is reported.

XifPath

Y

Y

On export, this is the value reported by LNS.
The XIF path may not always be identified or
identified accurately.

On import, if a device template is not defined,
you must specify the XifPath because it is
needed to locate and import the XIF. If the
device template is defined, XifPath is not
updated.

Classification/ ProgramID

Y

N

Device templates do not have handles; therefore,
Program ID is used on import to match device
templates in the XML file to the LNS network
database.

Classification/ Format

Y

N

Specifies whether a device template has a
LonMark standard program ID (8), a prototype
ID (9), or a development ID (0).

Classification/
ManufacturerId

Y N Only

reported

if

Format is 8 or 9.

Classification/
DeviceClass

Y N Only

reported

if

Format is 8 or 9.

Classification/
DeviceSubclass

Y N Only

reported

if

Format is 8 or 9.

Advertising