Hide thumbs Also See for LONWORKS:
Table of Contents

Advertisement

L
W
Router
ON
ORKS
®
User's Guide
078-0018-01G

Advertisement

Table of Contents
loading

Summary of Contents for Echelon LONWORKS

  • Page 1 Router ORKS ® User’s Guide 078-0018-01G...
  • Page 2 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.
  • Page 3: Audience

    This document describes how to design and develop a L router based on ORKS the Echelon Router 5000 chip, the Echelon FT Router 5000 chip, or the Echelon RTR-10 Router Core Module. This document does not describe any of the following Echelon prepackaged router products: MPR-50 Multi-Port Router, i.LON...
  • Page 4: Getting Support

    Neuron Chip TMPN3150/3120, or Cypress™ Neuron Chip Technical Reference Manual. Getting Support You can get technical support for any of Echelon’s current product offerings by contacting Echelon Support: www.echelon.com/support. You can also search the Echelon Knowledge Base for known product issues: www.echelon.com/support/kb/search.asp.
  • Page 5: Fcc Notice

    FCC Notice The RTR-10 Router Core Module is designed to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. The Router 5000 chip is designed to comply with FCC Part 15 Subpart B and EN 55022 Level B. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
  • Page 7: Table Of Contents

      FCC Notice ..................... v   VDE Notice ..................... v   Canadian DoC Notice ..................v   Chapter 1. Introduction to LonWorks Routers .......... 1   Introduction ....................2   LonWorks Router Products ................3   RTR-10 Overview ..................4  ...
  • Page 8   RTR-10 Mechanical Description ..............48   Series 5000 Router Mechanical Description ..........50   Chapter 4. Developing a LonWorks Router ..........53   Developing a Router with the RTR-10 Module .......... 54   Using Predefined Transceivers ............. 56  ...
  • Page 9   Set Buffer Size ................102   Set Priority Output Buffer Queue Count ........103   Set Input and Non-Priority Buffer Queue Count......104   Appendix A. Communications Parameters for LonWorks Routers .. 105   Communications Parameters ..............106  ...
  • Page 11: Chapter 1. Introduction To Lonworks Routers

    Introduction to LonWorks Routers This chapter describes the router theory of operation, including router types, LonTalk protocol support for routers, and router use of message buffers. LonWorks Router User’s Guide...
  • Page 12: Introduction

    1.25 Mbps backbone twisted pair channel to connect several 78 kbps free topology and link power channels. Alternatively, you might want to use power line for a portion of the Introduction to LonWorks Routers...
  • Page 13: Lonworks Router Products

    Use a network management tool, such as the LonMaker Integration Tool, to manage network images. LonWorks Router Products Echelon provides the following router products: • MPR-50 Multi-Port Router (Model: 42150) Five-channel (one TP/XF-1250 channel and four TP/FT-10 channels) router.
  • Page 14: Rtr-10 Overview

    L network. This manual does not ORKS describe how to use the Echelon prepackaged router products. See the Echelon router Web page (www.echelon.com/products/routers) for information about the pre-packaged Echelon router products. This manual describes those Echelon router products that allow OEMs to design...
  • Page 15 Figure 2. Block Diagram of a LonWorks Router Based on the RTR-10 As the figure shows, an RTR-10 router and two transceiver modules (one to handle each of two channels connected by the router) can be mounted on a motherboard, along with a single power supply and two network connectors.
  • Page 16: Router 5000 And Ft Router 5000 Overview

    The Router 5000 chip and the FT Router 5000 chip (generically referred to as Series 5000 router chips) are Echelon semiconductor products, based on the Echelon Neuron 5000 Core, that are used to build half-routers and full routers for channels. A L...
  • Page 17 Add linear regulator and TX buffer Transceiver (Model 50040) circuit. Echelon provides special licensing for other transceiver types, such as a Power Line Smart Transceiver; contact Echelon Support for additional information. A complete router using the Router 5000 consists of two Router 5000 half routers, two transceivers, and a motherboard to connect the two half routers.
  • Page 18: Comparing The Rtr-10, Router 5000, And Ft Router 5000

    The FT Router 5000 supports only the TP/FT-10 channel, but because the transceiver is integrated into the chip, you do not need to use an FTT-10A Free Topology Transceiver (and associated circuitry to accommodate the different voltage standards between the half router and transceiver). Introduction to LonWorks Routers...
  • Page 19: Router Types

    Figure 4 on page 11 and Figure 5 on page 12. Configured routers maintain their routing tables in non-volatile memory, and thus retain them after a reset. These tables control forwarding of subnet and group-addressed messages, and are managed by a network management tool. LonWorks Router User’s Guide...
  • Page 20: Learning Router

    The subnet forwarding tables are initially configured to forward all messages with subnet destination addresses. Each time a new subnet ID is observed in the source address field of a message, its corresponding flag is cleared (that is, Introduction to LonWorks Routers...
  • Page 21 1 messages to side A. The router detects this error and logs it, as described in Chapter 7, Network Management Messages, on page 95. Figure 4. Configured and Learning Router Forwarding Rules, Part 1 LonWorks Router User’s Guide...
  • Page 22: Loop Topology

    A loop is a path through two or more routers that forwards a message from a channel to itself. For example, Figure 6 on page 13 shows a looping topology with two channels and two routers. A message on channel A could be forwarded Introduction to LonWorks Routers...
  • Page 23: Power Line Routers

    A loop can be formed when active coupling provided by a router is combined with passive coupling. Figure 7 on page 14 shows an example looping topology with a power line router. LonWorks Router User’s Guide...
  • Page 24: Lontalk Protocol Support For Routers

    By default, this queue is limited to two message buffers to ensure that priority messages are never enqueued behind more than one non-priority message. When Echelon’s implementation of the ISO/IEC 14908 Control Network Protocol is called the LonTalk protocol. Echelon has implementations of the LonTalk protocol in several product...
  • Page 25: Message Buffers

    Figure 8. Buffering Scheme for a LonWorks Router The size and count of the message buffers is limited by the amount of RAM on the router.
  • Page 26: Router 5000 And Ft Router 5000 Message Buffers

    You can also use the NodeUtil Node Utility, which you can download from the Echelon Web site. However you allocate the buffer sizes and counts, the total memory required by the three buffer queues must not exceed 1254 bytes.
  • Page 27: Router Performance

    You can also use the NodeUtil Node Utility, which you can download from the Echelon Web site. However you allocate the buffer sizes and counts, the total memory required by the three buffer queues must not exceed 25 K bytes.
  • Page 29: Chapter 2. Lonworks Router Electrical Interfaces

    LonWorks Router Electrical Interfaces This chapter provides an overview of the electrical interfaces for the RTR-10 Router Core Module, the Router 5000 chip, and the FT Router 5000 chip. LonWorks Router User’s Guide...
  • Page 30: Overview

    1 ACP2 A-si ide network c communicati ion port 2 ACP3 A-si ide network c communicati ion port 3 ACP4 A-si ide network c communicati ion port 4 LonWorks R Router Electri ical Interface...
  • Page 31 B-side transceiver ID 4 (MSB) BSVC~ B-side Service output Ground 1, 2, 3, 11, 26, 30, 32, 34 Packet forward output RESET~ Reset input and output) SERVICE~ Combined Service input +5 VDC input 10, 31 No Connect 4, 35 LonWorks Router User’s Guide...
  • Page 32: Aclk2, Bclk1, And Bclk2

    ID is not 30 (0x1E), the RTR-10 firmware compares the network bit rate and input clock for the specified transceiver to the current transceiver parameters. If these parameters do not match, all transceiver parameters are reinitialized. This LonWorks Router Electrical Interfaces...
  • Page 33 Type 30 (0x1E) can be used for any transceiver type; the communications port is initially defined as all inputs to prevent circuit conflicts. The side using type 30 (0x1E) must be reprogrammed through the other router side. LonWorks Router User’s Guide...
  • Page 34: Pkt

    See Appendix A, Communications Parameters for LonWorks Routers, on page 105, for a listing of the communications parameters for each transceiver type. The PKT output can be used as a network activity indicator. When packets are passed between the router sides, PKT is active. This signal uses the unbuffered IO0 signal from the Neuron Chips.
  • Page 35: Service

    Figure 11. Router 5000 Chip Pinout Table 7 on page 26 lists the pin assignments for the Router 5000 chip. All digital inputs are low-voltage transistor-transistor logic (LVTTL) compatible, 5 V tolerant, with low leakage. LonWorks Router User’s Guide...
  • Page 36 Crystal oscillator input XOUT Oscillator Out Crystal oscillator output VDDPLL Power 1.8 V Power Input (from internal voltage regulator) GNDPLL Power Ground VOUT1V8 Power 1.8 V Power Output (of internal voltage regulator) RST~ Digital I/O Reset (active low) LonWorks Router Electrical Interfaces...
  • Page 37: Ft Router 5000 Pinout

    FT Router 5000 Pinout Figure 12 on page 28 shows the pinout for the FT Router 5000 chip. The central rectangle in the figure represents the bottom pad (pin 49), which must be connected to ground. LonWorks Router User’s Guide...
  • Page 38 Digital I/O IO4 (side A to side B) VDD3V3 Power 3.3 V Power Digital I/O IO5 (side A to side B) Digital I/O IO6 (side A to side B) Digital I/O IO7 (side A to side B) LonWorks Router Electrical Interfaces...
  • Page 39 TxActive for optional network activity LED RXON Comm RxActive for optional network activity LED Comm Connect to VDD33 through a 4.99 kΩ pullup resistor CS0~ Digital I/O for SPI slave select 0 (active low) Memory VDD3V3 Power 3.3 V Power LonWorks Router User’s Guide...
  • Page 40: Clock Pins

    Figure 13 on page 31. Note that Figure 13 applies to a single Series 5000 half-router. Also, you must consider trace capacitance when calculating the values of the external capacitors. In the figure, the values for R1 (feedback resistor) and R2 (damping resistor) apply to any crystal used. LonWorks Router Electrical Interfaces...
  • Page 41 Figu ure 13. Serie es 5000 Chip Clock Gener rator Circuit To ens sure proper o oscillator star rtup, the equ uivalent serie es resistance specification for the e crystal shou uld be ≤50 Ω , and the cry ystal shunt ca apacitance sh hould be no greate...
  • Page 42: Cp[4..0] - Router 5000 Only

    CP[4..0] – Router 5000 Only The Router 5000 has a very versatile communications port, the CP[4..0] pins (39, 38, 37, 34, and 32). It consists of five pins that can be configured to interface to a LonWorks Router Electrical Interfaces...
  • Page 43: Netp And Netn - Ft Router 5000 Only

    (networks with many devices), you should ensure that each device has communications parameters defined for the channel; see Appendix A, Communications Parameters for LonWorks Routers, on page 105. Note that devices defined for a TP/XF-1250 channel cannot use the default communications parameters;...
  • Page 44: Io[11..0]

    Series 5000 router device, keep the traces as short as possible. See the Series 5000 Chip Data Book for more information about the digital I/O pins for a Series 5000 chip, including the Router 5000 and FT Router 5000. LonWorks Router Electrical Interfaces...
  • Page 45: Jtag Interface

    Connect the GNDPLL pin (26) to GND, with an associated chip ferrite bead. Connect the GND pin (36) and the chip’s pad (pin 49) to logic ground. Also connect the AGND pin (33) to logic ground. LonWorks Router User’s Guide...
  • Page 46: Rst

    During board level in-circuit testing (ICT), the RST~ pin should be hard wired to ground through a “pogo pin”. Figure 16 on page 37 shows an example reset circuit, where the A side and B side reset pins are tied together. LonWorks Router Electrical Interfaces...
  • Page 47 Router 5000’s RST~ pin to the Series 3100 RESET~ pin, as shown in as shown in Figure 17 on page 38, using the Series 3100 Smart Transceiver’s +5 V power supply for the Reset switch, LED, diode clamps, and EMC capacitors. LonWorks Router User’s Guide...
  • Page 48: Svc

    LED at a 1/2 Hz rate when the Series 5000 router chip has not been configured with network address information. Grounding the SVC~ pin causes the Series 5000 router to transmit a network management message containing LonWorks Router Electrical Interfaces...
  • Page 49 Service LEDs, is shown in Figure 18. During reset, each SVC~ pin is pulled high by its internal pull-up resistor. Alternatively, you could provide separate service pin buttons for each router side. Figure 18. Service Circuit – Series 5000 Router for Both Halves LonWorks Router User’s Guide...
  • Page 50 Service switch, LEDs and diode clamps. See the Series 5000 Chip Data Book for more information about the SVC~ pin for a Series 5000 chip, including the Router 5000 and FT Router 5000. LonWorks Router Electrical Interfaces...
  • Page 51: Network Activity Indicator - Router 5000

    LED circuit with pulse stretching to the Router 5000 CP2 pin. If you add LEDs to the CP0 or CP2 pins, you must add a buffer to ensure that the LED’s operation does not interfere with network communications. LonWorks Router User’s Guide...
  • Page 52 When packets are received, the RX network activity LED is active for each bit received, and inactive between bytes. For both circuits, the approximate time constant for LED visibility is 100 ms. LonWorks Router Electrical Interfaces...
  • Page 53: Network Activity Indicator - Ft Router 5000

    Router 5000 at various system clock rates. Important: Although general Series 5000 chips support 80 MHz operations, neither the Router 5000 chip nor the FT Router 5000 chip supports this system clock setting. LonWorks Router User’s Guide...
  • Page 54: Power Supply Decoupling And Filtering

    RESET~ line of the RTR-10 router. See Section 9.4 of the Neuron Chip Data Book. Failure to include such protection may cause data corruption to configuration data maintained in EEPROM on the LonWorks Router Electrical Interfaces...
  • Page 55 RTR-10 Neuron Chips. In the sample circuit of Figure 27 on page 55, protection is provided by a Motorola MC33164. See the Series 5000 Chip Data Book for information about internal low-voltage indications for Series 5000 chips, including the Router 5000 and FT Router 5000. LonWorks Router User’s Guide...
  • Page 57: Chapter 3. Lonworks Router Mechanical Interfaces

    LonWorks Router Mechanical Interfaces This chapter provides an overview of the mechanical interfaces for the RTR-10 Router Core Module, the Router 5000 chip, and the FT Router 5000 chip. LonWorks Router User’s Guide...
  • Page 58: Rtr-10 Mechanical Description

    However, these Molex SIMM sockets are obsoleted and are unavailable for purchase from Molex. Echelon has a limited supply of these sockets (models 61101R and 61102R); contact Echelon Support for more information. The following figures show recommended mechanical layouts for the RTR-10:...
  • Page 59 Figure 23. RTR-10 Recommended PCB Hole Pattern (Component Side, Vertical Mounting) Figure 24. RTR-10 PCB Footprint (Component Side, Horizontal Mounting) LonWorks Router User’s Guide...
  • Page 60: Series 5000 Router Mechanical Description

    Decisions about component placement on the motherboard must consider electromagnetic interference (EMI) and electrostatic discharge (ESD) issues; see Chapter 5, LonWorks Router Design Issues, on page 81. Series 5000 Router Mechanical Description The mechanical description of the Series 5000 router chip is similar to the...
  • Page 61 Figure 26. Series 5000 Router Mechanical Specifications LonWorks Router User’s Guide...
  • Page 63: Chapter 4. Developing A Lonworks Router

    Developing a LonWorks Router This chapter describes the process of developing a router based on the RTR-10 Router Core Module, the Router 5000 chip, or the FT Router 5000 chip. LonWorks Router User’s Guide...
  • Page 64: Developing A Router With The Rtr-10 Module

    ORKS 1. Build a router motherboard according to the specifications described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19, and the guidelines described in Chapter 5, LonWorks Router Design Issues, on page 81. The motherboard can be part of custom application hardware, or can be a standalone board.
  • Page 65 Figure 27. RTR-10 Motherboard Example Schematic LonWorks Router User’s Guide...
  • Page 66: Using Predefined Transceivers

    Table 6 on page 23. When using any of these transceivers, the communications parameters are automatically programmed, as described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19. The user's guide for each transceiver contains documentation on the interface requirements.
  • Page 67: Developing A Router With The Router 5000 Chip

    ORKS 1. Build a router motherboard according to the specifications described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19, and the guidelines described in Chapter 5, LonWorks Router Design Issues, on page 83. The motherboard can be part of custom application hardware, or can be a standalone board.
  • Page 68: Using An External Transceiver With The Router 5000

    Connecting Half-Routers: Series 5000 and Series 3100 on page 74 for more information. Using a TP/XF-1250 Transceiver You can use a Router 5000 with an Echelon TPT Twisted Pair Transceiver Module for a TP/XF-1250 channel. However, because the Router 5000 does not include an on-chip differential transceiver, you must: •...
  • Page 69 (CT) pin depends on the device’s PCB layout and EMI characteristics. A typical value is 100 pF rated for 1000 V. See the LonWorks TPT Twisted Pair Transceiver Module User's Guide for information about the TPT/XF-1250 Transceiver. Differential Driver Circuit Figure 31 on page 60 shows a differential driver circuit for connecting a Router 5000 to a TPT/XF-1250 transceiver.
  • Page 70 gure 31. Dif fferential Dri iver Circuit Table 1 2. Bill of Ma aterials for th he Differentia al Driver Circ cuit Desi ignator Value 470 pF 10 kΩ, 1% U101 SN74HCT24 mparator C Circuit Figur re 32 on page e 61 shows a differential c comparator c...
  • Page 71 Figu re 32. Differ rential Comp arator Circu Table 13. B Bill of Mater rials for the D Differential C Comparator C Circuit Desi ignator Value C2, C 10 µF 18 pF C8, C 0.1 µF 100 µH, ±20% %, I ≥...
  • Page 72: Using An Eia-485 Transceiver

    An EIA-485 network works best with a common power source. Individual device power sources can create problems when the network common-mode voltage exceeds –7 V to + 12 V, or when ground faults cause damage to devices. Developing a LonWorks Router...
  • Page 73: Using An Ftt-10A Transceiver

    (0.28 inches) high, and is ideal for use in low profile applications such as DIN packs. The sealed housing protects the transceiver should conformal coating or other forms of environmental sealing be required on the printed circuit assembly. LonWorks Router User’s Guide...
  • Page 74 The FTT-10A transceiver is compatible with Echelon’s LPT-11 Link Power Transceiver, and these transceivers can communicate with each other on a single twisted pair cable. This capability provides an inexpensive means of interfacing to nodes whose current or voltage requirements would otherwise exceed the capacity of the link power segment.
  • Page 75 Designator Value 33 pF 30 pF C3, C5, C6 0.1 µF 1 µF 1000 pF C8, C9 22 µF, 50 V, polar D1, D2, D3, D4 BAV99 or 1N4148 (x2) 10 kΩ 1 MΩ 200 Ω LonWorks Router User’s Guide...
  • Page 76: Using An Lpt-11 Link Power Transceiver

    The link-power system uses a single point of Earth ground, at the LPI-10 module, and all of the LPT-11 transceivers electrically float relative to the local ground. Differential transmission minimizes the effects of common-mode noise on signal Developing a LonWorks Router...
  • Page 77 NXP 74AHCT1G126 bus buffer/line driver. • The connection between the LPT-11 CLK pin and the Router 5000 XOUT pin requires the addition of a standard (inverting or non-inverting) bus buffer/line driver that supports TTL-compatible input and 5V CMOS output. LonWorks Router User’s Guide...
  • Page 78 22 µF, DCWV ≥10 V, I ≥200 mA ripple @ 100 kHz, ESR ≤1.2 Ω 100 µF, DCWV ≥63 V, I ≥100 ripple @ 100 kHz 1 mH, DCR ≤4 Ω, I ≥200 mA, F ≥800 kHz 10 kΩ Developing a LonWorks Router...
  • Page 79: Example Router 5000 Schematics

    71 shows a sample schematic for the transceivers used by each router half; in this example, TP/XF-1250 and EIA-485. The transceiver schematics also include the RX and TX activity indicator circuits described in Network Activity Indicator – Router 5000 on page 41. LonWorks Router User’s Guide...
  • Page 80 Figure 36. Router 5000 Motherboard Example Schematic – Core Developing a LonWorks Router...
  • Page 81 Figure 37. Router 5000 Motherboard Example Schematic – Network LonWorks Router User’s Guide...
  • Page 82: Developing A Router With The Ft Router 5000 Chip

    1. Build a router motherboard according to the specifications described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19, and the guidelines described in Chapter 5, LonWorks Router Design Issues, on page 83. The motherboard can be part of custom application hardware, or can be a standalone board.
  • Page 83 Earth and logic ground. See the Series 5000 Chip Data Book for information about connecting a Series 5000 chip to a TP/FT-10 channel, including the FT Router 5000, and for information about the FT-X3 Communications Transformer. LonWorks Router User’s Guide...
  • Page 84: Connecting Half-Routers: Series 5000 And Series 3100

    PL-20 channel. Important: Echelon provides special licensing for many of these other transceiver types, such as a Power Line Smart Transceiver; contact Echelon Support for additional information. Figure 39 on page 75 shows the basic connections for a router based on a Series 3100 half-router and a Series 5000 half-router.
  • Page 85 Digital I/O IO4 (side A to side B) VDD3V3 Power 3.3 V Power Digital I/O IO5 (side A to side B) Digital I/O IO6 (side A to side B) Digital I/O IO7 (side A to side B) LonWorks Router User’s Guide...
  • Page 86 TxActive for optional network activity LED RXON Comm RxActive for optional network activity LED Comm Connect to VDD33 through a 4.99 kΩ pullup resistor CS0~ Digital I/O for SPI slave select 0 (active low) Memory VDD3V3 Power 3.3 V Power Developing a LonWorks Router...
  • Page 87: Configuring A Series 5000 Half-Router

    Before programming, a Router 5000 uses its default communications parameters, which define a simplified single-ended mode 78 kbps channel. Like the Router 5000, an FT Router 5000’s default communications parameters define a simplified single-ended mode 78 kbps channel – a TP/FT-10 channel. For the LonWorks Router User’s Guide...
  • Page 88: Nodebuilder Hardware Template

    (see Figure 40 on page 77 for an example hardware template for a Router 5000 device): • Platform: Custom • Transceiver Type: Depends on transceiver for a Router 5000 TP/FT-10 for an FT Router 5000 Developing a LonWorks Router...
  • Page 89: Nodebuilder Device Template

    NodeBuilder Device Template The device template should include a standard Program ID, such as “80:00:01:01:01:02:04:01”, where the channel type field varies according to the transceiver type. Figure 41 shows an example device template for a Router 5000 device. LonWorks Router User’s Guide...
  • Page 90: Buffer Configurations

    3. Use a programming tool to extract the configured router image (read the 2 KB EEPROM image), and save it for subsequent device programming. Note: The Series 5000 router firmware ignores all versioning information and application code components in the NME file. Developing a LonWorks Router...
  • Page 91: Example Neuron C Source

    This section shows an example Neuron C file for Series 5000 router development. This file primarily controls the router’s buffering, but it also contains important declarations to set up the parallel IO configuration and explicit addressing. // Copyright (c) 2011 Echelon Corporation. // All Rights Reserved. #include <control.h>...
  • Page 92 = { 0x00, // M/S Designation. 0x00 // TXID, always last (not used). #pragma ignore_notused code_pad #pragma ignore_notused pios1 #pragma ignore_notused mip_eevars #pragma ignore_notused send_msg_dummy Developing a LonWorks Router...
  • Page 93: Chapter 5. Lonworks Router Design Issues

    LonWorks Router Design Issues This chapter examines a number of design issues, including a discussion of PCB layout, electromagnetic interference (EMI), and electrostatic discharge (ESD), for L ORKS routers. LonWorks Router User’s Guide...
  • Page 94: Pcb Layout Guidelines

    See the Connecting a Neuron 5000 Processor to an External Transceiver Engineering Bulletin for more information about PCB layout considerations for connecting external transceivers to Neuron 5000 Processors, including the Router 5000. See Chapters 3 and 4 of the Series 5000 Chip Data Book for additional LonWorks Router Design Issues...
  • Page 95 1250 transceiver is shown as U102, although the transceiver itself resides on a separate sub-assembly PCB, above the main board and is connected to it by two headers (one 6-pin header and one 3-pin header). Below the TPT/XF-1250 LonWorks Router User’s Guide...
  • Page 96: Ft Router 5000

    Router 5000, the FT-X3 Communications Transformer, the router chip’s serial EEPROM memory chip, its crystal, and associated capacitors and resistors. The figure does not show I/O or other connections to the other side of the router. LonWorks Router Design Issues...
  • Page 97: Emi Design Issues

    For more information about such regulations, see European EMC standards, such as VDE 0871, Class “B” 1984, and CISPR Publications 22. Echelon has designed the RTR-10 router with low enough RF noise levels for design into level “B” products. Echelon encourages level “B” compliance for all compatible products.
  • Page 98: Esd Design Issues

    An ESD hit generally arcs farther along a surface than it will when passing straight through the air. For example, a 20 kV discharge will arc about 10 mm (0.4 inches) through dry air, but the same discharge can travel over 20 mm (0.8 LonWorks Router Design Issues...
  • Page 99 If these lines will be exposed to ESD in a custom router, protection must be added to the router motherboard. LonWorks Router User’s Guide...
  • Page 101: Chapter 6. Installing A Lonworks Router

    Installing a LonWorks Router This chapter describes how to install a L router. ORKS LonWorks Router User’s Guide...
  • Page 102: Introduction

    See the Junction Box and Wiring Guidelines for Twisted Pair Networks engineering bulletin (005-0023-01) for information about ORKS supported cable and wire types for each type of twisted-pair channel. Installing a LonWorks Router...
  • Page 103: Connecting Power

    When power is connected to a router, the Service LED for each side changes state as described in Figure 45. After a router is powered and configured, the Service LEDs stay off, unless the service request button is pressed. Figure 45. Router Service LED Timing LonWorks Router User’s Guide...
  • Page 104: Installing The Router On A Network

    Guide for a description of router installation. Specify the channel type within the LonMaker New Router Wizard; see Appendix A, Communications Parameters for LonWorks Routers, on page 105, for detailed communications parameters for each channel type. Important: Before commissioning the router from the LonMaker Integration...
  • Page 105: Testing Router Installation

    (described under “Testing Devices” in Chapter 6 of the LonMaker User’s Guide) to query router status. See the description of the Query Status message in the Standard Messages section on page 96 for a description of the error codes returned by the Query Status message. LonWorks Router User’s Guide...
  • Page 107: Chapter 7. Network Management Messages

    Network Management Messages This chapter describes network management messages for routers. These messages are used for router ORKS installation, as described in Chapter 6, Installing a LonWorks Router, on page 89. LonWorks Router User’s Guide...
  • Page 108: Introduction

    Introduction As described in Chapter 6, routers are installed using network management messages. These messages are sent as explicit messages by a network management tool, such as the LonMaker Integration Tool. Routers respond to many of the same messages as any L device, but also have an ORKS additional set of router-specific messages, as listed in Table 17.
  • Page 109: Router-Specific Messages

    Routers must therefore be restarted or taken offline using a Set Node Mode message addressed directly to the router. Router-Specific Messages Router-specific network management messages are listed in Table 20 on page LonWorks Router User’s Guide...
  • Page 110: Router-Specific Network Management Messages

    Table 20. Router-Specific Network Management Messages Success Failed Network Management Message Request Code Response Response Set Router Mode 0x74 0x34 0x14 Group or Subnet Table Clear 0x75 0x35 0x15 Group or Subnet Table Download 0x76 0x36 0x16 Group Forward 0x77 0x37 0x17 Subnet Forward...
  • Page 111: Group Or Subnet Table Clear

    // Table data } NM_rtr_table_downld_request; Group Forward This message sets the forwarding flag in the forwarding table for a given group in the specified domain. If the ram_or_eeprom field is set, both the RAM and LonWorks Router User’s Guide...
  • Page 112: Subnet Forward

    EEPROM flags are set, otherwise only the RAM flag is set, allowing temporary forwarding for a given group. This message uses the Request-Response protocol. The configuration checksum in EEPROM is updated if EEPROM is changed. typedef struct { unsigned unused1 : 1; unsigned domain_index : 1;...
  • Page 113: Router Status

    // Not a temporary bridge. INIT_RTR_TABLE = 1, // Copy forwarding tables from EEPROM // for configured routers. // Initialize forwarding tables for // learning routers. TEMP_BRIDGE = 2 // Temporarily a bridge until next reset. } rtr_mode; LonWorks Router User’s Guide...
  • Page 114: Far Side Escape Code

    typedef struct { algorithm type; // CONFIGURED, LEARNING, BRIDGE, // or REPEATER rtr_mode mode; // TEMP_BRIDGE or NORMAL } NM_rtr_status_response; Far Side Escape Code When this message code is placed in the message, and is followed by any network management or network diagnostic message (except the escape message itself), that message is passed to the other (far) router side for processing.
  • Page 115: Set Priority Output Buffer Queue Count

    The total number of bytes assigned to the buffer queues for a RTR-10 must not exceed 1254 bytes, as described Message Buffers on page 14. The most significant nibble of queue_count is represented by a code of type queue_count_entry: LonWorks Router User’s Guide...
  • Page 116 typedef enum { COUNT_1 = 0x2; COUNT_2 = 0x3; COUNT_3 = 0x4; COUNT_5 = 0x5; COUNT_7 = 0x6; COUNT_11 = 0x7; COUNT_15 = 0x8; COUNT_23 = 0x9; COUNT_31 = 0xA; COUNT_47 = 0xB; COUNT_63 = 0xC; } queue_count_entry; Set Input and Non-Priority Buffer Queue Count The buffer queue counts are selected using a Write Memory network management message with the following paramters:...
  • Page 117: Appendix A. Communications Parameters For Lonworks Routers

    LonMaker Test command or with the Query Status network diagnostic message. Communications parameters for routers with version 4 or older firmware should be re-installed to ensure that the standard interoperable parameters are used. LonWorks Router User’s Guide...
  • Page 118: Communications Parameters

    Collision Detect (CD) CD Term after Preamble CD through Packet End Bit Sync Threshold 5 bits 7 bits 4 bits 4 bits Hysteresis Filter Network Bit Rate 78 kbps 1.25 Mbps 78 kbps 39 kbps Communications Parameters for LonWorks Routers...
  • Page 119 4.9 kbps 625 kbps 156.3 kbps 156.3 kbps Input Clock 5 MHz 10 MHz 10 MHz 10 MHz Minimum Clock Configurable; Configurable; Configurable; Configurable; default = 5 default = 5 default = 1.25 default = 1.25 LonWorks Router User’s Guide...
  • Page 120 10.4 bits 1.6 bits 1.6 bits Indeterminate Time 9.8 bits 0.0 bits 0.0 bits 0.0 bits Min Interpacket Time 0.0 bits 0.0 bits 17.5 bits 17.5 bits Turnaround Time 0 µsec Missed Preamble 9.0 bits Communications Parameters for LonWorks Routers...
  • Page 121 200 ppm 200 ppm Oscillator Wakeup 0 µsec 0 µsec 0 µsec 0 µsec Collision Detect (CD) CD Term after Preamble CD through Packet End Bit Sync Threshold 4 bits 4 bits 4 bits Hysteresis Filter LonWorks Router User’s Guide...
  • Page 122 Direct Connect Connect Connect Neuron Chip to Single Ended Differential Differential Differential Transceiver Interface Interface Bit Rate 1.25 Mbps 78 kbps 625 kbps 1.25 Mbps Input Clock 10 MHz 10 MHz 10 MHz 10 MHz Communications Parameters for LonWorks Routers...
  • Page 123 0.0 bits 0.0 bits 0.0 bits Indeterminate Time 4.0 bits 0.0 bits 0.0 bits 0.0 bits Min Interpacket Time 8.0 bits 0.0 bits 0.0 bits 0.0 bits Turnaround Time 0 µsec 0 µsec 0 µsec 0 µsec LonWorks Router User’s Guide...
  • Page 124 Parameter FO-10 DC-78 DC-625 DC-1250 Missed Preamble 4.0 bits 0.0 bits 0.0 bits 0.0 bits Preamble Length Use Raw Data Communications Parameters for LonWorks Routers...
  • Page 125 www.echelon.com...

Table of Contents