MPR-50 Multi-Port Router User’s Guide @ ® 078-0308-01B
Echelon, LON, LONWORKS, LonMaker, LNS, LONMARK, LonTalk, Neuron, 3120, 3150, LonPoint, and the Echelon logo are trademarks of Echelon Corporation registered in the United States and other countries. LonScanner is a trademark of Echelon Corporation. Other brand and product names are trademarks or registered trademarks of their respective holders.
FCC Notice (for USA only) Federal Communications Commission Radio Frequency Interference Statement Warning: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protections against harmful interference in a residential installation.
Preface This document describes how to install and use Echelon’s MPR-50 Multi-Port Router and is written for system designers and installers.
Content This manual provides information about the MPR-50 Multi-Port Router. ii • Chapter 1 introduces the MPR-50 Multi-Port Router and provides a quick overview. • Chapter 2 describes the router hardware and how to connect it to a network. Software content is described, too. • Chapter 3 describes how to install the router on a network. • Chapter 4 introduces the built-in channel monitor. • Chapter 5 provides troubleshooting symptoms and diagnoses.
Contents FCC Notice Declaration of Conformity Preface i Content ii 1 Overview 1 2 MPR-50 Multi-Port Router Hardware and Software 3 Introduction 2 Mechanical Description Mounting and Connecting MPR-50 Multi-Port Router Dimensions Screw Terminal Connectors Applying Power to the MPR-50 Multi-Port Router Attaching the Router to a LONWORKS® Network LED Legends Service Buttons Channel Connectors Software 4 4 6 6 7 7 8 10 10 10 3 Connecting to the Network 11 4 MPR-50 Monitor 21 Installing the MPR-
5 Troubleshooting 31 Appendix A Buffer Management Utility 35 Troubleshooting Table 32 Buffer Management Utility Installing and Running the MPR Buffer Management Utility Using the MPR Program Checking the Current Buffer Sizes Using Buffer Configure Using Buffer Recovery Mode Changing the Utility's Buffer Sizes iv 36 37 37 37 37 39 41 Preface
1 Overview This chapter introduces Echelon’s MPR-50 Multi-Port Router.
Introduction Echelon’s MPR-50 Multi-Port Router performs LonTalk® (ANSI/CEA-709.1 standard) routing between five LonTalk channels: one TP/XF-1250 channel and four TP/FT-10 channels. The MPR-50 may be used as a 2-way, 3-way, or 4-way TP/FT-10–to–TP/FT-10 router, or in any combination with the TP/XF-1250 router. The MPR-50 helps reduce the number of routing devices in multi-channel networks, reducing both installation cost and time.
2 MPR-50 Multi-Port Router Hardware and Software This chapter provides a description of the MPR-50 Multi-Port Router hardware, including enclosure construction, mounting instructions, explanation of indicators and connectors, and wiring guidelines. In addition, the Multi-Port Router CD contents and installation instructions are described in this chapter.
Mechanical Description The MPR-50 is 35mm DIN rail compatible, 9 TE wide, and conforms to EN 50 022. The figure below presents the front view of the MPR-50 Multi-Port Router. The face of the MPR-50 includes a network diagram that shows how the five routers and the Monitor are externally and internally connected. Status LED Indicator Service Button Channel Mono Phone Jack (3.5mm, 1/8”) Power LED Wiring Screw Terminals Figure 2.
Four key hole slots in the rear of the enclosure are provided for wall/panel mounting the router. The key hole slots on each side of the DIN rail allow mounting normally or upside-down. The top of the MPR-50 includes two scored alignment guides for positioning the screws and for aligning the MPR-50 with the screws during mounting. Key Hole Slots for Mounting DIN Rail Lock Figure 2.2 MPR-50 Multi-Port Router Enclosure (back view) Use the following steps to mount the router. 1.
MPR-50 Multi-Port Router Dimensions For mounting purposes, the following figure provides further dimensions of the router. All measurements below are in millimeters. Figure 2.3 MPR-50 Multi-Port Router Dimensions Screw Terminal Connectors The screw terminals for connecting power and network wires are located on the bottom edge of the enclosure. The screw terminals accept 0.34–4.0 mm2 (22– 12AWG) gauge wire. The optimum tightening torque for the screw terminals is 0.75mm (6 lbs. in.) maximum.
Applying Power to the MPR-50 Multi-Port Router Connect earth ground, if available, to terminal 3. Then connect 9–28VAC (40–70Hz) or 9–35VDC power to terminals 1 and 2—the power terminals are polarityinsensitive so the polarity of the DC input is unimportant. The green Power LED will illuminate to indicate the unit is powered and the Status LEDs will begin operating within seconds.
LED Legends The Power LED will illuminate whenever power is connected to the MPR-50. The following two tables describe the behavior of the Status LEDs for the Monitor and for Routers 1–5. For easy reference, shortened versions of the Status LED legends are printed on the front panel of the MPR-50. The Status LEDs illuminate as green, orange, and yellow. When yellow is displayed, orange and green may appear illuminated together depending upon the lighting conditions. Table 2.
Table 2.2 Routers 1–5 Status LED Legend Color Description Off No power to MPR-50. Green on steadily Router is configured. No errors have been detected on the router or on the external channel to which it attaches within the past 10 seconds. The channel has been idle for at least the past 10 seconds. Green slow flashing Router is configured. No errors have been detected on the router or on the external channel to which it attaches within the past 10 seconds.
Service Buttons The MPR-50 Multi-Port Router has six service buttons: one for the Monitor and one for each of the routers. To reset the MPR-50 Multi-Port Router to factory defaults, hold the Monitor service button down for 10 seconds. Note that service pin messages are broadcast onto any attached channels when the unit is put into factory default state.
3 Connecting to the Network This chapter demonstrates how to install the MPR-50 MultiPort Router on a network.
Installing the MPR-50 on a Network Once the MPR-50 is physically attached to a network and powered-up, it must be logically installed on the network. The MPR-50 is by default unconfigured and will not route messages in this state. The MPR-50 can either be put into repeater mode (which requires no network management tools), or it can be commissioned using standard network management tools such as the LonMaker tool.
Commissioning with the LonMaker Integration Tool The LonMaker tool is an easy-to-use integration tool that supports both routers and application devices. According to the protocol specification, devices on separate channels cannot communicate unless the channels are connected by a router. This section describes how to create a router in a LonMaker network design. These instructions assume the use of LonMaker 3.1.
Moving a LonMaker Shape The MPR-50 shape can be moved within a LonMaker drawing; the MPR-50 shape moves as a unit that includes the five router shapes, the Monitor shape, and the internal channel. • To move the MPR-50 shape within a subsystem (page), drag the shape to its desired location. • To move an individual router to another subsystem, right-click the shape to move and then click Change Subsystem on the shortcut menu. Note: You cannot move LonMaker shapes using Visio's cut and paste commands.
3. Click Next. The Device Identification Method window appears. 4. Select a method for obtaining the Neuron® ID of the router. You can choose to either press the service pin of the router when prompted or directly enter its Neuron ID. 5. Click Finish. The Press Service Pin window appears. 6. Press the service pin of the router. The LonMaker tool commissions the router. 7. Click the Monitor shape and hold down SHIFT. Click the router shapes for all of the other routers you want to commission.
8. Set the State, Source of CP Values and Device Specific CPs options as appropriate. See the LonMaker User’s Guide for an explanation of the effects of the various options. 9. Click Next. The Commission Device Wizard appears.
10. Select the initial states of the routers being commissioned. Most end-users will want to choose online. 11. Click Next. The Device Identification Method window appears.
12. Select the method for obtaining the Neuron IDs of the Monitor and the routers being commissioned. 13. Click Finish. The Device Installation window appears. 14. Press the service pins of the Monitor and the routers being commissioned, in the order presented in the window. Buffers The default buffer sizes for the MPR-50 Multi-Port Router support LONMARK standard message sizes. The sizes and counts are found on the next page.
TP/XF-1250 External Side (Router 1) Type app_buf_out_size app_buf_in_size app_buf_out_count app_buf_in_count app_buf_out_priority_count net_buf_out_size net_buf_in_size net_but_out_count net_buf_in_count net_buf_out_priority_count Size/Count 42 42 2 2 1 114 114 127 47 31 TP/FT-10 External Side (Routers 2-5) Type app_buf_out_size app_buf_in_size app_buf_out_count app_buf_in_count app_buf_out_priority_count net_buf_out_size net_buf_in_size net_but_out_count net_buf_in_count net_buf_out_priority_count Size/
20 MPR-50 Monitor
4 MPR-50 Monitor This chapter describes the interfaces and functionality of the MPR-50’s Monitor.
Introduction The MPR-50’s Monitor observes and reports on the health of Routers 1–5 through Status LEDs and through the network. The Monitor can be commissioned by a network management tool and operates independently from the MPR-50’s five routers. The Monitor is a LONMARK certified application organized as six functional blocks. In addition to the Node Object, it contains one Channel Monitor functional block each for Routers 1–5.
To reset the MPR-50 to factory defaults, hold the Monitor Service button down for 10 seconds. Release the Service button as soon as the Status LEDs change after 10 seconds have elapsed. The Monitor will self-install and Routers 1–5 will indicate that they are unconfigured. Note that when resetting the MPR-50 to factory defaults, service pin messages are broadcast onto any attached channels.
Node Object Functional Block Network Variables The Node Object implements the following network variables. Note: The programmatic Network Variable name appears first. The LonMaker Node Object's Network Variable shape name is located under it, in parentheses. Network Variable nviRequest Type SNVT_request (Request) nvoStatus Standard LONMARK status response variable. Used by network management tools to read the current status of the Monitor.
nviClearStat SNVT_switch (Clear Statistics) When diagnosing a network problem, it may be useful to use this network variable to clear all of the router statistics and error log after corrective actions have been taken, so that one can verify whether or not the actions were effective. The Status LEDs on the front panel, if they indicated error conditions, will also revert to their normal status indications, until another error occurs. It is not necessary to set the network variable to OFF.
Configuration Properties The Node Object implements the following configuration properties: Configuration Property SCPTmajDevVer Description SCPTminDevVer Defines the minor version of the device, and can be useful for integrators when upgrading or verifying installations. This property is read-only. UCPTfactoryDefaultsEnable If set to True (the default), an end-user can use the Monitor Service button to reset the MPR-50 to factory defaults.
Item Offset (Bytes) Length (Bytes) Description Version 0 1 Error log version number. Currently 1.
nvoIvalCrcErr SNVT_lev_cont Percentage of messages with CRC errors in the last interval. This variable is alarmed. See the section Alarms below for details. SNVT_lev_cont Percentage of missed messages in the last interval. This variable is alarmed. See the section Alarms below for details. SNVT_count_32 Total messages received since last reset or clearance of statistics. SNVT_count_32 Total number of messages with CRC errors since last reset or clearance of statistics.
UCPTinterval This configuration property defines the interval over which statistics are collected. Its type is SNVT_elapsed_tm, with the default being one minute. The maximum interval supported is 65,535 seconds (over 18 hours). A minimum interval of 5 seconds is enforced, which means that if this configuration property is set to a value below 5 seconds, the statistics interval will be 5 seconds. This is a shared configuration property that applies to all of the Channel Monitor functional blocks.
• Ch: Bandwidth (xx%) In the LONMARK guidelines, the possibility exists for two limit levels (levels 1 and 2) for each of the low and high limits. The MPR-50 implements a single limit according to the following rules: 1. If the alarm type was not AL_HIGH_LMT_ALM_1 and the value is now greater than SCPThighLimit1, then the alarm type becomes AL_HIGH_LMT_ALM_1. 2.
5 Troubleshooting The MPR-50 is designed to offers years of reliable service without maintenance. In the unlikely event that a problem arises, this chapter describes how to diagnose and correct the problem. If the problem cannot be readily corrected, please contact Echelon Support at www.echelon.com/support.
Troubleshooting Table This troubleshooting table is intended to address abnormal operation only and does not include errors reported on the Status LEDs. Refer to the LED Legends section in Chapter 2 for a description of the Status LED messages. Symptom The Power LED is not on continuously. A network tool does not receive a service pin message when the Monitor’s Service button is pressed. The network tool returns error messages when attempting to install Routers 1–5 and the Monitor in a single operation.
Symptom When using multiple MPR-50s, network topology errors occur. The MPR-50 does not pass messages larger than 114 bytes. MPR-50 Multi-Port Router User's Guide Troubleshooting Solutions • Ensure that the internal channel of each of the MPR-50s in the network is defined within the network tool as a separate channel. • The MPR-50 can support messages up to 256 bytes. Configure the router buffers using the application described in Appendix A, Buffer Configuration Utility.
34 Appendix A – Buffer Management Utility
Appendix A Buffer Management Utility This appendix explains how to use the buffer management utility for the MPR-50 Multi-Port Router.
Buffer Management Utility The MPR-50 Buffer Management utility is a stand-alone Windows program that allows you to: • • Change the MPR-50 Network buffer sizes. Fix the buffer settings if they become corrupted (for example, if they are set to an invalid number). Figure 1 shows the main window for the utility. This program provides four common buffer sizes for the MPR routers. If you need to use a different buffer size than what is provided, see Changing the Utility’s Buffer Sizes. Figure 1.
Installing and Running the MPR Buffer Management Utility To install the MPR-50 Buffer Management utility, unzip the files from the supplied ZIP file into the LONWORKS bin directory (usually, C:\LonWorks\bin). This step creates a new directory with four files. To run the MPR-50 Buffer Management utility, double click the icon for the “MPR50Tool.exe” file. This program requires the following Windows dynamic link library (DLL) files to be present on the Windows system: • • LDV32.
LEDs are flashing green, proceed to step 2. To decommission the routers, perform either of the following steps: a. Use your Network Integration Tool (such as the LonMaker® tool). For the LonMaker tool, right-click the router shape and select decommission. b. Press the Service Pin button on each router for at least 20 seconds until the Status LED flashes orange. 2. Connect your Network Interface to any of the MPR-50’s routers. 3.
Using Buffer Recover Mode You can use the MPR-50 Buffer Management utility’s buffer recovery mode to recover router nodes that have had invalid buffer configurations programmed into them. Without the MPR-50 Buffer Management utility, buffer recovery can be difficult. For example, some configurations result in a router that is only capable of receiving a few network packets before it enters a state in which it can no longer receive messages.
3. Place the MPR in Repeater mode by pressing the Monitor Service Pin button for 30-40 seconds. The MPR is in repeater mode when all the LEDs flash green. 4. Start the MPR-50 Buffer Management utility. 5. Select the Network Interface device from dropdown list in the Network Interface area of the MPR-50 Buffer Management utility main window, and click Open. 6. Click the Buffer Recover Mode button to ON to enter buffer recovery mode. The button turns orange (or yellow) while you are in this mode. 7.
17. The log area of the MPR-50 Buffer Management utility main window shows “Buffer configuration complete” when the buffers have been successfully modified. 18. Click the Routers Found Button to clear the list of registered routers. 19. Press each MPR router service pin. The buffers sizes are displayed in the Log Box. 20. When the buffer configuration is complete, click Exit to close the MPR-50 Buffer Management utility.
values, and rejects any that are out of range, including Network buffer sizes that aren’t consistent within a specific configuration. If you attempt to use a buffer configuration that exceeds the available RAM for the particular NodeID type, the utility displays an error and the configuration will not proceed. The utility communicates with the router nodes using Neuron ID addressing on the zero-length domain. As each router is configured, the utility resets it before proceeding to the next router.
www.echelon.