Lonworks® Platform Revision 2
Total Page:16
File Type:pdf, Size:1020Kb
Introduction to the LonWorks® Platform revision 2 ® 078-0183-01B Echelon, LON, LonWorks, LonMark, NodeBuilder, , LonTalk, Neuron, 3120, 3150, LNS, i.LON, , ShortStack, LonMaker, the Echelon logo, and are trademarks of Echelon Corporation registered in the United States and other countries. LonSupport, , , OpenLDV, Pyxos, LonScanner, LonBridge, and Thinking Inside the Box are trademarks of Echelon Corporation. Other trademarks belong to their respective holders. Neuron Chips, Smart Transceivers, and other OEM Products were not designed for use in equipment or systems which involve danger to human health or safety or a risk of property damage and Echelon assumes no responsibility or liability for use of the Neuron Chips in such applications. Parts manufactured by vendors other than Echelon and referenced in this document have been described for illustrative purposes only, and may not have been tested by Echelon. It is the responsibility of the customer to determine the suitability of these parts for each application. ECHELON MAKES AND YOU RECEIVE NO WARRANTIES OR CONDITIONS, EXPRESS, IMPLIED, STATUTORY OR IN ANY COMMUNICATION WITH YOU, AND ECHELON SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Echelon Corporation. Printed in the United States of America. Copyright ©1999–2009 by Echelon Corporation. Echelon Corporation www.echelon.com 2 Contents Contents....................................................................................................................... 3 Chapter 1. Introduction......................................................................................... 5 Overview...................................................................................................................................................6 The Market Value of Networked Control Systems ............................................................................7 LONWORKS Networks...............................................................................................................................9 Implementing a Control Network.........................................................................................................10 Cost-Effective Network Wiring..........................................................................................................10 Compatible Devices ............................................................................................................................11 Effective System Design ....................................................................................................................11 Standard Network Management.......................................................................................................11 Standard Network Tools ....................................................................................................................11 Standard Device Configuration.........................................................................................................12 Standard IP Support ..........................................................................................................................12 Getting More Information .....................................................................................................................12 Chapter 2. Platform Components ....................................................................... 14 Building a Platform ...............................................................................................................................15 Smart Transceivers................................................................................................................................15 Development Tools.................................................................................................................................16 Routers....................................................................................................................................................17 Network Interfaces ................................................................................................................................18 Smart Servers ........................................................................................................................................18 Network Management ...........................................................................................................................18 Network Tools ........................................................................................................................................21 LonMaker Integration Tool ...............................................................................................................22 LonScanner Protocol Analyzer ..........................................................................................................23 Chapter 3. The Control Network Protocol .......................................................... 25 ISO/IEC 14908-1 Control Network Protocol ........................................................................................26 CNP Layers.........................................................................................................................................27 CNP Data Transmission ....................................................................................................................29 CNP Limits .........................................................................................................................................30 Layer 1—Physical Layer .......................................................................................................................31 Channel Types ....................................................................................................................................31 TP/FT-10 Free Topology Twisted Pair ..............................................................................................32 PL-20 Power Line ...............................................................................................................................39 Layer 2—Link Layer..............................................................................................................................41 Media Access.......................................................................................................................................41 Priority ................................................................................................................................................44 Frame Format.....................................................................................................................................45 Layer-2 Performance..........................................................................................................................47 Layer 3—Network Layer.......................................................................................................................50 Naming and Addressing.....................................................................................................................50 Addressing Formats ...........................................................................................................................55 Address Table .....................................................................................................................................55 Routers ................................................................................................................................................56 Contents 3 Physical Layer Repeaters ..................................................................................................................58 Datagram Format...............................................................................................................................58 Layer 4—Transport Layer.....................................................................................................................59 Message Services................................................................................................................................60 CNP Timers ........................................................................................................................................61 Transport Packet Format ..................................................................................................................63 Layer 5—Session Layer.........................................................................................................................64 Request/Response...............................................................................................................................65 Authentication....................................................................................................................................65 Session Packet Format.......................................................................................................................66 Layer 6—Presentation Layer................................................................................................................69 Messages .............................................................................................................................................69