LONWORKS® Router User’s Guide078-0018-01H
• Most of the RF noise originates in the CPU portion of the RTR-10 router—which effectively means the entire board. Most of the RF noise originates
inches) along a clean surface. Dirty surfaces can allow arcing over even longer creepage distances. When ESD hits to circuitry cannot be avoided thro
92 LONWORKS Router Design Issues
6 Installing a LONWORKS Router This chapter describes how to install a LONWORKS router. LONWORKS Router User’s Guide 93
Introduction To install a LONWORKS router, perform the following steps: 1. Define a network topology. 2. Physically attach the router to a LONWORKS
Proper electrical termination is essential for each twisted-pair channel. Failure to terminate the network can degrade performance, and in some cases
Installing the Router on a Network After a router is physically attached to a network, and powered-up, it must be logically installed on the network.
5. Initialize the routing tables using the Set Router Mode network management message. 6. Change the router state on both sides of the router to Con
98 Installing a LONWORKS Router
7 Network Management Messages This chapter describes network management messages for LONWORKS routers. These messages are used for router install
1 Introduction to LONWORKS Routers This chapter describes the router theory of operation, including router types, LonTalk protocol support for route
Introduction As described in Chapter 6, routers are installed using network management messages. These messages are sent as explicit messages by a n
Network Management Message Request Code Success Response Failed Response Update Domain 0x63 0x23 0x03 Leave Domain 0x64 0x24 0x04 Update Key 0
Table 22. Router-Specific Network Management Messages Network Management Message Request Code Success Response Failed Response Set Router Mode 0x74
typedef enum { NORMAL = 0, // Not a temporary bridge. INIT_RTR_TABLE = 1, // Copy forwarding tables from EEPROM // for c
EEPROM flags are set, otherwise only the RAM flag is set, allowing temporary forwarding for a given group. This message uses the Request-Response pr
This message uses the Request-Response protocol. The configuration checksum in EEPROM is updated if EEPROM is changed. typedef struct { unsigned un
typedef struct { algorithm type; // CONFIGURED, LEARNING, BRIDGE, // or REPEATER rtr_mode mode; // TEMP_BRIDGE or NORMAL } NM_r
mode = READ_ONLY_RELATIVE (1) offset = 0x0019; count = 1; form = BOTH_CS_RECALC (1) data = buffer_sizes; The buffer_sizes value contains two ni
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 = 0
A Communications Parameters for LONWORKS Routers LONWORKS routers are initially programmed with communications parameters as listed in this appendix.
Introduction In general terms, a router is a device that forwards data packets between communications networks. The router connects to the data lines
Communications Parameters Table , 24, 25, and Table together list the communications parameters for LONWORKS routers. Table 23. Communications Parame
Parameter TP/XF-78 TP/XF-1250 TP/FT-10 TP/RS485-39 Alternate Rate N/A N/A N/A N/A Wakeup Pin Direction N/A N/A N/A N/A XCVR Controls Pream
Parameter RF-10 PL-10 PL-20C PL-20N Number of Priority Slots Configurable; default = 4 slots Configurable; default = 8 slots Configurable; defaul
Parameter RF-10 PL-10 PL-20C PL-20N Preamble Length N/A 36.7 bits 33.5 bits 33.5 bits Use Raw Data No No No No Table 25. Communications P
Parameter PL-30 TP/RS485-625 TP/RS485-1250 TP/RS485-78 Network Bit Rate 1882 bps 625 kbps 1.25 Mbps 78 kbps Alternate Rate N/A N/A N/A N/A W
Parameter FO-10 DC-78 DC-625 DC-1250 Minimum Clock Configurable; default = 10 MHz Configurable; default = 10 MHz Configurable; default = 10 MHz C
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 N/A N/A N/A N/A Use Raw Data No
B Determining RTR-10 Firmware Version In order to understand the buffer capacity of your RTR-10 router, you need to determine which version of router
Router Firmware Version The router firmware version is printed on the label on the memory containing the router firmware. The label will have a 9-di
www.echelon.com
network where the devices are subject to frequent physical relocation, or if cable installation is difficult. For each of these cases, you use a rout
• RTR-10 Router Core Module (Model: 61000R) A compact module used by OEMs to build LONWORKS routers. The RTR-10 consists of the core electronics an
RTR-10 Router Core ModuleSide ATransceiverSide BTransceiverSide ANetwork ConnectorSide BNetwork ConnectorPower SupplyService Button and LEDs Figure 2.
LONWORKS transceivers, including standard transceivers for free topology, link power, twisted pair, and power line. Using multiple communications med
Channel Type Transceiver for Half Router Notes Link-power Echelon LPT-11 Link Power Transceiver (Model 50040) Add linear regulator and TX buffer ci
LONWORKS router. Although not shown in the figure, you can place a Router 5000 half router (with its transceiver module) and FT Router 5000 half rout
Router Types A LONWORKS router can use one of four routing algorithms: configured router, learning router, bridge, and repeater. This selection allo
Echelon, LNS, LONMARK, LonTalk, LONWORKS, Neuron, NodeBuilder, 3120, 3150, and the Echelon logo are trademarks of Echelon Corporation registered in th
A forwarding table is used for each domain on each side of the router. Each forwarding table contains a forwarding flag for each of the 255 subnets a
the destination address is then checked to determine whether the message should be forwarded or dropped. The forwarding flags are all cleared wheneve
Is message addressed to group?Is message addressed to subnet/node?Message must be addressed as broadcast or 48-bit Neuron IDIs the group fwd flag of t
1 to channel B, then the same message could be forwarded by router 2 back to channel A, starting an endless loop of forwarded messages. Channel ARoute
PL Phase APower Line RouterPassive CouplingPL Phase B Figure 7. A Looping Topology with One Router Routers can be used between power line channels onl
outgoing buffer queue. Thus, priority processing of these outgoing messages is assured because the transmitting side will send messages from the prio
buffer configurations for input buffers, output buffers, priority buffers, and non-priority buffers. Table 3. RTR-10 Default Buffer and Transaction
Application Buffer Out Priority 1 42 42 Network Buffer Out Priority 3 66 198 Total Allocated Bytes 1343 Unused 1 65 65 Total Available By
In this case, reduce the number of lost messages by moving more of the packet buffering from the output queue to the input queue by increasing the siz
Example: For a 20 MHz Router 5000 device (where both halves use the Router 5000 chip), a measured data transfer rate for sending a service-pin messag
Welcome A LONWORKS® router connects two communications channels within a LONWORKS network, and routes LonTalk® messages between them. Using a LONWORK
2 LONWORKS Router Electrical Interfaces This chapter provides an overview of the electrical interfaces for the RTR-10 Router Core Module, the Router
Overview This chapter describes the electrical interface and power requirements for a LONWORKS router. Electrical Interface The following sections d
Pin Name Pin Description Pin Number ASVC~ A-side Service output 12 AXID0 A-side transceiver ID 0 (LSB) 20 AXID1 A-side transceiver ID 1 18 AXI
ACLK2, BCLK1, and BCLK2 A 10 MHz crystal is provided for Side A of the RTR-10 router, which can run at only 10 MHz. This clock rate allows Side A to
reinitialized. This reinitialization allows a network services tool to change parameters, such as the number of priority slots, without the new value
See Appendix A, Communications Parameters for LONWORKS Routers, for a listing of the communications parameters for each transceiver type. PKT The PK
SERVICE~ The SERVICE~ input drives both sides of the RTR-10 router from a single input. You can connect a pushbutton to this pin broadcast each side’
Table 8 lists the pin assignments for the Router 5000 chip. All digital inputs are low-voltage transistor-transistor logic (LVTTL) compatible, 5 V to
Name Pin Number Type Description RST~ 28 Digital I/O Reset (active low) VIN3V3 29 Power 3.3 V Power Input VDD3V3 30 Power 3.3 V Power AVDD3V3 31
• LonMark® Application Layer Interoperability Guidelines. This manual describes design guidelines for developing applications for open interoperable
SVC~IO0IO1IO2IO3VDD1V8IO4VDD3V3IO5IO6IO7IO8 VDDPLLGNDPLLVOUT1V8RST~VIN3V3VDD3V3AVDD3V3NETNAGNDNETPNCGNDIO9IO10IO11VDD1V8TRST~VDD3V3TCKTMSTDITDOXINXOUT
Name Pin Number Type Description IO8 12 Digital I/O IO8 (side A to side B) IO9 13 Digital I/O IO9 (side A to side B) IO10 14 Digital I/O IO10 (si
Name Pin Number Type Description VDD3V3 42 Power 3.3 V Power SDA_CS1~ 43 Digital I/O for Memory I2C: serial data SPI: slave select 1 (active low
Figure 13. Series 5000 Chip Clock Generator Circuit To ensure proper oscillator startup, the equivalent series resistance specification for the cryst
Series 5000 Router(Router 5000 or FT Router 5000)A Side XOUTSeries 5000 Router(Router 5000 or FT Router 5000)B Side XIN XIN XOUT 1M200 10.0000 M
wide variety of media interfaces (network transceivers) and operates over a wide range of data rates. The communications port for the Router 5000 is
IO[11..0] These digital I/O pins provide the communications between the A side and B side of a Series 5000 router device. Connect the IO pins for one
JTAG Interface (TCK, TDI, TDO, TMS, and TRST~) All Series 5000 chips (including the Router 5000 and FT Router 5000) provide an interface for the Insti
See the Series 5000 Chip Data Book for more information about the power and ground requirements for a Series 5000 chip, including the Router 5000 and
Series 5000 Router(Router 5000 or FT Router 5000)A SideRST~+ 3.3 V + 3.3 V 100 pF 100 pF+ 3.3 VTo other devicesSeries 5000 Router(Router 5000 or FT Ro
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. Th
Series 5000 Router(Router 5000 or FT Router 5000)A SideRST~+ 5 V + 5 V 100 pF 100 pF+ 5 VTo other devicesSeries 3100 RouterB SideRESET~Reset Figure 17
its unique 48-bit Neuron ID and the application’s program ID. This information can then be used by a network management tool to install and configure
Table 11. Service LED Behavior during Different States Device State State Code Service LED Applicationless and Unconfigured 3 On Unconfigured (but
SVC~+ 5 VSeries 5000 Router(Router 5000 or FT 5000 Router)A Side +3.3 VBroadcast IDDrive Out8 mA SinkSERVICE~Series 3100 Router B SideBroadcast IDDriv
Figure 20 shows example RX and TX network activity indicator circuits for a Router 5000 half-router connected to an EIA-485 transceiver. You can use
Network Activity Indicator – FT Router 5000 The FT Router 5000 provides two network indicator pins, RXON and TXON, that you can connect to LEDs to
Table 12. Series 5000 Router Current Requirements Active SysClk Typical Maximum Receive Current 5 MHz 9 mA 15 mA 10 MHz 9 mA 15 mA 20 MHz 15 m
RTR-10 Neuron Chips. In the sample circuit of Figure 27, protection is provided by a Motorola MC33164. See the Series 5000 Chip Data Book for informat
48 LONWORKS Router Electrical Interfaces
3 LONWORKS Router Mechanical Interfaces This chapter provides an overview of the mechanical interfaces for the RTR-10 Router Core Module, the Router
RTR-10 Mechanical Description The RTR-10 Router Core Module consists of a 67 mm by 23 mm by 7 mm (2.65 in by 0.9 in by 0.3 in) module with the core el
Figure 23. RTR-10 Recommended PCB Hole Pattern (Component Side, Vertical Mounting) Figure 24. RTR-10 PCB Footprint (Component Side, Horizontal Mount
Figure 25. RTR-10 Recommended PCB Hole Pattern (Component Side, Horizontal Mounting) Decisions about component placement on the motherboard must cons
Figure 26. Series 5000 Router Mechanical Specifications LONWORKS Router User’s Guide 53
4 Developing a LONWORKS Router This chapter describes the process of developing a router based on the RTR-10 Router Core Module, the Router 5000 chi
Developing a Router with the RTR-10 Module To create a LONWORKS router with the RTR-10, perform the following steps: 1. Build a router motherboard ac
Figure 27. RTR-10 Motherboard Example Schematic LONWORKS Router User’s Guide 57
Using Predefined Transceivers The RTR-10 router includes built-in transceiver parameters for the transceivers listed in Table 7. When using any of t
The preceding four steps complete the configuration when a single custom transceiver is used. Proceed with the following steps if two custom transcei
Table of Contents Welcome ... iii Audience ...
initial testing, a manufacturing network for configuration during manufacture, or a production network for field installation. The following sections
CP2CP1CP4CP3CP0DATA_BDATA_ACP3CP2GNDVDD5CP0CP12543976137 TXEN34 TX393832 RXRouter 5000 TPT/XF-1250+5 VVDD3V3+3.3 V88CTNET1NET2+3.3 VDifferential Drive
Figure 31. Differential Driver Circuit Table 13. Bill of Materials for the Differential Driver Circuit Designator Value C6 470 pF R14 10 kΩ, 1% U
Figure 32. Differential Comparator Circuit Table 14. Bill of Materials for the Differential Comparator Circuit Designator Value C2, C3 10 µF C4 1
Designator Value R7, R8 499 Ω, 1% R9, R11 2.15 kΩ, 1% R10, R12 10 kΩ, 1% U103 LT1016CN8 U104 AD826AN Using an EIA-485 Transceiver You can use t
CP0CP1CP3CP2CP4RRE~DEDABVDDGND32 RX34 TX3837 TXEN39Router 5000 EIA-485 Transceiver+5 VVDD3V3+3.3 V80.1 µF10k12V12VMUR115(x4)AB10k+3.3 V Figure 33. EIA
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
CP0CP1CP3RST~CP432 RX34 TX382839Router 5000 FTT-10A Transceiver8NETBNETAR110k+3.3 V+5 VRXDTXDGNDVCC8541NET_ANET_B23GND36VDD3V3Low drop-out linear regu
Designator Value U1 TDA3663 (or similar LDO regulator) U2 74AHCT1G126 U3 74AHCT1G04 (or a 74AHCT1G126 with OE tied high) Important: Because the
communication port (CP) or the I/O lines of the Router 5000 must be electrically isolated. The LPT-11 transceiver receives its clock input from the Ro
Power Requirements ... 45 RTR-10 Power Requirements ...
CP0CP1CP3RST~CP432 RX34 TX382839Router 5000LPT-11 Link Power Transceiver8NETBNETAR110k+3.3 V+5 VRXDTXDGNDVCCINDUCTOR691045NET_ANET_B21GND36VDD3V3Low d
Designator Value R2 1 MΩ R3 200 Ω U1 TDA3663 (or similar LDO regulator) U2 74AHCT1G126 U3 74AHCT1G04 (or a 74AHCT1G126 with OE tied high) Impor
Figure 36. Router 5000 Motherboard Example Schematic – Core 72 Developing a LONWORKS Router
Figure 37. Router 5000 Motherboard Example Schematic – Network LONWORKS Router User’s Guide 73
Developing a Router with the FT Router 5000 Chip To create a LONWORKS router with the FT Router 5000, perform the following steps: 1. Build a router
Table 17. Bill of Materials for the FT Router 5000 and FT-X3 Interconnection Designator Value Description R1 4.99 kΩ Pullup resistor VR1 470 V MOV
Connecting Half-Routers: Series 5000 and Series 3100 You can connect a Series 5000 half-router to a Series 3100 half-router to provide routing functio
Figure 12. FT Router 5000 Chip Pinout Table 9 lists the pin assignments for the FT Router 5000 chip. All digital inputs are low-voltage transistor-t
Name Pin Number Type Description IO8 12 Digital I/O IO8 (side A to side B) IO9 13 Digital I/O IO9 (side A to side B) IO10 14 Digital I/O IO10 (si
Name Pin Number Type Description VDD3V3 42 Power 3.3 V Power SDA_CS1~ 43 Digital I/O for Memory I2C: serial data SPI: slave select 1 (active low
Set Router Mode ... 102 Group or Subnet Table Clear ...
Router 5000, the default communications parameters allow you to load an application image over a 78 kbps network, for example during device manufactur
Neuron 5000 for a Router 5000 FT 5000 for an FT Router 5000 • Clock Multiplier: 2 (Recommended) Important: If the other router-half uses a
Figure 41. Example NodeBuilder Device Template for the Router 5000 You can also use this template to export a specific domain configuration (limited
Example Neuron C Source This section shows an example Neuron C file for Series 5000 router development. This file primarily controls the router’s buf
eeprom unsigned int mip_eevars[2] = { 0x00, // M/S Designation. 0x00 // TXID, always last (not used). }; #pragma ignore_notused c
5 LONWORKS Router Design Issues This chapter examines a number of design issues, including a discussion of PCB layout, electromagnetic interfere
PCB Layout Guidelines Printed circuit board (PCB) layout for a Router 5000 or FT Router 5000 is similar to layout for a Neuron 5000 Processor or FT 50
information about PCB layout and electromagnetic compatibility (EMC) design guidelines for a Series 5000 Chip, including the Router 5000. Power Suppl
transceiver PCB are the clamping diodes (D6-D9) for the transceiver’s receive signals. FT Router 5000 Figure 43 shows a portion of the top layer of a
EMI Design Issues The high-speed digital signals associated with microcontroller designs can generate unintentional Electromagnetic Interference (EMI
Comentarios a estos manuales