078-0345-01F SmartServer 2.2 Users Guide
078-0345-01F SmartServer 2.2 Users Guide
2
User’s Guide
078-0345-01F
Echelon, LON, LONWORKS, LonTalk, Neuron, LONMARK,
3120, 3150, LNS, LonMaker, and the Echelon logo are
trademarks of Echelon Corporation registered in the
United States and other countries. LonPoint and
LonSupport are trademarks of Echelon Corporation.
ii Preface
Table of Contents
Preface......................................................................................................x
Purpose ............................................................................................................ xii
Audience .......................................................................................................... xii
Requirements .................................................................................................... xii
SmartServer 2.2 Upgrade Requirements ............................................................. xiii
SmartServer Documentation.............................................................................. xiii
Related Reading ............................................................................................... xiv
Content ........................................................................................................... xiv
For More Information and Technical Support ..................................................... xv
Using the SmartServer Help Files ............................................................... xvi
Viewing the SmartServer 2.2 ReadMe ......................................................... xvi
Using Technical Support ........................................................................... xvii
1 Introduction ......................................................................................19
Introduction ..................................................................................................... 20
What’s New in the SmartServer 2.2 Software ..................................................... 21
LONWORKS Connections in Standalone Mode .............................................. 21
Increased Device and Data Point Limits....................................................... 21
Maintenance Network Management Mode ................................................... 22
Static Repeating Mode ............................................................................... 22
Enhanced XMPP Client.............................................................................. 22
OpenLNS Server and OpenLNS CT Support ................................................ 22
i.LON Vision 2.2 ....................................................................................... 22
Cross Browser Support............................................................................... 22
New Languages ......................................................................................... 23
SmartServer Limits .......................................................................................... 23
SmartServer Compatibility with Network Management Services and Tools .......... 23
2 Installing the SmartServer 2.2 Products .............................................25
Installation Overview ....................................................................................... 26
Installing Echelon SmartServer Software ..................................................... 26
Installing Echelon SmartServer 2.2 Enterprise Services ................................ 31
Installing Echelon i.LON Vision Software ................................................... 32
Installing Echelon NodeBuilder Resource Editor .......................................... 32
Installing a BACnet Interface ...................................................................... 35
3 Configuring and Managing the SmartServer ......................................37
SmartServer Configuration and Management Overview ...................................... 38
Connecting the SmartServer .............................................................................. 39
Configuring the SmartServer ............................................................................. 42
Configuring TCP/IP Properties ................................................................... 42
Configuring SOAP/HTTP Service Properties ............................................... 47
Configuring Time Properties ...................................................................... 49
Configuring Security Properties .................................................................. 51
Using HTTPS/SSL .............................................................................. 54
Enabling and Disabling Secure Access Mode ........................................ 54
Performing a Secure Access Reset ........................................................ 55
Securing SmartServer Web Pages ......................................................... 55
Rebooting the SmartServer ......................................................................... 56
Creating Modem Connections ........................................................................... 57
Selecting Modem Type .............................................................................. 58
Configuring Dial-in Connections ................................................................ 59
Configuring Dial-out Connections ............................................................... 60
iv Preface
Using Device Templates........................................................................... 161
Creating Device Templates ................................................................ 161
Creating Devices from Templates ....................................................... 164
Creating External Data Points from Device Templates ......................... 166
Deleting Templates on a SmartServer ................................................. 170
Duplicating Functional Blocks and Data Points .......................................... 171
Creating a Duplicate Functional Block ................................................ 171
Creating a Duplicate Dynamic Data Point ........................................... 173
Adding Connections ................................................................................ 174
Creating Web Connections ................................................................. 174
Creating LONWORKS Connections ...................................................... 177
Configuring Connections ................................................................... 180
Deleting Connections ........................................................................ 182
Validating Connections...................................................................... 183
Adding File Attachments ................................................................... 185
Deleting File Attachments .................................................................. 186
Retrieving File Attachments ............................................................... 187
Viewing Connections ........................................................................ 187
Checking Error Messages and Viewing the System Log .............................. 189
Configuring Global Settings ..................................................................... 190
Using Custom Device and Functional Block Icons ..................................... 193
5 Using the SmartServer as a Network Management Tool.................... 195
Network Management Overview ..................................................................... 196
Network Management Scenarios ..................................................................... 196
Using the SmartServer as a Standalone Network Manager........................... 196
Using the SmartServer as a Standalone OpenLNS Network Tool ................. 197
Using the SmartServer as a Synchronized OpenLNS Network Tool ............. 198
Designing a LONWORKS Network.................................................................... 199
Creating and Configuring a LONWORKS Network....................................... 199
Creating LONWORKS Networks from the SmartServer Tree .................. 200
Creating LONWORKS Networks from the OpenLNS Tree ..................... 202
Configuring a LONWORKS Network.................................................... 204
Switching the SmartServer to a Different OpenLNS Network Database . 218
Switching to LNS Mode,Synchronizing to OpenLNS Network Database 222
Switching a Network from LNS Mode to Standalone Mode .................. 226
Creating and Configuring LONWORKS Channels ........................................ 226
Creating a LONWORKS Channel ......................................................... 226
Configuring LONWORKS Channels ..................................................... 227
Creating and Configuring LONWORKS Devices .......................................... 231
Creating LONWORKS Devices ............................................................ 231
Configuring LONWORKS Devices ....................................................... 233
Using OpenLNS and LNS Plug-ins ..................................................... 239
Viewing LONWORKS Devices ............................................................ 242
Changing the Channel of Devices ....................................................... 246
Creating and Configuring LONWORKS Routers .......................................... 247
Creating LONWORKS Routers ............................................................. 247
Configuring LONWORKS Routers ....................................................... 250
Creating and Configuring Functional Blocks .............................................. 253
Creating Functional Blocks ................................................................ 253
Configuring Functional Blocks ........................................................... 254
Viewing Functional Blocks ................................................................ 256
Creating, Configuring, and Connecting LONWORKS Data Points.................. 257
Creating LONWORKS Data Points ....................................................... 258
Configuring LONWORKS Data Points .................................................. 259
Viewing LONWORKS Data Points ....................................................... 267
vi Preface
Selecting and Configuring a Comparison Function ..................................... 336
Using a Binary Comparison Function ................................................. 336
Using an Analog Comparison Function ............................................... 337
Selecting SNVT_alarm Output Data Points ................................................ 340
Using the Alarm Notifier Application .............................................................. 342
Opening an Alarm Notifier Application ..................................................... 342
Selecting and Configuring Input Points ...................................................... 345
Configuring Alarm Conditions .................................................................. 347
Configuring E-mail and Data Point Destinations ........................................ 349
Configuring the Alarm Summary and History Log Files .............................. 352
Automatically Transferring Alarm Logs ........................................................... 353
Viewing the Alarm Summary and Alarm History Logs ...................................... 353
Using the Alarm Notifier: Summary Web Page .......................................... 353
Using the Alarm Notifier: History Web Page ............................................. 354
7 Scheduling ...................................................................................... 357
Scheduling Overview ..................................................................................... 358
Creating an Event Scheduler ........................................................................... 358
Planning Your Schedule ........................................................................... 359
Configuring the Real-Time Clock ............................................................. 359
Opening an Event Scheduler Application ................................................... 363
Selecting Data Points ............................................................................... 367
Creating Daily Schedules ......................................................................... 370
Defining Schedules ........................................................................... 370
Creating Events in the Daily Schedule ................................................ 372
Copying and Deleting Schedules ........................................................ 375
Creating the Exception Schedule ............................................................... 375
Creating One-Time Exceptions........................................................... 375
Creating Exceptions in the Event Scheduler......................................... 379
Creating Exception Groups ................................................................ 387
Editing and Deleting Exceptions in the Event Scheduler ....................... 389
How the Scheduler Works with Daylight Savings Time .............................. 392
Creating Sunrise and Sundown Events ....................................................... 392
Demonstrating Sunrise and Sundown Events ....................................... 395
Using the Event Calendar ......................................................................... 403
Opening the Event Calendar ............................................................... 403
Viewing Exceptions in the Event Calendar ......................................... 406
Creating Exceptions in the Event Calendar .......................................... 407
Editing Exceptions in the Event Calendar ............................................ 408
Deleting Exceptions in the Event Calendar .......................................... 409
8 Data Logging ................................................................................... 411
Data Logging Overview .................................................................................. 412
Creating a Data Logger ................................................................................... 412
Opening a Data Logger Application .......................................................... 413
Selecting and Configuring a Log File ........................................................ 416
Selecting and Configuring Data Points ...................................................... 417
Setting Alarm Limits................................................................................ 420
Automatically Transferring Alarm and Data Logs ............................................. 421
Creating a Web Connection for Logger Extraction...................................... 421
Creating the Web Connection in LNS Mode ........................................ 422
Creating the Web Connection in Standalone Mode ............................... 422
Attaching a Log File ................................................................................ 425
Triggering Log Transfer ........................................................................... 426
Example 1: Scheduling a Log transfer ................................................ 426
Example 2: Using Case Logic for Log transfer .................................... 428
viii Preface
Updating the Bootrom .............................................................................. 518
Appendix C Securing the SmartServer .................................................. 521
Securing the SmartServer Overview ................................................................ 522
Updating SmartServer Security Settings .................................................... 522
Setting Access Restrictions ....................................................................... 523
Users and Groups .............................................................................. 523
Locations.......................................................................................... 525
Realms ............................................................................................. 526
Aliases ............................................................................................. 527
Sample WebParams.dat file ............................................................... 528
Securing Folders and Files ........................................................................ 529
Securing Folders ............................................................................... 529
Securing Files ................................................................................... 530
Examples for Securing a SmartServer ........................................................ 530
Example 1 ........................................................................................ 531
Example 2 (recommended for single user group) ................................. 531
Example 3 ........................................................................................ 531
Example 4 ........................................................................................ 532
Example 5 ........................................................................................ 532
Example 6 ........................................................................................ 533
Example 7 (recommended for multiple user groups) ............................. 533
Appendix D Manually Managing and Deploying SmartServers ............. 541
Introduction ................................................................................................... 542
Manually Backing Up the SmartServer Firmware ....................................... 542
Manually Upgrading the SmartServer Firmware ......................................... 542
Manually Restoring the SmartServer Firmware .......................................... 544
Manually Copying Device Templates to a SmartServer ............................... 545
Manually Deploying a Pre-Configured SmartServer in a Single Network ..... 545
Manually Deploying Pre-Configured SmartServers in Multiple Networks ......... 547
Manually Deploying a Network Configuration on Multiple SmartServers ..... 549
Appendix E Software License Agreements ............................................ 553
x Preface
Purpose
This document describes how to configure the SmartServer and use its applications to manage control
networks.
Audience
This guide is intended for system designers and integrators with an understanding of control networks.
Requirements
Requirements for the running the SmartServer 2.2 software are listed below:
64-bit and 32-bit Microsoft® Windows 8, 64-bit and 32-bit Microsoft Windows 7or 32-bit
Microsoft Windows XP.
Intel® Pentium® III 1.3 GHz processor or faster, and meeting the minimum Windows
requirements for the selected version of Windows (Pentium IV 1.5 GHz or faster if running
Echelon Enterprise Services 2.2).
2 GB RAM minimum.
50 to 830 megabytes (MB) free hard-disk space, plus the minimum Windows requirements for the
selected version of Windows.
o The i.LON Vision 2.2 software requires 44 MB of free space.
o If you install Echelon Enterprise Services 2.2 from the SmartServer 2.2 DVD, you need an
additional 270 MB of free space. Echelon Enterprise Services 2.2 is required for maintaining
synchronization between the SmartServer and OpenLNS network databases, adding the data
points of external devices in OpenLNS managed networks to the SmartServer’s built-in
applications and to your custom SmartServer 2.2 Web pages, and managing OpenLNS
networks with the SmartServer Web interface.
If you are running Echelon Enterprise Services 2.2 with a SmartServer operating in LNS
mode, OpenLNS Server or LNS Turbo Editions (3.25) or later must be installed on the
OpenLNS Server or LNS Server computer and on remote OpenLNS clients running EES 2.2.
See the Echelon Enterprise Services 2.2 User’s Guide for more information on installing
Echelon Enterprise Services 2.2.
o You must have the SmartServer 2.0 Programming Tools to create custom C/C++ apps and
drivers (also called freely programmable modules [FPMs]), and to translate the SmartServer
Web interface into a number of different languages (language localization). To build and
upload custom apps and drivers, order the SmartServer 2.0 Programming Tools 2.0 DVD
(Echelon model number 72111-409). To order this DVD, contact your Echelon sales
representative.
o If you install Adobe® Reader 9.1 from the SmartServer 2.2 DVD, you need an additional 204
MB of free space. You need Adobe Reader or another PDF viewer to view the SmartServer
2.2 documentation.
DVD-ROM drive.
1024x768 or higher-resolution display with at least 256 colors.
Mouse or compatible pointing device.
If you are running Echelon Enterprise Services 2.2 with a SmartServer operating in LNS mode,
LNS Turbo Editions (3.25) or newer is required.
Microsoft Internet Explorer 8 or higher, or Mozilla Firefox 18 or higher, Google Chrome 24 or
higher or Apple Safari 6.0 or higher.
xii Preface
Terminal emulator such as PuTTY.
SmartServer Documentation
The documentation for the SmartServer is provided as Adobe Acrobat PDF files and online help files.
You can download the latest SmartServer documentation, including the latest version of this guide,
from Echelon’s Website at www.echelon.com/support/documentation/manuals/cis.
This user’s guide, the online help files, and the following documents comprise the SmartServer
documentation suite:
Echelon Enterprise Services 2.2 User’s Guide. Describes how to use the i.LON AdminServer to
rapidly and automatically deploy and install LONWORKS networks and how to use the LNS Proxy
Web service to manage OpenLNS networks.
SmartServer 2.2 Hardware Guide. Describes how to assemble, mount, and wire the SmartServer
hardware.
SmartServer 2.2 Power Line Repeating Network Management Guide. Describes how to install a
PL-20 repeating network and how to use the SmartServer to prepare, maintain, monitor and
control, and connect the network.
SmartServer 2.2 Programmer’s Reference. Describes how to configure the SmartServer using
XML files and SOAP calls. This allows you to create your own applications that you can use to
configure the SmartServer.
SmartServer 2.0 Programming Tools User’s Guide. Describes how to write custom built-in
applications called Freely Programmable Modules (FPMs) and deploy them on the SmartServer.
FPMs let you implement custom functionality and tailor the SmartServer to meet your needs.
SmartServer 2.2 Quick Start Guide. Contains all the information you will need to connect the
SmartServer hardware, install the SmartServer software, and configure the SmartServer using the
SmartServer configuration Web pages.
i.LON Vision 2.2 User’s Guide. Describes how to create custom Web pages for monitoring and
controlling LONWORKS networks and other control networks.
IP-852 Channel User’s Guide. Describes how to configure an IP-852 channel with the Echelon
®
LONWORKS /IP IP-852 Configuration Server. You will need this information if you plan to use
the SmartServer as an IP-852 router.
Rapid Deployment Example for EES. Describes how to assemble and install a demo board that
you can use to test the new automatic network installation feature.
Related Reading
The following additional documents may be useful if you are using certain features of the SmartServer.
You can download these documents from Echelon’s Web site at www.echelon.com/docs.
LNS® Programmer’s Guide. Describes how to write OpenLNS applications that take advantage of
the network design, installation, maintenance, and control/monitoring capabilities provided by the
SmartServer.
OpenLDV™ Programmer’s Guide, xDriver Supplement. Describes how an LNS or OpenLDV
application can use the xDriver software to manage communications with multiple LONWORKS
networks over a TCP/IP network. The xDriver software is used to communicate with the
SmartServer when it is functioning as a Remote Network Interface (RNI).
OpenLNS Commissioning Tool User’s Guide. Describes how to use the OpenLNS
Commissioning Tool (OpenLNS CT), which you can use to install the SmartServer in a
LONWORKS network.
NodeBuilder FX User’s Guide. Describes how to use the NodeBuilder tool to develop and test the
applications for Neuron-hosted devices.
Content
This guide includes the following content:
Introduction: Provides an introduction to the SmartServer, summarizes the new features in the
release of the SmartServer software, describes the SmartServer built-in applications, and
summarizes how data points are named and organized on the SmartServer.
Installing the SmartServer Products. Describes how to install the Echelon SmartServer 2.2
software, Echelon Enterprise Services 2.2, the Echelon i.LON Vision 2.2 software, and Echelon
NodeBuilder Resource Editor 4.02.
Configuring and Managing the SmartServer. Describes how to connect your SmartServer to a
TCP/IP network. Describes how to use the Setup Web pages to configure the SmartServer’s
properties, which you should do before using any of its built-in applications. Describes how to
reboot the SmartServer. Explains how to connect host devices such as remote SmartServers,
OpenLNS Servers, time servers, e-mail servers, and Web Connection Target servers to your local
SmartServer. Explains how to configure your SmartServer as an IP-852 router and as a remote
network interface (RNI), and how to add dial-up connections to your SmartServer. Describes how
to manage your SmartServer, including how to view the SmartServer’s system information, view
and configure the SmartServer’s system health monitoring, backup and upgrade the SmartServer
firmware, restore the SmartServer to its factory default settings, copy an i.LON 100 e3 server
network configuration to the SmartServer, and replace a SmartServer.
Using the SmartServer Web Interface. Describes how to use the navigation pane in the new Web
interface to access the SmartServer setup Web pages, switch between General and Driver modes,
open the SmartServer built-in applications, add data points to SmartServer built-in applications,
manage network objects, manage devices, and use device templates. Explains how to configure
the Web interface and check error messages.
Using the SmartServer as a Network Management Tool. Describes how to use the SmartServer to
design, install, and maintain LONWORKS, M-Bus, and Modbus control networks. Describes how
to create networks, channels, devices (application devices and routers), functional blocks, and data
points. Explains how to synchronize the SmartServer to an OpenLNS network database. Explains
the differences between LNS and standalone network management and how to switch between the
xiv Preface
two network management service modes. Describes how to use the new device discovery feature
to automatically acquire the Neuron IDs of the devices on the network. Describes how to use the
smart network management feature to install networks. Details how to upgrade, replace,
decommission and test devices with the SmartServer.
Alarming. Describes how to use the Alarm Generator and Alarm Notifier applications on the
SmartServer. You can use the Alarm Generator to generate alarms based on monitored conditions,
and you can use the Alarm Notifier to send e-mails and update data points based on alarm
conditions.
Scheduling. Describes how to use the Scheduler application on the SmartServer to schedule
daily, weekly, and monthly updates to the data points on your network. Describes how to overlap
events, and how to start or stop events based on the calculated sundown and sunrise times.
Data Logging. Describes how to use the Data Logger on the SmartServer to record data point
updates. Describes how to create historical and circular data loggers. Describes how to
automatically transfer data log files to a remote server and extract them to a .csv or XML file.
Explains how to view data logs using the Data Logger: View Web page, and how to monitor and
control data points using the View – Data Points Web page.
Connecting Legacy Devices Using the SmartServer Inputs and Outputs. Describes how to use the
inputs and outputs on the SmartServer to connect legacy devices to it. Describes how to use the
pulse counter inputs on the SmartServer to connect electric, gas, and water meters. Explains how
to use the digital inputs and output on the SmartServer to connect legacy digital input and output
devices such as switches, push buttons, drive contractors, and alarm bells.
Using Analog Functional Blocks. Describes how to use the Analog Functional Block application
on the SmartServer to perform mathematical and logical operations on a set of input points and
store the result in an output point, which can be used to control one or more actuator devices.
Using Type Translators. Describes how to use the Type Translator application on the
SmartServer to connect devices with different data types. It describes how to use and create
scalar-based translations to directly convert an input data point with one type to an output data
point with another type. It explains how to use and create rule-based translations that merge
multiple input points to create one output point, split one input point to create multiple output
points, and split a structured data point into its individual fields.
Using the SmartServer with OpenLNS CT. Describes how to install the SmartServer with
OpenLNS CT and the LonMaker Turbo Integration Tool, maintain synchronization between the
SmartServer and a OpenLNS CT drawing, and launch the SmartServer’s built-in applications from
a OpenLNS CT drawing. Describes how to link the network variables of external devices in a
OpenLNS CT drawing (formerly referred to as “NVEs”) to the SmartServer’s built-in applications
and custom SmartServer Web pages after synchronizing the SmartServer to an OpenLNS network
database.
Appendices: Provides information for troubleshooting and managing the SmartServer; using the
SmartServer console application; and using the i.LON 100 Web Server and Security Parameters
program to secure built-in and custom SmartServer Web pages. Includes the SmartServer 2.2 and
i.LON LNS Server software license agreements.
If you need help with a particular dialog in the SmartServer Web interface, you can click the “?” icon
in the upper-right hand corner of the dialog to open a new window with context-sensitive help for that
dialog.
xvi Preface
Using Technical Support
If you have technical questions that are not answered by this document, the SmartServer 2.2 online
help, or the SmartServer 2.2 ReadMe document, you can contact technical support. Free e-mail
support is available or you can purchase phone support from Echelon or an Echelon support partner.
See www.echelon.com/support for more information on Echelon support and training services.
You can also view free online training or enroll in training classes at Echelon or an Echelon training
center to learn more about developing devices. You can find additional information about device
development training at www.echelon.com/training.
You can obtain technical support via phone, fax, or e-mail from your closest Echelon support center.
The contact information is as follows (check www.echelon.com/support for updates to this
information):
xviii Preface
1
Introduction
20 Introduction
What’s New in the SmartServer 2.2 Software
The SmartServer 2.2 software includes the following new features:
LONWORKS Connections in Standalone Mode. Create peer-to-peer bindings in standalone
networks with repeating for rapid response to external events.
Increased Device and Data Point Limits in Standalone Mode. Install up to 300 devices and use up
to 2,000 data points in a standalone network.
Maintenance Network Management Mode. Rapidly commission networks by disabling data point
heartbeats and polling messages.
Static Repeating Mode. Optimize the performance of power line repeating channels by disabling
the periodic verification of repeating paths.
Enhanced XMPP Client. Use real-time bi-directional communication between SmartServers and
enterprise applications located behind firewalls. The SmartServer’s built-in XMPP client now
supports connections where the IP address changes because of lease timeouts, and it is now
compatible with Openfire.
OpenLNS Server and OpenLNS CT Support. Integrate the SmartServer in networks managed
with an OpenLNS Server. Use the SmartServer with networks managed with the OpenLNS
Commissioning Tool (OpenLNS CT).
i.LON Vision 2.2. Rapidly create custom SmartServer Web pages with the i.LON Vision 2.2
standalone Web publishing tool.
Cross Browser Support. View SmartServer 2.2 built-in and custom Web pages using Chrome and
Safari in addition to previously supported browsers (Internet Explorer and Firefox).
New Languages. View SmartServer 2.2 built-in and custom Web pages in Chinese, Korean, and
Japanese in addition to previously supported languages (English, French, and German).
Note: To use the new SmartServer 2.2 features on a SmartServer 1.0 (a SmartServer currently running
the Release 4, 4.01, or 4.02 firmware) or on an i.LON e3 plus Server, you must have a SmartServer 2.0
license for each SmartServer 1.0 to be upgraded to a SmartServer 2.2 (a SmartServer running the
Release 4.06 firmware).
22 Introduction
New Languages
You can view the SmartServer 2.2 built-in and custom Web pages in Chinese, Korean, and Japanese in
addition to previously supported languages (English, French, and German).
You can work with the SmartServer in any one-byte or two-byte character language by translating the
.properties file in the /web/nls/echelon folder on the SmartServer flash disk. You can perform this
language localization using either the demo version of the SmartServer 2.0 Programming Tools
included on the SmartServer 2.2 DVD or using the full version on the SmartServer 2.0 Programming
Tools included on the SmartServer 2.0 Programming Tools DVD. For more information on ordering
the SmartServer 2.0 Programming Tools DVD, contact your Echelon sales representative. See the
SmartServer 2.0 Programming Tools User’s Guide for more information on how to localize the
language of the SmartServer Web interface.
SmartServer Limits
The SmartServer 2.2 has the following limits:
Up to 4,096 address table entries.
Up to 32 simultaneous outgoing transactions.
Up to 1,024 network variable aliases.
The number of devices and data points supported by the SmartServer in OpenLNS managed
networks depends on the available memory on the flash disk.
The SmartServer can support up to 300 devices and 2,000 data points in standalone networks. This
limit may be lower depending on the number of data points and custom apps on the SmartServer.
The SmartServer’s App device can support up to 3,000 dynamic network variables, but the
SmartServer may run out of memory before this limit is reached. The practical limit depends on
the sizes of the defined dynamic network variables. You can check the available memory on your
SmartServer using the Setup - System Info Web page. To access this Web page, right-click the
SmartServer icon in the navigation pane in the left frame, point to Setup, and then click System
Info in the shortcut menu. Alternatively, you can click Setup and then click System Info.
4. A dialog opens prompting to close all applications currently running on your computer. Close any
applications running on your computer, and then click OK.
5. The Welcome window of the SmartServer 2.2 SP software installer opens. The original product
name was i.LON SmartServer, so i.LON may appear on some of the screens.
8. Read the license agreement (you can read a printed version of the license agreement in Appendix
E, Software License Agreements). If you agree with the terms, click Accept the Terms and then
click Next. The Customer Information window appears.
10. Enter or select a program group in the Start menu to use for starting the SmartServer applications
and accessing the SmartServer images and documentation. The default program group is Echelon
SmartServer 2.2 SP Software. By default, the SmartServer 2.2 SP software, SmartServer 2.2 SP
image (iLon100 4.06), and documentation will be installed in the LonWorks\iLon100 LonWorks
folder. The Setup Type window appears.
12. Click Install to begin the SmartServer software installation. The installer first checks whether
OpenLDV 4.0 is installed on your computer. If OpenLDV 4.0 is not installed on your computer,
the SmartServer 2.2 SP software installer will automatically install it before installing the
SmartServer 2.2 software.
13. After the SmartServer 2.2 SP software has been installed, a window appears stating that the
installation has been completed successfully. The window also provides you with an option to
view the SmartServer 2.2 SP ReadMe, which contains information that is not included in this
user’s guide, and an option to view the default IPv6 link local address of your SmartServer.
4. Read the license agreement. If you agree with the terms, click Accept the Terms and then click
Next. The Customer Information window appears.
6. Click Install to begin the NodeBuilder Resource Editor installation. After the NodeBuilder
Resource Editor has been installed, a window appears stating that the installation has been
completed successfully.
Note: To open the command prompt with administrator privileges, click Start, type cmd in
the search box, right-click the cmd.exe, and then select Run as Administrator. If you
receive a “The parameter is incorrect” error after entering the route command, replace
%computername% with the IP address of your computer.
b. Open a Web browser and enter the IP address of your SmartServer. The default address is
http://192.168.1.222.
3. If you are using IPv6 to open the SmartServer Web pages, follow these steps:
a. Enable the IPv6 interface on your computer. For more information on doing this on a
Windows 7 computer, see http://windows.microsoft.com/en-us/windows7/ipv6-frequently-
asked-questions.
b. Set up a DNS entry to create a hostname for the SmartServer. When setting up the DNS
entry, use the default IPv6 address shown by the installation wizard (see step 18 in Installing
Echelon SmartServer Software in Chapter 2)
c. Create the hostname for the SmartServer.
5. In the Configuration & Service box, select the language to be used for the SmartServer Web
interface. The SmartServer includes English (the default), German, French, Chinese, Korean, and
Japanese languages, but you can work with the SmartServer in any one-byte or two-byte character
language by translating the .properties file in the /web/nls/echelon folder on the SmartServer flash
disk.
You can perform this language localization using either the demo version of the SmartServer 2.0
Programming Tools included on the SmartServer 2.2 DVD or using the full version on the
SmartServer 2.0 Programming Tools included on the SmartServer 2.0 Programming Tools DVD.
For more information on ordering the SmartServer 2.0 Programming Tools DVD, contact your
Echelon sales representative.
See the SmartServer 2.0 Programming Tools User’s Guide for more information on how to
localize the language of the SmartServer Web interface.
6. Click Login. A Login dialog opens.
The navigation pane on the left side of the SmartServer Web pages provides a hierarchal view of the
LAN on which your local SmartServer resides. The top level of the navigation pane shows the LAN
icon, which represents the SmartServer’s Ethernet connection. The host devices on the LAN are then
listed one level below the LAN icon. When you initially connect your SmartServer, your local
SmartServer and a sample e-mail server are the only host devices on the LAN. The remote access
(modem) connections and the network attached to your local SmartServer are listed one level below
the local SmartServer icon.
You can connect other host devices to your local SmartServer via its Ethernet connection or a dial-up
modem connection. The host devices you can connect to your local SmartServer include OpenLNS
Servers, e-mail (SMTP) servers, time servers (SNTP), IP-852 Configuration Servers, Web Connection
Target servers, and remote SmartServers. See Adding Host Devices later in this chapter for more
information on how to do this.
1. Right-click the SmartServer icon, point to Setup, and then click TCP/IP on the shortcut menu.
Alternatively, you can click Setup and then click TCP/IP to configure the TCP/IP properties on
your local SmartServer.
2. The Setup – Local SmartServer (TCP/IP) Web page opens.
4. Select the Advanced check box to configure IPv6 properties. The IPv6 properties appear on the
Web page.
5. Configure the following IPv6 properties. You must reboot the SmartServer to implement changes
made to properties that are marked with an asterisk (*).
IPv6 Property
Enable IPv6 Enables the SmartServer to connect to devices and servers that use IPv6.
Interface This option is selected by default.
Link Local Displays the IPv6 link local address assigned to the SmartServer. The link
Address (auto local address can only be accessed by IPv6 devices on the local network to
configured) which the SmartServer is attached. If a router is present between your
computer and the SmartServer you will not be able to use this address to
communicate with the SmartServer. Both addresses are automatically
configured by the SmartServer when the IPv6 interface is enabled.
Note: To use this local IPv6 link local address, you need to append the
‘%’ character and the number of your computer’s network card to the IPv6
address. You can obtain this number by entering the ipconfig in the
Windows command prompt. The network interface is normally named
“Ethernet adapter Local Area Connection”, and the card number is the
number after the ‘%’ character in your computer’s IPv6 address.
For example, if your SmartServer’s IPv6 address is
FE80::2D0:71FF:FE03:0122 and your computer’s IPv6 address is
FE80::213:72FF:FE98:a649%5, enter the following in your Web browser
to access the SmartServer via IPv6:
http://FE80::2D0:71FF:FE03:0122%5
Use Additional Enables you to manually assign the SmartServer an additional IPv6
Static Address address and gateway in the properties below, in addition to the default link
local address and global address displayed on the Web page. If you select
this option, you must reboot your SmartServer to implement any changes.
IPv6 Address Enter an additional IPv6 address for the SmartServer to use. The
addresses must conform to IPv6 addressing standards or an error will
occur when you click Submit. The following provides two example IPv6
addresses:
2002:1234:0000:0000:02d0:71ff:fe00:00aa
2002:1234::2d0:71ff:fe00:aafe::fefe:dddd
The IPv6 Address field also supports an optional prefix length specifier,
which must be a “/” followed by a decimal integer between 0 and 128. If
it is omitted, it will default to 64. The following provides an IPv6 address
with the prefix length specifier 64:
2002:1234::2d0:71ff:fe00:aa/64
For more details on IPv6 addressing, see “RFC 3513 - Internet Protocol
Version 6 (IPv6) Addressing Architecture” online at:
http://www.faqs.org/rfcs/rfc3513.html. Section 2.2 of the RFC describes
the addressing formats shown above in more detail, and section 2.3 of the
RFC provides more details on prefix specifiers.
Default Gateway Enter an additional IPv6 address for the SmartServer to use as a gateway.
Automatically Enables the SmartServer to obtain its DNS Server IPv6 address from the
Obtain IP Address local network’s DHCP server. If the DHCP server cannot be contacted,
this property is temporarily set to 0.0.0.0. As soon as the DHCP server is
contacted, the SmartServer will reboot itself to take on the new DNS
Server IP address.
Selecting this option makes the subsequent Default DNS Server and
Backup DNS Server properties unavailable.
Default DNS Server Enter the IPv6 address of the primary DNS server used to resolve
OpenLNS Server names, DNS server names, hostnames, and so on. An IT
department typically provides this information.
This property is unavailable if you select Automatically Obtain IP
Address.
Backup DNS Server Enter the IPv6 address of the secondary DNS server used to resolve
names.
This property is unavailable if you select Automatically Obtain IP
Address.
Ethernet Media You can select the Ethernet speed (10 or 100 MB per second) and mode
Speed (full-duplex or half-duplex) of the SmartServer. You have five choices:
Automatic. The SmartServer employs autonegotiation to determine
the Ethernet speed and mode to use based upon the device with which
it is communicating. This is the default.
100 MB Full-Duplex. Data streams in both directions
simultaneously at 100 MB/s.
100 MB Half-Duplex. Data streams in one direction at a time at 100
MB/s
10 MB Full-Duplex. Data streams in both directions simultaneously
at 10 MB/s.
10 MB Half-Duplex. Data streams in one direction at a time at 10
MB/s
6. Click Submit to save the changes. If you change the IP address and want to continue to have Web
access to your SmartServer you must change your computer’s TCP/IP settings to place it on the
same subnet as the SmartServer.
7. If you modified a property marked with an asterisk (*), you must reboot your SmartServer. See
the Rebooting the SmartServer section later in this chapter for more information on how to do this.
1. Right-click the SmartServer icon, point to Setup, and then click Service on the shortcut menu.
Alternatively, you can click Setup and then click Service to configure the SOAP/HTTP properties
on your local SmartServer.
2. The Setup – Local SmartServer (Service) Web page opens.
4. Click Submit to save the changes. Click Back to leave all fields unchanged.
Alternatively, you can click Setup and then click Security to configure the security settings on
your local SmartServer.
2. The Setup – Security Web page opens.
3. You can configure the following security settings if secure access mode is enabled on the
SmartServer (it is enabled by default), or if the Enable This Web Page Without Security Access
check box is selected. If secure access mode is currently disabled, you can re-enable secure access
using the console application, or you can perform a secure access reset. See the next section,
Enabling and Disabling Secure Access, for more information.
4. Click Submit to save the changes. Click Back to leave all fields unchanged.
5. If you modified a property marked with a double asterisk (**), you must reboot your SmartServer.
See the Rebooting the SmartServer section later in this chapter for more information on how to do
this.
Using HTTPS/SSL
By default, the SmartServer includes a self-signed SSL certificate for the “SmartServer 2.2” hostname.
The name of an SSL certificate cannot match the host name; therefore, a warning will appear in your
Web browser each time you open your SmartServer if HTTPS is enabled. This SSL certificate is
included for demonstration purpose only and cannot provide secure communication.
To use HTTPS/SSL on a SmartServer, you must replace the default SSL certificate with one that has
been issued for that SmartServer (each SmartServer requires its own certificate). You can either create
a self-signed certificate and install it into your Web browser, or you can buy a direct-signed certificate
from an accredited certificate authority. The SmartServer does not support intermediate certificates;
therefore, make sure that the certificate authority issues direct signed certificates.
After receiving an SSL certificate for your SmartServer, save the private key as private_key.pem and
save the certificate as server_cert.pem, and then upload both files to the /config/certs folder on your
SmartServer flash disk.
To open the command prompt with administrator privileges, click Start, type cmd in the search box,
right-click the cmd.exe, and then select Run as Administrator. If you receive a “The parameter is
incorrect” error after entering the route command, replace %computername% with the IP address of
your computer.
This command allows your computer to communicate with the SmartServer even when they are not on
the same subnet. This command does not persist through computer reboots, but you can add it to the
startup script for your computer or add the –p option to the route add command listed above.
It takes approximately 5 to 10 minutes for the SmartServer to finish rebooting. When the SmartServer
has finished rebooting, this dialog closes and the SmartServer - Welcome Web page opens
automatically. If your SmartServer is behind a firewall, you may need to close and then re-open your
Web browser.
3. Click Submit.
3. Click Submit.
Dialing Type Select whether the SmartServer’s modem will dial using touch-tone or
pulse dialing. The default dialing type is Tone.
Dialing Prefix Enter a prefix (maximum 30 digits) if the SmartServer is connected to a
phone system that requires a code to be dialed to reach an outside line. By
default, this field is blank.
Delay After Prefix If you entered a dialing prefix, enter the delay (in seconds) between the
prefix and the phone number being dialed. The default delay is 0 seconds.
You must reboot the SmartServer for changes to this property to take
effect
Dial Tone Waiting Enables the modem to wait for a dial tone before dialing out.
Access Point Name Set the APN (maximum 64 characters), which is required by most
(APN) GPRS service providers. The APN can be a valid IP address, or a valid
hostname and domain suffix pair.
Quality of Service Set the QoS string (maximum 30 characters), which is required by most
(QoS) GPRS providers.
QoS refers to the control mechanisms that can provide different priority
to different users or data flows, or guarantee a certain level of
performance to a data flow in accordance with requests from an
application program.
4. Click Submit.
2. The Enter Name dialog opens. Enter a name for the connection and then click OK.
4. Click Submit.
5. Set the following properties for the dial-out connection:
Connection Name Enter a name for the dial-out connection (maximum 30 ASCII
characters), such as the name of the ISP. The name may not include
the ‘&’, ‘<‘, and ‘>‘ characters.
Hostname (complete) Enter the hostname or IP address of the Web server provided by the
ISP for the GPRS connection.
Check Interval Enter the amount of time after which the SmartServer connects to the
ISP automatically.
Retry Time Set the interval (in seconds) that network messages wait for
confirmation before being re-sent over the network. The default time
retry time is 120 seconds.
Retry Count Set the number of times a network message is re-sent when no
confirmation is received.
Verify Mode Select the method in which the SmartServer simulates internet activity
in order to verify that the GPRS connection is active. You have the
following three choices:
Default. The SmartServer pings the IP address of the Web
server, and it opens a TCP connection to the HTTP port (80) of
the Web server. If either check succeeds, the GPRS connection is
active.
Ping Host. The SmartServer pings the IP address of the Web
server. This is similar to the ‘ping’ command in Linux or
Windows.
Check HTTP Connection. The SmartServer opens a TCP
connection to the HTTP port (80) of the Web server.
If the GPRS connection is lost, the SmartServer restarts the modem.
Once you have created and configured a dial-out connection, you can add host devices to the
connection (remote SmartServers, OpenLNS Servers, e-mail servers, time servers, IP-852
Configuration Servers, and Web Connection Target servers). For information on how to do this, see
the next section, Adding Host Devices.
To add a host device to a dial-up connection on the SmartServer, you right-click the icon representing
the dial-out connection to which the host device is to be added, point to Add Host, and then select
Server or SmartServer.
When you add a host device, it appears one level below the LAN or dial-out connection in the
navigation pane. In addition, if you add a remote SmartServer to the LAN, the network attached to it is
listed one level below its SmartServer icon. If you add an OpenLNS Server to the LAN, its networks
(OpenLNS network databases) are listed one level below its LNS Server icon. If you add an e-mail,
time, IP-852 configuration, or Web Connection Target server to the LAN, An icon representing the
specific host device is listed one level below its generic server icon.
You can add multiple services to a given host device. For example, the OpenLNS Server you add to
the LAN might also serve as an IP-852 Configuration Server and a Web Connection Target server.
Web Connection You can add an Web Connection Target Server to send data logs, alarm
Target Server logs, event scheduler logs, or any user-defined file from your SmartServer
to a central enterprise system via a Web connection (called an enterprise
connection).
Networks You can manage the channels, devices, functional blocks, and data points
on the network attached to your local SmartServer, the networks attached
to remote SmartServers on the LAN, and in the networks in the OpenLNS
Servers on the LAN.
SmartServer By default, the network attached to a SmartServer is represented by the
Network SmartServer network icon, and it is named Net. Once you synchronize
your SmartServer to an OpenLNS network database, this icon changes to
an OpenLNS network icon ( ) and is re-named to the name of the
OpenLNS network database.
OpenLNS network By default, the networks in an OpenLNS Server are represented by
(Database) OpenLNS network icons that include the names of their respective
OpenLNS network databases. Networks originally created in the
SmartServer tree are represented by SmartServer network icons ( ) in
the OpenLNS tree.
3. The Setup – Remote SmartServer Web page opens, and a SmartServer icon is added one level
below the LAN icon at the bottom of the navigation pane or one level below the dial-out
connection icon.
Note: If IP-852 routing is activated and enabled on the SmartServer and the IP-852 Configuration
Server is installed on the OpenLNS Server computer, click the IP-852 Configuration Server icon
( ), click LNS Proxy, and then skip to step 5 in order to configure the properties of the
OpenLNS Server.
3. The Setup – Host Web page opens, and a server icon is added one level below the LAN icon at
the bottom of the navigation pane or one level below the dial-out connection icon.
4. Enter the IP address or hostname of the OpenLNS Server or LNS Server and then click LNS
Proxy. The server icon on the tree becomes an LNS Server icon and the Setup – OpenLNS
Server Web page opens.
2. The Setup – Host Web page opens, and a server icon is added one level below the LAN icon at
the bottom of the navigation pane or one level below the dial-out connection icon.
1. Right-click the LAN icon or a dial-out connection icon, point to Add Host, and then click Server
(LNS, Email, Time, IP-852, WebTarget) on the shortcut menu, or if are you adding the time
service to an existing server on the LAN, skip to step 4.
2. The Setup – Host Web page opens, and a server icon is added one level below the LAN icon at
the bottom of the navigation pane.
7. The IP-852 Configuration Server Property Web page opens. Enter the port used by the IP-852
Configuration Server to receive messages form the SmartServer in the IP-852 Configuration
Server Port box. The default port is 1629.
2. The Setup – Host Web page opens, and a server icon is added one level below the LAN icon at
the bottom of the navigation pane or one level below the dial-out connection icon.
3. Enter the IP address or hostname of the Web Connection Target server and then click Submit.
The server icon in the tree is updated with the IP address or hostname you entered.
4. Right-click the server icon, point to Add Service, then and click Web Connection Target on the
shortcut menu.
6. Configure the following properties for the Web Connection Target server:
SmartServer
Property
SOAP Path Enter the path on the Web Connection Target server to which SOAP
messages should be transmitted. This is typically
/LnsProxy/LnsProxyService (the location of the SOAP path to the
Echelon Enterprise Service running on your computer) .
HTTP Port (Web Enter the port that the Web Connection Target server uses to serve HTTP
Server/SOAP) requests (SOAP and WebDAV). The default value is 80, but you may
change it to any valid port number. Contact your IS department to ensure
your firewall is configured to allow access to the server on this port.
Select SSL to create a secure Web connection. Enter the port number to
use for the SOAP interface. The default port used for SSL is 443, but you
may change it to any valid port number.
SOAP User Name Optionally, you can enter a user name to be used for logging in to the Web
Connection Target server.
SOAP Password If you create a Web Connection Target server, click Change Password to
enter the password to be used for logging in to the Web Connection Target
server.
Retry Time Set the amount of time (in seconds) after which the Web Connection
Target server will stop attempting to resend failed Web Connection
connection messages. The default value is 120 seconds.
The Web Connection Target server automatically attempts to resend failed
Web Connection connection messages every 45 seconds.
Format Values in Select how data point values are formatted in SOAP messages sent to this
Web Connection Web Connection Target server via Web connections. You have two
SOAP Messages choices:
Using
Data Point Format. Data point values are formatted based on the
SNVT, UNVT, SCPT, or UCPT defined for the data point.
Alternatively, you can click Setup and then click System Info.
3. Verify whether IP-852 routing has been licensed on your SmartServer. To do this, scroll down to
the LonTalk Statistics property header.
If IP-852 routing has been licensed, network traffic statistics appear in their respective
properties. Skip to step 6.
If IP-852 routing has not been licensed, “Not Licensed” appears in all the properties.
5. Follow the instructions on the dialog to obtain your license and activate IP-852 routing on your
SmartServer.
6. If you do not plan on using the standard local port for IP-852 routing (1628), follow the steps in
Adding an IP-852 Configuration Server to add the IP-852 Configuration Server to the
SmartServer.
7. Add the SmartServer to a new or existing IP-852 channel with the IP-852 Configuration Server
program. For instructions on using this program to add a SmartServer to an IP-852 channel, see
the next section, Adding a SmartServer to an IP-852 Channel.
8. A LON IP channel and a router are added underneath the network icon, and the IP-852 routing
service on the SmartServer is activated.
b. The Enter Name dialog opens. Enter a descriptive name for the IP-852 channel such as
“IP-852 Channel”, click OK, and then click Submit.
c. Click the channel created in step b and then click Driver. The Setup – LON Channel
Driver Web page opens.
5. Add a router between the LONWORKS channel closest to the OpenLNS network interface and the
IP-852 channel. To do this follow these steps:
a. Right-click the LONWORKS channel closest to the OpenLNS network interface and then click
Add Router on the shortcut menu.
b. The Add Router dialog opens. Enter a descriptive name for the IP-852 router on the
SmartServer such as “IP-852 Router (SmartServer)”, select the IP-852 channel created in step
4 in the Target Channel property, and then click OK.
d. Click Submit.
6. Commission the near side of the SmartServer’s IP-852 router. To do this, follow these steps:
a. In the Neuron ID property on the Setup – LON Router Driver Web page, click Use Service
Pin.
c. Click Submit.
7. Select Smart Network Management at the top of the Web page and then click Submit. This
automatically commissions the IP-852 router and starts the router application.
8. You can repeat steps 5–6 to add and commission another i.LON IP-852 router (SmartServer,
i.LON e3 Server, or i.LON 600 IP-852 Router) between the IP-852 channel and another
LONWORKS channel. The i.LON IP-852 router to be added and commissioned must already have
been added to the IP-852 channel with the IP-852 Configuration Server application.
Note: You must add the i.LON IP-852 router to the IP-852 channel you created in step 4 and
commission the near side of the router (the router icon below the IP-852 channel).
9. After you have added and commissioned the i.LON IP-852 router, you can use the OpenLNS tree
to create LONWORKS connections between the devices attached your SmartServer and the devices
attached to the i.LON IP-852 router created in step 7. See Connecting LONWORKS Data Points
with LONWORKS Connections in Chapter 5, Using the SmartServer as a Network Management
Tool, for more information on creating LONWORKS connections.
IP-852
Channel
IP-852
SmartServer FT-10
Configuration Server
TCP/IP
OpenLNS Server
Computer
SmartServer SmartServer
Floor
Three
Floor Channel
FT-10
Two
FT-10 Channel
Flooor
One
Channel
This example demonstrates a network in which three SmartServers are used to create an IP-852
channel connecting three TP/FT-10 channels, each of which connects the devices installed on a
different floor in a building. The circled portion of the diagram represents the IP-852 channel—the
virtual, IP-based connection between the three SmartServers, the OpenLNS Server, and the IP-852
Configuration Server. An OpenLNS, LNS, or OpenLDV application can use this IP-852 channel to
communicate with the devices on all three of the TP/FT-10 channels connected to each of the three
SmartServers, and monitor and control the entire building.
A complete installation may contain many IP-852 devices attached to one IP-852 channel. Because the
IP-852 channel can exist on any IP network, a system may now span the entire globe as easily as it
once spanned a single building, as shown in the following figure.
IP-852
Channel
SmartServer SmartServer
Building 1
New York
TCP/IP
TCP/IP
SmartServer SmartServer
Building 2
London FT-10 FT-10
SmartServer
RNI OpenLNS or OpenLDV
Application
To use the SmartServer as an RNI, you must configure the RNI settings for the SmartServer on the
computer running the OpenLNS, LNS, or OpenLDV-based application with the LONWORKS Interfaces
application. Once you have done this, the SmartServer will appear in the list of available network
interfaces you can use with your OpenLNS and OpenLDV-based applications.
Note: If you are using either LNS or OpenLDV, you need to install OpenLDV 4.0 on your computer to
create the remote network connection. You can download OpenLDV 4.0 from the Echelon support
Web site at www.echelon.com/support. OpenLDV 4.0 is included with OpenLNS.
This section describes the following:
How to configure your SmartServer as an RNI using the LONWORKS Interfaces application.
How to configure the RNI properties on the SmartServer.
Limits on the SmartServer when operating as an RNI.
How to switch the network interface to an RNI or a local network interface.
Differences between using an RNI and IP-852 routing to connect an OpenLNS, LNS, and
OpenLDV-based application to a LONWORKS network.
7. Optionally, you can continue configuring the RNI by editing the properties on the right side of the
user interface. See the LONWORKS Interfaces on-line help for more information on configuring
the RNI.
IP-852
Channel TCP/IP
Network
Floor 3
FT-10 Channel
IP-852
Configuration Server
SmartServer
RNI
TCP/IP
Network
SmartServer SmartServer
Floor 1 Floor 2
FT-10 Channel FT-10 Channel
Note: The SmartServer’s capabilities are not restricted when using either the RNI or IP-852 routing
function. All the other application features of the SmartServer are available when it is operating as an
RNI or as an IP-852 router.
Alternatively, you can click Setup and then click System Info.
2. The Setup – System Info Web page opens.
4. You can scroll down to view the following properties related to the SmartServer’s general
performance:
5. You can further scroll down to view the properties related to the SmartServer’s performance as an
IP-852 router (if IP-852 routing is activated on the SmartServer) and the SmartServer’s FPM
license status.
7. To configure the systemhealth.conf configuration file, you can copy it to your computer and open
it with a text editor such as Notepad. The parameters in the configuration file can be listed in any
order; however, they must precede the list of critical tasks. You must keep the
“CriticalRebootTasks” and “CriticalLogTasks” tags in the file.
8. When you are done configuring the systemhealth.conf configuration file, save it, and then upload
it via FTP to /config folder on the SmartServer flash disk, overwriting the existing
systemhealth.conf file.
Testing Connections
You can use the Setup – Verify Web page to test that the Ethernet and dial-up connections between a
SmartServer and the other host devices on the LAN are functioning properly. You can test a
SmartServer’s connections to remote SmartServers, OpenLNS Servers, e-mail (SMTP) servers, time
(SNTP) servers, and Web Connection Target servers. You can also test a turnaround connection to the
selected SmartServer, and test IP-852 configuration and persistent GPRS connections.
When initiating a remote test from this Web page, the SmartServer will dial out to each dial-up
connection that contains one or more host devices. If the SmartServer needs to break communication
with your computer during that communication, do not refresh your internet browser during the
process. Testing of dial-up connections while dialed in to the SmartServer will fail, because the Web
page will not be able to maintain communication with the SmartServer after the modem disconnects
and dials to another location.
3. Select the connections to be tested. The tests for all connections are selected by default.
4. Click Start Test to begin testing the selected connections.
5. The Progress box lists the verification events in the order they occur. The result of the connection
test is listed in the Status column. Any problems establishing communications with any of the
selected servers will be reported. To stop all ongoing tests anytime, click Cancel. To re-start the
previous set of tests, click Rebuild Test and then click Start Test. To clear the data in the
progress box, click Clear Progress.
In addition, all the XML configuration files on the SmartServer, as well as the contents of the
/PulseBackup (pulse count data), /AlarmLog (alarm log data), and /data (data log data) directories,
are backed up to the /config/software.bak directory.
Also, the device templates currently stored in the /config/template directory are moved to a
/config/template.bak directory. To use these templates again, copy them from the
/config/template.bak directory to your computer, and then copy them from your computer back to the
/config/template folder.
If you did not use the factorydefaults keepipaddrs command in the console application, you
must set the TCP/IP properties of your SmartServer again. To do this, place your computer on the
same 192.168.1.* subnet as your SmartServer, or enter the following command in the Command
Prompt window (change “192.168.1.0” to the appropriate prefix for your subnet):
Open the command prompt with administrator privileges. To do this, click Start, type cmd in the
search box, right-click the cmd.exe, and then select Run as Administrator. If you receive a “The
parameter is incorrect” error, replace %computername% with the IP address of your computer.
If you entered the factorydefaults keepipaddrs command in the console application, the
IPv4 and IPv6 addresses are not reset to their defaults and you do not need to set the TCP/IP properties
of your SmartServer again.
5. In the Choose File dialog, expand the LonMark (XIF) folder, expand the
//lonWorks/Import/Echelon/iLON100 folder, select the ILON100_FTT_V40 XIF file or
ILON100_PLC_V40 XIF file, and then click OK to return to the Setup -LON Device Driver
Web page.
6. Click Submit.
Alternatively, you can activate the v40 interface by clearing and then selecting Smart Network
Management to the left of the Template property in the Setup -LON Device Driver Web page
and then clicking Submit.
This chapter describes how to use the navigation pane in the Web
interface to access settings, change modes, open SmartServer
applications, add data points to SmartServer applications, manage
icons, manage devices, duplicate functional blocks and data points,
and use templates. In addition, it explains how to configure the Web
interface and check error messages.
Note: The icon used to represent the SmartServer App device ( ) was updated in the SmartServer
2.2 release. All other screen shots in this document, and all other documents in the SmartServer 2.2
document suite, display the original icon for the SmartServer App device ( ).
The host devices accessible from your local SmartServer’s Ethernet connection are listed under LAN.
Host devices include your local SmartServer and may include remote SmartServers, OpenLNS Servers
(if you install Echelon Enterprise Services 2.2 from the SmartServer 2.2 DVD), e-mail (SMTP)
servers, time (SNTP) servers, IP-852 Configuration Servers, and Web Connection Target servers.
Networks include their channels, devices, functional blocks, and data points, which are listed in that
order following the LONWORKS network hierarchy. You expand an item in a network to show its child
objects. For example, when you initially open the SmartServer pages, you can expand the SmartServer
network Net item to show the VirtCh and LON channel items (a LON IP channel icon will also be
shown under the Net item if IP-852 routing is activated on your SmartServer).
You can expand the LON channel to display the SmartServer’s internal devices.
You can expand the i.LON App (Internal) device to show its functional blocks, which represent the
SmartServer’s built-in applications, and then expand a functional block to show the data points
(network variables and configuration properties) that are statically defined in the functional block.
Network variables are represented with blue data point items.
The following table lists and describes the various data point icons that you may observe in the
navigation pane:
Icon Name Description
Dp_Cfg Configuration property
Dp_In Input data point
Dp_Out Output data point
Dp_In_Out Data point with undefined direction
Dp_In_Ref Reference to input data point added to
SmartServer application. Displayed directly
below application’s functional block.
Dp_Out_Ref Reference to output data point added to
SmartServer application. Displayed directly
below application’s functional block.
Dp_In_Out_Ref Reference to data point added to SmartServer
application. Displayed directly below
application’s functional block.
Dp_In_Webbinding Reference to the target input/output data point in
a Web connection. Displayed directly below the
Dp_Out_Webbinding
source data point in the connection.
Dp_In_Webbinding_Attach Reference to the target input/output data point in
a Web connection, and the Web connection
You can expand the VirtCh channel icon to display the SmartServer’s other internal device, which is
the i.LON System (Internal) device. This device contains data points that provide valuable system
information related to the SmartServer. You can expand the i.LON System (Internal) device, and
then expand the VirtFB virtual functional block to show data points representing the SmartServer’s
free RAM, free disk space, CPU usage, battery level, software version number, and other system
information.
The networks may also have a number of connections. These connections include Web connections
and LONWORKS connections, which are represented by target data points that are listed under their
respective source data points in the connections.
The use of these modes is similar for networks, channels, and functional blocks not representing the
SmartServer’s applications as you use Driver mode to configure these objects. However, it is slightly
different for functional blocks representing the SmartServer applications and data points.
Now if you click a Modbus data point with Driver mode selected, the Setup – Modbus Data Point
Driver Web page open for that data point. You can use this Web page to view or configure the
following properties for that Modbus data point: poll rate, direction, register type, data access type,
whether the data point is read-write or read-only, addressing properties, and data type/formatting
properties.
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, expand Dynamic, expand the /lonworks/types folder, expand
the bas_controller folder, select the user-defined functional profile (UFPT) of the
SmartServer application to be opened, enter a name for the functional block such as “Data
Logger”, and then click OK. See Activating the SmartServer V40 XIF in Chapter 3,
Configuring and Managing the SmartServer, for more information on loading the V40
interface on the SmartServer.
7. Click Submit.
Note: You can click View to open the Alarm Notifier: Summary, Alarm Notifier: History, Data
Logger: View, and the View - Data Points Web pages.
To open an application from an existing functional block instance, follow these steps:
1. Click General. If Driver is selected when you click a functional block, the Setup - LON
Functional Block Driver Web page for the functional block opens instead of the corresponding
SmartServer application.
2. Click the functional block representing the SmartServer application to be opened. The application
opens in the application frame to the right.
See the next section for how to add data points to SmartServer applications.
UFPTalarmGenerator
UFPTtypeTranslator
UFPTcustomerApp
UFPTalarmNotifier
UFPTdataLogger
UFPTscheduler
UFPTanalogFB
Data
Internal (Point) Server
SmartServer Data Point Server
Data
Data
Point
Point
Abstraction
Abstraction
Layer
Layer
LON M-BBus
us ModBus FPM driver
You can directly add data points to the SmartServer’s applications using the SmartServer Web
interface. The data points that you can add include the data points of external devices and the data
points of the internal SmartServer devices (formerly referred to as NVLs).
External devices are physical application devices that are connected to the SmartServer. External
devices are either stored in an OpenLNS database and managed with OpenLNS CT, OpenLNS tree, or
another OpenLNS application (the data points of these devices were formerly referred to as “NVEs”),
or they are stored on the SmartServer’s internal database (the XML files in the /config/network folder
on the SmartServer flash disk) and managed with the SmartServer operating in Standalone mode.
An internal device refers to one of the 16 virtual devices that can be stored on the SmartServer. One of
these internal devices is the SmartServer automated systems device [the iLON App (Internal) device],
which contains the SmartServer’s built-in built-in applications. Ten of the internal devices are
reserved for the custom built-in applications (called custom apps or Freely Programmable Modules
[FPMs]) that you can write and deploy on your SmartServer using the full version of SmartServer 2.0
Programming Tools. The other five internal devices on the SmartServer are the iLON System
(Internal) device, which contains all the virtual data points (formerly referred to as NVVs); the IP-852
router; the local network interface [iLON NI (Internal)], which is used to poll external data points
(NVEs), and to test and wink external devices; the RNI; and the LonTalk device. You can add the data
points in the iLON App (Internal) device, the iLON System (Internal) device, and the internal FPM
application devices to the SmartServer applications.
To add data points to the SmartServer applications, follow these steps:
1. If you are operating the network in LNS mode and you are adding the network variables or
configuration properties of an external device that is stored in an OpenLNS database and managed
with OpenLNS CT, OpenLNS tree, or another OpenLNS application (these data points were
formerly referred to as “NVEs”), you must first copy the network variables or configuration
properties from the OpenLNS tree to the tree of the target SmartServer (your local SmartServer or
Note: If you have one or more remote SmartServers on the LAN, the Create External NV
option is not available in the shortcut menu of the network variable in the OpenLNS tree.
Instead, right-click the network variable in the OpenLNS tree, select Copy External NV on
the shortcut menu, right-click any object in the network tree of the target SmartServer, and
then click Paste External on the shortcut menu.
f. Click Submit.
2. Verify that you have created an instance of the functional block that represents the application to
which data points are to be added.
3. Click General at the top of the navigation pane in the left frame of the SmartServer Web interface.
4. From the navigation pane, click the functional block representing the application to which data
points are to be added. The application opens in the details pane to the right.
5. If you are adding the data point to an Alarm Notifier, Data Logger, Scheduler, Analog Functional
Block, or Type Translator, open the Data Points Web page where you add references to the
external data points.
6. From the SmartServer tree, click the data point to be added to the application. The data point is
added to the application, a reference to the data point ( ) is added to the bottom of the
application’s functional block tree, a reference to the functional block is added directly below the
selected data point ( ), and you can begin monitoring and controlling the data point with the
application.
Properties In General mode, opens the Configure - Network page. You can use this
page to enter an optional description of the network, and view the object
used to represent the network in the tree, and view whether the network is
Properties In General mode, opens the Configure Network page. You can use this
page to enter an optional description of the device, view the icon used to
represent the device in the tree, and view whether the device is hidden or
shown in the tree.
In Driver mode, opens a Web page for configuring the device’s
driver-specific properties (LONWORKS, Modbus, or M-Bus). The following
describes the properties you can set on a device for each driver type:
LONWORKS. Opens the Setup - LON Device Driver Web page. You
can use this page to manage and self-install the device. The network
management tasks you can perform from this page include acquiring the
device’s Neuron ID, configuring the device, setting the device
application online or offline, selecting an application image file and
device interface to download to the device, and resetting the device (see
Properties In General mode, opens the Configure - Data Point Web page. You can
use this page to enter an alias name, select whether the data point is constant,
enable and set default and invalid values, view the type/format, set network
performance configuration properties (heartbeat, throttle, offline, and send
on delta), set presets, and modify the unit strings of the individual fields of
structured data points.
You can also use the Configure - Data Point Web page to enter an optional
description of the data point, view the icon used to represent the data point
in the tree, view whether the data point is hidden or shown in the tree.
In Driver mode, opens a Web page for configuring the data point’s
driver-specific properties (LONWORKS, Modbus, or M-Bus). The following
describes the properties you can set on a device for each driver type:
LONWORKS. Opens the Setup - LON Data Point Driver page. You
can use this page to set the poll rate, view and/or set the data point
direction, view whether the data point is static or dynamic, view and/or
change the length, and view and/or change the type/format.
Modbus.. Opens the Setup - Modbus Data Point Driver Web page.
You can use this page to set the poll rate, access type, addressing
properties, and the format and type parameters).
M-Bus. Opens the Setup - M-Bus Data Point Driver Web page. You
can this page to change the poll rate, format and type parameters, and
the length.
You can also a data point’s Driver Web page to enter an optional
description of the data point, change the icon used to represent the data point
in the tree, and select whether the data point is hidden or shown in the tree.
Note: You can also issue these network management commands from the Setup - LON Device
Driver Web page. To access the Setup - LON Device Driver Web page, click Driver and then
either click the device or right-click the device and select Properties from the shortcut menu. A
7. To enable devices created from the device template to be installed automatically clear Clear from
Template 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
Note: If you have one or more remote SmartServers on the LAN, the Create External NV option
is not available in the shortcut menu of the network variable in the OpenLNS tree. Instead,
right-click the network variable in the OpenLNS tree, select Copy External NV on the shortcut
menu, right-click any object in the network tree of the target SmartServer, and then click Paste
External on the shortcut menu.
The data points and their parent channels, devices, and functional blocks are added to the network
tree of the target SmartServer. The parent objects are only added if they do not already exist in the
internal database of the target SmartServer.
7. In the OpenLNS tree, select one or more devices to be copied to the SmartServer. The selected
devices must have the same program ID as the external device used for the device template created
in step 7. To copy one device, right-click the device and then click Create Ext. Dev. (use
Template) on the shortcut menu. To copy multiple devices, click one, and then either hold down
CTRL and click all others to be copied or hold down SHIFT and select another to select the entire
range, right-click one of the selected devices, and then click Create Ext. Dev. (use Template)
on the shortcut menu.
Note: If you have one or more remote SmartServers on the LAN, the Create Ext. Dev. (use
Template) option is not available in the shortcut menu of the device in the OpenLNS tree.
Instead, right-click the device in the OpenLNS tree, select Copy External Device on the shortcut
9. Click Submit.
10. The devices and the functional blocks and data points in the device template are added to the
network tree of the target SmartServer. You can expand one of the copied devices and verify that
the functional blocks and data points in the device template appear in the device tree.
11. You can click a data point in General and Driver modes and verify that the configuration and
LON driver property values are the same as those specified in the device template.
3. Expand the Template folder to show all the folders in the /config/template directory on the
SmartServer flash disk. Expand the folder in which the template to be deleted is stored and then
select the template. You can select multiple templates to be deleted by clicking one template and
then either holding down CTRL and clicking the other templates to be deleted, or holding down
SHIFT and selecting another template to delete the entire range of templates.
3. In the Copy Name property, enter a descriptive name for the functional block. The default name
is Copy of <original functional block name>.
4. Select the number of copies of the functional block to be created. The default is 1 copy.
5. Click OK.
6. Click Submit. The selected number of functional blocks and their static and dynamic data points
are added to the bottom of the parent device. If you created more than one functional block copy,
an index is appended to the name of the functional block.
Note: You can only duplicate a static functional block if an instance of the object is available to be
created. This means that you may have to delete an existing instance of a static functional block in
order to create a new one from a copy. If a static instance is not available, an error message appears
above the tree/application frame informing you that insufficient static objects are available, and that no
driver copies were created. The SmartServer automatically deletes the duplicate functional block
To delete a static instance of a functional block, click Settings. In the Global Settings dialog, select
Functional Blocks in the Display Hidden property and then click Close. All the functional blocks
statically defined for the device in the SmartServer tree are shown. Select one or more static functional
blocks, right-click one of the selected functional blocks, select Delete on the shortcut menu, and then
click Submit.
3. In the Copy Name property, enter a descriptive name for the dynamic data point. The default
name is Copy of <original data point name>.
4. Select the number of copies of the dynamic data point to be created. The default is 1 copy.
5. Click OK.
6. Click Submit. The selected number of dynamic data points are added to the bottom of the parent
functional block. If you created more than one dynamic data point copy, an index is appended to
the name of the dynamic data point.
Note: You cannot create duplicates of static data points. If you duplicate a static data point, an error
message appears above the tree/application frame informing you that you cannot copy static data
points.
Room Controller
Temperature
Sensor
In addition, Web connections can translate structured data points (data points with multiple fields such
as SNVT_switch) for which presets have been defined. For example, you can define an ON_100
preset for the SNVT_scene data point of a scene controller connected to one SmartServer and the
SNVT_switch data point of a lamp connected to another SmartServer. You then create a Web
connection with the data points of these devices. When the SNVT_scene data point is set to
SC_RECALL 4, the source SmartServer sends the ON_100 preset to the destination SmartServer on
the other end of the Web connection over the LAN. The destination SmartServer receives the ON_100
preset and then updates the SNVT_switch data point of the lamp to 100.0 1. The following example
demonstrates a translation performed using presets over a peer-to-peer binding.
Lamp
Scene Controller
3. The Configure – Web Connection Web page opens and the hostnames of the local SmartServer
and any remote SmartServers, OpenLNS Servers, and Web Connection Target servers that have
been added to the LAN appear in the application frame to the right. The host devices in the right
4. From the Web-Connection Destinations tree on the right frame, expand the Web Connection
destination containing the target data points to be connected, expand the network, channel, device
and functional block containing the desired target data point, and then click one or more
compatible target data points.
References to the target data points ( ) are added underneath the source data point in the local
SmartServer tree in the left frame. Updates to the selected source data point will be propagated to
the target data points listed underneath the source data point.
3. The Configure – Web Connection Web page opens and the hostname of the SmartServer or
OpenLNS Server and the OpenLNS network database in which the hub network variable is stored
appear under the Web Connection Destinations icon in the application frame to the right.
Repeat this step to connect the selected hub network variable to any other desired compatible
target hub network variables.
If the target network variable is not compatible with the hub network variable a warning
message appears. You can delete the connection by right-clicking the reference to the target
network variable on the OpenLNS tree in the left frame and clicking Delete on the shortcut
menu. See Deleting LONWORKS Connections in this section for more information on how to
do this.
You can also check whether a LONWORKS connection is valid by right-clicking the reference
to the target network variable on the OpenLNS tree in the left frame and clicking Validate on
the shortcut menu. The Web Connection Validation Results dialog opens and displays the
results. See Validating LONWORKS Connections in this section for more information on using
this dialog.
Service Type Acknowledged (the default), Repeated, or Unacknowledged. See the next
section, Configuring LONWORKS Connections, for how to select the service
type.
Addressing Subnet/Node ID.
Priority Used if hub (source) network variable specifies priority.
Authentication Used if target network variable has authentication enabled.
Retry Count Calculated based on topology and service type.
Repeat Count Calculated based on topology and service type.
Repeat Timer Calculated based on topology and service type.
Receive Timer Calculated based on topology and service type.
Transaction Timer Calculated based on topology and service type.
Broadcast Options Broadcast addressing is not used.
Alias Options Network variable aliases are used to resolve selector conflicts.
Configuring Connections
You can configure a connection’s service type, change the priority assigned to the connection for
writing updated values to the target data point, and control whether updates to the source data point are
transmitted to the target data point. To configure a connection, follow these steps:
1. Click Driver.
2. Select one or more of the target data points under the source data point in the SmartServer tree.
To configure one Web connection, click the target data point in the Web connection to be
configured. To configure two or more Web connection, click one target data point and then either
hold down CTRL and click all other target data points in the Web connections to be configured or
hold down SHIFT and select another target data point to configure the Web connections
represented by the entire range of selected target data points.
3. The Setup – Web Connection Web page opens.
5. Click Submit.
Deleting Connections
You can delete the connections you have created. To do this, right-click the target data point in the
connection and then click Delete on the shortcut menu. The reference to the target data point and the
connection are deleted. Click Submit.
To validate multiple connections, you must first click Driver and then select the connections to be
validated.
3. This dialog shows the following properties for all the selected Web connections:
Point Name (Source Displays the name of the source data point in the Web connection in the
Data Point) following format: <network>/<channel>/<device>/<functional
block>/<data point>. This is also the location of the data point in the
SmartServer tree.
Format (Source Displays the type and format of the source data point such as
Data Point) SNVT_switch or SNVT_temp_f.
Destination Displays the IP address of the Webbinder Destination containing the target
data point in the Web connection.
Point Name (Target Displays the name of the target data point in the Web connection in the
Data Point) following format: <network>/<channel>/<device>/<functional
block>/<data point>.
Format (Target Displays the type and format of the target data point in the Web
Data Point t) connection.
Status Displays the results of the validation tests, which can be one of the
following:
If the types and formats are compatible, OK is displayed.
If the formats are incompatible, Format Error is displayed.
4. Click Close to return to the SmartServer Web interface.
3. In the Type property select the type of file to be sent with the message request: Alarm Log, Data
Log, Event Log, or User Defined (this is the default).
4. In the Name property, select the file to be attached.
If you select Alarm Log, Data Log, or Event Log, select the name of the log file to be
attached. The names displayed are the locations of the logs on the SmartServer tree in the
If you select User Defined, browse the root directory of the SmartServer flash disk and select
a file to be attached. The Path and File Size properties display the location of the selected
file and its size in KB.
5. Click OK. An attachment icon ( ) is added to the target data point icon.
6. Click Submit.
Viewing Connections
You can view all the connections in your in your network, or the connections on a specific channel,
device, or functional block in a single graph or table. To do this, follow these steps:
1. Right-click a network, channel, device, or functional block in the SmartServer tree, point to
Overview, and then click Connections in the shortcut menu.
4. Select Graphical View to graphically display all the functional blocks containing connected data
points. The functional blocks containing the source data points in the connections are displayed
on the left side, and the functional blocks containing the target data points are displayed on the
right. Multiple connections within single functional blocks are represented with different colors.
You can click a data point in this view to select it in the navigation pane on the left side of the
SmartServer Web interface (provided that it is currently displayed in the navigation pane).
5. Select Tabular View to list all the connected source and target data points in a table. You can
click a network variable to select it in the navigation pane (provided that it is currently displayed
in the navigation pane).
You can open the system log and view all errors and warnings that have occurred since the
SmartServer was last rebooted. To do this, click View and then System Log, or click the alarm bell or
arrow (if visible).
Click Close to return to the SmartServer Web interface. Click Clear to delete all the current messages
listed in the system log.
Note: You can change the type of messages logged by the SmartServer (error, warning, information, or
debugging) in the Global Settings dialog. To open this dialog, click Settings. For more information
on the Global Settings dialog, see the next section, Configuring Global Settings.
8. You can also implement your custom icons on your existing devices and functional blocks. To do
this, follow these steps:
a. Click Driver.
b. Click the device or functional block to be updated with your custom icon in the SmartServer
tree. The Setup – Driver Web Page opens for the object.
c. In the Icon property at the top of the Web page, select your custom icon from the list.
d. Click Submit. The icon in the SmartServer tree and in the upper left-hand corner of the
application frame should be updated with your custom icon.
Internal
SmartServer
Network
Database
SOAP
SmartServer Tree in
SmartServer Web Interface
Tomcat 6
SOAP Internet SOAP Application
Server
Echelon Enterprise
Services 2.2
OpenLNS Server
Computer
Internal Tomcat 6
SmartServer SOAP Internet SOAP Application
Network Server
Database
Echelon Enterprise Configuration Plug-in
OpenLNS Server
Services 2.2
SmartServer Tree in
SmartServer Web Interface
You can also use OpenLNS CT as a remote OpenLNS client in this scenario as demonstrated in the
following graphic:
OpenLNS CT
Internal Tomcat 6
SmartServer SOAP Internet SOAP Application
Network Server
Database
Echelon Enterprise Configuration Plug-in
OpenLNS Server
Services 2.2
SmartServer Tree in
SmartServer Web Interface
4. Verify that the Network Management Service property is set to LNS Auto or LNS Manual.
5. In the LNS Server property, select the OpenLNS Server on the LAN in which the OpenLNS
network database is to be stored, if that OpenLNS Server is not already specified.
6. If the SmartServer is not currently synchronized to an OpenLNS network database, proceed with
the following steps; otherwise, skip to step 8.
a. The LNS Network dialog opens.
d. Click Finish to confirm the creation of the new OpenLNS network database and return to the
Setup – LON Network Driver Web page.
e. Click Submit.
f. The network icon changes to an LNS Server icon and the name of the network changes to the
name specified in step b.
7. If the SmartServer is currently synchronized to an OpenLNS network database, follow these steps
to create a new OpenLNS network database.
a. In the OpenLNS Network property, enter a name (maximum 14 characters) for the OpenLNS
network database that is unique to the selected OpenLNS Server (names are case-insensitive).
Changes made to the SmartServer tree will be transmitted to this OpenLNS network database.
7. Click Submit.
It may take up to a few minutes for the SmartServer to switch to standalone mode. When the
SmartServer has switched to standalone mode, the dialog closes and you can continue using your
SmartServer to manage the network.
Automatically Synchronizing the SmartServer to an OpenLNS network
Database
You can synchronize the SmartServer to an OpenLNS network database automatically using LNS
Auto mode. In LNS Auto mode, the SmartServer independently initiates communication with an
OpenLNS network database via the LNS Proxy Web service, and directly sends network configuration
changes made in the SmartServer tree to the OpenLNS network database. This mode requires the port
on the OpenLNS Server computer selected for the LNS Proxy Web service (port 80 by default) to also
be opened on any firewalls blocking the SmartServer’s access to the OpenLNS Server computer. The
following figure illustrates how the SmartServer communicates with the OpenLNS network databases
in LNS Auto mode.
Port 80 Port 80
Internet
SmartServer
LNS Proxy
Web Service
To synchronize the SmartServer to an OpenLNS network database using LNS Auto mode, follow
these steps:
1. Verify that the SmartServer is connected to both the TCP/IP network and the LONWORKS network.
2. Commission the SmartServer with OpenLNS CT, OpenLNS tree, or another OpenLNS or LNS
application. For more information on installing the SmartServer, see Installing the SmartServer
with OpenLNS CT in Chapter 12.
3. Verify that EES 2.2 and OpenLNS Server have been installed on your computer. See Chapter 1 of
the Echelon Enterprise Services 2.2 User’s Guide for how to perform these installations.
4. Add an OpenLNS or LNS Server to the LAN. This OpenLNS Server must contain the OpenLNS
network database in which the SmartServer was commissioned in step 2. See Adding an
OpenLNS Server to the LAN in Chapter 3 for more information on how to do this.
5. Click Driver at the top of the navigation pane on the left side of the SmartServer Web interface,
and then click the Net network near the top of the SmartServer tree.
6. The Setup - LON Network Driver Web page opens.
7. In the Network Management Service property, accept the default LNS Auto option. In this
mode, the SmartServer independently initiates communication with the LNS Proxy Web service,
and automatically sends network configuration changes made in the SmartServer tree to the
OpenLNS network database.
Select this mode if a firewall is not blocking the SmartServer’s access to the port on the OpenLNS
Server computer selected for the LNS Proxy Web service (port 80 by default). If a firewall is
blocking access to the LNS Proxy Web service, select the LNS Manual option.
8. In the LNS Server property, select the IP address of the OpenLNS Server you added to the LAN
in step 4.
11. In the LNS Network dialog, select the OpenLNS network database to which the SmartServer is to
be synchronized and then click Finish.
12. The Use LNS Network Interface option is selected and the network interface used for
communication between the OpenLNS Server and the network is specified automatically. Accept
these defaults if the OpenLNS Server is attached to the physical network and you want the
SmartServer to communicate with the devices on the network through the selected network
interface.
14. Click Submit. If you selected LNS Auto in the Network Management Service property, the
name of the network changes to the name of the OpenLNS network database specified in step 11,
the network icon changes to an LNS Server icon, and the synchronization automatically begins.
During the synchronization process, items in the SmartServer tree that are out of sync with the
OpenLNS network database are highlighted yellow. When all the items in the SmartServer tree
are synchronized (not highlighted yellow), the synchronization is complete. You can continue to
use the SmartServer Web interface during the synchronization.
Notes:
You can view the progress of the synchronization in the navigation pane. To do this, click
Settings to open the Global Settings dialog, and then select the Show Synchronization
Progress in Tree check box. This adds a synchronization status bar to the right of the
network icon in the SmartServer tree that displays the current ratio of items that have already
been synchronized to the total number of items being synchronized.
You can view a log of the current synchronization in the SmartServer’s console application.
To view the sync log, enter the trace 2 command. For more information on the SmartServer
console application, see Appendix B, Using the SmartServer Console Application.
Customer Corporate
Firewall Firewall
Port 80
Port 80
Internet
LNS Proxy
3 Web Service
You can manually synchronize all items in the SmartServer tree that are out of sync at one time, or you
can select individual items to be synchronized.
Manually Synchronizing All Items
If items in the SmartServer tree lose synchronization with the OpenLNS network database, you can
manually synchronize all of them to the OpenLNS network database at one time following these steps:
1. Right-click the network item in the target SmartServer tree, and then click Synchronize with LNS
in the shortcut menu.
3. Decommission the SmartServer, the SmartServer’s IP-852 router, and any commissioned internal
FPM devices in the current OpenLNS network database with OpenLNS CT or other OpenLNS
application.
4. Commission the SmartServer in the new or existing OpenLNS network database with OpenLNS
CT or other OpenLNS application.
Note: The name of the channel on which the SmartServer is installed in the OpenLNS CT
drawing must match that of the SmartServer’s current parent channel in the SmartServer Web
interface; otherwise, the synchronization process may corrupt your OpenLNS CT network design.
For example, if the SmartServer’s internal automated systems device (i.LON App, iLON
SmartServer- 1, or some other user-defined name) is located under Channel 1 in the navigation
6. Click Next.
7. A dialog for logging in to the LNS Proxy Web service opens. Enter the User Name and
Password used by the SmartServer for logging in to the LNS Proxy Web service and then click
OK. You initially specified the user name and password in the Echelon Enterprise Services 2.2
installer. If you forgot the user name and password, you can right-click the Echelon Enterprise
Services 2.2 tray icon in the notification area of your computer, and then click Options on the
shortcut menu.
9. In the OpenLNS Network property, either select an existing OpenLNS network database to be
updated with the network configuration stored in the SmartServer’s internal database (XML files
in the /config/network folder on the SmartServer flash disk), or create a new OpenLNS network
database.
To select an existing OpenLNS network database, select the name of the OpenLNS network
database from the list and then click Finish.
To create a new OpenLNS network database, click the arrow to use the current network name
for the OpenLNS network database or enter a different descriptive name (maximum 14
characters) that is unique to the selected OpenLNS Server, click Next, and then click Finish
in the Create LNS DB? dialog. The new OpenLNS network database is created in the
ilon\db folder on your computer.
10. If IP-852 routing is activated on your SmartServer, a dialog appears informing you that you need
to reboot your SmartServer in order to use it as an IP-852 router. Click Close.
If you are adding a channel to a OpenLNS network database in the OpenLNS tree, right-click the
OpenLNS network database icon, and then click Add Channel in the shortcut menu.
3. Enter a descriptive name for the LONWORKS channel that is unique to the network (channel names
are case sensitive) and then click OK.
4. The channel is added to the bottom of the tree of its parent network or OpenLNS network
database.
5. Click Submit.
Use Transmit You can change the interval (in milliseconds) network messages wait for
Timer confirmation before being re-sent over the network. The default value is
96 ms for FT-10 channels and 512 ms for PL channels. If this option is
cleared (it is cleared by default), the interval is calculated based on the
network topology, specifically the transmission time for each channel that
the message must cross. By default, the transmission time for each
channel is determined by its type. However, this can be overridden with
the Use Round-Trip Delay property.
For more information on configuring this property for a power line
repeating network, see the SmartServer 2.2 Power Line Repeating
Network Management Guide.
Use Retry Count You can change the number of times a network message is re-sent when
no confirmation is received. The default value is 3 attempts for FT-10
channels and 5 attempts for PL-20 channels. If this option is cleared (it is
cleared by default), a default value, which can range from 0 to 15
attempts, is calculated based on network topology. Typically, the default
retry count is set to 3 attempts; however, if a message must pass through
certain channel types, the default may be increased. For example, if a
message must cross a PL-20 channel, the default retry count would be
increased to 5 attempts.
For more information on configuring this property for a power line
repeating network, see the SmartServer 2.2 Power Line Repeating
Network Management Guide.
Use Number of The Use Number of Slots and Use Slot Width properties are used to
Slots calculate how long the SmartServer waits before sending messages to the
devices on the power line repeating network. These settings affect the
Use Slot Width
traffic initiated by the SmartServer when it receives direct messages or
events from the devices on the network.
Specify the maximum number of slots used for spacing packets on a
power line repeating channel (the default value is 0). You can specify the
width of the slots in the Use Slot Width property (the default value is 0).
If Use Number of Slots is set to n, then the SmartServer uses a random
slot between 0 to n-1 for sending messages, and this slot is then multiplied
by the value in the Use Slot Width box, and 100ms.
5. Click the plug-in to be registered from the Unregistered Plug-ins list and then click Add.
6. The selected plug-in is moved to the Registered Plug-ins list.
You can click the More option to open the Launch Plug-in dialog and start other plug-ins that are
registered for the same device or functional block.
9. The plug-in that implements the selected command for the selected device or functional block
starts. In this example, clicking Browse launches the OpenLNS Browser.
6. Optionally, you can wink or test discovered devices. To do this, right-click anywhere in the
device’s row and then click Wink or Query Status on the shortcut menu.
You can wink a device to identify it on the network and verify that it is communicating
properly. A device that supports the Wink command generates an application-dependent
audio or visual feedback such as a beep or a flashing service LED when winked. Wink
commands are typically used when installing or diagnosing multiple devices in a system,
where a network tool may be needed to confirm the identity of a given device.
You can test a device to open the Query Status dialog and view network statistics such as the
number of message transmission and receipt errors, transaction timeouts, and the number of
missed or lost messages that indicate whether the device is operating and is configured
correctly, and to view the current device configuration and application state. For more
information on the Query Status dialog, see Querying Devices later in this chapter.
3. Click Submit.
4. The device and all of its children functional block and data points are logically removed from the
source channel and they are added to the tree of the selected destination channel.
Note: If the SmartServer does not have access to an OpenLNS network database (an OpenLNS
Server or LNS Server has not been added to the LAN, an OpenLNS Server and OpenLNS network
database have not been specified, or the SmartServer is operating in standalone mode), the Load
Network Settings? dialog opens when you attempt to create a router. Click OK to go to the
Setup – LON Network Driver Web page to enable the SmartServer to access an OpenLNS
network database. Click Cancel to stop the router creation process.
Note: You can select two or more devices or functional blocks and view all the data points on
those devices or functional blocks in the same Overview – Data Points page; however, the
SmartServer’s performance may be impacted by trying to create large lists of objects.
3. The Overview – Data Points Web page opens.
3. Enter a name for the Modbus channel that is unique to the network and then click OK.
4. The Modbus channel is added to the bottom of the SmartServer tree.
5. Click Submit.
Each Modbus TCP/IP slave device must be added to a separate channel. Adding more than one
Modbus TCP device to a Modbus TCP/IP channel generates unexpected results such as all points
being mapped to the first device defined on the channel. These errors occur even if the Modbus
TCP/IP addresses are unique.
4. Click OK. The Modbus device and a Virtual Functional Block containing all of the device’s static
data points are added to the bottom of the tree of the parent Modbus channel.
4. By default, the Modbus data points are listed by the Start Address column in ascending order.
You can sort the data points by clicking a property header. You can view and configure the
following properties for each data point on the Modbus device:
Icon/Status Displays the icon used to represent the Modbus data point in the
SmartServer tree and in the application frame. If the data point is offline,
this box is highlighted red.
Start Address Displays the start address of the register to be used to read or write to the
(Decimal) data point. If the Length property is configured to use bits, you can select
the start and stop bits in the address.
If the value of the Modbus data point does not match the expected value,
enter the data point’s physical address on the Modbus device, and verify
Tip: You can configure the data points on a Modbus device by creating one data point, and then
duplicating it (right-click the data point and click Duplicate on the shortcut menu) to create the
required number of data points. This enables the start addresses of the Modbus data points to be
calculated automatically. You can then use the Overview - Data Points Web page to modify the
start addresses, functions, format descriptions, and names of the duplicate Modbus data points
accordingly. See Creating a Duplicate Dynamic Data Point in Chapter 4, Using the SmartServer
Web Interface, for more information on duplicating data points.
7. Click Submit to save any changes.
3. Enter a name for the M-Bus channel that is unique to the network and then click OK.
4. The M-Bus channel is added to the bottom of the SmartServer tree.
5. Click Submit.
4. By default, the M-Bus data points are listed by the Start Address column in ascending order.
You can sort the data points by clicking a property header. You can view and configure the
following properties for each data point on the M-Bus device:
Icon/Status Displays the icon used to represent the M-Bus data point in the
SmartServer tree and in the application frame. If the data point is offline,
this box is highlighted red.
Handle Displays the handle assigned to the M-Bus data point by the SmartServer.
This field is read-only, and is only displayed in Driver mode; it is not
displayed in General mode.
Device Displays the name of the M-Bus data point’s parent device.
Functional Block Displays the name of the M-Bus data point’s parent functional block.
Dp Displays the name of the M-Bus data point. In Driver mode, you can
change the name. In General mode, this field is read-only.
Format Description Displays the data type (SNVT, UNVT, or built-in type) of the data point in
the following format: #<program ID>[scope selector].<type name>. You
can click the button to the right to change the data type to any of the
SNVT, UNVT, or built-in data types defined in the resource files in the
You can log the data points on the i.LON System (Internal) device, trigger alarms based on their
values, and so on. For example, you could add the FreeRAM data point to a data logger and record its
value once daily, or you could add this data point to alarm generator and trigger an alarm when it
reaches a certain constant value. In addition, you can create a data point with a constant value on this
channel and use this data point on other channels.
You can use the Overview – Data Points Web page to view or configure the names and poll rates of
the Virtual data points on the SmartServer’s internal systems device (i.LON System). To view the
Virtual data points with this Web page, follow these steps:
1. To rename or set the poll rates for the Virtual data points, click the Driver option at the top of the
navigation pane on the left side of the SmartServer Web interface.
2. Right-click the iLON System (Internal) device or the VirtFb functional block below it in the
SmartServer tree, point to Overview, and then select Data Points.
8. If you are discovering an engineered system, the Neuron IDs of the discovered devices appear in
the Replacement ID property, and the under construction triangle appears to the right of the
device icon. If you are discovering an ad-hoc system, the Neuron IDs of the discovered devices
9. Optionally, you can wink or test discovered devices. To do this, right-click anywhere in the
device’s row and then click Wink or Query Status on the shortcut menu.
You can wink a device to identify it on the network and verify that it is communicating
properly. A device that supports the Wink command generates an application-dependent
audio or visual feedback such as a beep or a flashing service LED when winked. Wink
commands are typically used when installing or diagnosing multiple devices in a system,
where a network tool may be needed to confirm the identity of a given device.
You can test a device to open the Query Status dialog and view network statistics such as the
number of message transmission and receipt errors, transaction timeouts, and the number of
missed or lost messages that indicate whether the device is operating and is configured
correctly, and to view the current device configuration and application state. For more
information on the Query Status dialog, see Querying Devices later in this chapter.
10. Optionally, you can remove devices that you do not want to be assigned Neuron IDs or you do
want to be created. To do this, right-click anywhere in the device’s row and then click Delete on
the shortcut menu.
4. Enter the Neuron ID in the Neuron ID box using the service pin, manual entry, or scanning
method.
To use the service pin method, click Use Service Pin in the Neuron ID box and then proceed
to step 5.
To use the manual entry method, enter the 12-digit hex string on the device in the Neuron ID
box and then proceed to step 9.
6. Optionally, you can select Show Messages with Identical Program ID Only to limit service pin
messages to those devices that have the same program ID.
7. Press the service pin of the device. The Neuron ID and program ID of the device being installed
are both entered into the Incoming Service Pin Messages box, and they are input into the Neuron
ID or LUID and Program ID boxes, respectively. You can manually enter the device’s Neuron
ID in the Neuron ID or LUID box.
Note: If you are acquiring the Neuron ID of the SmartServer [the i.LON App (Internal) device],
the SmartServer’s IP-852 router [the Router (Internal) device], or the SmartServer’s network
interface [the i.LON NI (Internal) device] in the OpenLNS tree and Show Messages with
Identical Program ID Only is cleared, you will receive service pin messages from all three of
these internal SmartServer devices. You can ignore the extra service pin messages because the
Selecting Devices
After acquiring the Neuron IDs of the devices to be installed, you select those devices on the tree. To
do this, follow these steps:
1. Click Driver.
2. Select one or more devices from the tree to be installed.
To select one device, click that device.
To select multiple devices, click one device and then either hold down CTRL and click all
other devices to be installed or hold down SHIFT and select another device to install the
entire range of devices.
3. The Setup - LON Device Driver Web page opens. Proceed to the next section, Installing Devices
using Smart Network Management, to install the devices.
You can also enable smart network management on individual device properties by selecting the check
box located to the left of the property under the Smart Network Management column and clicking
Submit. If you are installing pre-loaded devices, select the Smart Network Management check
boxes for the following properties: Commission Status, State, Template, Write Configuration
Property Defaults, and Reset. Verify that all other check boxes are cleared. This ensures that the
SmartServer does not update the application image currently on the devices.
Once smart network management is enabled for a device property, the SmartServer attempts to
perform the corresponding network management command. The current statuses of the network
management commands appear in the Progress column.
Installing Devices
After enabling smart network management for all the applicable device properties, click Submit. The
SmartServer then does the following for each device you are installing:
1. Fetches the program ID of the device (if the Smart Network Management check box is selected
for the Program ID property).
2. Downloads the application image file to the device (if the Smart Network Management check
box is selected for the Application Image property). The SmartServer downloads the application
image file in the /LonWorks/import folder that has a program ID matching that of the device
application.
Clear Table Clears all entries in the LON Command Queue table. The table will
automatically re-list pending commands (STATUS_REQUEST) and update
their statuses after the commands successfully complete or fail.
Configure Device Opens the Setup – LON Device Driver Web page for the selected device.
Cancel Command Cancels the selected command and deletes it from the table. You can select
multiple commands by clicking one, holding down CTRL, and clicking the
Installing Routers
To commission a router in a LONWORKS network, follow these steps:
1. Click Driver.
2. Click the router shape in the SmartServer tree or OpenLNS tree representing the near side of the
router (the side closest to the OpenLNS network interface)
3. The Setup – LON Router Driver Web page opens.
4. Acquire the Neuron ID of the near side of the router, or manually enter the Neuron ID in the
Neuron ID box. You can acquire the Neuron ID automatically using device discovery or
manually by pressing the service pin on the router.
To automatically acquire the Neuron ID of the near side of the router, verify that the router is
uncommissioned, select the Neuron ID check box, and then click Submit. The SmartServer
automatically acquires the Neuron ID using device discovery, and the Neuron ID appears in
the Neuron ID box.
To manually acquire the Neuron ID of the near side of the router, follow these steps:
a. In the Neuron ID property on the Setup – LON Router Driver Web page, select Use
Service Pin.
b. The LON Device Identification dialog opens.
c. Expand the LonMark Image (APB) entry to show the /lonworks/import folder. Expand the
lonworks/import folder to show the application image files in it.
c. Expand either the LonMark (XIF) or Template folder depending on whether you are using a
XIF or XML file for the device interface. If the device being loaded is located in the
OpenLNS tree, the Template folder is not available.
d. Expand the subfolders containing the XIF file to be loaded onto the SmartServer and then
click the XIF file.
Replacing Devices
You can use the SmartServer to automatically or manually replace a device if the device fails or a
newer version of the device becomes available. Before you replace a device, verify that the
replacement device has the same program ID as the original device.
If the original device still functions and if physically possible, leave the old device connected to the
network until the device replacement has been completed. This allows the SmartServer to
decommission the old device so that you can easily reuse it in a new network. This step is not required
if the device has failed.
The following sections describe how to automatically and manually replace a device.
6. In the Replacement ID box of the replacement device, select the name of the original device to be
replaced.
7. The Replacement ID of the replacement device is updated with the name of the original device,
and the Replacement ID of the original device becomes unavailable.
10. The replacement device is automatically downloaded, commissioned, set online, updated with the
configuration and driver properties of the data points and configuration properties of the original
device, and then reset, which starts the device application. You can use the Lon Command
Queue Web page to check the status of the network management commands sent to the
replacement device. To do this, right-click the SmartServer entry, point to Setup, and then click
LON Command Queue on the shortcut menu. Alternatively, you can open the Setup menu and
then click LON Command Queue.
11. You can delete the original device from the SmartServer. To do this, right-click the original
device (dio-10v3 in this example), and click Delete on the shortcut menu.
Decommissioning Devices
You can use the SmartServer to decommission a device if you are no longer using it or you are moving
it to a new network. In addition, you can temporarily decommission a device to optimize,
troubleshoot, or repair your network. Decommissioning logically removes the device from the
network. When you decommission a device, its Neuron ID is preserved so you can subsequently
recommission the device without having to re-acquire its Neuron ID. In addition, the configuration
properties of the device are preserved in the SmartServer’s internal database (the /config/network
folder on the SmartServer flash disk) or the OpenLNS network database. You can then later
recommission the same or different devices without having to load configuration property files to the
device.
To decommission a device, follow these steps:
1. Click Driver.
2. Select one or more devices from the tree to be decommissioned. To select one device, click that
device. To select multiple devices and perform a batch upgrade, click one device and then either
Alternatively, you can change the Commission Status property to Uncommissioned in the
Setup - LON Device Driver Web page, which appears when you select devices in step 2.
4. The SmartServer places the device in the soft-offline state (the device has an application loaded on
it and the device is configured, but the device application is offline) and then unconfigures the
devices. The offline device is highlighted red if it is located in the SmartServer tree; offline
devices in the OpenLNS tree are not marked red.
5. To recommission an unconfigured device and place it back online, select one or more devices to
recommission, right-click a selected device, point to Manage, and then click Commission on the
shortcut menu. You then select the devices again, right-click a selected device, point to Manage,
and then click Set Online on the shortcut menu.
Alternatively, you can select the Smart Network Management check boxes for the Commission
Status and Application Status properties in the Setup - LON Device Driver Web page, and then
click Submit. You can also change the Commission Status property to Commissioned and
change the Application Status property to Application Running (Online), and then click
Submit.
Note: Changing the domain ID of the SmartServer causes all the devices on the network to be
recommissioned automatically and reconfigured to the new domain ID.
Alternatively, you can change the Application Status property to Application Stopped (Offline)
in the Setup - LON Device Driver Web page, which appears when you select devices in step 2.
4. The SmartServer places the device in the soft offline state (the device has an application loaded on
it and the device is configured, but the device application is offline). The offline device is
highlighted red if is located in the SmartServer tree; offline devices in the OpenLNS tree are not
marked red.
Querying Devices
You can query a device to evaluate its performance and diagnose any problems. You can query
devices under normal and peak conditions to see the affect of network load. To query a device, follow
these steps:
1. Right-click the device, point to Manage, and then click Query Status.
3. This dialog lists the following network statistics. Non-zero values indicate that the device was
unable to receive and/or respond to a message. Small values are expected; rapidly increasing
values may indicate a problem. If the device is consistently reporting failures and new errors are
being logged, the device may have a configuration problem or the network may be overloaded.
Winking Devices
Winking a device enables you to identify the device on the network and verify that it is communicating
properly. A device that supports the Wink command generates an application-dependent audio or
visual feedback such as a beep or a flashing service LED when winked. To wink a device, follow
these steps:
1. Select one or more devices to wink. To select one device, click that device. To select multiple
devices, click one device and then either hold down CTRL and click all other devices to be winked
or hold down SHIFT and select another device to wink the entire range of devices.
2. Right-click one of the selected devices, point to Manage, and then click Wink.
Alarming
330 Alarming
from passive to active or active to passive. You can connect these SNVT_alarm and SNVT_alarm_2
output data points to an Alarm Notifier or to another LONWORKS alarming device.
You can create up to 40 Alarm Generators per SmartServer if you are using the default SmartServer
v12 static interface. You can add more than 40 Alarm Generators if you activate the v40 dynamic
interface, which features a dynamic device interface, on your SmartServer. See Activating the
SmartServer V40 XIF in Chapter 3, Configuring and Managing the SmartServer, for more information
on loading the V40 interface on the SmartServer.
To create an alarm generator, do the following:
1. Open an Alarm Generator application.
2. Select an input data point.
3. Select or set a compare data point.
4. Select and configure a comparison function (binary or analog).
5. Optionally select SNVT_alarm and/or SNVT_alarm_2 output data points.
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, you can select the Alarm Generator functional block from either
the Static or the Dynamic folder. To select the Alarm Generator functional block from the
Dynamic folder, expand the Dynamic entry, expand the /lonworks/types folder, expand the
bas_controller folder, select the user-defined functional profile template (UFPT) for the
alarm generator, enter a name for the functional block such as “Alarm Generator 1”, and then
click OK.
332 Alarming
6. A functional block representing the Alarm Generator application and all of its static data points are
added to the bottom of the i.LON App (Internal) device tree, and the Alarm Generator:
Configure Web opens in the application frame to the right. The construction symbol overlaid
onto the Alarm Generator application icon in the upper-left hand corner of the Web page indicates
that the application has not been configured yet.
7. Click Submit.
4. Click Submit.
334 Alarming
Selecting a Data Point
To select a data point to be used as the compare point, follow these steps:
1. Click the data point icon ( ) below Compare.
2. Select the data point to be used by the Alarm Generator as the compare point from the
SmartServer tree. The compare data point must be of the same scalar or structured network
variable type as the input point. For example, if the input point is a SNVT_temp type, the
compare data point must also be a SNVT_temp type. To use a data point of an external device
that is being managed with OpenLNS CT, OpenLNS tree, or another OpenLNS application, you
must first copy the data point from the OpenLNS tree to the SmartServer tree (see Adding Data
Points to SmartServer Applications in Chapter 4, Using the Web Interface, for more information
on adding data points to a SmartServer application).
3. The Compare icon displays the programmatic name of the data point, and the network variable
type and location of the selected input point are listed below the Compare Point icon.
4. Click Submit. A reference to the selected compare point is added to the Alarm Generator
functional block tree.
336 Alarming
2. Select one of the following binary comparison functions: equals (==), is not equal to (=/=), greater
than (>), greater than or equal to (>=), less than (<), and less than or equal to (<=). When the
selected comparison function is evaluated to be true, the Alarm Generator triggers an alarm and
updates the status of the input point to AL_ALM_CONDITION. For example, if you select the
equals comparison function (==), the Alarm Generator triggers an alarm when it determines that
the value of the input point is equal to the value of the compare point.
3. Configure the following alarm properties:
Warning/Alarm Set Enter the period of time (in seconds) that the alarm condition must exist to
Delay generate an alarm.
Warning/Alarm Enter the period of time (in seconds) that the normal condition must exist to
Clear Delay clear an alarm.
Poll Rate Enter how frequently (in seconds) the Alarm Generator polls the
SmartServer’s internal data server for the values of the selected input point
and the compare point (if a data point). You must enter a non-zero value;
otherwise polling is disabled.
Poll Delay After Enter the period of time (in seconds) that the Alarm Generator waits after it
Power On has been reset before polling the input point and the compare point (if a data
point).
Alarm Inhibit Time Enter the period of time (in seconds) that the Alarm Generator waits after it
After Power On has been reset before triggering alarms.
2. Enable and set offset limits used to trigger the following alarms:
3. Set hysteresis levels to be associated with the offset limits defined in step 2. When a hysteresis
level is set for an offset limit, the input value must return to the hysteresis level before the alarm
clears and another alarm can be generated based on that limit. This means that the Alarm
Generator will not trigger additional alarms in between the time that the input point reaches an
alarm condition and returns to a normal condition.
338 Alarming
If the alarm, warning, and hysteresis values you enter do not meet the listed requirements, the
incorrect fields are highlighted red and the following error dialog opens:
Click Close and then correct the highlighted fields so they meet the listed criteria.
The following table demonstrates the alarms triggered and the state of an input point as its value
goes above the high warning and alarm limits and then returns to the hysteresis level for the high
warning limit.
Alarm
Triggered
Data Point Value Alarm Condition ? Alarm State
Value of input point is AL_NO_CONDITION No Normal condition.
normal.
Value of input point goes AL_HIGH_LMT_ALM1 Yes Updated to the high
above the Warning High warning condition.
Limit.
5. Click Submit.
340 Alarming
3. Select a SNVT_alarm or SNVT_alarm_2 data point from the SmartServer tree (based on
whichever icon has its text highlighted blue) to be updated to an alarm condition when an alarm
occurs. If you want to use a data point of an external device that is being managed with OpenLNS
CT, OpenLNS tree, or another OpenLNS application, you must first copy the data point from the
OpenLNS tree to the SmartServer tree (see Adding Data Points to SmartServer Applications in
Chapter 4, Using the Web Interface, for more information on adding data points to a SmartServer
application).
NOTE: If you add an Alarm Generator functional block with OpenLNS CT, a SNVT_alarm
output data point is automatically created for use with the Alarm Generator. See the OpenLNS
Commissioning Tool User’s Guide for more information on adding functional blocks.
4. You can set the priority level of the alarm in the Priority box. Select a value from 0 to 11, with 0
being the highest priority and 11 being the lowest. This value will be sent in the priority field of
the SNVT_alarm and/or SNVT_alarm_2 output data point when an alarm is generated.
5. Click Submit.
6. References to the selected SNVT_alarm and SNVT_alarm_2 output data points are added to the
bottom of the Alarm Generator functional block tree.
342 Alarming
4. The Add Functional Block dialog opens.
5. Select the Alarm Notifier functional block from the Static or Dynamic LonMark folder. The
folder available in the dialog depends on whether the SmartServer is using the static v12 interface
file or the dynamic v40 interface.
If the SmartServer is using the static v12 interface (the default), expand the Static icon, select
the Alarm Notifier functiona1 block, optionally enter a different name than the default
programmatic functional block name, and then click OK.
344 Alarming
6. A functional block representing the Alarm Notifier application and all of its static data points are
added to the bottom of the i.LON App (Internal) device tree, and the Alarm Notifier: Configure
Web page opens in the application frame to the right. The construction symbol overlaid onto the
Alarm Notifier application icon in the upper-left hand corner of the Web page indicates that the
application has not been configured yet.
7. Click Submit.
To open the Alarm Notifier application from an existing Alarm Notifier functional block, follow these
steps:
1. Click General if the SmartServer is not already operating in General mode. If the SmartServer is
in Driver mode when you click the functional block, the Setup - LON Functional Block Driver
Web page opens instead of the Alarm Notifier application.
2. Click the Alarm Notifier functional block representing the Alarm Notifier to be opened. The
Alarm Notifier: Configure Web page opens in the application frame to the right.
1. Click one of the Input icons ( ), or click anywhere in the Log box ( ). The
Alarm Notifier: Data Points Web page opens.
2. Select the data points to be monitored by the Alarm Notifier from the SmartServer tree. The
Alarm Notifier will check the status of the selected input points when they are updated, and send
an alarm notification if their statuses have been changed to an alarm condition. References to the
selected input points ( ) are added to the bottom of the Alarm Notifier functional block tree, and
references to the Alarm Notifier functional block are added directly below the selected data points
( ).
If you want to monitor a data point of an external device that is being managed with OpenLNS
CT, OpenLNS tree, or another OpenLNS application, you must first copy the data point from the
OpenLNS tree to the SmartServer tree (see Adding Data Points to SmartServer Applications in
Chapter 4 for more information).
4. Select the Show Advanced check box to configure the following advanced properties:
Disabled Disables alarm notifications for the input point. No alarm notifications will
be sent for the input point. This check box is cleared by default.
Clear Required Requires the input point to be manually cleared to end the alarm condition.
You can clear alarms in the Alarm Notifier: Summary Web page, as
described later in this chapter. This may be useful for keeping an alarm
active, even when the alarm condition has returned to normal. This option is
cleared by default.
Acknowledgement Requires the input point to be manually acknowledged to end the alarm
Required condition. You can acknowledge alarms in the Alarm Notifier: Summary
Web page, as described later in this chapter. This may be useful for keeping
an alarm active, even when the alarm condition has returned to normal. This
option is selected by default.
Store Only Most Stores in the Alarm Summary log only the most recent alarm received on the
Recent input point. All alarms are stored in the Alarm History log, regardless of
whether this check box is selected. This option is selected by default.
346 Alarming
Alarm Summary Writes the alarms received on the input point to the Alarm Summary log file
and lists the alarms in the Alarm Notifier: Summary Web page. This
option is selected by default.
Alarm History Writes the alarms received on the input point to the Alarm History log file
and lists the alarms in the Alarm Notifier: History Web page. This option
is selected by default.
5. Click Submit.
1. Click anywhere in the Alarm box ( ). The Alarm Notifier: Alarm Conditions Web page
opens.
The left pane lists all of the alarm conditions that an input point can receive. The right pane
contains separate lists for the alarm conditions defined as active (top) and passive (bottom). You
can click a column heading to sort a list by that heading.
An active alarm indicates a data point that is in an alarm condition. An active alarm is
represented by a red alarm bell. By default, the following five alarms are registered as active
alarm conditions: AL OFFINE, AL_HIGH_LMT_ALM_1, AL_LOW_LMT_ALM_1,
AL_HIGH_LMT_ALM_2, AL_LOW_LMT_ALM_2, and AL_ ALM_CONDITION.
A passive alarm indicates a data point that is in its normal condition or has returned to its
normal condition after being in an alarm condition. A passive alarm is represented by a green
alarm bell. By default, there is one alarm condition registered as a passive alarm condition:
AL_ NO_CONDITION.
The following table lists and describes the alarm conditions that you can set as active and
passive. These alarm conditions are defined in the SNVT_AL.H header file in the
LonWorks\NeuronC\Include folder on your computer.
2. Move alarm conditions in and out of each list with the and buttons. You can move one or
more alarm conditions at a time. To move one alarm condition, click that alarm condition and
then click the desired direction. To move multiple alarm conditions at one time, click one alarm
348 Alarming
condition and then either hold down CTRL and click all the other alarm conditions to be moved or
hold down SHIFT and select another alarm condition to move the entire range of alarm conditions.
3. Optionally, you can click the Description property header to enter a description that will be stored
in the Alarm Summary and Alarm History logs when the alarm condition occurs.
4. Optionally, you can click the Level property header to set the priority to be assigned to the alarm
condition. You can later configure the Alarm Notifier in the Configure - Alarm Notifier -
Destinations Web page to respond to different alarm conditions based on the priority level they
have been assigned.
5. Click Submit.
6. In the Delay box ( ), you can enter the minimum period of time (between 0 to 65,536
seconds) that an alarm condition must exist for the alarm to be considered to be active. Setting a
delay can be useful. Using a temperature control system with backup heating and cooling systems
for example, you could set a 5-minute delay so that the backup systems could attempt to resolve
an alarm condition before the alarm is considered active and the Alarm Notifier sends an e-mail
notification.
7. Click Submit.
1. In the Aggregation Time (e-mail) box ( ), you can enter the period of time
(between 0 to 65,536 ms) that the Alarm Notifier waits between generating and sending an e-mail
notification in order to merge multiple e-mail notifications to the same address into a single e-mail
message. Setting an e-mail aggregation period can reduce e-mail traffic. For example, if you have
a number of alarms in a system that trigger when the temperature reaches a certain point, setting
an e-mail aggregation time of a minute (60,000 ms) causes a single e-mail message to be sent in
the case of a system-wide temperature fluctuation, rather than multiple e-mail messages. The
e-mail aggregation period resets each time a new alarm occurs.
2. Click Submit.
3. Click any of the e-mail or data point icons above the Aggregation Time (e-mail) box. The
Alarm Notifier: Destination Web page opens.
Each row in the table represents an e-mail message and data point update (collectively referred to
as a destination) to be sent by the Alarm Notifier when an alarm notification event occurs. Each
destination is divided into two rows: the top row, which is marked with a red alarm bell, is for
active alarms; the bottom row, which is marked with a green alarm bell, is for passive alarms.
This setup enables active and passive alarms to be addressed separately.
b. Enter the e-mail profile Name, E-mail address, Subject, and the Message. You can select a
user profile from Name list to use the same e-mail for multiple alarm destinations. The Name
list includes all the e-mail profiles that have previously been added to the Alarm Notifier.
You can click Duplicate to copy an existing profile and then add or remove e-mail addresses
from the E-mail address property. Click Add to create a new e-mail profile; click Delete to
remove the selected e-mail profile.
c. Click Add to open the Select Attachment dialog in which you select an alarm log, data log,
event log or other user-defined file to be inserted in the e-mail. After selecting a file, click
OK.
350 Alarming
d. You can optionally select a Variable Substitution to be placed in the subject or body of the
e-mail message and then click Insert. The variable substitution provides specific data
pertaining to the alarm notification event such as the value of the data point that triggered the
alarm. The on-line help includes a detailed list and descriptions of the variable substitutions
you can use.
e. Click OK to return to the Alarm Notifier: Destination Web page.
5. For each destination, configure the data point update to be sent when active and passive alarm
conditions occur. To do this, follow these steps:
a. Click the Output column and then click a data point in the SmartServer tree to be updated
when the destination is used. To update a data point of an external device that is being
managed with OpenLNS CT, OpenLNS tree, or another OpenLNS application, you must first
copy the data point from the OpenLNS tree to the SmartServer tree (see Adding Data Points
to SmartServer Applications in Chapter 4, Using the Web Interface, for more information on
adding data points to a SmartServer application).
b. Click the Value column and then enter the value to which the selected data point is updated or
select a preset (if one or more are defined for the data point). When an alarm condition is
received, the data point is set to the active alarm value. When the alarm is cleared, the data
point is set to the passive value. The selected data point will be updated when the e-mail for
the destination has been sent (or as soon as the alarm occurs if no e-mail profile has been
specified). To update a data point without having to wait for the e-mail notification to be sent,
enter the e-mail message and data point update in separate destinations.
6. Select the Show Advanced check box to configure the following advanced properties:
Enable Select a SNVT_switch data point from the SmartServer tree to be used to
enable and disable the destination. After you select a data point, the
destination is used when the data point is set to the ON value, and it is not
used when the data point is set to the OFF value.
7. Click Submit.
You can click the alarm summary and alarm summary icons to open the Alarm Notifier: Summary
and Alarm Notifier: History Web pages, respectively. For more information on how to use these
Web pages to acknowledge and clear the alarms reported by the Alarm Notifier, see the next section,
Automatically Transferring Alarm Logs.
You can have the SmartServer automatically transfer alarm log files (binary or CSV format) to a
remote server and extract the selected data to a .csv or XML file. For more information on how to do
this, see Automatically Transferring Data Logs in Chapter 8.
352 Alarming
Automatically Transferring Alarm Logs
You can have the SmartServer automatically transfer alarm log files (binary or CSV format) to a
remote server and extract the selected data to a CSV or XML file. For more information on how to do
this, see Automatically Transferring Data Logs in Chapter 8.
3. You can change whether this Web page lists the events recorded by one or more Alarm Notifiers
on the SmartServer.
To view the alarms recorded by one specific Alarm Notifier, click that Alarm Notifier in the
SmartServer tree (if you opened the Alarm Notifier: Summary Web from the main
SmartServer Web page, you initially need to click the Alarm Notifier to be viewed twice).
5. Use the slide bar at the top to display the alarms reported during a specific time interval. You can
specify the length of the interval using the drop-down list directly below the slider. By default, the
Entire Range of when alarms were first and lastly reported is displayed.
6. Select Acknowledgement to have the Alarm Notifier stop reporting the alarm condition for a
data point that has triggered an alarm. A check box will be available if Acknowledgement
Required in the Alarm Notifier: Data Points Web page for the data point is selected.
7. Select CLR to clear the alarm from a data point. A check box will be available if Clear Required
in the Alarm Notifier: Data Points Web page for the data point is selected.
8. Optionally, you can enter a comment, such as a description of how the alarm was resolved or
further maintenance work required, in the Comment box. The comment will be added to the
alarm summary log file.
Tip: If you need to print this page, use the landscape format.
354 Alarming
Click View and then click Alarm History. By default, the Alarm Notifier: History Web
page will list the active and cleared alarms recorded by all the Alarm Notifiers on the
SmartServer.
Click General and then click an Alarm Notifier functional block to open the Alarm Notifier:
Configure Web page. Click the alarm history icon on the bottom, right side of the Web page.
By default, the Alarm Notifier: History Web page will list only the active and cleared alarms
recorded by the selected Alarm Notifier.
3. You can change whether this Web page lists the active and cleared alarms recorded by one or
more Alarm Notifiers on the SmartServer.
To view the active and cleared alarms recorded by one specific Alarm Notifier, click that
Alarm Notifier in the SmartServer tree (if you opened the Alarm Notifier: History Web from
the main SmartServer Web page, you initially need to click the Alarm Notifier to be viewed
twice).
To view the active and cleared alarms recorded by multiple Alarm Notifiers on the
SmartServer, hold down CTRL and click the Alarm Notifiers to be viewed in the SmartServer
tree, or hold down SHIFT and click an Alarm Notifier to view all the Alarm Notifiers within
the selected range.
4. By default, the data points are listed by the Alarm Time property in descending order. You can
sort the alarms by clicking a property header. You can click Clear Log Interval to delete the
alarms currently displayed; you can click Clear Entire Log to delete all the alarms in the log.
The Alarm Notifier: History Web page displays the following properties for each alarm:
Acknowledged Indicates whether the alarm has been acknowledged. A check box will be
available if Acknowledgement Required in the Alarm Notifier: Data
Points Web page for the data point is selected.
Cleared Indicates whether the alarm has been cleared. A check box will be available
if Clear Required in the Alarm Notifier: Data Points Web page for the
data point is selected.
Alarm Time Displays the date and time of when the alarm occurred.
Log Time Displays the date and time of when the alarm was recorded by the Alarm
Notifier.
Name Displays the name of the data point that triggered the alarm using the
following format: <network>/<channel>/<device>/<functional block>/<data
5. Use the slide bar at the top to display the alarms reported during a specific time interval. You can
specify the length of the interval using the drop-down list directly below the slider. By default, the
Entire Range of when alarms were first and lastly reported is displayed.
6. Optionally, you can enter a comment, such as a description of how the alarm was resolved or
further maintenance work required, in the Comment box. The comment will be added to the
Alarm History log file. By default, the alarm description is displayed in this box.
Tip: If you need to print this page, use the landscape format.
356 Alarming
7
Scheduling
358 Scheduling
6. Create the exception schedules by setting the range of dates for which the exception schedules are
used by creating one-time exceptions, exceptions, and recurring exceptions, and creating events.
You can also create exception schedules in the Event Calendar and apply them to all the Event
Schedulers on the SmartServer.
360 Scheduling
Create or open an Event Scheduler application following the steps described in Creating
Event Schedulers later in this chapter, and then click the Real-Time Clock / Astronomic
Position Sensor icon in the Scheduler: Configure Web page.
3. The Real Time Clock: Configure Web page opens.
4. Configure the following properties for the real-time clock and astronomical position sensor on the
SmartServer :
Name Displays the network path of the real-time clock functional block in the
following format: <network>/<channel>/<device>/<functional block>.
This field is read-only.
Description Enter an optional description of the real-time clock. This description has
no effect on network operation, but you can use it to provide additional
documentation for as-built reports.
Time Property
Default Time Displays the IP address of the designated default SNTP time server used
Server by the real-time clock. You can click the IP address to access the Setup –
TimeService Web page of the SNTP time server. From this Web page,
you can change the properties of the SNTP time server, including clearing
its default designation.
See Adding a Time (SNTP) Server to the LAN in Chapter 3 for how to
configure the properties of an SNTP time server.
Backup Time Displays the IP address of the backup SNTP time server used by the
Server real-time clock. You can click the IP address to access the Setup –
TimeService Web page of the SNTP time server. From this Web page,
you can change the properties of the SNTP time server, including
selecting it as the default time server.
See Adding a Time (SNTP) Server to the LAN in Chapter 3 for how to
configure the properties of an SNTP time server.
Last Time Sync Displays the last time in which the SmartServer synchronized its clock
with the default SNTP time server. The amount of time varies between 1
to 15 minutes, depending on the difference in time between the
SmartServer’s clock and the SNTP time server. As the difference
approaches 75 ms or less, the interval will keep increasing until it reaches
Latitude Enter the north-south location of the SmartServer relative to the equator.
Select the first radio button to enter the latitude in sexagesimal notation
(degrees, minutes, and seconds); select the second radio button to enter the
latitude as a decimal fraction.
If the SmartServer is located south of the equator, enter a negative value
between 0 and –90. If it is located north of the equator, enter a positive
value between 0 and 90.
Longitude Enter the east-west location of the SmartServer relative to the Prime
Meridian. Select the first radio button to enter the longitude in
sexagesimal notation (degrees, minutes, and seconds); select the second
radio button to enter the longitude as a decimal fraction.
If the SmartServer is located west of the Prime Meridian, enter a negative
value between 0 and –180. If it is located is located east of the Prime
Meridian, enter a positive value between 0 and 180.
Elevation Displays the altitude of the sun calculated by the SmartServer. The
elevation is the angle between the sun and the horizon of the SmartServer.
The displayed elevation is based on the time and SmartServer position
stored in the real-time clock and astronomical position sensor,
respectively. This field is read-only.
Click Refresh to obtain the current elevation of the sun. This is useful if
you change the time or location of the SmartServer.
Azimuth Displays the azimuth of the sun calculated by the SmartServer. The
azimuth is the angle of the sun around the horizon (measured from the
north point towards the east). The displayed azimuth is based on the time
and SmartServer position stored in the real-time clock and astronomical
position sensor, respectively. This field is read-only.
Click Refresh to obtain the current azimuth of the sun. This is useful if
you change the time or location of the SmartServer.
5. Click Submit. The elevation and azimuth are stored in the nvoElevation and nvoAzimuth
SNVT_angle_degdata points. Based on these data points, the SmartServer calculates the sunrise
and sundown and stores the results in nvoSunRise and nvoSunSet SNVT_time_stamp data points.
You can then schedule events to start or end at the sunrise and sundown or a configured time
before or after. This is useful for a variety of applications such as street lighting, outdoor lighting,
sun blind, and sun shade controls.
6. You can also view the calculated sunrise and sundown times. To do this, expand the Real-Time
Clock functional block, right-click the nvoSunrise or nvoSunset data point, and then click Show
Value on the shortcut menu.
362 Scheduling
7. A dialog opens and displays the current sunrise or sundown time stored in the data point in the
following format: YYYY-MM-DD hh:mm:ss.
5. Select the Scheduler functional block from the Static or Dynamic LonMark folder. The folder
available in the dialog depends on whether the SmartServer is using the static v12 interface or the
dynamic v40 interface.
If the SmartServer is using the static v12 interface (the default), expand the Static icon, select
the Scheduler functiona1 block, optionally enter a different name than the default
programmatic functional block name, and then click OK.
364 Scheduling
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, you can select the Scheduler functional block from either the
Static or the Dynamic folder. To select the Scheduler functional block from the Dynamic
folder, expand the Dynamic icon, expand the /lonworks/types folder, expand the
bas_controller folder, select the user-defined functional profile for the Scheduler, enter a
name for the functional block such as “Scheduler 1”, and then click OK.
366 Scheduling
7. Optionally, under Event Calendar Effective Period and Event Scheduler Effective Period, you
can configure the period of time for which the Event Calendar and Event Scheduler are active,
respectively. By default, both are active for a 37-year period starting on January 1, 2000 and
ending December 31, 2037. To configure a different effective period, specify the Start Date and
Stop Date. If you clear the check box, the default 37-year effective period is used.
8. By default, the Suppress Event Recovery check box is cleared. This means that the Scheduler
executes the next scheduled event when the SmartServer has been rebooted, the system time has
been changed, or a data point’s priority has been reset at the end of a one-time exception. This
enables the SmartServer to maintain the current value stored in the data point if the data point has
been overridden by another application.
You can select the Suppress Event Recovery check box so that when the SmartServer has been
rebooted, the system time has been changed, or a data point’s priority has been reset at the end of a
one-time exception, the Scheduler will attempt to restore the values and priorities of the selected
input points by searching for the most recent past event and executing it. Ultimately, the
Scheduler exclusively determines the value of each selected input point (as long as it has the
highest priority assigned to the data point).
9. Click Submit.
To open the Scheduler application from an existing Scheduler functional block, follow these steps:
1. Click General if the SmartServer is not already operating in General mode. If the SmartServer is
in Driver mode when you click the functional block, the Setup - LON Functional Block Driver
Web page opens instead of the Scheduler application.
2. Click the Scheduler functional block representing the Scheduler to be opened. The Scheduler:
Configure Web page opens in the application frame to the right.
2. The Scheduler: Data Points Web page opens. Click the data points to be updated by the Event
Scheduler from the SmartServer tree. The selected data points are added to the Web page; any
presets defined for the selected data points are displayed to the right. In addition, references to the
selected data points ( ) are added to the bottom of the Scheduler functional block tree, and
references to the Scheduler functional block are added directly below the selected data points
( ).
To update a data point of an external device that is being managed with OpenLNS CT, OpenLNS
tree, or another OpenLNS application, you must first copy the data point from the OpenLNS tree
368 Scheduling
To create a new preset, click the Add radio button at the top, enter the name of the new
preset in the field, and then click the Add button on the right side next to the field in
which you entered the name of the preset. The new preset appears without a value in the
Scheduler: Data Points Web page.
To delete an existing preset, click the Delete radio button at the top, select the preset from
the list of presets, and then click the Delete button on the right side next to the list of
presets. The preset is removed from the Scheduler: Data Points Web page.
c. Click Close.
5. Optionally, you can edit the values of existing presets. To do this, follow these steps:
a. Click the preset to be edited. The Edit Presets dialog opens.
b. Enter the value (or values if you are editing the preset of a structured data point) for the
preset.
c. Click OK.
6. Click Submit.
7. Click Back to return to the Scheduler: Configure Web page.
Defining Schedules
By default, the Event Scheduler has two daily schedules: Weekday (Monday–Friday) and Weekend
(Saturday–Sunday). You can create separate schedules for individual days and modify for which days
the schedules are applicable. To define the scope of the schedules, follow these steps:
1. Click the Daily Schedules icon in the Scheduler: Configure Web page.
2. The Scheduler: Daily Schedules Web page opens. By default, Monday, Tuesday, Wednesday,
Thursday, and Friday are selected, which means that all five weekdays use the same weekday
schedule. The check boxes for Saturday and Sunday are cleared, which means that both
weekend days use the same weekend schedule by default.
3. Optionally, you can create separate schedules for individual days. You can do this in two ways:
In the current Scheduler: Daily Schedules Web page, click the check box for the day that is
to use a separate schedule. The check boxes for all the other days are cleared, which means
that the selected day now uses its own daily schedule. For example, you can click the
Monday check box to create a separate schedule for Monday. When you click the Monday
check box, it is selected and the check boxes for Tuesday–Friday are cleared. To create a
separate daily schedule for Saturday or Sunday, you click the check box for the weekend day
twice. The first click adds the weekend day to the Monday–Friday daily schedule, and the
second click then creates a separate daily schedule for that day.
Right-click anywhere in the daily schedules and click Edit Daily Schedules on the shortcut
menu. The Edit Daily Schedules dialog opens.
370 Scheduling
This dialog functions similarly to the Scheduler: Daily Schedules Web page, except that it
also lets you view the current daily schedules as you group days into different schedules. It
lists two schedules: Weekday and Weekend. The Monday–Friday check boxes are selected
in the daily schedule, and the Saturday–Sunday check boxes are selected in the weekend
schedule. This means that the five weekdays use the same daily schedule, and the weekend
days use a separate weekend schedule.
To create a separate schedule for a day, clear its check box. A new daily schedule with that
day’s name is added to the list of daily schedules. For example, you can clear the Monday
check box to add a new schedule named Monday to the list of daily schedules and remove
Monday from the default Weekday schedule.
This is the same procedure you use to create a separate daily schedule for Saturday or Sunday.
You clear the check box for that weekend day. For example, you can clear the Sunday check
box to add a new schedule named Sunday to the list of daily schedules and remove Sunday
from the default Weekend schedule.
You can also add a day to an existing daily schedule. For example, you could select the
Friday check box in the weekend schedule. This would remove Friday from the Weekday
schedule, and add it to the Weekend schedule.
2. By default, the daily schedule in which the selected day is a member is displayed at the top of the
dialog (for example, Weekday, Weekend, or some other user-defined daily schedule). You can
select a different daily schedule from the list to add events to that daily schedule. In addition, you
can click the box to the right of the daily schedule list to open the Edit Daily Schedules dialog
and configure the scope of the daily schedules. See the previous section, Defining Schedules, for
more information on configuring the daily schedules.
3. In the Time box, enter the exact time the event is to occur if it is different than the default time,
which is on the hour of the selected time. For example, to create an event that occurs at 7:15 A.M.
instead of the default 7:00 A.M, enter 07:15. Note that you can create up to one event per minute.
4. In the Value box, do one of the following:
Select the preset to be used to update the values of all the data points added to the Scheduler
that have that preset defined for them. Alternatively, you can enter a new preset and then go
back to the Scheduler: Data Points Web page and define the value (or values) for the preset.
Enter a valid value to be written to all the data points. To enter a value, all the data points
added to the Scheduler must have the same network variable type (for example,
SNVT_switch).
372 Scheduling
5. To create additional events in the daily schedule, follow these steps:
a. Right-click anywhere in the Time or Value boxes, and then click Add in the shortcut menu.
c. Follow steps 3–4 to specify the Time and Value of the new event.
Note: To edit an event, click the event in the Scheduler: Daily Schedules Web page, change the
time or value, and then click OK. To delete an event, click the event in the Scheduler: Daily
Schedules Web page, right-click the event, click Delete on the shortcut menu, and then click OK.
8. Repeat steps 1–6 to create events for other Daily Schedules in the Scheduler.
9. Click Submit.
10. Click Back to return to the Scheduler: Configure Web page.
374 Scheduling
Copying and Deleting Schedules
After you create a daily schedule for one day, you can copy it to another day. This is ideal for creating
a new daily schedule that requires some or all of the events defined in an existing schedule. For
example, if a building shuts down early on Friday, you can create a schedule for Monday-Thursday,
copy it to Friday, and then edit a CLOSED event, for example, so that it occurs earlier.
To copy a schedule, follow these steps:
1. Right-click the day with the schedule to be copied and then click Copy Schedule on the shortcut
menu.
2. Right-click the day to which the schedule is to be copied and then click Paste Schedule on the
shortcut menu.
3. Click Submit.
To delete a daily schedule, right-click the day with the schedule to be deleted and then click Delete
Schedule on the shortcut menu. The events for the selected day and any other days using the same
daily schedule are removed.
4. By default, the name of the one-time exception is the date on which it is being created. You can
enter a different, descriptive name in the box at the top of the dialog. Additionally, you can click
the box to the right of the one-time exception name to open the Edit Exception dialog and change
the scope, dates, and recursions of the exception. See Creating Exception Dates in the Exception
Schedule later in this chapter for more information on the properties in this dialog.
5. Optionally, you can click the Show Sunrise/Sunset Functions check box to create events based
on sundown and sunrise times. In the Function box, you can select the Sunrise ( ) or Sundown
( ) icon if you are creating an event based on the calculated sundown or sunrise time. The
calculated sunrise or sundown time appears in the Time box, which becomes read-only, and an
Offset box is added to the right of the Time box. In the Offset box, you can enter the time before
or after sunrise or sundown that the event is to occur.
376 Scheduling
If you are creating an event based on a specific time of day, select the Clock icon ( ), which is
selected by default. This hides the Offset box and enables you to enter a time in the Time box.
See Creating Sunrise and Sundown Events later in this chapter for creating schedules based on
sunrise and sundown times.
6. Specify the start and end time of the one-time exception following these steps:
a. In the Time box under the From property, enter the exact time the event is to start.
b. In the Time box under the To property, enter the exact time the event is to end.
c. In the Value box, do one of the following:
Select the preset to be used to update the values of all the data points added to the
Scheduler that have that preset defined for them. Alternatively, you can enter a new
preset and then go back to the Scheduler: Data Points Web page and define the value (or
values) for the preset.
Enter a valid value to be written to all the data points. To enter a value, all the data points
added to the Scheduler must have the same network variable type (for example,
SNVT_switch).
d. In the Priority box, enter a priority for the event between 0 to 255 (highest to lowest priority).
The default priority for an event in an exception schedule is five more than the priorities of
events in the daily schedule. For example, if you created an event with a priority of 255 in the
daily schedules, the events in the exception schedule will have a priority of 250. This priority
essentially locks out events with lower priorities so that they cannot update the data points
written to by this event. When the event ends, lower priority events can update the data
points.
e. To create additional events in the one-time exception, right-click anywhere in the Time or
Value boxes, and then click Add in the shortcut menu. A new row for the event is added to
the dialog. Follow steps a–c to specify the Time and Value of the new event in the one-time
exception.
f. Click OK to save your events and return to the Scheduler: Exception Schedules Web page
Web page. Click Cancel to delete all changes and return to the Scheduler: Exception
Schedules Web page.
7. The date on which the one-time exception is to occur is highlighted teal (or dark blue) in the
calendar.
378 Scheduling
Creating Exceptions in the Event Scheduler
You can create an exception or recurring exception in the Event Scheduler. An exception is an
alternate daily schedule that is used over a range of dates. A recurring exception is an alternate daily
schedule that is used over a range of dates in a specific pattern (such as every third Sunday). To create
an exception or recurring exception, you set the dates of the exception and then create the events in the
exception.
Creating Exception Dates in the Exception Schedule
To create an exception in the Event Scheduler and specify the range of dates and recursions for the
exception, follow these steps:
1. Click the Exception Schedules icon in the Scheduler: Configure Web page.
4. In the Exception Name property, enter a descriptive name for the exception. The default name is
the selected start date in the following format: <year>-<month>-<date>.
5. In the Scope property, select whether the exception is Private (can only be applied to the current
Scheduler) or Public (can be applied to all Schedulers). The default scope is Private.
6. To create an exception group (a set of exceptions that use the same schedule), click the blue arrow
in the Advanced property (located directly below the Scope property) to show options for adding,
deleting, and editing additional exceptions included under the current exception.
a. Click Add to create an exception group and add new exceptions to the group. All new
exceptions you add to the group will use the same Exception Schedule, but you can specify a
different range of dates and recursions for the new exception. For example, you could create
a new exception for Thanksgiving that uses the same range of dates as the current exception,
but uses a different set of recursions. With an exception group, all the changes you make to
the schedule of one exception are globally applied to the schedules of all the exceptions
within the group. For example, if you create an ON event in the schedule for the
Thanksgiving exception, that ON event is automatically added to the schedule of all other
exceptions in the exception group.
b. Once you click Add, specify the range of dates for the exception in the From and To boxes
and click Standard or Specific if you want the exception to be a recurring exception.
380 Scheduling
c. You can click the arrows to scroll through the exceptions in the Exception Group and edit
their dates and recursions. Click Delete to remove an exception from the Exception Group.
d. Select the Delete when Expired check box to have the exception removed from the
Exception Group once the last date in the range of dates specified for the exception has ended.
7. To create a recurring exception, click the Standard or Specific options to expand the dialog to
show the Recurrence property.
Clicking Standard lets you apply the exception to every month, every other month, every
third month, and so on up to every eleventh month. It also lets you apply the exception to
specific days such as every Monday, every Tuesday, and so on; every weekday or every
weekend day; and every other day, every third day, and so on up to every sixth day.
Clicking Specific lets you apply the exception to specific months such as January, February,
and so on up to December in addition to the monthly options offered by clicking Standard. It
also lets you apply the exception to specific dates such as the 1st to 30th day of the month;
specific dates starting from the end of the month such as last day of the month, 2 nd last day of
the month, and so on up to the 30th last day of the month; and specific recurring days such as
every first, second, third, fourth, fifth, or last Sunday, Monday, and so on up to Saturday.
This is in addition to the daily options offered by clicking Standard.
9. Under Recurrence, select the monthly and daily recursions from the Monthly and Daily lists.
The default monthly recursion is every month. This means that if you do not specify a monthly
recursion, the events will occur every month within the specified range. The default daily
recursion is every day. This means that if you do not specify a daily recursion, the events will
occur every day within the specified range.
382 Scheduling
10. Optionally, you can click Convert to Group at the top of the dialog to open the New Exception
Group dialog. You can use this dialog to create a new exception group (a set of individual
exceptions that share the same schedule) that includes this exception and one or more other
existing exceptions. See Creating Exception Groups for more information on exception groups
and using this dialog to create them.
11. Click OK to add the exception and return to the Scheduler: Exception Schedules Web page
(click Cancel to discard all changes and return to the Scheduler: Exception Schedules Web
page). The range of dates on which the exception is to occur is highlighted light blue in the
calendar and outlined with a color differentiating it from the other exceptions in the calendar.
4. By default, the exception schedule in which you are creating events is displayed in the list box at
the top of the dialog. You can select the applicable daily schedule and other applicable exception
schedules from the list. Additionally, you can click the box to the right of the exception name to
open the Edit Exception dialog and change the scope, dates, and recursions of the exception. See
Creating Exception Dates in the Exception Schedule later in this chapter for more information on
the properties in this dialog.
5. Optionally, you can click the Show Sunrise/Sunset Functions check box to create events based
on sundown and sunrise times. In the Function box, you can select the Sunrise ( ) or Sundown
( ) icon if you are creating an event based on the calculated sundown or sunrise time. The
calculated sunrise or sundown time appears in the Time box, which becomes read-only, and an
Offset box is added to the right of the Time box. In the Offset box, you can enter the time before
or after sunrise or sundown that the event is to occur.
384 Scheduling
If you are creating an event based on a specific time of day, select the Clock icon ( ), which is
selected by default. This hides the Offset box and enables you to enter a time in the Time box.
See Creating Sunrise and Sundown Events later in this chapter for creating schedules based on
sunrise and sundown times
6. Create the schedule for the exception following these steps:
a. In the Time box, enter the time the event is to occur if it is different than the default time,
which is on the hour of the selected time. For example, to create an event that occurs at 10:15
A.M. instead of the default 10:00 A.M, enter 10:15.
b. In the Value box, do one of the following:
Select the preset to be used to update the values of all the data points added to the
Scheduler that have that preset defined for them. Alternatively, you can enter a new
preset and then go back to the Scheduler: Data Points Web page and define the value (or
values) for the preset.
Enter a valid value to be written to all the data points. To enter a value, all the data points
added to the Scheduler must have the same network variable type (for example,
SNVT_switch).
c. In the Priority box, enter a priority for the event between 0 to 255 (highest to lowest priority).
The default priority for an event in an exception schedule is five more than the priorities of
events in the daily schedule. For example, if you created an event with a priority of 255 in the
daily schedules, the events in the exception schedule will have a priority of 250. This priority
essentially locks out events with lower priorities so that they cannot update the data points
written to by this event. Once the Scheduler executes the event, the data points can only be
updated by an event that has an equal or higher priority.
d. To create additional events in the exception, right-click anywhere in the Time or Value
boxes, and then click Add in the shortcut menu. A new row for the event is added to the
dialog. Follow steps a–b to specify the Time and Value of the new event in the exception.
You can create up to one event per minute.
8. Click OK to save your changes to the Edit: <exception date> dialog and return to the Scheduler:
Exception Schedules Web page. Click Cancel to delete all changes and return to the Scheduler:
Exception Schedules Web page.
9. Click Submit.
10. Click Back to return to the Scheduler: Configure Web page.
386 Scheduling
Creating Exception Groups
You can create an exception group and add exceptions to it. This creates a new exception with its own
schedule that is followed by all exceptions within the group. Exception groups enable you to configure
at one time a set of common individual exceptions that share the same schedule.
The changes you make to the exception group are applied globally to all the exceptions within that
group. For example, if you change the priority of an exception group, all events in the schedules of the
exceptions within the group are updated with the new priority value. Also, if you add, delete, or
modify the event schedule of an exception that is a member of an exception group, the event schedules
for all the exceptions within the group are updated accordingly. For example, if you have a “Holiday”
exception group that includes Memorial Day, the Fourth of July, Labor Day, and Thanksgiving
exceptions, and you change the time of a CLOSED event in the Memorial Day event schedule, that
CLOSED event is automatically updated to the same time in the Fourth of July, Labor Day, and
Thanksgiving event schedule.
Note: When you add an exception to an exception group, the exception’s existing schedule is cleared
and updated with the schedule of the exception group. Therefore, create an exception group before
creating the event schedule of an exception that is to be added to the group.
To create an exception group, follow these steps:
1. Right-click an exception date or an empty space in the calendar, point to Add Exceptions, and
then click New Exception Group on the shortcut menu.
2. The New Exception Group dialog opens. All the exceptions in the exception schedule are listed
in order of creation.
5. In the Priority box, enter the priority to be assigned to the events in the exception group’s
schedule. Enter a value between 0 to 255 (highest to lowest priority). The default priority is five
more than the priorities of the events in the exceptions being added to the group. This means that
lower priority events in the applicable daily and exception schedules are locked out and cannot
update the data points until the exception ends.
388 Scheduling
6. Optionally, you can click Edit for any of the listed exceptions to open the Edit Exception dialog
and change the name, scope, dates, and recursions of the exception and any other of the exception
instances created under it. See Creating Exception Dates in the Exception Schedule in the
previous section for more information.
7. Click OK to save your exception group and return to the Scheduler: Exception Schedules Web
page. Click Cancel to delete all changes and return to the Scheduler: Exception Schedules Web
page.
8. In the Scheduler: Exception Schedules Web page, the dates for the exceptions in the exception
group are now outlined in the same color and the name of the exception group appears in all the
shortcut menus in place of the names of the individual exceptions in the group. You can edit and
delete the exception group just as you would any exception. See the next section, Editing and
Deleting Exceptions in the Event Scheduler, for more information.
9. Click one of the light blue-highlighted dates of the exception group in the calendar to create the
exception group’s schedule. The Edit: <exception date > dialog opens.
10. Create the recurring exception schedule for the range of dates following the steps described in
Creating Exception Events in the Exception Schedule in the previous section.
2. The Edit Exception Group dialog opens. All the exceptions in the Event Scheduler are listed and
the check boxes for the exceptions that are currently in the exception group are selected.
390 Scheduling
3. You can rename the exception group, change the priorities of the events in the exception group,
add and remove exceptions to and from the exception group, and edit the individual exceptions.
To add an exception to the exception group, select its check box. The selected exception will
adopt the exception group’s schedule.
To remove an exception from the exception group, clear its check box. The schedule of the
cleared exception is reset to the default exception schedule.
To edit an exception, click Edit. The Edit Exception dialog opens. You can modify the
name, scope, dates, and recursions of the exception and any other instances created under it.
When you finish editing the exception, click Close.
4. Click Close to return to the Scheduler: Exception Schedules Web page.
5. Click Submit
Deleting Exceptions and Exception Groups
To delete an exception or exception group, follow these steps:
1. Right-click the exception date or one of the dates in a range of exception dates, point to Delete
Exceptions, and then either click the name of the exception to be deleted on the shortcut menu or
point to All and then click the name of the exception to be deleted from the list on the shortcut
menu of all the exceptions in the Event Scheduler.
You can also right-click anywhere in the exception schedule, point to Edit Exceptions, point to
All, and then click the name of the exception to be deleted from the list on the shortcut menu of all
the exceptions in the Event Scheduler.
It is executed as follows when DST starts (time switches from 02:00 to 03:00). Observe that the 2:30
OFF events occurs at 03:00.
1:59 ON
3:00 OFF
3:01 ON
When daylight savings time ends, events scheduled in the switch hour are executed only once, instead
of twice. For example, the following schedule in North America is executed as written when standard
time starts (time switches from 02:00 to 01:00). Observe that the events in 01:00 hour are only
executed once, even though that the hour occurs twice on that day.
12:59 STATE_3
1:15 STATE_1
1:45 STATE_2
2:01 STATE_3
392 Scheduling
Note: Sunrise is the time at which the first part of the sun appears above the horizon in the east. At
this time, there is complete light. Sunrise should not be confused with dawn, which is the point at
which the sky begins to lighten, some time before the sun itself appears. Sundown is the time at which
the sun disappears below the horizon in the west. At this time, there is still light, but it begins to
gradually decrease until dusk, which is the point at which darkness falls.
To create events based on the sunrise or sundown, follow these steps:
1. Add a time (SNTP) server to the LAN on which the SmartServer resides, or manually set the time
on the SmartServer using the Setup – Time Web page.
To add a time server to the LAN, follow the instructions in Adding a Time (SNTP) Server to
the LAN in Chapter 3, Configuring and Managing the SmartServer.
To set the time on the SmartServer manually using the Setup – Time Web page, follow the
instructions in Configuring Time Properties in Chapter 3, Configuring and Managing the
SmartServer.
2. Enter the location (geographic coordinates) of your SmartServer in the Real-Time Clock:
Configure Web page following the steps described in the Configuring the Real-Time Clock
section earlier in this chapter.
3. Click the Exception Schedules icon in the Scheduler: Configure Web page. The Scheduler:
Exception Schedules Web page opens.
4. Right-click anywhere in the exception schedule, point to Add Exception, and then click New
One-Time Exception or New Exception on the shortcut menu. If you are creating a one-time
exception, skip to step 6. If you are creating an exception, proceed to step 5.
Create the sundown/sunrise events in a one-time exception to overlap events in the daily
schedule and in other exception schedules with these sundown/sunrise events.
Create the sundown/sunrise events in an exception to replace the daily schedule with the
exception schedule.
See Demonstrating Sunrise and Sundown Events for scenarios where you want to create
sundown/sunrise events in a one-time exception and in an exception.
5. If you clicked New Exception in step 4, the New Exception dialog opens. Follow these steps:
d. Enter the name, scope, dates, and recursions for the exception; click Close to return to the
Scheduler: Exception Schedules Web page; and then click Submit. See Creating Exception
Dates in the Exception Schedule for more information on how to create an exception and set
the range of dates and recursions for it in this dialog.
e. Click one of the blue-highlighted dates in the calendar to create the exception schedule for the
range of dates specified in step a. The Edit: <exception date > dialog opens.
f. Click anywhere in the row under the Schedule, Event Time, Value, or Priority columns at
the time the event is to occur. The Edit Events Of dialog opens. Alternatively, you can
right-click a time under the Time column or right-click the column to the right and click Add
Event on the shortcut menu to open the Edit Events Of dialog.
6. Create the sunrise and sundown events following these steps:
g. Select Show Sunrise/Sunset Functions. A Function box appears to the right of the
Exception box.
i. If the event is to occur sometime before or after sunrise or sundown, enter that period of time
in the Offset box. To schedule an event to occur before sunrise or sundown, enter a negative
value; to schedule an event to occur after these times, enter a positive value. For example, to
configure an ON_100 event to occur 30 minutes after sundown, enter 00:30. To configure a
DIMMING event to occur 15 minutes before sunrise, enter -00:15.
394 Scheduling
j. In the Value box, do one of the following:
Select the preset to be used to update the values of all the data points added to the
Scheduler that have that preset defined for them. Alternatively, you can enter a new
preset and then go back to the Scheduler: Data Points Web page and define the value (or
values) for the preset.
Enter a valid value to be written to all the data points. To enter a value, all the data points
added to the Scheduler must have the same network variable type (for example,
SNVT_switch).
k. In the Priority box, enter a priority for the event between 0 to 255 (highest to lowest priority).
The default priority for an event in an exception schedule is five more than the priorities of
events in the daily schedule. For example, if you created an event with a priority of 255 in the
daily schedules, the events in the exception schedule will have a priority of 250. This priority
locks out events with lower priorities so that they cannot update the data points written to by
this event until the exception ends. If you are creating the sunrise/sundown events in a
one-time exception, lower-priority events can update the data points as soon as the
sunrise/sundown event ends.
7. Click OK to save your sunrise/sundown events. Click Cancel to delete all changes. If you are
creating an exception, click OK to save your changes to the Edit: <exception date> dialog and
return to the Scheduler: Exception Schedules Web page. Click Cancel to delete all changes and
return to the Scheduler: Exception Schedules Web page.
8. Click Submit.
ON_60
Priority 220
60
OFF
Priority 200 END
0
Time
SunRise SunDown
AM AM PM PM
Peak Time Peak Time Peak Time Peak Time
Starts Ends Starts Ends
In this example, three recurring exceptions are used in a single Event Schedulers to turn off, turn on,
brighten, and dim a luminaire through its SNVT_switch data point: the Day Schedule (OTE) turns off
the luminaire every day, the Peak Time Schedule (OTE) turns on the luminaire and sets its brightness
to 100% every weekday, and the Night Schedule dims the luminaire to 60% every day.
Note: In this example, additional user-defined presets have been created for the SNVT_switch data
point on the luminaire. These presets include ON_60 and ON_100, which set the SNVT_switch data
point to 60.0.1 (60% brightness and on) and 100.0 1 (100% brightness and on), respectively. These
presets are used in addition to the pre-defined OFF preset, which sets the SNVT_switch data point to
0.0.0 (0% brightness and off). See the Selecting Data Points section earlier in this chapter for more
information on creating presets for data points that have been added to the Event Scheduler.
Creating the Day Schedule (One-Time Exception)
The example Day Schedule (OTE) turns off the luminaire at sunrise. Designing the Day Schedule
(OTE) entails creating a one-time exception that recurs every day with a single event:
1. An OFF event with a 200 priority that is scheduled to start at sunrise and end at sundown. At
sunrise, this event sets the luminaire’s SNVT_switch data point to 0.0 0, turning the luminaire off.
The OFF event executes because its priority (200) is higher than that of the current ON_60 event
(220) or ON_100 event (210). At sundown, the OFF event ends, which resets its priority to 255
and releases its lock on the luminaire’s SNVT_switch data point. The highest-priority event
occurring prior to the OFF event (if any) is executed. If there are no such events, the next
highest-priority event will execute at its scheduled time.
396 Scheduling
Tip: To create a recurring one-time exception, follow these steps:
1. Create a new one-time exception from the Scheduler: Exception Schedules Web page.
2. In the New One-Time Exception dialog, enter a descriptive name for the exception in the box at
the top of the dialog and then click the box to the right of the one-time exception name to open the
Edit Exception dialog.
3. In the Edit Exception dialog, confirm the start date of the exception, set the end date, click the
Standard or Specific option, and then set the desired recurrence. For this example, click the
Standard option, and then select Every Year, Every Month, and Every Day for the year, month,
and day in the To property because this exception recurs every day.
398 Scheduling
that of the OFF event in the Day Schedule (200), which occurs at sunrise. Essentially, starting
at sunrise, the Day Schedule locks out events that have priorities lower than 200. It maintains
the lock until the OFF events ends at sundown.
At the end of the morning peak time, the ON_100 event ends, which resets its priority to 255 and
releases its lock on the luminaire’s SNVT_switch data point. This is only relevant if sunrise
occurs after the end of the morning peak time. In this case, the resetting of the data point priority
enables the ON_60 event in the Night Schedule to dim the lights back to 60% and keep them at
that level until sunrise.
2. An ON_100 event with a 210 priority that is scheduled to start at the beginning of the evening
peak time (17:00 in this example) and end at the conclusion of the evening peak time (19:00 in
this example). If or when this event actually occurs depends on the calculated sundown time.
If the start of the evening peak time occurs before sundown, the ON_100 event is not
executed until sundown. This is because the ON_100 event in the Peak Time Schedule has a
lower priority (210) than that of the OFF event in the Day Schedule (200), which does not end
until sundown. Once the OFF event in the Day Schedule ends at sundown, the ON_100 event
is executed and the lights are turned on and fully illuminated to 100%. The ON_100 event is
executed instead of the ongoing ON_60 event in the Night Schedule because its priority (210)
is higher than that of the ON_60 event (220).
If the start of the evening peak time occurs after sundown, the ON_100 event is executed and
brightens the lights from 60% to 100%. This is because the priority of the ON_100 event in
the Peak Time Schedule (210) is higher than that of the current ON_60 event in the Night
Schedule (220). The ON_60 event in the Night Schedule was executed at sundown, when the
OFF event in the Day Schedule ended.
If the end of the evening peak time occurs before sundown, the ON_100 event is never
executed. This is because the ON_100 event in the Peak Time Schedule has a lower priority
(210) than that of the ongoing OFF event in the Day Schedule (200) and is locked out until
the OFF event ends, which it is not scheduled to do until sundown. When the OFF event in
the Day Schedule does end at sundown, the ON_100 event has already expired; therefore, the
only active event, the ON_60 event in the Night Schedule, executes.
.
The following graphic demonstrates the exception schedule with the events of the Day Schedule
(OTE), and the Peak-Time Schedule (OTE).
400 Scheduling
the priority of the ON_60 event in the Night Schedule (220) is lower than that of the ON_100
event in the Peak Time Schedule (210). The Night Schedule is therefore locked out until the
ON_100 event in the Peak Time Schedule ends at the conclusion of the evening peak time.
Once the ON_100 event in the Peak Time Schedule ends at the conclusion of the evening
peak time, the Night schedule executes its ON_60 event, setting the luminaire to 60%. The
luminaire remains at 60% until the morning peak time starts or sunrise, whichever comes first.
If the start of the morning peak time comes before sunrise, the Peak Time Schedule executes
its higher-priority ON_100 event at the start of peak time and fully illuminates the luminaire
to 100%. If the end of the morning peak time occurs before sunrise, the Night Schedule dims
the luminaire back to 60% once the Peak Time Schedule ends at the conclusion of the
morning peak time. The luminaire stays at 60% until the Day Schedule executes its
higher-priority OFF event at sunrise and turns the luminaire off.
If sunrise comes before the start of the morning peak time, the Day Schedule executes its
higher-priority OFF event at sunrise and turns the luminaire off.
The following graphic demonstrates the exception schedule with the events of the Day Schedule,
Peak-Time Schedule, and Night Schedule.
To open the Event Calendar from the SmartServer tree, follow these steps:
1. Click General above the navigation pane in the left frame of the SmartServer Web interface.
2. Expand the network icon in the SmartServer tree, and then expand the LON channel to show the
i.LON App (Internal) device.
3. Right-click the i.LON App (Internal) device and then select Add Functional Block in the
shortcut menu.
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, you can select the Scheduler functional block from either the
Static or the Dynamic folder. To select the Scheduler functional block from the Dynamic
folder, expand the Dynamic icon, expand the /lonworks/types folder, expand the
bas_controller folder, select the user-defined functional profile for the Event Calendar, enter
a name for the functional block such as “Calendar”, and then click OK.
404 Scheduling
6. A functional block representing the Event Calendar and all of its static data points are added to the
bottom of the i.LON App (Internal) device tree, and the Event Calendar: Configure Web opens
in the application frame to the right. The construction symbol overlaid onto the Scheduler
application icon in the upper-left hand corner of the Web page indicates that the application has
not been configured yet.
7. Click Submit.
For exceptions created in an Event Scheduler, you can expand them to show the Event Scheduler in
which they were created. You can then click the Event Scheduler shown to open the corresponding
Scheduler application.
406 Scheduling
Creating Exceptions in the Event Calendar
You can create an exception or recurring exception in the Event Calendar to apply an alternate
schedule to a specific range of dates to all the Event Schedulers on the SmartServer. To create an
exception in the Event Calendar, follow these steps:
1. Click the date in the calendar that will be the start date for the exception schedule. Alternatively,
you can right-click the start date in the calendar, and then click Add Exception on the shortcut
menu.
2. The New Exception dialog opens.
3. Enter the name, scope, dates, and recursions for the exception; click Close to return to the
Calendar: Configure Web page; and then click Submit. See Creating Exception Dates in the
Exception Schedule earlier in this chapter for more information on how to create an exception and
set the range of dates and recursions for it in this dialog.
4. Click OK to add the exception and return to the Calendar: Configure Web page (click Cancel to
discard all changes and return to the Calendar: Configure Web page). The exception is added
under the Calendar icon and the range of dates specified in the New Exception dialog are
highlighted blue in the Event Calendar.
5. You can create the schedule for the exception in an Event Scheduler. To do this, follow these
steps:
a. Open the Scheduler in which the exception is to be used.
b. In the Scheduler: Configure Web page, click the Exception Schedules icon. The Scheduler:
Exception Schedules Web page opens.
c. Right-click anywhere in the exception schedule, point to Add Exceptions, point to From
Calendar, and then click the exception created in the Calendar.
408 Scheduling
3. Edit the name, scope, dates, and recursions of the exception and any other instances created under
this exception. See Creating Exception Dates in the Exception Schedule earlier in this chapter for
more information on configuring the properties in this dialog.
4. Click OK to save changes to the exception and return to the Calendar: Configure Web page.
Click Cancel to discard all changes and return to the Calendar: Configure Web page.
5. Click Submit.
2. A message appears reminding you that a Scheduler might be using the exception to be deleted
from the Event Calendar.
5. Click OK to cleanup references to the exception. Click Cancel to keep references to the
exception in the Event Calendar.
6. Click Submit.
410 Scheduling
8
Data Logging
This chapter describes how to use the Data Logger on the SmartServer
to record data point updates. It describes how to create historical and
circular data loggers. It describes how to automatically transfer data
log files to a remote server and extract them to a CSV or XML file. It
explains how to view data logs using the Data Logger: View Web
page, and how to monitor and control data points using the View –
Data Points Web page.
412 Scheduling
Opening a Data Logger Application
To open a Data Logger application, first create a Data Logger functional block. After you create the
Data Logger functional block, the functional block appears on the SmartServer tree below the i.LON
App (Internal) device, and you can click the functional block to open the Data Logger application.
To create a Data Logger functional block and open the application, follow these steps:
1. Click General above the navigation pane in the left frame of the SmartServer Web interface.
2. Expand the network icon in the SmartServer tree, and then expand the LON channel to show the
i.LON App (Internal) device.
3. Right-click the i.LON App (Internal) device and then select Add Functional Block in the
shortcut menu.
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, you can select the Data Logger functional block from either the
Static or the Dynamic folder. To select the Data Logger functional block from the Dynamic
folder, expand the Dynamic icon, expand the /lonworks/types folder, expand the
bas_controller folder, select the user-defined functional profile for the Data Logger, enter a
name for the functional block such as “Data Logger 1”, and then click OK.
414 Scheduling
6. A functional block representing the Data Logger application and all of its static data points are
added to the bottom of the i.LON App (Internal) device tree, and the Data Logger: Configure
Web page opens in the application frame to the right. The construction symbol overlaid onto the
Data Logger application icon in the upper-left hand corner of the Web page indicates that the
application has not been configured yet.
7. Click Submit.
416 Scheduling
- CSV/text. Approximately 2 times the size of the log file.
- CSV - zipped. Approximately 10–20 times the size of the log file.
- Binary. Approximately 20–30 times the size of the log file.
Log files must be no larger than 1 MB.
Select Binary to save the log file as a binary data file (.bin extension). Each entry in a log
using this format consumes approximately 0.032 KB. You can only view a binary file with
the Data Logger: View Web page.
3. In the Size box, enter the maximum size of the log file. The file size determines the number of
entries the log file can store. The default maximum file size is 100 KB. When you enter a size,
the maximum number of entries that the log can store is displayed directly underneath the box.
Although the SmartServer does not limit how much data can be logged, you must maintain at least
1,024 KB of free space on the SmartServer server flash disk. To view the amount of free disk
space on the SmartServer right-click the SmartServer, point to Setup, and then click System Info
on the shortcut menu. The Setup – System Info Web page opens. In the General Statistics
section, check the Free disk space / Total disk space property.
4. In the File box, enter the full path to which the log file is stored on the SmartServer flash disk. By
default, the log file is stored in the /data/Net/LON/i.LON App folder, and it is named Data
Logger [x], where x is the index number of the data logger.
5. Click Submit.
Note: You can remove data from a log file using the Data Logger: Configure Web page. To do this,
enter a percentage of the log file to be cleared in the box directly below the data point Filter box and
then click Clear. This updates the clear data point on the data logger (nviDlClear[x], where x is the
index number of the data logger) and removes the specified percentage of data from the log file. For
example, if your data log is only 30% full, entering 60.0 will clear your entire log. If your data log is
90% full, entering 60.0 will leave the log 30% full. Entering 100.0 and then clicking Submit erases all
logged data. You cannot clear a data log while the logging is disabled.
418 Scheduling
page, which you can access by clicking the data point in General mode.
4. Select the Show Advanced check box to view the following properties used to configure the
frequency in which data is logged.
Minimum Delta Displays the minimum period of time that must elapse between log entries.
Time The default value is 15 minutes. This means that the data logger will record
the data point’s value every 15 minutes.
Minimum Delta Displays the minimum change in value required between log entries to
Value record the data point. If this property is set to 0, the data logger records the
data point every time its value changes, regardless of the amount of change.
5. To configure how the data logger records the values of the selected data points, click the Poll Rate
or Min. Delta Time box for any data point. The Logging dialog opens.
6. Select whether the data logger uses polling and/or event-driven updates to record the values of the
selected data points.
Select Log on Poll Rate to have the Data Logger record the values of the data points at a
specified rate. In the Poll Rate property, enter a value and then select a measurement of time
(seconds, minutes, hours). The default poll rate is 15 minutes.
Select Log on Updates to have the Data Logger record the values of the data points when
they change.
o In the Min. Delta Time property, enter the minimum period of time that must elapse
between log entries. Enter a value and then select a measurement of time (seconds,
minutes, hours). The default minimum delta time is 15 minutes, which means that the
data logger will record the data point’s value every 15 minutes, regardless of how
frequently the value changes between intervals.
o In the Min. Delta Value property, select the minimum change in value required between
log entries to record the data point. The default minimum delta value is Always, which
means that the data logger always receives data point updates, regardless of whether the
2. Click Submit. When the alarm limit is reached, the alarm bell icon becomes red.
3. Open an Alarm Notifier application, following the steps described in the Opening an Alarm
Notifier Application section in Chapter 6, Alarming.
4. Click one of the Input Point icons ( ), or click anywhere in the Log box ( ). The
Alarm Notifier: Data Points Web page opens.
5. Click the nvoDlLevAlarm data point under the Data Logger functional block tree as a data point
to be monitored by the Alarm Notifier. The nvoDlLevAlarm data point is added to the Web page.
420 Scheduling
6. Click Submit.
7. Configure the Alarm Notifier to send a notification each time the nvoDlLevAlarm data point
receives an alarm condition following the Configuring E-mail and Data Point Destinations section
in Chapter 6, Alarming. Enter the full path of the log file as an attachment in an e-mail
destination. This enables the log file to be sent to the specified recipients as soon as it becomes
full.
3. The Configure – Web Connection Web page opens and the hostnames of the local SmartServer
and the OpenLNS Server or Web Connection Target Server you added to the LAN appear in the
application frame to the right. The host devices in the right frame are collectively referred to as
Web-Connection Destinations.
4. From the Web-Connection Destinations tree on the right frame, expand the LNS Server icon,
expand a network, channel, device and functional block, and then click a data point. A reference
to the target data point ( ) is added underneath the source data point in the SmartServer tree in
the navigation pane.
422 Scheduling
d. The Setup – Web Service Web page opens.
e. Enter the following properties:
In the SOAP Path box, enter /LnsProxy/LnsProxyService (this is the SOAP path to the
Echelon Enterprise Service running on your computer).
In the HTTP Port box, enter the port on your computer used for accessing the Echelon
Enterprise Service (80 by default).
In the SOAP User Name box, enter the user name for logging into the Echelon
Enterprise Service. The default user name is ilon.
In the SOAP Password box, click Change Password, enter and re-enter the password
for logging into the Echelon Enterprise Service, and then click OK. The default
password is ilon.
Note: If you changed the default user name and password for logging into EES 2.2, you
can use the EES 2.2 tray icon in the notification area to check the current user name and
password. See Chapter 3 of the Echelon Enterprise Services 2.2 User’s Guide for more
information on viewing and changing the Echelon Enterprise Service user name and
password.
f. Click Submit.
2. From the navigation pane, right-click a source data point in the SmartServer tree and then click
Add Connection in the shortcut menu. This example adds a SNVT_switch dynamic data point to
the SmartServer i.LON App device’s Virtual Functional Block (Net/LON/iLON
App/VirtFB/nvoDlTrigger).
4. From the Web-Connection Destinations tree on the right pane, expand the Web Connection Target
Server and then click *** Target ***. A reference to the target data point ( ) is added
underneath the source data point in the SmartServer tree.
424 Scheduling
Attaching a Log File
To attach an alarm or data log file to the Web connection, follow these steps:
1. Under the source data point icon in the SmartServer tree, right click the reference to the target data
point in the Web connection, and then click Add Attachment on the shortcut menu.
426 Scheduling
4. Add your specified trigger source data point and the nviDlClear data point on the specified data
logger to the Scheduler.
5. Add the following presets, and then assign them to the data points with the listed values:
Preset Data Point Value
SEND nvoDlTrigger 100.0 1
RESET 0.0 0
428 Scheduling
5. Create a Web connection between the nvClearLog and nviDlClear data points.
6. Create a new type translator rule with the following case logic: every time the nvoDlLevAlarm
data point is in an alarm condition, set the nvClearLog trigger to 100.0 1, which triggers the
download of the data log file. When the nvClearLog data point is set to 100.0 1, update the
nviDlClear data point with this value via the Web connection created in step 5 and the data log is
cleared completely. This then triggers the rule for resetting the nviDlClear data point to 0.0 0.
7. In the Type Translator: Configure Web page, specify a delay of at least 5 seconds.
430 Scheduling
The Data Logger: View Web page includes a trend graph and a log that chart and list the data
point updates that have been recorded by the data logger.
3. The trend graph charts all the data point updates recorded by the selected Data Logger. For
multiple data points to be scaled accurately on the trend graph at the same time, they must have
the same Unit String property. You can add a unit string to a data point or edit the one defined
for it in the Configure - Data Points Web page on the SmartServer. In addition, if the selected
points have structured data types, the same fields must be selected.
You can move the mouse pointer over one of the plotted data point updates to show a ToolTip.
The ToolTip lists the date and time of the update and the value and state of the data point at the
time the update was recorded.
4. The log lists the first to last data point updates recorded by the selected data logger in descending
chronological order. You can sort the data point updates by clicking a property header. This Web
page displays the following properties for each data point update recorded in a data logger:
Selected Time Displays the user-specified interval, which determines the data points
Interval currently shown on the Web page. The default interval is the time from the
first to last data point recorded by the data loggers on your SmartServer.
Click Clear Log Interval to clear the currently selected range of data
points from the Web page. Note that the Web page only shows the first
60 entries in the range, but the entire range will be deleted.
Click Clear Entire Log to clear all the selected data points from the
Web page.
Time Displays the date and time when the data point update occurred.
Name Displays the name of the data point that was updated using the following
format: <network>/<channel>/<device>/<functional block>/<data point>.
This is also the location of the data point in the SmartServer tree.
Value Displays the value of the data point at the time of the update. If the data
point is set to a preset value, the preset name will be displayed instead of the
actual value.
Unit Displays the unit string of the data point.
Status Displays the status of the data point at the time of the update.
In some cases, there may be more log entries within the selected range than can be displayed on
the screen at once. In this case, a warning message will be displayed, and you can use the slide
bar to browse the log entries.
5. You can use the slide bar at the top to browse the first to last updates recorded for the selected data
point. Move the slider bar to the left to display older sets of values, or move it to the right to
display the more recent values. If there are too many values within the selected range to be
displayed, a warning message appears informing you that only a subset of the data points is being
displayed.
6. You can specify the time interval for which recorded data point updates are listed in the log and
displayed in the trend graph using the drop-down list directly below the slider. The default is
Entire Range, which means that the log lists the first to last data point updates recorded in the
data loggers on the SmartServer and the trend graph plots the first to last updates recorded for a
selected data point.
For example, select 1 hour to have the log list the data point updates that have been recorded in
the last 1 hour. You can still browse the updates beyond the specified time interval using the
slider.
Tip: If you need to print this page, use the landscape format.
432 Scheduling
Note: Alternatively, you can reverse steps 1 and 2 to view a data point in the View - Data Points
Web page. This means that you can click the data point, click View, and then click Data Points.
3. The trend graph charts all the selected data points. For multiple data points to be scaled accurately
on the trend graph at the same time, they must have the same Unit String property. You can add
a unit string to a data point or edit the one defined for it in the Configure - Data Points Web page
on the SmartServer. In addition, if the selected points have structured data types, the same fields
must be selected.
You can move the mouse pointer over one of the plotted data point updates to show a ToolTip.
The ToolTip lists the date and time of the update and the value and state of the data point at the
time the update was recorded.
4. By default, the log lists the data points in the order they were selected. You can sort the data
points by clicking a property header. This Web page displays the following properties for the
selected data points:
Name Displays the name of the data point using the following format:
<network>/<channel>/<device>/<functional block>/<data point>. This is
also the location of the data point in the SmartServer tree.
IP Address Displays the IP address of the SmartServer or OpenLNS Server on which the
data point resides. This property appears if you select a data point from a
remote SmartServer or an OpenLNS Server.
Format Displays the SNVT, UNVT, or built-in data type used by the data point, and
it specifies the format (for example, SI metric or US customary) used if the
type has multiple formats such as SNVT_temp_p.
If the data point has structured type (i.e. a structure or union with multiple
fields), you can select which field to monitor and control from the list. For
example, if you select a SNVT_switch data point, you can select the value
or the state of the data point.
Value Displays the current value of the data point. To update the data point, enter
a valid value in this box and then click Submit, press ENTER, or press
TAB.
If presets are defined for the data point, you can select a preset from the list
and the data point will be updated with the value defined by the preset. You
can edit the values defined by the selected preset by clicking the button to
the right and opening the Edit Value dialog.
If a Manual Override icon ( ) appears to the left of the data point, the
data point is in manual override mode (another application has been
assigned a priority for updating this data point). You can enter a value
434 Scheduling
Status Displays the current status of the data point.
5. You can click the button to the right of the Values property to open the Edit Value dialog. You
can use this dialog to assign the View - Data Points Web page a different priority for writing
updated values to a data point, and to enter a different value for the data point or for the fields of a
structured data point.
a. In the Write Priority box, you can assign the priority the View - Data Points Web page has
for writing updated values to the data point. The priority you specify must be equal to or
higher than the priority used by the last application that updated the data point. Similarly, if
you update the data point with the View - Data Points Web page, the next application must
specify a priority equal to or higher than the one you specified in order to write to the data
point. If you set a priority that is less than priority used by the last application that updated
the data point, a “Priority too low to set value” error occurs and a red hand locked icon ( )
appears to the left of the data point. You need to enter a higher priority in this dialog for the
View - Data Points Web page to be able to write to the data point.
b. In the Value box, enter a valid value to be written to the data point. If you selected a
structured data point (for example, a SNVT_switch data point), you can enter values for one
or more of the fields in the data point. If you selected an enumerated data point (for example,
a SNVT_lev_disc data point), select one of the enumerated values from the list.
c. Click OK to return to the View – Data Points Web page.
6. You can point to one of the listed data points in the log or click its line on the trend graph to
highlight the updates recorded for that data point on the trend graph. You can then move the
mouse pointer over one of the plotted data point updates to show a ToolTip. The ToolTip lists the
date and time of the update and the value and state of the data point at the time the update was
recorded.
7. You can use the slide bar at the top to browse the first to last updates recorded for the selected data
point. Move the slider bar to the left to display older sets of values, or move it to the right to
display the more recent values. If there are too many values within the selected range to be
displayed, a warning message appears informing you that only a subset of the data points is being
displayed.
8. You can specify the time interval for which recorded data point updates are listed in the log and
displayed in the trend graph using the drop-down list directly below the slider. The default is
Entire Range, which means that the log lists the first to last data point updates recorded in the
data loggers on the SmartServer and the trend graph plots the first to last updates recorded for a
selected data point.
436 Scheduling
9
This chapter describes how to use the inputs and outputs on the
SmartServer to connect legacy devices to it. It describes how to use
the pulse counter inputs on the SmartServer to connect electric, gas,
and water meters. It explains how to use the digital inputs and output
on the SmartServer to connect legacy digital input and output devices
such as switches, push buttons, drive contractors, and alarm bells.
5. Select the Pulse Counter functional block from the Static or Dynamic LonMark folder. The
folder available in the dialog depends on whether the SmartServer is using the static v12 interface
or the dynamic v40 interface.
If the SmartServer is using the default static v12 interface, expand the Static icon, select the
Pulse Counter functiona1 block, optionally enter a different name than the default
programmatic functional block name, and then click OK.
7. Click Submit.
To open the Pulse Counter application from an existing Pulse Counter functional block, follow these
steps:
1. Click General if the SmartServer is not already operating in General mode. If the SmartServer is
in Driver mode when you click the functional block, the Setup - LON Functional Block Driver
Web page opens instead of the Pulse Counter application.
2. Click the Pulse Counter functional block representing the Pulse Counter to be opened. The Pulse
Counter: Configure Web page opens in the application frame to the right.
4. The Digital Input application contains the following three data points:
nviClsValueFB (SNVT_switch). Used to synchronize a group of switches.
nvoClsValue (SNVT_switch). Sends the value and state of the digital input (ON or OFF) to
a device that accepts a SNVT_switch input. The value and state are derived from the raw
values received from the device.
nvoClsSetting (SNVT_setting). Sends the setting, scene setting level, and rotation angle of
the digital input device (SET_ON 0.0 0.00 or SET_OFF 0.0 0.00) to devices such as
occupancy sensors and constant light controllers that accept a SNVT_setting input.
5. Select whether the digital input device uses a Normally Open or Normally Closed sensor. This
determines how the signal received from the digital input device is processed before being sent to
the nvoClsValue and nvoClsSetting output data points.
4. The Digital Output functional block contains the following two data points:
nviClaValue (SNVT_switch). Drives the relay of the digital output hardware.
nvoClaValueFB (SNVT_switch). Indicates the last value sent to the nviClsValue data
point. It is used to synchronize a group of digital output devices.
5. Select how the state of the nviClaValue input data point is translated to the dry contact relay
outputs.
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, you can select the Analog Functional Block from either the
Static or the Dynamic folder. To select the Analog Functional Block from the Dynamic
folder, expand the Dynamic icon, expand the /lonworks/types folder, expand the
bas_controller folder, select the user-defined functional profile for the Analog Functional
Block, enter a name for the functional block such as “AFB 1”, and then click OK.
4. Select the Show Advanced check box to view the following properties and configure the rate at
which the data points are updated.
5. To configure the rate at which the Analog Functional Block polls the value of the selected data
points in the application, click the Poll Rate box for the data point. The Poll Rate dialog opens.
6. In the Poll Rate box, enter a value and then select a measurement of time (seconds, minutes, or
hours). The default poll rate is 15 minutes. To apply the specified poll rate to only the selected
data point, clear the Set Default Poll Rate check box. Click Close to return to the Analog
Functional Block: Data Points Web page.
7. Click Submit.
8. Click Back to return to the Analog Functional Block: Configure Web page.
9. In the Poll Delay On Restart box, specify the amount of time (in seconds) that the Analog
Functional Block waits after a reset before polling the values of the input data points. The default
value is 0, which means that the Analog Functional Block will resume polling the data points at
the poll rates specified in the Analog Functional Block: Data Points Web page.
10. Click Submit.
2. Select one of the following mathematical functions from the list to determine the value to be sent
to the output point:
Select Minimum to send the value of the input point with the lowest value.
Select Maximum to send the value of the input point with the highest value.
Select Average to send the average value of the input points (sum divided by number of input
points). If you select this option, you can set the Depth property to calculate a straight
average from the previous averages. For example, if you set the Depth property to 2, the
average equals the sum of the last two calculated averages divided by two. This means that if
the last calculated average was 20, and the previous calculated average was 30, the average
value sent to the output point is 25.
Select Sum to send the total sum of the input point values.
3. In the Max and Min boxes, specify the maximum and minimum values that can be sent to the
output point. If the calculated value exceeds the maximum or goes below the minimum, the
maximum or minimum value is sent to the output point instead of the calculated value.
4. Click Submit. After you select an output point, the Analog Functional Block will perform the
specified mathematical function each time any of the input points are updated and store the result
in the specified output data point.
3. Select whether the compare point is another data point or a constant value.
Click Data Point to select a data point as the compare point. Click the None Defined icon
( ), which turns the text in the icon blue, and then click the data point in
SmartServer tree to be used as the compare point. The value of the selected data point will be
compared to the values of the selected input points.
Click Constant to enter a specific value in the box that appears to be compared to the values
of the selected input points.
4. Select one of the following logical functions from the list to determine whether a TRUE or
FALSE value is to be sent to the output point:
=/=. Returns TRUE if the value of the input data point does not equal the value of the
compare data point.
==. Returns TRUE if the value of the input data point equals the value of the compare data
point.
>. Returns TRUE if the value of the input data point is greater than the value of the compare
data point.
>=. Returns TRUE if the value of the input data point is greater than or equal to the value of
the compare data point.
<. Returns TRUE if the value of the input data point is less than the value of the compare
data point.
<=. Returns TRUE if the value of the input data point is less than or equal to the value of the
compare data point.
6. Click Submit. After you select an output point, the Analog Functional Block will perform the
specified logical function each time any of the input points are updated and store the result in the
specified output data point.
4. Click Submit. The Analog Functional Block will perform the specified mathematical or logical
function each time any of the input points are updated and store the result in the specified output
data point.
If the Analog Functional Block is performing a mathematical function, the calculated value is
stored in the selected scalar output point.
If the Analog Functional Block is performing a logical function, and the function returns
TRUE, the SNVT_switch output point is set to 100.0 1. If the function returns FALSE, the
SNVT_switch output point is set to 0.0 0.
5. In the Calculation Interval box on the right side of the application, you can specify the amount of
time (in seconds) that must elapse between updates to the output point. Setting an interval may be
useful to ensure that the output data point is only updated when all the input point updates have
been received. The default value is 0, which means that the Analog Functional Block updates the
output point each time an input point is updated.
6. In the Override Behavior box on the right side of the application, you can specify the behavior of
the output data point when the analog functional block is placed in override mode.
Select Retain Last Value for the output data point to retain the last value assigned to it by the
Analog Functional Block. This is the default.
Select Use Specified Value and then enter a value in the Value box that appears below to be
assigned to the data point.
Select Use Default Value to assign the output data point its default value, as defined for its
type in the resource files. You can change the default value for a data in the Configure -
Data Points Web page, which you can access by clicking the data point in General mode.
If you have activated the dynamic v40 interface on the SmartServer and you are managing the
network in Standalone mode, you can select the Type Translator functional block from either
the Static or the Dynamic folder. To select the Type Translator functional block from the
Dynamic folder, expand the Dynamic icon, expand the /lonworks/types folder, expand the
bas_controller folder, select the user-defined functional profile for the Type Translator
functional block, enter a name for the functional block such as “Type Translator 1”, and then
click OK.
7. Click Submit.
3. Under the Direction column, select whether the data point is an input or output point. When you
select Output, the data point is added to the list of output points. You can access the list of output
points by clicking the Output data point icon ( ) on the right side of the Type
Translator: Configure Web page.
Note: If you have selected a pre-defined type translation prior to selecting the data points in the
translation, an additional Nickname column appears in this Web page. The nickname is a
The default translation, Copy Input DP to Output DP, is a scalar-based translation that directly
converts the value of the input point directly to the output point without any scaling. Of the other 14
pre-defined translations, which are all rule-based translations, 11 are for converting LONWORKS data
points and 3 are for converting M-Bus data points. The following subsections describe each the 11
pre-defined rule-based translations that you can use to convert LONWORKS data points. See
SNVT_setting_TO_SNVT_switch
This rule-based translation converts a SNVT_setting input data point to a SNVT_switch output data
point. You add a SNVT_setting data point to the list of input points and a SNVT_switch data point to
the list of output points. Each time a type translation is made, the value and state fields of the
SNVT_switch output data point are assigned values based on the current values stored in the function
and setting fields of the SNVT_setting input data point, as described in the following table:
SNVT_scene (input point) SNVT_switch (output point)
function: SET_STATE value: 0.0
setting: <=100.0 state: 0 (OFF)
function: SET_STATE value: <=setting>
setting: >100.0 state: 0 (OFF)
function: SET_NUL value: 0.0
setting: any state: 0 (OFF)
SNVT_state_TO_16xswitch
This rule-based translation converts a SNVT_state input data point to up to multiple SNVT_switch
output data points. You add a SNVT_state data point to the list of input points and up to 16
SNVT_switch data point to the list of output points. Each time a type translation is made, the value
and state fields for each SNVT_switch output data point are assigned values matching the value stored
in the corresponding bit of the SNVT_state input data point.
For example, if the value stored in the 0 bit of the SNVT_state input data point is 1, the first
SNVT_switch output data point will be assigned a value of 100.0 1. If the value stored in the 1 bit of
the SNVT_state input data point is 0, the second SNVT_switch output data point will be assigned a
value of 0.0 0.
SNVT_switch_TO_SNVT_lev_desc
This rule-based translation converts a SNVT_switch input point to a SNVT_lev_disc output data
point. You add a SNVT_switch data point to the list of input points and a SNVT_lev_disc data point
to the list of output points. Each time a type translation is made, the SNVT_lev_desc output data point
is assigned an enumeration based on the current value and state stored in the SNVT_switch input data
point, as described in the following table:
SNVT_switch (input point) SNVT_lev_desc (output point)
value: any ST_NUL
7. Click anywhere in the COPY rule to scale the input point and/or add an offset.
a. If you added more than one input point, you can change the default input point by clicking it
and then selecting an input point from the list.
b. If the input point is a structured data point, a list box is added to the right of the input data
point. Select whether to evaluate a field within the structure or the entire structure. By
d. To add or subtract an offset to the value of the input point, select the desired operator and then
enter the value of the offset in the constant box. The default constant is 0. If you are copying
to an enumerated output point, select the string value (for example, HVAC_HEAT) of an
enumerated data point or field in this box. You cannot copy an index to an enumerated output
point. If you are copying to an enumerated field within a structured data point, you must first
select the enumerated field from the output point box (to the right of the TO operator) as
described in step f.
e. If you added more than one output point, you can change the default output point by clicking
it and then selecting an output point from the list.
f. If the output point is a structured data point, a list box is added to the right of the output data
point. Select whether to evaluate a field within the structure or the entire structure. By
default, the entire structure is evaluated.
8. Click Submit.
9. To add another case to the type translation, right-click either of the ALWAYS cases or the COPY
rule and then click Add on the shortcut menu.
b. If the input point is a structured data point, you can select a field within the data point to be
evaluated. By default, the entire structure is evaluated. You can explicitly set the rule to
evaluate the entire structure by selecting * from the list. This is required if you first select a
field and then decide to evaluate the entire structure.
c. Select one of the following comparison functions: equal to (default), not equal to, greater
than, less than, greater than or equal to, or less than or equal to. If you are evaluating a
structured data point as a whole, you can only select the equal (=) or not equal to (!=)
comparison functions.
e. To create another condition that must evaluate to TRUE for the case to be executed (create a
nested IF-THEN statement), click the bottom level ALWAYS case and repeat steps 3–4.
Otherwise, skip to step f.
f. Expand the bottom-level ALWAYS or IF-THEN statement to show the CASE rule.
g. Click Submit.
5. Click anywhere in the COPY rule to edit the rule.
a. Select an input point (to the left of the TO operator) from the list. If you created a nested
IF-THEN statement (two IF statements), the input point in the Copy rule is the same input
point you selected in the nested (second) IF statement, and it cannot be changed.
b. If you selected a structured data point in the ALWAYS statement, select whether to copy a
field or the entire structure to the output point. By default, the entire structure is selected.
c. Enter a multiplier (a whole or decimal number) in the multiplier box to scale the value of the
input point. The default multiplier is 1. If you are copying an enumerated value to the output
point, this box is unavailable.
d. Add or subtract a constant to the value of the input point. To do this, select the desired
operator and then enter the value of the constant in the constant box. The default constant is
1. If you are copying to an enumerated output point, select the string value (for example,
HVAC_HEAT) of an enumerated data point or field in this box. You cannot copy an index
to an enumerated output point. If you are copying to an enumerated field within a structured
data point, you must first select the enumerated field from the output point box (to the right of
the TO operator) as described in step f.
f. If the output point is a structured data point, select a field from the list to be written to by the
input point.
g. Click Submit.
6. You can create a new case to the current translation or add another IF-THEN statement to the
current case by adding a case or statement or copying an existing one. You can copy an existing
method to create more complex rule-based translations. The method you choose depends on
whether you want to re-use the previous case or IF-THEN statement.
To create a new case in the current translation by re-using a previous case, right-click the
top-level IF-THEN statement, click Copy on the shortcut menu, right-click the top-level
IF-THEN statement again, and then click Paste on the shortcut menu. You can use this
method to copy and re-use any case.
To create a new case in the current translation without re-using a previous one, right-click the
top-level IF-THEN statement and then click Add on the shortcut menu.
The following example demonstrates a custom rule-based translation that takes the data of a scene
controller and turns on and illuminates or turns off a lamp, and completely opens a sunblind.
Notes:
You can delete or more cases or statements from a translation. To delete one case or statement,
right-click the case or statement, click Delete on the shortcut menu, and then click Submit. To
remove multiple cases or statements, click one case or statement and then either hold down CTRL
and click all other cases or statements to be deleted or hold down SHIFT and select another case or
statement to delete the entire range of cases or statements, right-click one case or statement, click
Delete on the shortcut menu, and then click Submit.
3. Click Submit.
Specifying a Delay
You can specify the period of time that the Type Translator waits after an input data point has been
updated before performing a translation. This is useful if the translation has multiple inputs. Setting a
delay in this case ensures that translations occur only after most or all of the input points have been
updated. To specify a delay, enter the period of time (in seconds) in the Delay box for the type
translator to wait after input point updates.
The type translations will reflect any additional data point updates that occur during the delay interval.
This means that if an input data point is updated a second time before the delay interval expires, the
delay will not be reset, and the second update will be the one translated.
This chapter describes how to install the SmartServer with OpenLNS CT, maintain
synchronization between the SmartServer and a OpenLNS CT drawing, and launch
the SmartServer’s built-in applications from a OpenLNS CT drawing. It describes
how to link the network variables of external devices in a OpenLNS CT drawing
(formerly referred to as “NVEs”) to the SmartServer’s built-in applications and
custom SmartServer Web pages after synchronizing the SmartServer to an OpenLNS
network database.
Note: If you did not commission the SmartServer with OpenLNS CT before synchronizing the
SmartServer to the OpenLNS network database, your OpenLNS CT drawing will have two
uncommissioned SmartServer device shapes: i.LON App on a LON channel that cannot
communicate with the OpenLNS network interface, and iLON SmartServer- 1 on a different
channel. In this case, use OpenLNS CT to move any functional block shapes on the iLON
SmartServer-1 device shape to the i.LON App device shape; delete the iLON SmartServer-1
device shape; move the i.LON App, IP-852 router, and iLON NI shapes to a channel that can
communicate with OpenLNS network interface; commission the i.LON App, IP-852 router, and
iLON NI device shapes; and then delete the LON channel.
7. If IP-852 routing is licensed and activated on your SmartServer, you can commission the
SmartServer’s IP-852 router. To do this, right-click the router shape, click Commission in the
shortcut menu, and step through the New Router Wizard (the router shape already includes the
Alternatively, you can click Driver, click the network icon in the SmartServer tree to open the
Setup – LON Network Driver Web page, and then click the Synchronize button in the
OpenLNS Network property.
2. The SmartServer Resync dialog opens.
8. In the navigation pane, expand the blue-highlighted Scheduler functional block to show the
dynamic network variable (nvoSwitch) you added to the Scheduler functional block with
OpenLNS CT in step 2.
9. Click the data point box on the right side of the Scheduler: Configure Web page to open the
Scheduler: Data Points Web page.
10. Add the nvoSwitch data point to the Scheduler application. To do this, click the nvoSwitch data
point in the navigation pane to the left. Optionally, you can add or modify the data point’s presets
(see Chapter 7 of the SmartServer User’s Guide for more information for how to do this).
13. Click one of the Input icons ( ), or click anywhere in the Log box ( ). The Data
Logger: Data Points Web page opens in the application frame to the right.
14. Click the nviSwitch and nviSwitch1 data points in the navigation pane to add them to the Data
Logger application.
16. Click Close, click Submit, and then click Back to return to the Data Logger: Configure Web
page. Finish configuring the Data Logger application following Chapter 8, Data Logging.
17. In your OpenLNS CT drawing, verify that the SNVT_switch input network variables on the
lights’ functional blocks have been updated after the Scheduler executed its events on the
nvoSwitch output network variable.
5. Open the Alarm Generator Configuration Web page on the SmartServer following the steps
described in the previous section, Opening SmartServer Applications with OpenLNS CT. The
Alarm Generator: Configure Web page opens.
7. Select the input, compare, and output data points to be used by the Alarm Generator following
these steps:
a. Click the data point icon ( ) below Input in the application frame to the right
and then click the nviAgInput data point in the navigation pane to the left.
b. Click the data point icon ( ) below Compare in the application frame and
then click the nviCompare data point in the navigation pane.
c. Click the data point icon ( ) directly below the Use SNVT_alarm Output
check box in the application frame to select a SNVT_alarm data point, or click the data point
10. Click the Alarm Notifier functional block in the SmartServer to open the Alarm Notifier:
Configuration Web page.
11. Select the input and output data points to be used by the Alarm Notifier following these steps:
a. Click one of the Input icons ( ), or click anywhere in the Log box ( ). The
Alarm Notifier: Data Points Web page opens in the application pane.
b. Click the nviAnAlarm data point in the navigation pane, click Submit, and then click Back
to return to the Alarm Notifier: Configuration Web page.
c. Click any of the e-mail or data point icons above the Aggregation Time (e-mail) box in the
application frame to the right. The Alarm Notifier: Destination Web page opens.
d. Under the Output column, click the Active Alarm Condition row ( ), click the
nvoAnAlmFlag data point in the navigation pane to the left, and then select the OFF preset in
the Value column. The data point is set to 0.0 0 when an active alarm condition is received.
By default, active alarm conditions include AL OFFINE, AL_HIGH_LMT_ALM_1,
AL_LOW_LMT_ALM_1, AL_HIGH_LMT_ALM_2, AL_LOW_LMT_ALM_2, and
AL_ ALM_CONDITION.
e. Repeat step d, except click the click the Passive Alarm Condition row ( ) under the Output
column and select the ON preset in the Value column. The nvoAnAlmFlag data point is
13. Return the nviAgInput to its previous value. The AC Unit is re-enabled when its enable input
data point receives the 100.0 1 value from the Alarm Notifier for the passive alarm condition.
Note: If you have one or more remote SmartServers on the LAN, the Create External NV option
is not available in the shortcut menu of the network variable in the OpenLNS tree. Instead,
right-click the network variable in the OpenLNS tree, select Copy External NV on the shortcut
menu, right-click any object in the network tree of the target SmartServer, and then click Paste
External on the shortcut menu.
Tip: If you need to copy a large number of external data points to the SmartServer, you can copy
one or more external devices in the OpenLNS tree that have the same program ID and then use a
device template to paste specific data points in the device interface to the SmartServer tree. This
feature provides the functionality of the i.LON 100 PointFactory Plug-in, which is compatible
7. Copying data points from the OpenLNS tree to the SmartServer tree also creates or updates the
data points and their parent objects in the SmartServer’s internal database. Specifically, new or
updated XML files representing the general and LONWORKS properties of the copied data points
and their parent objects are saved to the /config/network/<Network>/<Channel>/<Device> folder
on the SmartServer’s flash disk. This means that you can now directly make changes to these
objects in the SmartServer tree, and they will be propagated to the OpenLNS network database
(the changes are propagated automatically if you are using LNS Auto mode, or they are
propagated when you manually synchronize the SmartServer to the OpenLNS network database).
Note: The actual poll rate for a data point is determined by calculating the greatest common
devisor of all the poll rates set for the data point in the applications to which it has been
added.
Most likely the resource files that you are using are in the wrong folder on the SmartServer flash disk.
If you saved the resource files in the /lonWorks/types folder they may not show up.
Save the resource files in a company-specific directory in the /lonWorks/types folder (e.g,
/lonWorks/types/User/YourCompany.
The SmartServer exhibits problems due to a low-memory condition. This could be indicated by
one or more of the following: “out-of-memory” messages, slow network access, application
performance problems, or even an unexpected reboot. What is wrong?
Reduce the number of Alarm Notifiers and/or the size limit of the alarm Summary Logs (which are
kept in RAM).
Reduce the number of Web clients that are simultaneously accessing the SmartServer.
If you are making calls to the SOAP interface on the SmartServer refer to the SmartServer 2.2
Programmer’s Reference for specific recommendations on limiting SOAP messages.
I can’t make my SmartServer send an e-mail message. What am I doing wrong?
E-mails are sent as a result of alarm conditions. Verify that the alarm condition actually triggers and
that the e-mail should be sent.
After changing the type of a data point using the LonMaker browser, the data point starts
showing incorrect data.
The OpenLNS Server may be using old format data. Close and restart all OpenLNS applications.
My Service LED is blinking, what does this mean?
The Service LED blinks when the SmartServer is not commissioned. When the SmartServer is added
to a network and commissioned, the Service LED will turn off.
When updating the SmartServer, I get an error that the update completed successfully, but the
device has not been updated successfully yet. What is wrong?
This error occurs when you attempt to update the SmartServer while monitoring many of its network
variables with a very short poll time. Try turning off monitoring or increasing the poll time.
I can’t open the network using a non-SmartServer network interface. What is wrong?
If you were using the SmartServer as an RNI and then switched to another network interface, you need
to disable RNI on the SmartServer in order to open the network. This can be done using the console
application or the Setup - Security Web page.
I can’t open the network using the SmartServer as an RNI. What is wrong?
Can you access the SmartServer via HTTP (i.e. the SmartServer Web pages)? If not, then you may not
be in TCP/IP communication with the SmartServer. Check the connection. If using static IP
addresses, make sure that your computer is on the same subnet as the SmartServer. If using DHCP,
consult your network administrator.
If you are can see the SmartServer Web pages, but still cannot open the network via RNI, check the
following:
Ensure that RNI is enabled on the SmartServer with the Setup - Security Web page or with the console
application.
dir [directory] Lists directory contents. If no directory is specified, lists the contents
of the current directory.
disable service Disables a service. Available services are:
eFtp – FTP access.
Web – HTTP access.
Dial-in – Dial-in access.
IPv4DnsServerViaDhcp – Obtaining DNS server from DHCP on
IPv4 networks.
IPv4DnsDomainViaDhcp – Obtaining DNS suffix via DHCP on IPv4
networks.
IPv6ManualAddress – Manually setting the IPv6 network address
and gateway address with the IPv6address, IPv6prefixlength and
IPv6gateway commands.
IPv6stack – Disables the IPv6 interface on the SmartServer.
secureaccess – Disables security access mode temporarily, until the
next time the SmartServer is rebooted. You can also re-enable security
access mode with the enable command after running this command.
secureaccess always – Disables security access mode persistently,
even through reboots of the SmartServer. You can re-enable security
access mode with the enable command after running this command.
dnsdomain domain Sets the DNS domain name. This command is valid only when DHCP
is turned off, or Obtaining DNS Suffix From DHCP is disabled while
DHCP is enabled (see the enable and disable commands for more
information).
dnsprimary address Sets the IP address of the primary DNS server. This command is valid
only when DHCP is turned off, or Obtaining DNS Suffix Via DHCP
feature is disabled while DHCP is enabled (see the enable and disable
commands for more information). This command accepts both IPv4
and IPv6 addresses.
dnssecondary address Sets the IP address of the secondary DNS server. This will only be
used if the primary DNS server cannot be contacted. This command
accepts both IPv4 and IPv6 addresses.
URLs are defined with the assumption that you are starting from the root directory of the Web site, and
not the SmartServer. For example, to restrict access to http://building10/forms/floor3/ the URL must
be defined as “/forms/floor3/*”. The wildcard is required in order to place this setting across the
entire directory. To restrict access to the whole site you need to use the URL “/*.” The following
figure shows examples of URLs (note that the leading “/” is required syntax).
The SmartServer security mechanism allows each user to be a member of one group only. As a result,
you need to create four groups: one for access to floor 1 and floor 2 for Bob, one for access to floor 2
for Ann and Jill, one for access to floor 3 for John, and for access to all floors for superuser.
To set up the users and groups described above, follow these steps:
1. In the Users tab, enter a user name in the Username box, enter the password to be used by the
user in the Password and Confirm Password boxes, and then click Add User.
2. Click the Groups tab to create the necessary groups. To create a group, enter a group name in the
Group Name box and then click Add Group.
Note: If you create 16 or more groups of users, you may need to change some of the parameters as
described in the Parameters section later in this appendix.
Locations
Locations are defined as ranges of IP addresses from which a particular group of users can access a
particular folder. “*” is used as a wildcard. To create a location, follow these steps:
The following table lists some example location settings.
Location IP Address Comments
Name Range
Realms
Realms define the folders the various groups and locations are allowed to access. Each realm is
defined using the format URL:GROUP:LOCATION, where users from the specified GROUP and
LOCATION are given access to the specified URL. To create a realm follow these steps:
1. In the URL box, Enter the path of the folder on the SmartServer flash disk containing the Web
pages to be protected. This path is relative to the root/Web folder on the SmartServer flash disk.
2. Select the group to have access to the URL specified in step 1 from the Group list and then click
Add Group.
3. Select the location that must be used to access the URL specified in step 1 from the Location list
and then click Add Location.
For example, consider a SmartServer Web site that allows users to monitor occupancy information,
temperature, and light level on the floor on which they live within a three-story building. Floors 1, 2,
and 3 have corresponding Web pages stored in folders under /forms: /forms/floor1, /forms/floor2,
and /forms/floor3. There are five users that can access this site: superuser, Ann, Bob, Jill, and John.
They belong to the following groups: tenants_floor12, tenants_floor2, tenants_floor3, and admin as
described above.
Tenants are allowed to access Web pages of their floor only, but can login from any local host. Local
hosts may have any IP address in the network 10.1.0.0 / 254 (for example, 10.1.0.1–10.1.0.254). There
is one “superuser” that designs Web pages, and has unlimited access to the Web site. For security
purposes, “superuser” accesses the site from one host only using IP address 10.1.0.10. The Web site
should be restricted to all other users.
Parameters
You can set the Web server parameters for memory partitions and task management using the
Parameters tab. These parameters govern the behavior of the Web server. Typically, you will not
change any of the values in the Parameters tab; however, if you create 16 or more groups of users and
you have trouble accessing the SmartServer, click the Parameters tab and then make the following
changes to the listed properties:
Global memory partition size 80 KB
Request memory partition size 80 KB
Maximum form symbols 200
Maximum URL length 2,048
Securing Folders
/user
The /user folder includes the directories that hold custom Web pages, factory i.LON Vision Web
pages and framesets, and web pages that do not contain web tags. If you have a single user group (for
example, “all”), you can secure the entire /user folder by creating a realm with the following format:
/user/*:all:everywhere
/user/Echelon
The /user/Echelon folder contains the factory i.LON Vision Web pages and framesets. Some of the
HTML files in this folder are also used for custom framesets.
If you password protect the entire /user/Echelon folder, you must add a realm for each HTML file
used in your custom framesets and web pages.
If you have multiple user groups, do not secure the entire /user/Echelon folder. This is because all
custom framesets use specific HTML files in this folder. Instead, you can secure the
/user/Echelon/Menu.html file and then secure all custom Web page folders using the following
format:
/user/Echelon/Menu.html:all:everywhere
See Securing Files for more information about the /user/Echelon/Menu.html file.
/user/<customWebPages>
The /user/<customWebPages> folder contains the user-created folders that hold the user i.LON Vision
framesets. If you secure the entire /user/Echelon folder, you will have to add a realm entry for any
factory HTML files, such as ViewEventScheduler.html, that are used by the custom Web pages or
framesets.
To secure a custom Web page folder, create a realm using the following format:
/<dir path>/*:<group>:<location>
The following example displays a realm created for a custom Web page folder:
/user/user1/*:all:everywhere
/WSDL
The /WSDL folder contains WSDL files, which are used by SOAP clients accessing the SmartServer.
If you secure the WSDL files, all SOAP clients need a user name and password to access the
SmartServer.
Securing the /WSDL folder, affects the following Web pages and applications:
All Web pages, including those that have functions using SOAP calls. This folder does not contain
Web Tags or i.LON Vision objects.
Client programs, such as .NET applications, that use SOAP to access the SmartServer.
Web connections.
Securing Files
You can protect a file in the SmartServer by creating a realm using the following format:
/<dir path>/<file name>:<group>:<location>
Note: For *.gz files in the /user/Echelon folder, do not include the .gz extension in the file name. The
.gz extension is used for compressed files. For example, to secure the View Event Scheduler.html.gz
file, create a realm using the following format:
/user/Echelon/ViewEventScheduler.html:all:everywhere
/user/Echelon/Menu.html file
You can automatically secure all the files in the user/Echelon folder by securing the
/user/Echelon/Menu.html file. The protected files can still be accessed by your custom Web pages.
If you secure only the /user/Echelon/Menu.html file in the /Echelon folder, Web page security will
still function when you access other files in the /Echelon folder through a factory or custom frameset.
Note: If you directly access a file in the user/Echelon folder using its URL, the web page may appear
briefly before the Login-in dialog is displayed. The information momentarily displayed on the Web
page (the port numbers for the Web server and Telnet) is statically added to the HTML page and is not
dynamically retrieved from the SmartServer; therefore, no security risk exists.
To prevent Web pages from being displayed prior to the Login-in dialog, you have to secure all the
files in the user/Echelon folder; therefore, secure only the /user/Echelon/Menu.html file.
Example 1
Users: Single user group (or multiple user groups with only the system web pages secured).
Security Level: Minimal password protection.
Types of Pages Accessed: Factory Web pages only (no custom web pages).
WebParams.dat file:
(Users)
all:ilon:ilon
(Locations)
everywhere:*.*.*.*
(Realms)
/user/Echelon/Menu.html:all:everywhere
(Aliases)
Note: This is the factory default setting. It provides Login security to all factory Web pages.
Example 3
Users: Two user groups (“all” and “enduser”).
Security Level: Factory system Web pages secured only.
Types of Pages Accessed: Factory Web pages though the frameset (not accessed directly). SOAP
applications and Web connections can access the SmartServer without password protection. See
example 4 for how to implement full password protection for this scenario.
WebParams.dat file:
Example 4
Users: Two user groups (“all” and “enduser”).
Security Level: Complete password protection.
Types of Pages Accessed: “all” user group can access all Web pages; “enduser” group can only access
custom Web pages.
WebParams.dat file:
(Users)
all:ilon:ilon
soapuser:soap:soap
enduser:Tom:user
enduser:Steve:user
(Locations)
everywhere:*.*.*.*
(Realms)
/WSDL/*:all:everywhere
/WSDL/*:soapuser:everywhere
/WSDL/*:enduser:everywhere
/user/tools/*:all:everywhere
/user/Echelon/Menu.html:all:everywhere
/user/user1/*:all:everywhere
/user/user1/*:enduser:everywhere
(Aliases)
Example 5
Users: Two user groups (“all” and “enduser”).
Security Level: All Web pages secured, but some system Web pages can be accessed by “enduser”
group.
Types of Pages Accessed: “all” user group can access all Web pages; “enduser” group can access
custom Web pages and some system Web pages (such as Event Scheduler).
WebParams.dat file:
(Users)
all:ilon:ilon
soapuser:soap:soap
enduser:Tom:user
enduser:Steve:user
(Locations)
everywhere:*.*.*.*
(Realms)
/WSDL/*:all:everywhere
/WSDL/*:soapuser:everywhere
/WSDL/*:enduser:everywhere
/user/tools/*:all:everywhere
/user/Echelon/Menu.html:all:everywhere
/user/Echelon/ViewEventScheduler.html:all:everywhere
Example 6
Users: Three user groups (“all”, “enduser”, and “enduser2”).
Security Level: User groups have varying access to Web pages in a single custom frameset.
Types of Pages Accessed: “all” user group can access all Web pages; “enduser” group can access
custom Web pages except room2.htm; and “enduser2” group can access custom Web pages except
room1.htm.
You can secure the SmartServer in two ways in this scenario:
Store all files in a custom Web folder. In this custom Web folder, store common files in one
subdirectory, and store files to be accessed by specific user groups in separate subdirectories.
Store all common files in a custom Web folder, and create separate subdirectories in the /user
folder for each set of files to be accessed by specific user groups. This is the recommended
solution.
The partial WebParams.dat for the second solution is provided. The /user1 folder contains the
frameset and common custom web page files. The /enduserDir/ and /enduser2Dir folders contain the
files accessible by individual user groups.
(Users)
all:ilon:ilon
soapuser:soap:soap
supervisor:super:super
supervisor:super1:super
enduser:Tom:user
enduser:Steve:user
enduser2:Ed:money
enduser2:Tyler:monk
(Locations)
everywhere:*.*.*.*
(Realms)
/WSDL/*:all:everywhere
/WSDL/*:soapuser:everywhere
/WSDL/*:supervisor:everywhere
/WSDL/*:enduser:everywhere
/WSDL/*:enduser2:everywhere
/user/tools/*:all:everywhere
/user/Echelon/Menu.html:all:everywhere
/user/user1/*:all:everywhere
/user/user1/*:nduser:everywhere
/user/user1/*:enduser2:everywhere
/user/enduserDir/*:all:everywhere
/user/enduserDir/*:supervisor:everywhere
/user/enduserDir/*:enduser:everywhere
/user/enduser2Dir/*:all:everywhere
/user/enduser2Dir/*:supervisor:everywhere
/user/enduser2Dir/*:enduser2:everywhere
(Aliases)
Note: Do not copy the config folder or the WebParams.dat file in the
LonWorks\iLon100\images\iLon100 4.<xx> directory to your SmartServer. This prevents the
following:
Deletion of network configuration data if you did not change the name of the network from
the default Net.
Duplication of network configuration data if you are running the SmartServer in Standalone
mode.
Overwriting the /config/systemhealth.conf file, which determines how the SmartServer’s
system health is monitored.
Overwriting the /config/software/lspa.xml file, which contains the current LonScanner
Protocol Analyzer settings that you may have specified in the Setup – Security Web page.
Overwriting any pre-defined type translator rule XML files in the
/config/software/translatorRules folder that you may have modified
Overwriting any pre-defined template XML files in the /config/template folder that you may
have modified.
Overwriting any Web page restrictions you may have created with the i.LON Web Server
Security and Parameters program.
5. Copy the startup.scr file in the LonWorks\iLon100\images\iLon100 4.<xx>\config folder on
your computer to the /config directory of the SmartServer flash disk.
When installing the SmartServer 2.2 and i.LON LNS Server software,
you must agree to the terms of the software license agreements
detailed in this appendix.
NOTICE
This is a legal agreement between you (“You” “Your”) and Echelon Corporation
(“Echelon”). YOU MUST READ AND AGREE TO THE TERMS OF THIS
SOFTWARE LICENSE AGREEMENT BEFORE ANY SOFTWARE CAN BE
DOWNLOADED OR INSTALLED OR USED. BY CLICKING ON THE
“ACCEPT” BUTTON OF THIS SOFTWARE LICENSE AGREEMENT, OR
DOWNLOADING SOFTWARE, OR INSTALLING SOFTWARE, OR USING
SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE TERMS AND
CONDITIONS OF THIS SOFTWARE LICENSE AGREEMENT. IF YOU DO NOT
AGREE WITH THE TERMS AND CONDITIONS OF THIS SOFTWARE
LICENSE AGREEMENT, THEN YOU SHOULD EXIT THIS PAGE AND NOT
DOWNLOAD OR INSTALL OR USE ANY SOFTWARE. BY DOING SO YOU
FOREGO ANY IMPLIED OR STATED RIGHTS TO DOWNLOAD OR INSTALL
OR USE SOFTWARE AND YOU MAY RETURN IT TO THE PLACE YOU
OBTAINED IT FOR A FULL REFUND (IF APPLICABLE).
"Licensed Software" means the i.LON Utilities, i.LON System Image, and the
Programming Tools.
"i.LON Utilities" means the i.LON Server computer software utilities listed in the
utilities.txt file, and associated media, printed materials, and online or electronic
documentation, including without limitation any and all executable files, add-ons,
stencils, templates, i.LON Vision 2.2 shapes, SmartShapes® symbols, SOAP
APIs, filters, tutorials, help files, Web pages and other files, that accompany such
software or are in the accompanying documentation.
"i.LON Server" means Echelon’s i.LON e3 plus Internet Server, SmartServer, or
SmartServer 2.2 product, or any successor product sold by Echelon.
"i.LON System Image" means the firmware preloaded on an i.LON Server or
listed in the system.txt file, and associated media, printed materials, and online or
electronic documentation, including without limitation any and all executable
files, tutorials, help files, Web pages and other files, that accompany such
software or are in the accompanying documentation.
“LNS Proxy” means the driver that allows access to the OpenLNS Server,
synchronization between the i.LON Server and the OpenLNS database, and
copying of external data points from the OpenLNS database to the i.LON Server.
The LNS Proxy includes Web applications files, the Spring 2.5.6 Framework,
Spring-WS 1.5.7 and JAXB2 2.1 SOAP frameworks library files, and the
LnsNative.dll and LnsNativeUtil.dll files which access an OpenLNS Server.
LICENSE
You may:
(a) use the i.LON Utilities internally to Monitor, Control, and Configure i.LON
Servers and to create IP-852 Channels, each with a minimum of one (1) i.LON Server
and up to 255 additional IP-852 Devices;
(b) copy the i.LON Utilities as reasonably necessary for such permitted internal use
and for backup or archival purposes consistent with Your archive procedures,
provided that You reproduce, unaltered, all proprietary notices on or in such copies;
(c) use the Programming Tools solely within the Echelon freely programmable
modules (“FPM”) framework to create and install custom apps on one or more i.LON
Servers;
(a) Open Source Software. The Licensed Software may include, or may be distributed
on the same media or in the same download with, software that is subject to open
source licensing terms ("Open Source Software") which terms are available at
www.echelon.com. Open Source Software shall remain subject to such terms. The
Open Source Software is provided on an “AS IS” BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OR
CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH WARRANTIES
ARE HEREBY DISCLAIMED. NEITHER ECHELON NOR THE AUTHORS OF
THE OPEN SOURCE SOFTWARE SHALL HAVE ANY LIABILITY FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OR DISTRIBUTION OF THE OPEN SOURCE SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGES. Copyrights to the Open Source
Software are held by the copyright holders indicated in the copyright notices in the
corresponding source files. If the Open Source Software license also requires source
code to be made available, such source code is available at www.echelon.com.
Without limiting the foregoing, the Licensed Software may be distributed on the same
media or in the same download with certain software that is subject to a General
Public License (GPL) ("GPL Software"), and such GPL Software is licensed to You
free of charge.
(b) Wind River Software. The Licensed Software may contain software licensed from
Wind River Systems, Inc. (“Wind River”). The license terms applicable to software
licensed to Echelon by Wind River are incorporated herein.
TERMINATION
This license will continue until terminated. Unauthorized copying of the Licensed
Software or failure to comply with the above restrictions will result in automatic
termination of this Agreement and will make available to Echelon other legal
remedies. This license will also automatically terminate if You go into liquidation,
suffer or make any winding up petition, make an arrangement with Your creditors, or
suffer or file any similar action in any jurisdiction in consequence of debt. Upon
termination of this license for any reason You will destroy all copies of the Licensed
Software. Any use of the Licensed Software after termination is unlawful.
You may make appropriate and truthful reference to Echelon, Echelon products and
technology in Your company and product literature; provided that You properly
attribute Echelon’s trademarks and do not use the name of Echelon or any Echelon
trademark in Your name or product name. No license is granted, express or implied,
under any Echelon trademarks, trade names, trade dress or service marks.
Echelon warrants that, for a period of ninety (90) days from the date of delivery or
transmission to You, the Licensed Software under normal use will perform
substantially in accordance with the Licensed Software specifications contained in the
documentation accompanying the Licensed Software. Echelon's entire liability and
Your exclusive remedy under this warranty will be, at Echelon's option, to use
reasonable commercial efforts to attempt to correct or work around errors, to replace
the Licensed Software with functionally equivalent Licensed Software, or to
terminate this Agreement. EXCEPT FOR THE ABOVE EXPRESS LIMITED
WARRANTIES, ECHELON AND ITS SUPPLIERS MAKE AND YOU RECEIVE
NO WARRANTIES OR CONDITIONS, EXPRESS, IMPLIED, STATUTORY OR
IN ANY COMMUNICATION WITH YOU, AND ECHELON AND ITS
SUPPLIERS SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
NONINFRINGEMENT AND THEIR EQUIVALENTS. Echelon does not warrant
that the operation of the Licensed Software will be uninterrupted or error free or that
the Licensed Software will meet Your specific requirements.
SOME STATES OR OTHER JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSIONS
MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER RIGHTS THAT
VARY FROM STATE TO STATE AND JURISDICTION TO JURISDICTION.
LIMITATION OF LIABILITY
SAFE OPERATION
You agree to comply with all applicable export and re-export control laws and
regulations, including the Export Administration Regulations ("EAR") maintained by
the United States Department of Commerce. Specifically, You covenant that You
shall not—directly or indirectly—sell, export, re-export, transfer, divert, or otherwise
dispose of any software, source code, or technology (including products derived from
or based on such technology) received from Echelon under this Agreement to any
country (or national thereof) subject to antiterrorism controls or U.S. embargo, or to
any other person, entity, or destination prohibited by the laws or regulations of the
United States, without obtaining prior authorization from the competent government
authorities as required by those laws and regulations. You agree to indemnify, to the
fullest extent permitted by law, Echelon from and against any fines or penalties that
may arise as a result of Your breach of this provision. This export control clause
shall survive termination or cancellation of this Agreement.
The parties hereto confirm that it is their wish that this Agreement, as well as other
documents relating hereto, have been and shall be written in the English language
only.
Les parties aux présentes confirment leur volonté que cette convention de même que
tous les documents y compris tout avis qui s'y rattache, soient rédigés en langue
anglaise.
GENERAL
This Agreement shall not be governed by the 1980 U.N. Convention on Contracts for
the International Sale of Goods; rather, this Agreement shall be governed by the laws
of the State of California, including its Uniform Commercial Code, without reference
to conflicts of laws principles. This Agreement is the entire agreement between us
and supersedes any other communications or advertising with respect to the Licensed
Software and accompanying documentation. If any provision of this Agreement is
held invalid or unenforceable, such provision shall be revised to the extent necessary
to cure the invalidity or unenforceability, and the remainder of the Agreement shall
continue in full force and effect. If You are acquiring the Licensed Software on
behalf of any part of the U.S. Government, the following provisions apply. The
Licensed Software and accompanying documentation were developed at private
expense and are deemed to be "commercial computer software" and "commercial
computer software documentation", respectively, pursuant to DFAR Section
227.7202 and FAR 12.212(b), as applicable. Any use, modification, reproduction,
release, performance, display or disclosure of the Licensed Software and/or the
accompanying documentation by the U.S. Government or any of its agencies shall be
governed solely by the terms of this Agreement and shall be prohibited except to the
extent expressly permitted by the terms of this Agreement. Any technical data
provided that is not covered by the above provisions is deemed to be "technical
data/commercial items” pursuant to DFAR Section 227.7015(a). Any use,
modification, reproduction, release, performance, display or disclosure of such
technical data shall be governed by the terms of DFAR Section 227.7015(b). You
agree not to export the Licensed Software in violation of the laws and regulations of
the United States or any other nation. Echelon’s direct and indirect licensors of
software incorporated into the Licensed Software are third party beneficiaries of this
Agreement and this Agreement is made expressly for the benefit of, and is
enforceable by, Echelon and such licensors.
Echelon, LON, LonTalk, LonMaker, LonWorks, i.LON, and Neuron are registered
trademarks of Echelon Corporation in the U.S. and other countries. SmartShapes is a
U.S. registered trademark of Microsoft Corporation.