LonWorks and LONMARK for HVAC Building Automation
1. Introduction
LonWorks represents a foundational open solution for control networks globally, finding extensive application across building and home automation, industrial processes, transportation, and public utility control systems. Its core strength lies in enabling devices to operate in a peer-to-peer fashion, facilitating the monitoring of sensors, control of actuators, reliable communication, efficient network management, and comprehensive access to network data. The underlying communication standard, the LonWorks protocol, is formally recognized as the ANSI/EIA 709.1 Control Networking Standard [1].
At its essence, LonWorks operates on several key principles: control systems, irrespective of their specific application, share common fundamental requirements; networked control systems inherently offer greater power, flexibility, and scalability compared to their non-networked counterparts; and the adoption of control networks yields substantial long-term cost savings and enhanced profitability over traditional, isolated systems [1].
LonWorks networks distinguish themselves from conventional computer data networks (LANs) by being meticulously optimized for the specific cost, performance, size, and response demands characteristic of control applications. This tailored design allows LonWorks to penetrate application domains where general data networking technologies prove unsuitable. Manufacturers leveraging LonWorks components benefit significantly from accelerated development and engineering cycles, which translates into cost-effective product development and fosters interoperability among devices originating from diverse manufacturers [1].
The sophistication of LonWorks networks spans a wide spectrum, from compact embedded networks to expansive systems encompassing thousands of devices that orchestrate complex processes, such as those found in fusion lasers, paper manufacturing, and sophisticated building automation systems. These networks are deployed in a myriad of environments, including commercial buildings, transportation systems (trains, airplanes), and industrial facilities [1].
In contrast to traditional closed control networks that often rely on proprietary gateways, the LonWorks system champions interoperability, robust technological foundations, expedited development, and economies of scale. By distributing processing capabilities throughout the network and providing open access to every device, LonWorks effectively reduces installation and life cycle costs, bolsters reliability by mitigating single points of failure, and offers inherent flexibility to adapt to a broad array of applications. Within the realm of building control, LonWorks establishes a common infrastructure that seamlessly integrates all building systems, thereby minimizing excessive vertical integration and systemic isolation [1].
Echelon, the pioneering creator of LonWorks, provides a comprehensive ecosystem of products and support tailored for developers, system integrators, and end-users. This includes advanced development tools, sophisticated network management software, a variety of transceivers, versatile control modules, robust network interfaces, and dedicated technical support and training programs [1].
This deep dive aims to introduce the LonWorks system, offering an overview of its network and protocols, delving into the technical intricacies of the LonWorks protocol, detailing its system components, and elucidating the mechanisms for achieving product interoperability. A notable strength of the LonWorks system is its ability to automatically manage many technical details through its protocol, network operating system, and specialized network tools [1].
2. Technical Fundamentals
At the heart of the LonWorks system lies the LonWorks protocol, also known as the LonTalk protocol and formally recognized as the ANSI/EIA 709.1 Control Networking Standard [1]. This protocol furnishes a suite of communication services that empower devices to transmit and receive messages autonomously, without necessitating prior knowledge of the network’s topology or the specific addresses and functions of other devices. The protocol incorporates optional features such as end-to-end message acknowledgment, robust authentication mechanisms, and priority delivery capabilities, ensuring bounded transaction times for critical control functions. Furthermore, integrated network management services enable remote tools to interact with devices for configuration, parameter adjustments, application program downloads, problem reporting, and direct device control (e.g., start, stop, reset) [1].
LonWorks is fundamentally a layered, packet-based, peer-to-peer communications protocol [1]. Its architecture meticulously adheres to the layered guidelines stipulated by the International Standards Organization (ISO) Open Systems Interconnect (OSI) reference model, drawing parallels with established protocols like Ethernet and those underpinning the Internet. However, a critical distinction lies in the LonWorks protocol’s bespoke design, which is specifically engineered to meet the unique and stringent requirements of control systems. It prioritizes paramount reliability, consistent performance, and inherent robustness over the sheer data volume throughput typically emphasized by traditional data processing systems. By custom-tailoring each layer of the OSI model for control applications, LonWorks delivers a highly specialized and efficient solution for control networking [1].
ISO/OSI Reference Model and LonWorks Services
The LonWorks protocol comprehensively implements services across all seven layers of the ISO/OSI model, thereby ensuring a complete and scalable solution for control networks [1]:
| OSI Layer | Purpose | Services Provided by LonWorks Protocol |
|---|---|---|
| 7 Application | Application Compatibility | Standard Objects and Types; Configuration Properties; File Transfer; Network Services |
| 6 Presentation | Data Interpretation | Network Variables; Application Messages; Foreign Frames |
| 5 Session | Control | Request-Response; Authentication |
| 4 Transport | End-to-End Reliability | End-to-End Acknowledgment; Service Type; Packet Sequencing; Duplicate Detection |
| 3 Network | Message Delivery | Routing; Addressing (Domain, Subnet, Node IDs); Message Prioritization |
| 2 Link | Media Access and Framing | Carrier Sense Multiple Access with Collision Avoidance (CSMA/CD); Packet Framing; Error Detection (CRC) |
| 1 Physical | Electrical Interconnect | Transceiver Interface; Signal Encoding (e.g., Differential Manchester); Medium Dependent Interface (e.g., Twisted Pair, Power Line) |
Communication Channels and Transceivers
Each LonWorks device integrates one or more processors responsible for its intelligence and the implementation of the protocol, alongside a transceiver that establishes the electrical interface to the communication channel [1]. Devices autonomously publish information as required, and the protocol adeptly manages communication, even in scenarios where multiple devices attempt simultaneous transmissions. The communication channel, often simply referred to as a channel, exhibits diverse physical characteristics. Notably, different transceivers are designed to interoperate on the same channel, and channels are categorized by type, with each transceiver explicitly identifying the channel types it supports. The selection of a channel type profoundly influences transmission speed, maximum distance, and the permissible network topology. Consequently, compatible transceivers with congruent configurations are indispensable for all devices connected to a specific channel. Transceivers are readily available for a wide array of physical media, including twisted-pair cable, power line, radio frequency (RF), infrared, fiber optics, and coaxial cable [1].
Standards
LonWorks control networking technologies have garnered approval as national standards across multiple regions, including Europe (EN 14908), America (ANSI/CEA 709), and China (GB/Z 20177). Furthermore, LonWorks is recognized as a standard technology by influential organizations such as ASHRAE, IEEE, ANSI, and SEMI, underscoring its widespread acceptance and robust technical foundation [1].
3. System Architecture and Components
LonWorks network technology, originally conceived and developed by Echelon Corporation, is fundamentally structured around the Neuron® chip [2]. This advanced microprocessor integrates three Central Processing Units (CPUs) into a single silicon die, forming the intelligent core of any LonWorks compatible device. The overarching technology encompasses the physical media layer, the proprietary LonTalk protocol, standardized data type definitions, the Neuron chip itself, various transceivers, and a comprehensive set of specifications for deploying a local operating network [2].
Key Components:
- Neuron Chip: Serving as the intelligent core of LonWorks devices, the Neuron chip is responsible for executing the LonTalk protocol and application programs. Its integration of multiple CPUs facilitates efficient and distributed processing within the network [2].
- Transceivers: These components provide the essential electrical interface between the Neuron chip and the communication channel. They are engineered to operate across a diverse range of media, including twisted-pair wiring (e.g., FTT-10, LPT-10), power line, radio frequency (RF), infrared, fiber optics, and coaxial cable [2].
- LonTalk Protocol: This is the standardized communication protocol that governs information exchange among devices on a LonWorks network. It meticulously defines how devices communicate, thereby ensuring inherent interoperability across the system [2].
- LONMARK Interoperability Association: This independent body plays a crucial role by issuing guidelines and certifying devices. Its primary objective is to guarantee interoperability among products from different vendors operating on a single LonWorks network, fostering an open ecosystem [2].
- Routers: These network devices are designed to connect disparate LonWorks channels, enabling devices situated on separate segments to communicate effectively. Routers are instrumental in managing network traffic and facilitating communication across larger, more complex network architectures [2].
- Bridges: As active LonWorks compatible devices, bridges physically link two LonWorks channels. They intelligently decide whether a message received on one channel needs to be transmitted to the other channel, forwarding all messages within a specified domain [2].
- Repeaters: These devices serve to amplify signal strength, thereby extending the physical reach of a channel. Repeaters are used to connect multiple channel segments, overcoming distance limitations [2].
- Network Variables (NVs): NVs are standardized data points employed for communication between devices. Devices publish their outputs as NVs and subscribe to NVs from other devices to receive inputs, forming the basis of peer-to-peer communication [2].
- Configuration Properties (CPs): CPs are parameters that define the specific behavior and configuration settings of a LonWorks device, allowing for customization and fine-tuning of device operation [2].
- Network Management Tools: Software applications, such as LonMaker, are indispensable for network installation, configuration, maintenance, monitoring, and control. These tools are used to assign logical addresses, bind network variables, and manage device parameters across the network [2].
Network Layout and Addressing:
LonWorks networks are distinguished by their support for a free topology, which grants considerable flexibility in how devices can be physically connected. This includes various geometric configurations such as daisy-chain, star, bus, or mixed arrangements. This topological freedom is a significant advantage in building automation systems, allowing for adaptable and cost-effective installations. Different channels within a LonWorks network can be interconnected using routers, bridges, and repeaters, enabling the creation of highly complex and extensive network layouts [2].
Each Neuron chip possesses a globally unique 48-bit Neuron ID, serving as its immutable hardware identifier. For the purpose of logical grouping and efficient message routing, each device is assigned a logical address composed of three distinct parts: a Domain ID, a Subnet ID, and a Node ID [2]. The Domain ID can vary in length (0, 1, 3, or 6 bytes), with a zero-length domain frequently serving as a default. A single domain is capable of containing up to 255 subnets, with each subnet accommodating up to 127 nodes (devices), culminating in a theoretical maximum of 32,385 nodes per domain. Network configuration tools are responsible for mapping these unique Neuron IDs to the hierarchical domain/subnet/node logical addressing scheme during the initial network setup process [2].
Interoperability:
A cornerstone of LonWorks technology is its profound emphasis on interoperability [2]. This characteristic enables devices from a multitude of manufacturers to seamlessly integrate and communicate on a single network without the necessity of custom development or proprietary modifications. The LONMARK certification process plays a vital role in this, ensuring that certified devices adhere to stringent interoperability guidelines. This commitment to open standards fosters a truly open system, facilitating comprehensive coordination and control across traditionally disparate building subsystems, including HVAC, lighting, security, and space comfort management [2].
4. Types and Classifications
LonWorks networks and their constituent devices are categorized and classified based on several intrinsic characteristics, encompassing their communication medium, network topology, and the functional profiles meticulously defined by LONMARK. The fundamental strength of LonWorks technology resides in its capacity to furnish an open and inherently interoperable platform for a diverse array of control applications, with a particular emphasis on HVAC systems [3].
Key Definitions and Classifications:
- Lon (Local Operating Network): This is the overarching, general term that encompasses all facets and components of LonWorks technology [3].
- LonWorks: This term specifically refers to the entirety of the technology, including the physical media layer, the LonTalk protocol, the definitions of various data types, the Neuron chip, the transceivers, and the comprehensive specifications required for implementing a local operating network [3].
- LonTalk® Protocol: This is the standardized communication protocol that governs information exchange across LonWorks networks, precisely defining how devices communicate and thereby guaranteeing interoperability [3].
- LNS® (LonWorks Network Service): This service is instrumental in the setup and configuration processes of a LonWorks network [3].
- LonMaker® / IzoT CT®: These represent Echelon’s primary network configuration and commissioning tools, crucial for deploying and managing LonWorks systems [3].
- SCPT (Standard Configuration Property Type): This defines the standard types for network configurable inputs (nci), allowing for consistent configuration across devices [3].
- SNVT (System Network Variable Type): These are standardized data types for network variables. Common examples include
SNVT_switch,SNVT_lev(level), andSNVT_count. These are further delineated as Network Variable Inputs (nvi) and Network Variable Outputs (nvo) [3]. - Neuron ID: A unique, 48-bit serial number permanently embedded within each Neuron chip, serving as an immutable identifier for the device [3].
- Neuron Chip: This refers to the proprietary processor (e.g., models 3120 or 3150) developed by Echelon, which houses the Neuron ID and executes the LonWorks protocol [3].
- Service Pin: A physical switch present on a Lon device, utilized to broadcast its Neuron ID to the LNS during the commissioning phase [3].
- Transceiver: This component acts as the electrical interface between the Neuron chip and the network communication channel, often taking the form of an isolation transformer (e.g., model FT-X1) [3].
- Chip Set: A generic term denoting the combination of the Neuron chip and its associated transceiver device, a pairing that is indispensable for the operation of every Lon device [3].
Network Differences and Commissioning:
When contrasted with other prevalent RS-485 HVAC protocols, such as Modbus or BACnet MS/TP, LonWorks exhibits several distinctive characteristics [3]:
- Wiring: While EIA-485 typically mandates shielded, twisted-pair wiring, the original LonWorks specifications were more flexible, permitting unshielded twisted-pair. Over time, Echelon has refined its cabling specifications to embrace a broader range of wire types, including certain shielded options [3].
- Polarity and Parity: A simplifying aspect of LonWorks is its lack of wire polarity (i.e., no strict A- or B+ designations) and the absence of parity settings (e.g., 8EVEN1 or 8NONE1), which streamlines connection procedures [3].
- Network ID Assignment: Unlike other networks where a predefined address is statically assigned to a physical location, LonWorks dynamically associates a unique Neuron ID (broadcast by pressing a service pin during commissioning) with a specific Lon device and its equipment profile at the network level. This implies that the device’s identity is intrinsically linked to its physical hardware. Consequently, if a Lon device is replaced or swapped, re-commissioning at the network level is required to re-establish the association between the new Neuron ID and its designated role within the BAS [3].
LonWorks Variables:
LonWorks employs a variety of network variables, encompassing both analog and digital network inputs and outputs. Notably, some variables possess the capability to integrate both digital and analog aspects, operating independently. For instance, the nviDrvSpeedStpt variable can simultaneously transmit a speed reference and run-stop commands. Its values might be 0.0 0 to signify 0% speed and an Off state, and 100.0 1 for 100% speed and an On state. The units for these variables can vary, with some utilizing percentages and others employing actual engineering units. Network configurable input (nci) variables are exclusively accessible via LNS network tools and, while their values can be stored within individual network devices, they are not directly accessible by the device itself [3].
5. Selection and Specification
The judicious selection and precise specification of LonWorks and LONMARK devices for HVAC building automation systems necessitate a thorough evaluation of system requirements, guaranteed interoperability, and strict adherence to pertinent industry standards. The Unified Facilities Guide Specifications (UFGS) 23 09 23.01 serves as a comprehensive directive, offering detailed guidance for the implementation of LonWorks Direct Digital Control (DDC) systems within HVAC and other critical building control applications [4].
System Requirements:
A LonWorks-based DDC system intended for HVAC applications must rigorously satisfy the requirements outlined in both general instrumentation and control specifications (e.g., UFGS 23 09 00) and the specialized LonWorks DDC specifications (e.g., UFGS 23 09 23.01). Key characteristics that must be considered during this phase include [4]:
- Open Implementation: The control system is mandated to be an open implementation of LonWorks technology, leveraging the CEA-709.1-D communication protocol to ensure broad compatibility and future-proofing.
- Standard Network Variable Types (SNVTs): The system must exclusively utilize LonMark Standard Network Variable Types (SNVTs) for all network communications, as explicitly defined in the LonMark SNVT List. This strict adherence is paramount for ensuring seamless interoperability among devices from disparate manufacturers.
- Integration with Supervisory Systems: LonWorks systems are frequently designed for integration with higher-level Utility Monitoring and Control Systems (UMCS) or supervisory systems based on the Niagara Framework. Consequently, specifications may necessitate specific tailoring options to accommodate either LNS-based or Niagara Framework-based LonWorks system architectures.
Network Hardware:
The specification of network hardware encompasses a variety of components essential for constructing a robust and reliable LonWorks network [4]:
- CEA-709.1-D Routers: These devices are critical for connecting different LonWorks channels and segments, thereby facilitating communication across the entire network infrastructure.
- CEA-709.1-D Repeaters: Employed to amplify communication signals, repeaters effectively extend the physical reach and integrity of network segments.
- CEA-709.1-D Gateways: These devices enable crucial communication bridges between LonWorks networks and other disparate protocols or control systems.
- CEA-852-C Router: A specialized router type that may be specifically required for certain advanced or complex network configurations.
- Ethernet Switch: For LonWorks systems that incorporate IP-based communication (e.g., LonWorks/IP), Ethernet switches are indispensable for efficient management of network traffic and connectivity.
Control Network Wiring:
Adherence to proper wiring practices is paramount for optimal LonWorks network performance. Specifications will meticulously detail requirements concerning cable types, permissible lengths, and precise termination procedures to guarantee reliable and error-free communication [4].
Direct Digital Control (DDC) Hardware:
This category encompasses the DDC controllers themselves and their associated input/output (I/O) functionalities [4]:
- Hardware Input-Output (I/O) Functions: These define the specific types of signals that the DDC controllers are capable of processing:
- Analog Inputs: Designed for reading continuous signals originating from sensors (e.g., temperature, pressure transducers).
- Analog Outputs: Used for controlling devices that respond to continuous signals (e.g., modulating valves, variable frequency drives).
- Binary Inputs: For interpreting on/off signals from devices such as fan status indicators or occupancy sensors.
- Binary Outputs: For controlling on/off devices, including relays and contactors.
- Relay Contact Closures: Used for switching electrical circuits.
- Triac Outputs: Specifically for controlling AC loads, commonly found in electric heaters or fan speed control applications.
- Pulse Accumulator: Utilized for counting pulses generated by devices like flow meters.
- Integrated H-O-A Switches: Hand-Off-Auto switches that are integrated directly into the controller for convenient local manual control.
- Local Display Panel (LDP): Provides local access for viewing and adjusting controller parameters, offering immediate operational feedback.
- Application Specific Controller (ASC): Controllers meticulously designed for particular HVAC applications (e.g., Variable Air Volume (VAV) boxes, fan coil units).
- General Purpose Programmable Controller (GPPC): Highly flexible controllers that can be programmed to suit a broad spectrum of applications.
- Application Generic Controller (AGC): Controllers pre-configured with standardized functions for common HVAC applications, simplifying deployment.
- Niagara Framework Supervisory Gateway: Essential for seamlessly integrating LonWorks devices into a supervisory system built upon the Niagara Framework.
Engineering Tools:
- Niagara Framework Engineering Tool: This specialized tool is employed for the engineering, configuration, and comprehensive management of Niagara Framework-based LonWorks systems [4].
Sizing Considerations:
The maximum permissible length of a channel segment is contingent upon several critical factors, including the chosen network topology (bus or free), the specific type and quality of the cable utilized, and the characteristics of the transceivers in use. These parameters demand meticulous consideration during the design phase to guarantee optimal network operation and to preempt potential communication issues [4].
6. Installation and Commissioning
The successful installation and commissioning of LonWorks and LONMARK systems within HVAC building automation environments involve a series of critical steps designed to ensure flawless functionality and seamless interoperability. This intricate process typically mandates the use of specialized tools and strict adherence to established guidelines [5].
Before-You-Begin Checklist:
Prior to embarking on the installation and commissioning phases, several essential prerequisites must be diligently addressed [5]:
- Control Program Creation: A fundamental requirement is proficiency in developing custom control programs, often utilizing specialized software environments such as Snap for Carrier i-Vu systems.
- Controller Installation and Setup: Comprehensive knowledge regarding the proper installation, wiring, initial setup, and memory download procedures for the specific LonWorks controller (e.g., i-Vu® Link/Open Link) is indispensable.
- Third-Party Commissioning: Ideally, the LonWorks network and its associated devices should undergo preliminary commissioning by the third-party representative, employing industry-standard tools like LonMaker.
Items to be Installed at the Job Site:
Key hardware components that are requisite for on-site installation include [5]:
- LonWorks Controller: This serves as the primary device responsible for controlling HVAC equipment (e.g., i-Vu® Link/Open Link).
- LonWorks Module Driver: Specific software drivers, compatible with the chosen controller (e.g.,
drv_ivuopenlink_<latest version>.driver), are necessary for proper operation. - Echelon® SLTA-10 Serial LonTalk® Adapter: One adapter is typically required for each LonWorks network segment connected to the controller. It is paramount to select the adapter model that precisely matches the intended network topology (e.g., #73351 for FT-10, #73352 for TP-78, #73353 for TP-1250, #73354 for RS-485 networks).
- Echelon® Power Supply: A dedicated, isolated power supply (e.g., part# 78010) is mandatory for the SLTA-10 to prevent potential damage and ensure stable operation.
- EIA-232/RS-232 Cable: A straight-through cable equipped with 9-pin connectors and an S2-DB9 adapter is used to establish the connection between the controller and the SLTA-10. As an alternative, an 18-22 AWG, 4-conductor cable with a DB9 male adapter can be utilized.
- Custom Control Programs and Graphics: The necessary
.equipmentfiles (containing control programs) and.viewfiles (for graphical interfaces) must be prepared for deployment to the controller.
Other Items Needed for Integration:
Beyond hardware, specific software and comprehensive documentation are vital for successful system integration [5]:
- LonWorks Integration Tool: A specialized software application (e.g., installed from the i-Vu® Tools DVD) is required for the meticulous configuration of LonWorks points.
- Network Variable Information (.xif file): The External Interface File (.xif) for each distinct type of LonWorks device (e.g., VAV Controller, Fan Coil Controller) is indispensable. These files can be sourced from the device manufacturer, the www.lonmark.com website, or directly extracted from the LonWorks device itself.
- Device Address Information: Crucial details such as the domain, index, subnet, and node address are essential for accurate device addressing. This information can be obtained from the client, the third-party representative, or from a
.logfile generated by the LonWorks device. - Manuals: Comprehensive operational and technical manuals for each type of LonWorks device are indispensable resources for reference and troubleshooting.
Step-by-Step Installation and Commissioning Procedures:
- Create Control Programs: Develop bespoke control programs for each LonWorks device type, incorporating appropriate network I/O microblocks (e.g., ANI, BNI for inputs; ANO, BNO for outputs). Reference to SNVT definitions can guide the selection of suitable analog or binary microblocks [5].
- Format LonWorks Addresses: Assign LonWorks addresses using the prescribed
lonworks://format within the EquipmentBuilder tool. An illustrative address format islonworks://domain_index/subnet/node/nv_Number(Selector in HEX)/SNVT Type/NV Element/Property/group. It is important to note that certain systems, such as Carrier, may not support a Domain Length of 0 [5]. - Assign and Download Programs: Proceed to assign and download the custom control programs and graphical views to the LonWorks controller (e.g., i-Vu® Link/Open Link). This involves selecting the target controller, adding the
.equipment(control program) and.view(graphic) files, and subsequently initiating a full content download to the device [5]. - Configure LonWorks Points: Utilize the dedicated LonWorks Integration Tool to meticulously configure all LonWorks points. This step may entail editing existing integration point addresses as required [5].
- Connect SLTA-10: Establish the physical connection of an SLTA-10 adapter to each LonWorks network segment that interfaces with the controller [5].
- Set Up Driver Properties: Configure the properties of the LonWorks driver to ensure optimal communication and functionality [5].
- Verify Controller Setup: Conclude the process by verifying the correct setup of the controller. This can be achieved, for instance, by capturing and analyzing communication data using tools like PuTTY [5].
Wiring Guidelines:
- Cable Type: The recommended cable type for LonWorks communications is typically 22AWG (0.65 mm) twisted pair, unshielded. However, for enhanced noise immunity and reliability, the use of shielded cable is strongly advocated for LonWorks installations [5].
- Polarity: A notable advantage of LonWorks communication wiring is its general insensitivity to polarity, which simplifies the wiring process [5].
- Topology: LonWorks inherently supports free topology, offering considerable flexibility in installation. This allows for diverse wiring configurations such as daisy-chain, stub, tree, star, or hybrid arrangements, thereby potentially reducing installation time and associated costs [5].
- Segment Length: The maximum allowable length of a channel segment is critically dependent on the chosen topology, the specific type and quality of the cable utilized, and the characteristics of the transceivers. Meticulous planning in the design phase is essential to prevent communication issues arising from exceeding these limits [5].
7. Programming and Configuration
The programming and configuration of LonWorks and LONMARK systems are pivotal processes that define the operational behavior of devices, establish critical parameters, and forge communication links across the network. This intricate phase heavily relies on the judicious application of Network Variables (NVs) and Configuration Properties (CPs) to realize desired control strategies within HVAC building automation [6].
Key Aspects of Configuration:
- Network Variable Description: LonWorks devices primarily communicate through the exchange of Network Variables. These variables are rigorously standardized by LONMARK, a crucial aspect that guarantees inherent interoperability across diverse devices and manufacturers. During the configuration process, the specific NVs that a device is designed to publish (outputs) and subscribe to (inputs) are meticulously defined. For example, a Variable Speed Drive (VSD) profile would typically encompass NVs for parameters such as speed reference, run/stop commands, and real-time operational status [6].
- Configuration Properties (CPs): CPs represent the fundamental parameters that dictate the operational characteristics and behavior of a LonWorks device. These encompass a wide array of settings, including control loop gains, setpoints, alarm thresholds, and other device-specific configurations. CPs are typically established and fine-tuned during the commissioning phase, utilizing specialized network management tools [6].
- Node Object: Every LonWorks device is represented on the network by a unique Node Object. This object encapsulates vital information about the device, its inherent capabilities, and its current operational status. Network management tools leverage the Node Object for essential functions such as device discovery, binding, and comprehensive diagnostics [6].
- Network Timer Functions: LonWorks systems are capable of incorporating sophisticated timer functions to implement various control strategies. These include scheduling, precise time delays, and the execution of periodic actions. Such timers are meticulously configured to trigger specific actions at predefined intervals or at designated times [6].
- Control Profiles: LONMARK has meticulously defined a range of functional profiles tailored for common HVAC equipment, such as the VSD 6010 Profile and the Trane FC Control Profile. These profiles serve to standardize the NVs and CPs for specific device types, thereby simplifying the integration process and ensuring consistent operational behavior across products from different manufacturers [6].
Controlling Devices (e.g., Adjustable Frequency Drives):
LonWorks systems offer the flexibility to control devices in both open-loop and closed-loop configurations [6]:
- Open-loop Control: In this configuration, the controller transmits commands to the device (e.g., a VSD) without actively receiving feedback on the actual output. While simpler to implement, this method offers less precision in control.
- Closed-loop Control: This more advanced configuration involves the controller sending commands and concurrently receiving feedback from the device. This closed-loop mechanism enables highly precise control and dynamic adjustment based on real-time performance. For instance, a VSD might receive a speed setpoint (an NV) and, in turn, report its actual operating speed (another NV) back to the controller, allowing for continuous optimization.
Accessing Parameters and Data Types:
- User-defined Network Variables (UNVT): While LONMARK provides a comprehensive suite of standardized SNVTs, certain specialized applications may necessitate custom data types. UNVTs offer the flexibility to define application-specific variables, catering to unique control requirements [6].
- Parameter Groups: Device parameters are typically organized into logical groups, which streamlines their management and configuration. These groups can encompass settings for motor control, I/O mapping, and various communication parameters [6].
- Data Types: LonWorks supports a diverse range of data types for both NVs and CPs, including analog, binary, and enumerated types. This versatility allows for the accurate representation of various physical quantities and operational states within the control system [6].
Network Variable Binding:
Network variable binding constitutes a critical step in the configuration of any LonWorks network. It involves the establishment of logical connections between the output NVs of one device and the input NVs of another. This mechanism facilitates direct data exchange (peer-to-peer communication) between devices, obviating the need for a central controller to arbitrate every transaction. Binding is typically executed using specialized network management tools, which generate a network image that precisely defines these inter-device connections [6].
8. Integration
LonWorks, while a robust and open protocol for building automation, frequently necessitates integration with other Building Management Systems (BMS), proprietary protocols, and contemporary cloud platforms. This integration is paramount for the creation of truly comprehensive and unified building control solutions. Gateways, in particular, play an indispensable role in facilitating seamless communication between these disparate systems [7].
Integration with Building Automation Systems (BAS):
Many advanced BAS platforms, suchou as Johnson Controls Metasys, inherently support the integration of LonWorks devices. This typically involves [7]:
- LonWorks Integration Objects: Within the BAS software environment, specialized integration objects or modules are employed to discover, configure, and manage LonWorks devices. These objects operate within network engines or supervisory controllers, acting as the interface to the LonWorks network.
- Network Engine as Integrator: The BAS network engine functions as a dedicated LonWorks network integrator, enabling the addition of LonWorks integration objects and communication trunks. This capability allows the BAS to effectively monitor and control a wide array of LonWorks devices.
- Mapping LonWorks Data: A crucial step involves the BAS mapping LonWorks Network Variables (SNVTs) and Configuration Properties (SCPTs) to its internal data points. This process renders LonWorks data accessible and actionable within the broader BAS environment.
Integration with BACnet:
BACnet (Building Automation and Control Networks) stands as another widely adopted open protocol in the building automation sector. Integrating LonWorks with BACnet is a common and often essential requirement, typically accomplished through the deployment of specialized gateways [7]:
- LonWorks to BACnet Gateways: These dedicated gateways are designed to facilitate the bidirectional exchange of data between LonWorks and BACnet networks. Their function is to make LonWorks devices, their network variables (SNVTs), and associated resources accessible from a BACnet-based control system or device.
- Functionality: Gateways are engineered to enable LonWorks devices to emulate the behavior of LonMark certified sensors and actuators on a BACnet network. They perform the critical task of translating LonWorks messages into corresponding BACnet objects and vice versa.
- Types of Gateways: A variety of gateways are available to support different BACnet communication methods, including BACnet/IP and BACnet MS/TP.
- UNVT Integration: Certain advanced gateways possess the capability to integrate User-defined Network Variables (UNVTs) from LonWorks devices into the BACnet environment, a feature that is particularly vital for highly customized applications.
Integration with Modbus:
Modbus, a serial communication protocol, is extensively utilized in industrial control systems and is increasingly adopted in building automation for simpler devices. Integration with LonWorks is seamlessly achieved through the use of gateways [7]:
- LonWorks to Modbus Gateways: These gateways enable LonWorks devices to communicate effectively with Modbus devices (e.g., those using Modbus RTU or Modbus TCP). They orchestrate the transfer of data between the two distinct protocols.
- Data Mapping: The gateway performs a critical data mapping function, translating Modbus registers into LonWorks Network Variables. This allows Modbus data to be published as LonWorks data and, conversely, enables control and monitoring of Modbus devices from a LonWorks network.
- Applications: This integration proves invaluable for incorporating Modbus-enabled equipment, such as power meters, Variable Frequency Drives (VFDs), or lighting controls, into a LonWorks-based BAS.
Integration with Cloud Platforms:
While LonWorks is inherently an on-premise network protocol, its integration with cloud platforms has become increasingly significant. This is driven by the growing demand for advanced data analytics, remote monitoring capabilities, and sophisticated building management services. This integration typically involves [7]:
- Edge Gateways: LonWorks networks connect to specialized edge gateways that are responsible for translating LonWorks data into formats suitable for cloud consumption (e.g., MQTT, RESTful APIs).
- Data Aggregation and Analytics: Cloud platforms are leveraged to aggregate data from multiple LonWorks networks, providing centralized dashboards, facilitating historical data analysis, and enabling predictive maintenance capabilities.
- Remote Access and Control: Cloud integration empowers facility managers with remote access and control over LonWorks-connected devices, allowing them to monitor and adjust building parameters from any location.
- Cybersecurity Considerations: When integrating with cloud platforms, the implementation of robust cybersecurity measures is paramount. This is essential to safeguard sensitive building data and control systems from unauthorized access and potential cyber threats.
In essence, gateways and specialized integration modules serve as the indispensable conduits between LonWorks and the broader ecosystem of building technologies. They ensure that LonWorks remains a viable, integral, and adaptable component of modern, interconnected building automation systems [7].
9. Troubleshooting
Effective troubleshooting of LonWorks and LONMARK systems in HVAC building automation demands a methodical approach to pinpoint and resolve issues, ranging from fundamental wiring discrepancies to intricate network configuration errors. Successful diagnosis and rectification are predicated on a deep understanding of the underlying technology, the proficient utilization of appropriate diagnostic tools, and the ability to accurately recognize common fault symptoms [8].
General Troubleshooting Concepts:
- Neuron Chip-based Devices: The troubleshooting process often commences at the Neuron chip circuitry, extending through the transceiver and ultimately onto the network itself. A comprehensive understanding of the internal operations of a LonWorks device is therefore paramount [8].
- Network Wiring: A significant proportion of LonWorks issues originate from wiring problems. These can include electromagnetic interference (EMI), loose or intermittent connections, broken wiring, the use of incorrect cable types, and exceeding permissible bus lengths. LonWorks networks, particularly those employing twisted-pair cabling, are susceptible to noise if not installed and terminated correctly [8].
- Configuration States: Devices can exist in various configuration states (e.g., unconfigured, applicationless, configured). Their behavior, including the indications provided by the Service LED, can offer crucial clues regarding their current status [8].
- Service LED Behavior: The Service LED on a LonWorks device provides invaluable visual feedback concerning its operational status. Distinct flashing patterns can signify normal operation, an unconfigured state, an applicationless state, or continuous watchdog resets. For instance [8]:
- LED OFF continuously: May suggest a faulty device hardware component, power supply issues, or problems with the clock circuit.
- LED ON continuously: This is typically normal for an applicationless device. If this state is unintended, it could indicate a checksum error, memory problems, or errors within the application code.
- LED flashes briefly once every second (for a 10MHz device) or once every two seconds (for a 5MHz device): This is the normal behavior for an unconfigured device. If this state is unintended, similar issues as above should be investigated.
- LED blinks ON & OFF at a 1/2Hz rate: This pattern usually signifies continuous watchdog resets, potentially caused by flawed application code or external memory issues.
Troubleshooting Tools:
A variety of specialized tools are available to aid in the troubleshooting of LonWorks networks [8]:
- Protocol Analysis Tools: Tools such as the LonManager Protocol Analyzer or LonBuilder Protocol Analyzer are designed to capture and analyze network packets. They provide critical insights into communication issues, offer summaries of good and bad packets, and furnish network traffic statistics.
- Network Management Tools: Software applications like LonMaker and IzoT CT (Echelon’s contemporary network tool) are primarily used for installation, configuration, maintenance, and commissioning. However, they also incorporate diagnostic functionalities, including commands such as
Install,Test,Wink, andQueryto interact with and diagnose devices. - NodeUtil: This shareware program allows for the interrogation and manipulation of LonWorks nodes. It can be used to discover nodes, alter node modes, reboot nodes, and report their status and statistics. It is important to note that NodeUtil does not maintain a persistent database, meaning any changes made are temporary.
- Oscilloscopes and Logic Analyzers: For diagnostics at the hardware level, these instruments are indispensable. They can be used to examine signal waveforms, clock circuits, and other electrical characteristics of both the network and individual devices.
Common Faults and Solutions:
- Auto Discovery Fails: If the automatic discovery process fails to detect devices, or if the Restart button does not display all devices, it often points to a communication failure. Potential solutions include verifying device-specific resource files, utilizing the Restart button to re-discover devices, or connecting a LonWorks network configuration tool (e.g., LN Builder, COM.PRO Tool) to confirm network communication and the integrity of the network database [8].
- Network Ground Faults: These can severely disrupt communication. Ensuring proper grounding and adequate shielding is crucial for network stability [8].
- Duplicate Subnet/Node Address: If multiple devices inadvertently share the same Subnet/Node address, network packets may be discarded. It is imperative to ensure that all devices have unique addresses within the network [8].
- Incorrect Domain ID: Discrepancies in Domain IDs, particularly if devices were configured using different LonBuilder working directories or systems, can prevent communication. Maintaining a single, consistent network management database is essential [8].
- Router Problems: Routers may fail to forward messages or become unresponsive after a Load/Start operation. This can be attributed to incorrect Subnet/Node ID information for the router’s internal halves or a faulty receiver within a device [8].
- Neuron Chip Operation Issues: Problems affecting the three internal processors (MAC, Network, Application) within the Neuron chip can manifest as unusual communication buffer issues or erratic software timer behavior. Such symptoms often indicate underlying problems in the application code or timing mechanisms [8].
- Reset Issues: The Undervoltage Reset (LVI) function is a non-optional safety feature designed to prevent EEPROM corruption. Malfunctions in the LVI circuit, such as incorrect capacitance or improper routing of the Reset line, can lead to device instability and unreliable operation [8].
- Clock Generation Issues: Inaccurate clock circuit waveforms can result in communication errors. This may be caused by defective components or incorrect configuration of the clock generation circuitry [8].
- Wiring Problems: Loose connections, improper termination, or excessive cable lengths can significantly degrade signal quality, leading to communication failures. Strict adherence to recommended wiring guidelines is therefore essential [8].
Effective troubleshooting demands a synergistic combination of software diagnostics, meticulous hardware inspection, and a profound understanding of LonWorks principles. Always consult the specific device manuals and LonMark guidelines for detailed error codes and precise diagnostic procedures [8].
10. Maintenance
Proactive and systematic maintenance of LonWorks and LONMARK systems within HVAC building automation is indispensable for guaranteeing sustained performance, unwavering reliability, and optimal energy efficiency over their operational lifespan. A robust maintenance strategy encompasses regular inspections, precise calibration, timely firmware updates, and the judicious replacement of components [9].
Key Maintenance Activities:
- Regular Inspections: Conduct periodic visual and functional inspections of all LonWorks devices, associated wiring, and the overall network infrastructure. Look for any indications of physical damage, loose electrical connections, or environmental degradation. This includes meticulously checking communication cables for integrity and confirming proper termination [9].
- Calibration Schedules: Many LonWorks-enabled sensors and actuators necessitate routine calibration to preserve their accuracy. For instance, Variable Air Volume (VAV) controllers equipped with flow transducers may feature automatic calibration functions that activate during unoccupied periods, thereby obviating the need for manual intervention. However, other critical sensors (e.g., for temperature, humidity, pressure) may require scheduled manual or automated calibration to ensure they consistently provide accurate data to the control system. LONMARK defines specific enumeration values to denote various calibration states (e.g.,
OLC_ON_UNOCCUP,OLC_OFF_UNOCCUP) [9]. - Firmware Updates: Like all intelligent electronic equipment, LonWorks devices may receive firmware updates. These updates are typically issued to rectify bugs, enhance performance, or introduce new functionalities by the device manufacturer. It is imperative to strictly adhere to manufacturer-provided guidelines for firmware upgrades, as improper procedures can lead to device malfunction. While some devices, such as WattNode® for LonWorks® models, support field firmware upgrades, it is generally advisable to undertake such updates only when explicitly necessary to address a known bug or implement a critical enhancement [9].
- Battery Replacement: Certain LonWorks devices, particularly those incorporating real-time clocks or non-volatile memory, may contain internal batteries that require periodic replacement. These batteries are crucial for preserving device configurations and maintaining accurate timekeeping during power interruptions. The maintenance schedule should explicitly include checks for battery status and their timely replacement as indicated [9].
- Network Health Monitoring: Implement continuous monitoring of the LonWorks network to detect communication errors, device failures, and any anomalies in network traffic. Network management tools are invaluable in this regard, providing diagnostic information, including statistical data and performance metrics, which can help identify potential issues before they escalate into system-wide failures [9].
- Software Driver Upgrades: For LonWorks integrations with Building Automation System (BAS) platforms (e.g., Johnson Controls Metasys), software drivers may require periodic upgrades. These upgrades ensure ongoing compatibility, optimize performance, and provide access to the latest features and enhancements. Such updates frequently include essential fixes and improvements [9].
- Documentation Review: Regularly review and meticulously update all system documentation. This includes network diagrams, detailed device configurations, and comprehensive maintenance logs. Accurate and up-to-date documentation is an invaluable asset for efficient troubleshooting and for guiding future system modifications [9].
Best Practices for Maintenance:
- Preventive Maintenance Schedule: Establish and rigorously follow a comprehensive preventive maintenance schedule that clearly delineates all necessary tasks, their required frequency, and the responsible personnel [9].
- Trained Personnel: Ensure that all maintenance personnel are thoroughly trained in LonWorks technology, familiar with specific device types, and proficient in the use of network management tools [9].
- Backup and Restore: Implement a routine for regularly backing up LonWorks network configurations and device parameters. This practice is vital for rapid system restoration in the event of data corruption or device replacement, minimizing downtime [9].
- Spare Parts Inventory: Maintain an adequate inventory of critical spare parts, including commonly used LonWorks devices, transceivers, and network components. This ensures prompt replacement during failures, further reducing system downtime [9].
- Security Updates: Stay vigilant regarding any emerging security vulnerabilities pertinent to LonWorks devices or network components. Promptly apply all necessary patches or updates to safeguard the system [9].
By diligently implementing a proactive and thorough maintenance program, HVAC professionals can significantly extend the operational lifespan and enhance the efficiency of LonWorks-based building automation systems, thereby ensuring reliable operation and optimal control over indoor environmental conditions [9].
11. FAQ Section
Here are some frequently asked questions regarding LonWorks and LONMARK in HVAC building automation:
Q1: What is the primary advantage of LonWorks in HVAC building automation compared to other protocols like BACnet or Modbus?
A1: The primary advantage of LonWorks lies in its peer-to-peer communication model and strong emphasis on interoperability through LONMARK certification [10]. Unlike master-slave protocols (like Modbus) or client-server models (like BACnet), LonWorks devices can communicate directly with each other without a central controller mediating every transaction. This distributed intelligence enhances system reliability and responsiveness. LONMARK certification ensures that devices from different manufacturers can seamlessly integrate and exchange data using standardized Network Variables (SNVTs) and functional profiles, simplifying system design and reducing integration complexities for HVAC professionals [10].
Q2: How does LonWorks handle device addressing and identification, and what are the implications for maintenance and replacement?
A2: LonWorks devices are uniquely identified by a 48-bit Neuron ID embedded in their Neuron chip. For logical grouping and routing, devices are also assigned a logical address consisting of a Domain ID, Subnet ID, and Node ID [10]. During commissioning, a network management tool associates the Neuron ID with a specific device and its functional profile. The implication for maintenance and replacement is that the device’s identity is tied to its physical Neuron chip. If a LonWorks device is replaced, the new device will have a different Neuron ID, requiring re-commissioning at the network level to associate the new Neuron ID with the existing logical address and functional role within the BAS. This process ensures network integrity but requires coordination with the network management system [10].
Q3: What are Network Variables (NVs) and Configuration Properties (CPs) in LonWorks, and why are they important for HVAC applications?
A3: Network Variables (NVs) are standardized data points used for communication between LonWorks devices. They represent inputs (nvi) and outputs (nvo) such as temperature readings, fan speeds, or setpoints. Configuration Properties (CPs) are parameters that define the operational behavior and settings of a LonWorks device, like control loop gains, alarm thresholds, or operating modes [10]. Both NVs and CPs are crucial for HVAC applications because they enable standardized data exchange and configuration across diverse equipment. LONMARK defines a comprehensive set of SNVTs and SCPTs for HVAC, ensuring that a thermostat from one vendor can communicate its temperature setpoint to a VAV controller from another vendor in a universally understood format, facilitating true interoperability [10].
Q4: What are the common wiring considerations and best practices for installing LonWorks networks in HVAC systems?
A4: Common wiring considerations for LonWorks networks in HVAC systems include using twisted-pair cabling, which is typically 22AWG unshielded, though shielded cable is highly recommended for noise immunity. A significant advantage is that LonWorks communication wiring is generally polarity insensitive, simplifying installation. LonWorks supports free topology, allowing for flexible wiring configurations like daisy-chain, star, bus, or mixed, which can reduce installation time and cost. However, it’s critical to adhere to maximum segment lengths and proper termination practices to maintain signal integrity and prevent communication errors. Electromagnetic interference (EMI) should be minimized by routing cables away from power lines and using shielded cables where necessary [10].
Q5: How does LonWorks integrate with other common building automation protocols like BACnet and Modbus, and why is this integration necessary?
A5: LonWorks integrates with other protocols like BACnet and Modbus primarily through gateways. These gateways act as translators, converting data and commands between the LonWorks LonTalk protocol and the respective BACnet or Modbus protocols. This integration is necessary because modern building automation systems often comprise a mix of equipment and legacy systems that utilize different communication protocols. Gateways allow for a unified control and monitoring platform, enabling a LonWorks-based BAS to interact with BACnet-enabled chillers or Modbus-controlled power meters, thereby creating a more comprehensive and cohesive building management solution. Cloud integration is also achieved via edge gateways that translate LonWorks data for cloud platforms [10].
12. Internal Links
References
[1] Echelon. (n.d.). Introduction to the LONWORKS. Retrieved from http://www.mitsubishitechinfo.ca/sites/default/files/078-0183-01A_1.pdf
[2] Johnson Controls. (n.d.). LONWORKS Network Layout. Retrieved from https://docs.johnsoncontrols.com/bas/api/khub/documents/71LQoxGJSq_PQm05Zqddnw/content
[3] ABB. (2022, June 22). LonWorks® 101 Introduction to LonWorks® basics. Retrieved from https://library.e.abb.com/public/9eff8304e07742fcba266f6e0f7d4ed1/Technical_Note_092_LonWorks_101.pdf
[4] USACE / NAVFAC / AFCEC. (2024, August). UFGS-23 09 23.01 Lonworks Direct Digital Control for HVAC and Other Building Control Systems. Retrieved from https://www.wbdg.org/FFC/DOD/UFGS/UFGS%2023%2009%2023.01.pdf
[5] Carrier Corporation. (2020, December 23). LonWorks Integration Guide i-Vu® Link and Open Link. Retrieved from https://www.shareddocs.com/hvac/docs/1000/Public/0F/11-808-430-01.pdf
[6] Trane. (2009, November). LonWorks® Option Module Instruction Manual TR200. Retrieved from https://www.trane.com/content/dam/Trane/Commercial/global/controls/equipment-controls/HVAC-Controls/VFD/TR200/Documents/BAS-SVX25B-EN_LONworks.pdf
[7] Johnson Controls. (n.d.). LonWorks Network Integration with Network Engines and LCS Technical Bulletin. Retrieved from https://docs.johnsoncontrols.com/bas/r/Johnson-Controls/en-US/LonWorks-Network-Integration-with-Network-Engines-and-LCS-Technical-Bulletin/10.1/Key-concepts/LonWorks-network-integration
[8] Echelon. (1996, October). Troubleshooting LONWORKS® Devices and Twisted Pair Networks. Retrieved from https://www.echelon.com/assets/blt2dce057ca1b91e39/troubl2.pdf
[9] Controls Central. (n.d.). LonWorks Firmware Upgrade. Retrieved from https://ctlsys.com/support/lonworks_firmware_upgrade/
[10] LonMark International. (n.d.). LonWorks Technology Transition – Frequently Asked Questions (FAQ). Retrieved from https://www.lonmark.org/wp-content/uploads/2025/07/LonWorks_Technology_Transition_FAQ_V6.pdf