Echelon Enterprise Services 2.0 User Manual

Page 14

Advertising
background image

4

Introduction

Note: When you save your device as a template, clear the Clear from Template check box
in the Network Management property as described in step 6. This saves the network
management commands you set in steps c-d in the device template. These network
management commands will be executed when new devices created from the device template
are instantiated.

2. In the LNS tree within the navigation pane on the left side of the SmartServer Web interface,

configure the general (config) and driver properties of the device’s data points. For example, you
can set the data points’ default values, persistent flags unit strings, and presets in the general
properties, and you can set their poll rates in the driver properties. See Configuring L

ON

W

ORKS

Data Points in Chapter 5 of the i.LON SmartServer 2.0 User’s Guide for more information on
setting these properties. The data points of the subsequent devices you add to the SmartServer
using the device template will have the same property values by default

3. In the LNS tree, right-click the device to be saved to a template and then click Save as Template

on the shortcut menu. The Save As Template dialog opens.

4. In the Name property, enter a meaningful name for the template.

5. In the Select Path or File property, expand the Templates folder to show all the folders in the

LonWorks\iLON\EnterpriseServices\repository\ees-lnsproxy\config\template\lonworks
folder on your computer. Select the folder to which the template is to be saved (the lonworks
folder is selected by default) or expand the folder and select an existing template file to be
overwritten. You can also select a folder and then enter a sub-directory. For example, if you are
creating a template for a L

ON

W

ORKS

lamp device, you can select the

root/config/template/lonworks directory and then enter lamp/<template name> in the Name
property to save the lamp template to its own root/config/template/lonworks/lamp sub-directory.
The Name property will be updated with the specified full path of the template.

6. To enable devices created from the device template to be installed automatically clear the Clear

from Template check box in the Network Management property. This saves any network
management commands currently issued for the source device (for example, commission, set
online, reset, and so on) in the device template. These network management commands are
executed when new devices created from the device template are instantiated. See step 1 for
configuring your device template for automatic installation.

This check box is selected by default, meaning that network management commands are not saved
in the template and therefore not executed on new devices when they are created from the device
template.

7. Click OK. An .XML file documenting the driver properties of the device and its functional

blocks, and the general (config) and driver properties of the device’s data points is created. The
XML file is saved to the
LonWorks\iLON\EnterpriseServices\repository\ees-lnsproxy\config\template
folder on your
computer. Note that it takes a few minutes for the SmartServer to create the device template.

Note: The device’s current configuration property values are saved in the Default Value property
on the configuration property’s Configure – Data Point Web page.

8. When the template has been created, a message appears above the application frame informing

you that the template is ready.

9. Click Submit. You can now create new devices from the template you created. To do this,

follow these steps:

a. If you completed step 1 to automatically install devices created from the device template,

logically attach the network interface to the network. To do this, click Driver, click the
network in the navigation pane, select the Use Network Interface check box in the Setup –
LON Network Driver
Web page, and then click Submit

b. In the LNS tree, right-click the channel in any LNS network on which the new device is to be

attached and then click Add Device in the shortcut menu. The Add Device dialog opens

Advertising