RS-232/422/485 Multi-Interface Industrial Ethernet Serial Servers Models: LES401A, LES402A, LES404A Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018 Tech Support and Ordering: 724-746-5500 - Fax: 724-746-0746 To contact us about Black Box products or services: info@blackbox.com Documentation Number: LES40xA-1105m pn#7006-r000 Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018 www.blackbox.
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 the manufacturer. The company shall not be liable for incidental or consequential damages resulting from the furnishing, performance, or use of this manual.
CHAPTER 4: USING SERIAL SERVER MANAGER ....................................... 23 Table of Contents HARDWARE SETUP .................................................................................................. 23 SOFTWARE SETUP .................................................................................................... 24 SOFTWARE OVERVIEW ............................................................................................ 25 Menus.......................................................
CHAPTER 6: INSTALLING VIRTUAL COM PORTS ..................................... 41 APPENDIX D: NETWORK CONNECTIONS..................................................... 79 VIRTUAL COM PORT INSTALLATION ...................................................................... 41 MATCHING THE SERIAL SERVER AND VIRTUAL COM PORT SETTINGS ................... 44 STANDARD ETHERNET CABLE RJ-45 PIN-OUT ......................................................... 79 CROSSOVER ETHERNET CABLE RJ-45 PIN-OUT ..................
Introduction Introduction The 2 Port Industrial Serial Server features two multiinterface serial ports The 4 Port Industrial Serial Server features four multiinterface serial ports All ports are software selectable as RS-232, RS-422, RS-485 full duplex or RS-485 half duplex interfaces For all models Port 1 is software, or DIP switch selectable for Console Mode operation (configuration via direct serial connection) Chapter 1: INTRODUCTION 1, 2, or 4 Port Industrial Ethernet Serial Servers allow connection
Introduction • Introduction Heart Beat Connection - selectable protocol ensures reliable communications in Virtual COM Port or Paired Connection modes. This feature restores the connections if communications are temporarily lost at either end due to loss of power or the Ethernet connection. Paired Mode Paired Mode is also called serial tunneling. In this mode any two serial devices that can communicate with a serial link will be able to communicate using two Serial Servers and the LAN.
Introduction Introduction Serial Server Configuration Serial Server Quick Start Guide Step 1: Open the Serial Server Manager software. It will automatically search for any reachable Serial Servers. A list of all Serial Servers connected to the LAN will appear in the Serial Server List window.
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 Serial Server Manager 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 Serial Server Indicators, Switches and Connectors Chapter 2: MAKING THE HARDWARE CONNECTIONS Indicators Package Checklist One bi-color Link LED (Yellow = 10BaseT, Green = 100Base T) • One green Ready LED (flashing = system ready) • One red Power LED • One red RX LED and one green TX LED for each serial port Switches Serial Servers are shipped with the following items included: 9 9 9 • Reset 1, 2, or 4 Port Industrial Serial Se
Making the Hardware Connections Serial Port(s) • 1 Port Industrial Serial Server: One serial port with two connector options: one (DB-9M) or one five-terminal removable terminal block (DIP switch selectable) • 2 Port Industrial Serial Server: Two serial port connectors (DB-9M) • 4 Port Industrial Serial Server: Four serial port connectors (DB-9M) Making the Hardware Connections Default Mode When Default Mode is selected and the server properties are Updated (Saved) all the configuration settings re
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 J17 Figure 8. Interface Type 485 half duplex 1 422/485 full duplex CTS 485 half duplex 2 422/485 full duplex CTS Figure 9.
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 Serial Server Software Installing the Serial Server Software Chapter 3: INSTALLING THE SERIAL SERVER SOFTWARE Figure 13. The Install Shield Wizard Window The Windows-based Serial Server Manager and Virtual COM Port software makes configuration fast and easy. If using Windows, installing the Serial Server Manager software and setting up virtual COM ports to configure the Serial Server is recommended. Step 2: When the Serial Server Setup window appears, click Next.
Installing the Serial Server Software Installing the Serial Server Software The recommended procedure is to Remove all installed components first. Once the software has been removed, Install the new software. Opening the Serial Server Manager software 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 Serial Server Manager Using Serial Server Manager Chapter 4: USING SERIAL SERVER MANAGER The Serial Server Manager software allows: • 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 Ha
Using Serial Server Manager Using Serial Server 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 Serial Server Manager window.
Using Serial Server Manager Exit Help • Using Serial Server Manager • Allows you to Exit the Serial Server Manager program Serial Server. • • Protocol - Displays the currently selected TCP or UDP mode for the 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 each port.
Using Serial Server Manager Configure Server Properties The Server Properties window displays the current configuration properties for the currently selected server. Using Serial Server 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.
Server Properties Configuration Server Properties Configuration Description of the Server Properties Chapter 5: CONFIGURING THE SERIAL SERVER PROPERTIES The Serial Server can be configured using any of four different user interfaces: the Serial Server 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 Server Properties Configuration Gateway Note: A dynamic address assigned by the DHCP server may change if the server loses the Ethernet connection or power is removed. The host (client) communication software requests a connection to the specific IP address of the serial server. If the DHCP reassigns a different IP address the software will not be able to communicate with the hardware. Therefore, using a static IP address is recommended.
Server Properties Configuration TCP/UDP Protocol Server Properties Configuration TCP Alive Timeout Select TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) protocol. If the application does not require a UDP connection, select TCP. TCP guarantees reliable communication with error checking whereas UDP provides faster transmission. UDP Mode The Serial Server monitors TCP activity. If TCP activity stops for the length of time specified in this field the connection will be closed.
Server Properties Configuration Server Properties Configuration Port Status This field indicates whether a serial port is connected via the Serial Server to a virtual COM port of a device on the network. TCP/UDP Port This sets the port number for connection. The default port number for the 1 Port Industrial Serial Server serial port is 4000. The default port numbers for serials ports 1, 2, 3 and 4 are 4000, 4001, 4002 and 4003 respectively.
Server Properties Configuration Server Properties Configuration will take effect. Click Yes. After several seconds a dialogue box will ask whether you want to search for all reachable servers again. Click Yes. After that 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.
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 Figure 32. The Serial Server (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. Documentation Number: LES40xA-1105m Chapter 6 Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018 www.blackbox.
Removing Virtual COM Ports Removing Virtual COM Ports Chapter 7: REMOVING VIRTUAL COM PORTS The Serial Server 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 Serial Server (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 Chapter 8: UPGRADING THE SERIAL SERVER FIRMWARE Step 5: Double-click the Firmware Upgrade icon (or click the Server menu and Firmware Upgrade) 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. Documentation Number: LES40xA-1105m Chapter 10 Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018 www.blackbox.
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 Serial Server 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.
Serial Server Technical Data Chapter 12: SERIAL SERVER TECHNICAL DATA Hardware and Included Accessories 1, 2, or 4 Port Industrial Serial Server module Manual: Paper copy of this manual, PDF available CD-ROM disc: Serial Server Manager and Virtual COM Driver software for Windows 98/ME/2000/XP/NT 4.
Serial Server Technical Data Default Server Settings Server Name Serial Number: Password: DHCP: IP Address: Net Mask: Gateway: MAC Address: Version&Date: Serial server port: Baud Rate: Data//Stop: Parity: Flow Control: TCP/UDP Protocol: 1_Port or 2_Port or 4_Port xxxxxxxxx (printed on bottom of unit) Blank Disable 192.168.0.1 255.255.255.0 192.168.0.
Serial Server Technical Data Figure 48. Serial Server Technical Data Dimensional Diagram of the 4 Port Serial Server Documentation Number: LES40xA-1105m Chapter 12 Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018 www.blackbox.com -- Tech Support and Ordering: 724-746-5500 - Fax: 724-746-0746 69 70 Chapter 12 Documentation Number: LES40xA-1105m Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018 www.blackbox.
RS-232 Connections APPENDIX A: RS-232 CONNECTIONS RS-232 Connections 1 Port Serial Server Terminal Block Pin-out in RS-232 Mode Serial Server DB-9 Pin-outs in RS-232 Mode GN D CT S/T XTX /TX + RX /R X+ RT S/ RX - 1 2 3 4 5 RS-232 Signal Name DTE RS-232 DB-9M Pin Carrier Detect In DCD 1 RS-232 Signal Name DTE RS-232 Terminal 1 Receive Data In RXD 2 Signal Ground --- GND Transmit Data Out TXD 3 Clear To Send In CTS 2 Data Terminal Ready Out DTR 4 Transmit Data Out TXD
RS-422 Connections APPENDIX B: RS-422/485 CONNECTIONS RS-422 Connections 1 Port Serial Terminal Block Pin-out in RS-422 Mode GN D CT S/T XTX /TX + RX /R X+ RT S/ RX - 2 Port Serial Server DB-9 Pin-out in RS-422 Mode 1 2 3 4 5 RS-422 Signal Name DB9M Pin Direction RS-422 Receive Data A (−) In RXDA (−) 1 Receive Data B (+) In RXDB (+) 2 Transmit Data B (+) Out TXDB (+) 3 Transmit Data A (−) Out TXDA (−) 4 Signal Ground --- GND 5 Clear to Send A (−) In CTSA (−) 6 Clear to Sen
RS-422 Connections RS-485 Connections 1, 2, or 4 Port Serial Server DB-9 Pin-out in RS-485F (four-wire, full duplex) Mode APPENDIX C: RS-485 CONNECTIONS 1, 2, or 4 Port Serial Server DB-9 Pin-out in RS-485H (two-wire, half 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 DB9M Pin Transmit Data A (−) Out TXDA (−) 4 Signal Ground --- GND 5 DATA B (+) 3 Clear to Send A (−
RS-485 Connections RS-485 Connections 1 Port Serial Server Terminal Block Pin-out in RS-485F (four-wire, full duplex) Mode GN D CT S/T XTX /TX + RX /R X+ RT S/ RX - 1 2 3 4 5 Signal Name RS-422 Direction Signal Ground GND --- Terminal 1 Transmit Data (-) TXD(-) Out 2 Transmit Data (+) TXD(+) Out 3 Receive Data (+) RXD(+) In 4 Receive Data (-) RXD(-) In 5 Figure 55.
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 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 4 Not used White-Blue 5 1 TX+ White-Green 1 5 2 TX+ Green 2 6 RX- Orange 2 Not used White-Brown 7 Not used Brown 8 3 RX+ White-Orange 3 7 4 Not used Blue 4