Niagara Lonworks Integration Guide
Total Page:16
File Type:pdf, Size:1020Kb
Technical Publications Niagara LonWorks Integration Guide Revised: December 16, 2002 Tridium, Inc. 3951 Westerre Parkway • Suite 350 Richmond, Virginia 23233 USA http://www.tridium.com Phone 804.747.4771 • Fax 804.747.5204 Copyright Notice: The software described herein is furnished under a license agreement and may be used only in accordance with the terms of the agreement. This document may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine-readable form without prior written consent from: Tridium, Inc., 3951 Westerre Parkway, Suite 350 Richmond, Virginia 23233. The confidential information contained in this document is provided solely for use by Tridium employees, licensees, and system owners. It is not to be released to, or reproduced for, anyone else; neither is it to be used for reproduction of this control system or any of its components. All rights to revise designs described herein are reserved. While every effort has been made to assure the accuracy of this document, Tridium shall not be held responsible for damages, including consequential damages, arising from the application of the information given herein. The information in this document is subject to change without notice. The release described in this document may be protected by one of more U.S. patents, foreign patents, or pending applications. Trademark Notices: Microsoft and Windows are registered trademarks, and Windows 95, Windows NT, and Internet Explorer are trademarks of Microsoft Corporation. Java and other Java-based names are trademarks of Sun Microsystems Inc. and refer to Sun’s family of Java-branded technologies. Communicator and Navigator are registered trademarks of Netscape Communications Corporation. Echelon, LON, LonMark, LonTalk, and LonWorks are registered trademarks of Echelon Corporation. Tridium Niagara, the Niagara Framework, Vykon, WorkPlace Pro, Web Supervisor, JACE-4, JACE-5, and JACE-NP are trademarks of Tridium Inc. All other product names and services mentioned in this publication that are known to be trademarks, registered trademarks, or service marks have been appropriately capitalized and are the properties of their respective owners. Niagara LonWorks Integration Guide © 2002, Tridium, Inc. All rights reserved. C ONTENTS PREFACE About This Document 9 Intended Audience. 9 Document Summary . 10 Formatting Conventions . 11 Important Information Indicators . 11 Related Documentation . 12 Sources . 12 Additional Information . 12 Commonly Used Terms. 13 CHAPTER 1 Introduction to Open Systems 1-1 Parts of a Control System . 1-1 Hardware. 1-1 Software . 1-3 Architecture. 1-3 Interconnectivity in Control Systems . 1-5 Gateways. 1-5 Host Bridges . 1-7 Openness in Control Systems . 1-9 CHAPTER 2 LonWorks Overview 2-1 LonWorks . 2-1 Echelon Corporation . 2-2 Applications and Distribution Channels . 2-3 LonMark . 2-3 CHAPTER 3 LonWorks Design Concepts 3-1 LANs and LONs . 3-1 LonTalk Protocol. 3-2 Smart Devices . 3-2 Niagara Release 2.3 1 Niagara LonWorks Integration Guide Revised: December 16, 2002 Contents Network Architecture. 3-3 Centralized Control System. 3-3 Fully Distributed (Flat) Control System . 3-4 Semi-Distributed Control System . 3-5 CHAPTER 4 LonWorks Architecture 4-1 Elements Overview . 4-1 The Neuron Chip . 4-2 Neuron Chip Data Structures. 4-2 Processing Units . 4-3 Network Image . 4-3 Domain Table . 4-5 Address Table . 4-5 Network Variable Tables. 4-5 Hosted Nodes . 4-6 Transceivers, Media, and Network Topology . 4-6 FTT-10 Topology . 4-7 Channels . 4-10 Routers. 4-11 Routers versus Repeaters. 4-11 How Learning Routers Work . 4-12 Learning Routers versus Configured Routers . 4-13 LonWorks Network Interface . 4-13 CHAPTER 5 LonTalk Protocol 5-1 LonTalk . 5-2 A Closer Look at the LonTalk Protocol . 5-2 Logical Addressing . 5-4 Domain . 5-4 Subnet . 5-5 Node Address . 5-6 Groups . 5-6 Addressing Formats. 5-7 Routing Messages . 5-7 Communications Services . 5-7 Acknowledged Service . 5-8 Request/Response Service. 5-8 Niagara Release 2.3 2 Niagara LonWorks Integration Guide Revised: December 16, 2002 Contents Repeated Service. 5-8 Unacknowledged Service . 5-8 Collision Detection . 5-9 Timers . 5-9 Free Buffer Wait Timer . 5-9 Transaction Timer. 5-10 Receive Timers . 5-10 Repeat Timer. 5-10 Optional Priority . 5-10 Authentication . 5-11 CHAPTER 6 Interoperability 6-1 LonMark Interoperability Association . 6-1 Network Variables. 6-2 Network Variable Restrictions . 6-3 Standard Network Variable Types (SNVTs) . 6-3 Structured SNVTs. 6-4 Enumerated Lists . 6-5 Configuration Properties . 6-5 Explicit Messages . ..