iApplianceWeb.com

EE Times Network
News Flash Appliance Insights Appliance Directory Standards in IA Webcasts


 

iLon, Brings the Web to LonWorks

By Michael Foley
iApplianceWeb
(07/05/01, 01:05:10 PM EDT)

Control networks aren't for wimps. They are usually involved in complex and critical applications that normal Ethernet networks can't handle. LonWorks is one of these control networks, and it is used to monitor and control devices in building automation, home automation, industrial automation, transportation, and
Figure 1 iLon 1000 Internet Server

utilities. The days of control networks that are islands unto themselves are over. The pervasiveness of the Internet is mandating that every network provide some type of path or gateway to the central or enterprise LAN. With the advent of information appliances, LonWorks is attempting to break free of its isolation with gateways and enter into the Internet generation. Echelon's iLon 1000 Internet Server is a device that bridges data from a Lonworks network to the Internet for monitoring and control through standard Web browsers.

What's a LonWorks?

Let's take a quick look at control networks and LonWorks. A simple definition for a control network is: any group of devices working in a peer-to-peer fashion to monitor sensors, control actuators, communicate reliably, manage network operation, and provide complete access to network data. Control networks provide deterministic timing of commands, responses, events, and data transfers. LonWorks is based upon the LonWorks protocol, also known as the EIA 709.1 Control Networking Standard. Neuron chipsets are used in transceivers for communicating across LonWorks. LonWorks consist of devices such as:

  • Network Interfaces
  • Control Modules
  • LonPoint Modules
  • Routers
Figure 2 Example Topology of LonWorks Network

All interactions and events are setup through the LNS network operating system. LNS provides configuration, diagnostics, and maintenance for LonWorks networks. LNS automates common system tasks, handles directory management, and routes services. LNS is configured through the LonMaker development tool. LonMaker is a software package for designing, installing, operating, and maintaining LonWorks networks. Based on LNS, LonMaker is a graphical programming tool that uses Microsoft Visio to release developers from the constraints of having to write code to design a LonWorks distributed control network.

iLon Makes the Connection

LonWorks does not natively interact with home networks or corporate LANs. Communication gateways must be provided to connect the networks together. This is where iLon fits in. Echelon made iLon specifically to collect data from LonWorks and provide a Web-based interface for monitoring and control. iLon is an appliance server platform that must be configured for each application. Standard Web page development tools and LonMaker are all that is required for iLon development.

iLon provides Web pages to view LonWorks devices and control them. It is built solidly for harsh environments and can act as a:

  • LonWorks Router
  • Data Server
  • Web Server

iLon's key features include:

  • Web Server
  • Data Server
  • FTP Server
  • SNTP Time Synchronization
  • DDE Server
  • Configuration Server and LonWorks/IP Tunneling

The LonWorks router application establishes a virtual LonWorks channel over IP, which is referred to as a LonWorks/IP channel. Data is tunneled across the LonWorks/IP channel. Configuration Server is used to setup on PC systems to establish LonWorks/IP channels and maintain a database of the channels. Channels can contain up to 40 devices.

The FTP server is used to build the directory structure on the iLon and to transfer files. The iLon has approximately 1 MB of storage space available for storage of user files. Application files are transferred to the iLon via FTP. Simple Network Time Protocol (SNTP) is used to synchronize the iLon with time servers. These servers can be located within a LAN or on the Internet. SNTP server settings are set through Configuration Server. iLon serves data through its Web services. The Web server supports standard Web pages generated with HTML and can incorporate dynamic data updates through Web page refresh or through Java scripting.

Figure 3 iLon 1000 Internet Server, Rear View

The iLon's CPU is a RISC processor with a MIPS 3900 core running at 50MHz. It runs on Wind River's VxWorks embedded operating system. It has 16 MB of RAM and 4 MB of flash storage. Up to 1 MB of flash memory is dedicated for user files such as Web pages, images, and data files. During operation, iLon can be placed on a shelf or rack-mounted using brackets that screw into the server.

Network connectivity is provided through its 10Mbps 10BaseT RJ45 port. Network setup is done through a DB9 RS232 serial console port using terminal emulator software, such as hyperterminal, running on a host PC. iLon contains a LonWorks interface based on the Neuron chipset and communicates to LonWorks through a two-wire interface (TP/FT-10 or TP/XF-1250 connector). iLon is a headless system, but does provide LEDs to indicate system and communication status.

Figure 4 iLon Network and Serial Connectors

Out of the Box

A starting point for getting up and running is the iLon 1000 Internet Server Starter Kit. This kit steps the user through the process of employing the iLon to add Web access to LonWorks. A host PC system is required to setup, configure, and test the iLon. The PC must already have a network card installed with TCP/IP networking enabled. The starter kit comes with:
  • Documentation
  • LonWorks System Starter Kit Software CD
  • LonMaker for Windows CD
  • LNS DDE Server CD
  • LonPoint AI-10 Analog Input Module: A LonWorks device that can measure two current, voltage, or resistance inputs
  • LonPoint AO-10 Analog Output Module: A LonWorks device that can drive two analog voltage, current, or resistance outputs
  • LonPoint DIO-10 Digital Input/Output Module: A LonWorks device that has two digital inputs and two digital outputs
  • LonPoint DIN Rail Base Plates: Base plates used for mounting LonPoint devices to a DIN Rail
  • LonPoint Free Topology TP/FT-10 Terminator: Electrical Terminator for LonPoint devices
  • Power supply and cords
  • I/O Cable: Twisted pair cable to connect LonPoint analog devices together
  • PCLTA-20 PCI LonTalk Adapter: LonWorks network interface for PCs
  • Interface Cable: Twisted pair cable with Weidmuller connectors to connect the PCLTA-20 to LonPoint devices
  • iLon 1000 Internet Server
