RS-232/422/485 Multi-Interface Industrial Ethernet Serial Servers Models: ESR901, ESR902, ESR904 Manual Documentation Number: ESR90x-1705m B&B Electronics Mfg Co Inc – 707 Dayton Rd - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.
International Headquarters B&B Electronics Mfg. Co. Inc. 707 Dayton Road Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Website: www.bb-elec.com Sales e-mail: orders@bb-elec.com -- Fax (815) 433-5109 Technical Support e-mail: support@bb.elec.com -- Fax (815) 433-5104 European Headquarters B&B Electronics Ltd. Westlink Commercial Park Oranmore, Co. Galway, Ireland Phone +353 91-792444 -- Fax +353 91-792445 Website: www.bb-europe.com Sales e-mail: sales@bb-europe.
© 2005 B&B Electronics. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photography, recording, or any information storage and retrieval system without written consent. Information in this manual is subject to change without notice, and does not represent a commitment on the part of B&B Electronics.
CHAPTER 4: USING ESP MANAGER................................................................. 23 HARDWARE SETUP .................................................................................................. 23 SOFTWARE SETUP .................................................................................................... 24 SOFTWARE OVERVIEW ............................................................................................ 25 Menus............................................................
MATCHING THE SERIAL SERVER AND VIRTUAL COM PORT SETTINGS ................... 44 CHAPTER 7: REMOVING VIRTUAL COM PORTS......................................... 47 REMOVING THE VIRTUAL COM PORT WITH ESP MANAGER ................................... 47 REMOVING THE VIRTUAL COM PORT USING DEVICE MANAGER ............................ 48 CHAPTER 8: UPGRADING THE SERIAL SERVER FIRMWARE................. 51 DOWNLOADING THE FIRMWARE ..............................................................................
Introduction Introduction o Chapter 1: INTRODUCTION o VLINX ESR90x Industrial Ethernet Serial Servers allow connection of RS- 232, RS-422 or RS-485 devices to an Ethernet network. The serial ports can be accessed over a LAN/WAN using Direct IP Mode, Virtual COM Port, or Paired Mode connections. The 10/100 Mbps Ethernet connection autoselects 10BaseT or 100BaseTX and indicates the type of connection with a bi-color link light.
Introduction Introduction Two Serial Servers are connected to a network, one configured as a TCP or UDP client and the other as a TCP/UDP server. When setting up the server the remote IP address section must contain the address of the client. This will allow the client’s IP address to pass the IP address-filtering feature of the server. Conversely, the Remote IP address of the client must contain the server’s IP address. Both communication port numbers must be the same.
Introduction Introduction Serial Server Configuration Serial Server Quick Start Guide Step 1: Open the ESP Manager software. It will automatically search for any reachable (ESP or ESR) Serial Servers. A list of all Serial Servers connected to the LAN will appear in the Serial Server List window. For descriptive purposes this Quick Start Guide considers a typical configuration consisting of a PC connected via an Ethernet LAN to an ESR902 Serial Server connected to the RS-232 port of a serial device.
Introduction Introduction Step 5: Re-enter Server Properties to verify the changes have taken effect, or to view/change the configuration of other ports. Each port must be configured separately. Install Virtual COM Ports on PC Step 1: From the Windows Start menu, run the Install Virtual COM Ports utility included with the VLINX software, Step 2: Search for all servers on the network Step 3: Select a port and map it to an unused COM port (e.g. Port 15).
Making the Hardware Connections Making the Hardware Connections ESR90x Indicators, Switches and Connectors Chapter 2: MAKING THE HARDWARE CONNECTIONS Indicators Package Checklist ESR902 ESR904 GN D GND GN D AC In AC In AC In AC/DC+ In AC/DC+ In AC/DC+ In Backup DC + In Backup DC+ In Backup DC + In Voltage Range: 9-48VDC 8-24VAC Link R eady Voltage R ange: 9-48VD C 8-24VAC Link Ready Power Reset R eady Power Run A recessed single DIP (dual inline package) switch that allows the
Making the Hardware Connections Making the Hardware Connections Serial Port(s) • ESR901: One serial port with two connector options: one (DB-9M) or one five-terminal removable terminal block (DIP switch selectable) • ESR902: Two serial port connectors (DB-9M) • ESR904: Four serial port connectors (DB-9M) Default Mode When Default Mode is selected and the server properties are Updated (Saved) all the configuration settings return to their default values.
Making the Hardware Connections Making the Hardware Connections RS-422 Mode In RS-422 Mode the currently selected serial port is configured as an RS-422 interface supporting four RS-422 signal channels with full duplex operation for Receive, Transmit, RTS (Request To Send) and CTS (Clear To Send). The data lines are differential pairs (A & B) in which the B line is positive relative to the A line in the idle (mark) state. Ground provides a common mode reference.
Making the Hardware Connections Making the Hardware Connections J11 J1 6 J13 J3 J7 J6 J15 J9 J26J11 J13 J9 J14 J4 J14 J12 J27 J10 J2 J22 J7 J21 J20 Figure 8. Port ESR902 Bias Jumper Locations Interface Type 485 half duplex 1 422/485 full duplex CTS 485 half duplex 2 422/485 full duplex CTS Figure 9. J10 J25 J8 J6 J19 J17 J3 J16 J24 J28 J5 J18 J2 Figure 10.
Making the Hardware Connections Port Interface Type 485 half duplex 1 422/485 full duplex CTS 485 half duplex 2 422/485 full duplex CTS 485 half duplex 3 422/485 full duplex CTS 485 half duplex 4 422/485 full duplex CTS Jumper Number Making the Hardware Connections Pull up/pull down J22 pull up J17 pull down J7 pull up J21 pull down J13 pull up J9 pull down J3 pull up J2 pull down J8 pull up J20 pull down J14 pull up J28 pull down J12 pull up J27 pull down J6 pull
Installing the VLINX Software Installing the VLINX Software Chapter 3: INSTALLING THE VLINX SOFTWARE Figure 13. The Install Shield Wizard Window The Windows-based ESP Manager and Virtual COM Port software makes configuration fast and easy. If using Windows, installing the ESP Manager software and setting up virtual COM ports to configure the Serial Server is recommended. Step 2: When the VLINX ESP Setup window appears, click Next.
Installing the VLINX Software Installing the VLINX Software The recommended procedure is to Remove all installed components first. Once the software has been removed, Install the new software. Opening the ESP Manager Step 5: If the Serial Server is not already connected to the network or to the Ethernet port on the computer, connect it. Set the Run/Console switch to the Run position. Apply power.
Using ESP Manager Using ESP Manager Ethernet crossover cable Chapter 4: USING ESP MANAGER The ESP Manager software allows: PC • Searching for servers connected to the network • Displaying and changing the configuration of those servers • Installing virtual COM ports on a computer • Displaying and configuring virtual COM ports • Uninstalling virtual COM ports on a computer • Upgrading the Serial Server firmware • Monitoring Port Status • Saving and Loading Configuration Files ESR902 RS-23
Using ESP Manager Using ESP Manager • Searching Server - Searches for Serial Servers on the network and brings back configuration information that will be displayed in the Server Properties window. • Uninstall Virtual COM - Allows virtual COM ports to be uninstalled from the ESP Manager window.
Using ESP Manager Exit Help • • Using ESP Manager • Allows you to Exit the ESP Manager program Protocol - Displays the currently selected TCP or UDP mode for the Serial Server. Accesses the About vcomui dialogue box, which indicates the software version number • Port - Displays the port number for each Serial Server port. • Flow Control - Indicates what type of flow control is configured for • Status - Indicates whether each port is currently In Use or Not Used. each port.
Using ESP Manager Using ESP Manager After the port has been updated you may want to re-enter Server Properties to verify the changes have taken effect, or to view/change the configuration of other ports. Each port must be configured separately. Configure Server Properties The Server Properties window displays the current configuration properties for the currently selected server.
Server Properties Configuration Server Properties Configuration Description of the Server Properties Chapter 5: CONFIGURING THE SERIAL SERVER PROPERTIES The VLINX Serial Server can be configured using any of four different user interfaces: the ESP Manager software, Console Mode, Telnet or the Web Server. The Server Properties described in this chapter can be changed from any of these user interfaces. Figure 24.
Server Properties Configuration values will remain. When DHCP is enabled, the IP Address, Netmask and Gateway fields become inaccessible and cannot be changed by the user. Server Properties Configuration Netmask The default LAN netmask is configured for a Class C address. The user may change this. Default is 255.255.255.0 Note: A dynamic address assigned by the DHCP server may change if the server loses the Ethernet connection or power is removed.
Server Properties Configuration Flow Control Server Properties Configuration Serial Timeout The Flow Control setting must match the requirements of the serial device connected. Default for the Timeout property is 0, or no timeout. Setting Timeout to any value between 1 and 65535 seconds activates it. If Timeout is set to 5 seconds and the Serial Server is configured as a Server, the Client makes a connection and communications starts.
Server Properties Configuration Server Properties Configuration • Force Transmit Default – When this mode is selected and the server is updated, it will revert the server to its default configuration. This field allows the user to set a maximum time limit between transmissions of data. The value set in this field multiplied by 100 ms determines the Force Transmit time.
Server Properties Configuration Server Properties Configuration Update/Save Server properties must be updated separately for each serial port. Updating varies slightly depending on which of the four configuration user interfaces are used. Updating the Server Properties in ESP Manager From the Server Properties screen, click the Update button to store the configuration settings for the currently selected port.
Installing Virtual COM Port Installing Virtual COM Port The program searches the LAN for all available Serial Servers. When complete, the Found Server window appears and displays a list of the servers that were found. Chapter 6: INSTALLING VIRTUAL COM PORTS The Virtual COM Port feature allows Windows platform software, using standard API calls, to be used in an Ethernet application. The Install Virtual COM Port software adds a Serial Server (COM#) port to the computer.
Installing Virtual COM Port Installing Virtual COM Port Matching the Serial Server and Virtual COM Port Settings Note: PCs may have hardware COM ports and devices such as Modems, IR ports or USB based COM ports that are not currently connected Try selecting a COM number above COM4 if problems occur. The settings of the virtual COM ports in the Device Manager and the Serial Server Configuration Menu must match. If the settings do not match, the virtual COM ports will not work.
Installing Virtual COM Port Installing Virtual COM Port Step 3: In the Device Manager select a VLINX ESP COM#. Double-click it to bring up the Properties window. . Figure 32. The VLINX ESR (COM3) Properties Window Step 4: Click the Configuration or Port Settings tab. This screen allows the settings to be changed if necessary. Click Cancel to keep the existing settings. Step 5: Click OK to change the settings. Use Refresh in the Device Manager if Windows does not auto refresh.
Removing Virtual COM Ports Removing Virtual COM Ports Chapter 7: REMOVING VIRTUAL COM PORTS The ESP Manager software Uninstall Virtual COM Port feature will remove a mapped COM port in the Device Manager of Windows 2000 and XP operating systems. It may also be removed in the Device Manager of Windows 98, ME, NT, 2000, and XP. Windows 98 users also will find a Remove Virtual COM feature in the Programs file. Step 3: Click the Uninstall Virtual COM icon. The Manager will ask for conformation.
Removing Virtual COM Ports Removing Virtual COM Ports Figure 35. The Device Manager Window Step 4: Highlight ESP (COM #) to be removed and click the Action tab at the top of window, then click Uninstall. A confirm Device Removal window will appear. Figure 36. Confirm Device Removal Step 5: Click OK to proceed.
Upgrade Mode Upgrade Mode Upgrading the Firmware Step 5: Double-click the Firmware Upgrade icon (or click the Server menu and Firmware Upgrade) Chapter 8: UPGRADING THE SERIAL SERVER FIRMWARE Step 6: In the Upgrade window, click Browse. The Open dialogue box will appear. Locate the folder on your PC that contains the firmware .hex file. Select the file and click Open. The Open dialogue box will disappear.
Using Console Mode Using Console Mode Navigating the Configuration Menus There are six Console Mode screens: Server, Network, Serial Mode, Operation, Monitor and Configuration. Tab, Back Space and arrow keys can be used to highlight the desired function on the screen list. Pressing Enter moves the cursor to the first field with the current screen. The configuration fields can be changed by pressing Enter and selecting from the list that appears. The Escape key moves the cursor back to the screen list.
Using Console Mode Using Console Mode Step 5: Once all the changes have been made move to the Configuration screen, select Save and press Enter. Figure 39. Saving and Restarting the Configuration The restart message will appear. Step 6: Select Yes to save changes. This is necessary to write the settings to the server. Using a Password If a password is used it must be entered before the Configuration screen can be seen.
Using the Web Server Using the Web Server Navigate and change properties as required using the mouse and keyboard. Chapter 10: USING THE WEB SERVER To change serial port properties, click Serial Port on the left side of the browser window. The following page will appear: The Web Server can be used to configure the Serial Server from any web browser software (such as Internet Explorer). Server properties can be set up using three browser pages. Note: See Chapter 5 for details on Server Properties.
Using the Web Server Using the Web Server Figure 42. The Web Server Operation Page Click Save to store changes to the Serial Server. Settings for each Port must be saved separately. Note: If new property settings are not saved before leaving this page they will not take effect. Return to the main Server page by clicking on Server on the left side of the browser window.
Using Telnet Using Telnet Note: The Serial Server must be in RS-232, RS-422 or RS-485 mode before you can Telnet to it and access the configuration screens. If it was last configured in Console mode you may not be able to access it using Telnet. In this case use ESP Manager, Console Mode or Web Server for configuration. CHAPTER 11: USING TELNET Step 6. The Telnet window will open (unless the server is still in Console mode) and the Server screen will appear.
Using Telnet Using Telnet Step 7: Once all the changes have been made move to the Save field and select Enter. The restart message will appear. Navigating the Configuration Menu There are six Telnet screens: Server, Network, Serial Mode, Operation, Monitor and Configuration. Tab, Back Space and arrow keys can be used to highlight the desired function on the screen list. Pressing Enter moves the cursor to the first field with the current screen.
ESR90x Technical Data Chapter 12: ESR90x TECHNICAL DATA ESR90x Technical Data RS-232(DTE): Serial Interfaces RS-422: Hardware and Included Accessories ESR901, ESR902 or ESR904 Serial Server modules Manual: Paper copy of this manual, PDF available CD-ROM disc: VLINX ESP Manager and Virtual COM Driver software for Windows 98/ME/2000/XP/NT 4.0 Dimensions ESR901/ESR902: 1.75 x 6.1 x 4.1 in (4.46 x 15.52 x 10.46 cm) ESR904: 1.75 x 7.1 x 4.1 in (4.46 x 18.03 x 10.
4.44 cm 10.46 cm 0.76 cm 4.46 cm 0.81 cm 3.01 cm 0.61 cm ESR901 1.44 cm 1.09 cm 9.70 cm GN D 3.23 cm AC In 6.84 cm AC/DC+ In Backup DC + In Voltage Range: 9-48VDC 8-24VAC Link R eady Power 12.65 cm 7.62 cm Console Ter minal 1.72 cm Reset Run DB9 Ethernet RX TX 6.96 cm RS- 232/422/485 1 1.44 cm 0.96 cm 1 2.60 cm GN D CT S/T XTX /TX + RX /RX + RT S/R X- 0.97 cm 2.66 cm 0.81 cm 0.48 cm Figure 46. Dimensional Diagram of the ESR901 4.44 cm 10.46 cm 0.76 cm 4.46 cm 0.
ESR90x Technical Data RS-232 Connections APPENDIX A: RS-232 CONNECTIONS 4.44 cm 10.46 cm 0.76 cm 4.46 cm 0.81 cm 3.01 cm 0.61 cm 1.44 cm ESR904 1.09 cm 9.70 cm GN D Serial Server DB-9 Pin-outs in RS-232 Mode AC/DC+ In 6.84 cm 3.23 cm AC In Backup DC + In Voltage Range: 9-48VDC 8-24VAC Link Ready Power Console 4.26 cm 15.20 cm Run 6.77 cm 15.52 cm Reset Ethernet 1 RX TX RX TX RS-232 Signal Name 1 3.74 cm 2 TX RX TX 3 1.44 cm 4 3.25 cm 6.96 cm RX 0.97 cm 2.
RS-232 Connections RS-422 Connections APPENDIX B: RS-422/485 CONNECTIONS ESR901 Terminal Block Pin-out in RS-232 Mode GN D CT S/T XTX /TX + RX /R X+ RT S/ RX - 1 ESR90x DB-9 Pin-out in RS-422 Mode 2 3 4 5 RS-232 Signal Name DTE Signal Ground --- GND Clear To Send In CTS Transmit Data Out Receive Data Request To Send 1 RS-422 Signal Name Direction RS-422 DB9M Pin Receive Data A (−) In RXDA (−) 1 2 Receive Data B (+) In RXDB (+) 2 TXD 3 Transmit Data B (+) Out TXDB (+) 3
RS-422 Connections RS-485 Connections ESR901 Terminal Block Pin-out in RS-422 Mode APPENDIX C: RS-485 CONNECTIONS GN D CT S/T XTX /TX + RX /R X+ RT S/ RX - 1 ESR90x DB-9 Pin-out in RS-485H (two-wire, half duplex) Mode 2 3 4 5 Signal Name RS-422 Direction Terminal Signal Ground GND --- 1 RS-485 Signal Name Direction RS-485 DB9M Pin Transmit Data (-) TXD(-) Out 2 Transmit Data (+) TXD(+) Out 3 Data B (+) In/Out DATA B (+) 3 Receive Data (+) RXD(+) In 4 Data A (−) In/Out DA
RS-485 Connections RS-485 Connections ESR90x DB-9 Pin-out in RS-485F (four-wire, full duplex) Mode ESR901 Terminal Block Pin-out in RS-485F (four-wire, full duplex) Mode RS-422 Signal Name Direction RS-422 DB9M Pin Receive Data A (−) In RXDA (−) 1 Receive Data B (+) In RXDB (+) 2 Transmit Data B (+) Out TXDB (+) 3 Transmit Data A (−) Out TXDA (−) 4 GN D CT S/T XTX /TX + RX /R X+ RT S/ RX - 1 2 3 4 5 Signal Name RS-422 Direction Terminal 1 Signal Ground --- GND 5 Signal Groun
Network Connections APPENDIX D: NETWORK CONNECTIONS Network Connections Crossover Ethernet Cable RJ-45 Pin-out Standard Ethernet Cable RJ-45 Pin-out RJ-45 Pin Signal Wire Color RJ-45 Pin 1 TX+ White-Green 1 2 TX+ Green 2 3 RX+ White-Orange 3 4 Not used Blue 4 5 Not used White-Blue 5 6 RX- Orange 6 7 Not used White-Brown 7 8 Not used Brown 8 RJ-45 Pin Signal Wire Color RJ-45 Pin 1 TX+ White-Green 3 2 TX+ Green 6 3 RX+ White-Orange 1 4 Not used Blue
International Headquarters B&B Electronics Mfg. Co. Inc. 707 Dayton Road Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Website: www.bb-elec.com Sales e-mail: orders@bb-elec.com -- Fax (815) 433-5109 Technical Support e-mail: support@bb.elec.com -- Fax (815) 433-5104 European Headquarters B&B Electronics Ltd. Westlink Commercial Park Oranmore, Co. Galway, Ireland Phone +353 91-792444 -- Fax +353 91-792445 Website: www.bb-europe.com Sales e-mail: sales@bb-europe.