Figure 5 iLon Starter Kit

Installation is rather straightforward. The software for building projects and drivers for the PC host and LonWorks interface card is loaded first. The LonWorks interface card is then installed into the PC host system. Upon start up the hardware is detected and initialized. A LonWorks network card utility is placed in the control panel to check communications.

Configuring the iLon for operation consists of three steps:

  1. Network setup through the console utility
  2. LonWorks setup using LonMaker & Visio
  3. Web page development

Connecting to an IP Network

Terminal emulator software is used to configure the iLon's network IP address assignment. These addresses should be obtained from a system administrator. An IP address and subnet mask are needed. The gateway IP address is optional depending upon the network layout.
Figure 6 iLon Network Configuration

LonMaker

During this installation process, LonMaker software is installed on the PC host. LonMaker performs three functions:
  1. Layout design of network.
  2. Commission the devices on the network.
  3. Monitor and maintain the network.

LonMaker is integrated within Visio to leverage its graphical capabilities to setup LonWorks. Visio comes with the LonMaker Integration Tool and is installed during the installation process. There are special stencils within Visio for LonWorks components such as iLon. Each LonPoint module and iLon adheres to the LonMark guidelines, so information about the devices in external interface files is uploaded directly from the devices onto LonMaker. The LonMaker page resembles a schematic that shows device connections and interactions. The bottom of the layout displays the devices connected to the channel. The top shows device interconnects and flow. The drawing below shows an example of a LonWorks design using LonMaker. Since it is graphical by nature, it plainly shows the layout of the network. If it looks pretty easy, that's because it is.

Figure 7 LonMaker Development Tool

Web Page Development

Web pages can be built using standard HTML editors. iLon's Web pages use special tags that call functions on the server to dynamically update data during Web page requests. The data is updated through Web page refresh, either manually by a user or automatically through meta tags or Java scripts. Echelon has taken liberties with the HTML tag set to automate the process of delivering data through its Web server. Instead of using custom processing instruction tags to identify special server-side instructions, they created their own tags, which means the Web pages will not be portable to other systems.

iLon's extended HTML tags provide access to system and network variable data. The is the tag used within Web pages to signal the server to include dynamic data. This tag is only recognized by iLon servers and will cause errors in browsers if it is served by other Internet servers. The tag is used to:

  • Display data
  • Create variables
  • Include files into the Web page response
  • Modify variables through forms

The tag syntax is:
[!FIELD:fieldname][!FORMAT:formattype][!PROPAGATE:{TRUE/FALSE}][!WAIT:TRUE]>

The following Web page was built using HTML with tags and Java scripts. It uses the tag to place dynamic data into the page.

Figure 8 Web Page with Dynamic Data

The documentation only discusses sending data through Web pages using HTML and Java script to render within the browser, but the iLon can do much more. The data can be formatted for XML, ASCII text, or other types of output. XML data from the iLon can be requested by other network servers for enterprise level data aggregation. The following code formats the data within XML when the page is requested:






Figure 9 XML data from the iLon

It also can formatted for raw data output for use in Java applets or ActiveX controls:

Current_Temp =
Control_Output =
Building_Mode =

Figure 10 Raw Data from the iLon

To iLon or not to iLon

iLon is efficiently tailored to work within the LonWorks environments. It is simple and intuitive to setup without the knowledge of a programming language. LonMaker makes it easy to integrate iLon into LonWorks for monitoring and control. Echelon did a good job in exporting data with its data and Web server. iLon's extended HTML tags make creating Web pages or transferring data in formats such as XML uncomplicated.

On the other hand, it can only operate with LonWorks and can only collect data from LonWorks devices. There is minimal security functionality on the system, mainly username and password authentication, since SSL and data encryption usually put a heavy burden on these type of low-end appliance servers. It also lacks email client functionality for event or alarm notification. One last drawback is that it's missing a data push option that schedules data transfers to other servers at set intervals. This function is mainly used for aggregating data from multiple systems.

Looking forward, Ethernet is extending itself into controlled environments with its high speed, wide adoption, dropping cost points, and Ethernet switches that provide deterministic functionality. This will limit the adoption of LonWorks and the iLon. But, if you're using or planning to use LonWorks, iLon provides an option for bridging data onto the Web.

Check out iLon's home networking demo at: http://demo.echelon.com.

Pricing and Availability

The iLon 1000 Internet Server Starter Kit is currently available for $2,995.


Product Name iLon 1000 Internet Server
Processor 32-bit RISC Processor with MIPS 3900 core (50MHz)
Operating System Wind River VxWorks
Memory 16MB RAM;
8KB NVRAM;
Storage 4MB Flash
LAN Connection RJ45 10BaseT Ethernet
Device Connectivity 1TP/FT-10 (Model 72001); TP/XF-1250 (Model 72002) with Weidmuller 2- conductor SLA 2/90 Twisted Pair Connector;
RS232 DB9 serial port;
RS232 DB9 console port
Web Services Web Server;
FTP Server
Other Services LNS DDE Server;
LonWorks/IP Channel Tunneling;
SNTP;
SNMP;
DHCP;
Serial based Console Management
Product Dimensions 8.5 x 8 x 1.75 in.;
213 x 203 x 44.4 mm.



Copyright © 2004 Appliance-Lab
Terms and Conditions
Privacy Statement