Black Box LES301A-KIT User Manual

Black Box LES301A-KIT User Manual

1-port 10/100 device server, rs-232/422/485, db9 m
Hide thumbs Also See for LES301A-KIT:
Table of Contents

Advertisement

1-Port 10/100 Device Server, RS-232/422/485, DB9 M
Access a serial RS-232 or RS-422/485 device over a
10- or 100-Mbps network.
• Remotely monitor, manage, and control an industrial device in the field.
• Easy to configure through a Web browser, serial console, Telnet
or Windows
Customer
Support
Information
LES301A user manual
utility.
®
Order toll-free in the U.S.: Call 877-877-BBOX (outside U.S. call 724-746-5500)
FREE technical support 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746
Mailing address: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018
Web site: www.blackbox.com • E-mail: info@blackbox.com
BLACK BOX
LES301A
LES301A-KIT
LES301AE-KIT
®

Advertisement

Table of Contents
loading

Summary of Contents for Black Box LES301A-KIT

  • Page 1 Order toll-free in the U.S.: Call 877-877-BBOX (outside U.S. call 724-746-5500) Customer FREE technical support 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746 Support Mailing address: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018 Information Web site: www.blackbox.com • E-mail: info@blackbox.com LES301A user manual...
  • Page 2 Trademarks Used in this Manual Trademarks Used in this Manual Black Box and the Double Diamond logo are registered trademarks of BB Technologies, Inc. HP and OpenView are registered trademarks of Hewlett-Packard Development Company. Intel and Pentium are registered trademarks of Intel Corporation.
  • Page 3 FCC and IC RFI Statements Federal Communications Commission and Industry Canada Radio Frequency Interference Statements This equipment generates, uses, and can radiate radio-frequency energy, and if not installed and used properly, that is, in strict accordance with the manufacturer’s instructions, may cause interference to radio communication. It has been tested and found to comply with the limits for a Class A computing device in accordance with the specifications in Subpart B of Part 15 of FCC rules, which are designed to provide reasonable protection against such interference when the equipment is operated in a commercial environment.
  • Page 4: Instrucciones De Seguridad

    NOM Statement Instrucciones de Seguridad (Normas Oficiales Mexicanas Electrical Safety Statement) 1. Todas las instrucciones de seguridad y operación deberán ser leídas antes de que el aparato eléctrico sea operado. 2. Las instrucciones de seguridad y operación deberán ser guardadas para referencia futura. 3.
  • Page 5: Table Of Contents

    3.1 LED Indicators ................................14 3.1.1 LAN LED ................................14 3.1.2 COM Port LED ...............................15 3.1.3 RUN LED ................................15 3.2 Installation Procedures (LES301A-KIT or LES301AE-KIT) ....................15 4. Software Setup ..................................16 4.1 Configuration by SerialManager ..........................16 4.1.1 Static IP ................................16 4.1.2 Auto IP (Dynamic IP) ............................17 4.2 Configuration by Telnet Utility .............................18...
  • Page 6 Table of Contents Chapter Page 5. Using VirtualCOM ................................37 5.1 Setup of a Virtual COM Driver ............................37 5.1.1 Pre-installation Requirements .......................... 37 5.1.2 Supported Firmware ............................37 5.1.3 Limitation ................................38 5.1.4 Installation ..............................38 5.1.5 Uninstalling ..............................38 5.2 Virtual COM Communication ............................38 5.2.1 Enable Virtual COM on LES301A ........................38 5.2.2...
  • Page 7: Specifications

    Chapter 1: Specifications 1. Specifications 1.1 Hardware Specifications Baud Rate — 1200 bps to 230 kbps CPU — 16-bit embedded CPU, 100 MHz Data Bits — 7, 8 EEPROM — 512 bytes Flash Memory — 512 KB Flow Control — None, Hardware CTS/RTS, Software X-ON/X-OFF Host Communication —...
  • Page 8: Db9 Pin Assignments

    Chapter 1: Specifications 1.3 DB9 Pin Assignments Table 1-1 shows the LES301A unit’s DB9 connector pin assignments. Table 1-1. DB9 connector pin assignments. RS-232 full-duplex 2-Wire RS-485 half-duplex RS-422/4-Wire RS-485 full-duplex TXD+ DATA+ RXD+ SG (Signal Ground) SG (Signal Ground) SG (Signal Ground) DATA- RXD-...
  • Page 9: Power Terminal Block Connector

    Memory problem, contact Black Box Technical Support* ^==^========^^ (5sec) Startup OK but AP firmware is disabled ^==^========^^^ (5sec) Startup OK and AP firmware is enabled *Contact Black Box Technical Support at 724-746-5500 or info@blackbox.com. 1.6.2 LAN LED Table 1-4. LAN LED. Message Description...
  • Page 10: Run Led

    Chapter 1: Specifications 1.6.4 RUN LED Table 1-6. RUN LED. Message Description LED on Jumper JP1 Pin 1 and Pin 2 are short; this disables AP firmware in flash memory LED is blinking at the rate once every 0.5 sec AP firmware is running 724-746-5500 | blackbox.com Page 10...
  • Page 11: Overview

    The LES301A has (1) RS-232/RS-485/RS-422 port (software selectable), (1) RJ-45 Ethernet and Watch-Dog Timer etc. 2.2 What’s Included Your package should contain the following items. If anything is missing or damaged, contact Black Box Tech Support at 724-746-5500 or info@blackbox.com.
  • Page 12: Application Connectivity

    Chapter 2: Overview RJ-45 Reset 10-/100-Mbps button DC 9–30 V port DIN rail screw hole Wallmount screw hole DB9 male serial port Figure 2-2. Top panel. DB9 male serial port Figure 2-3. Front panel. Table 2-1. Ethernet Serial Server components. Message Description LED off...
  • Page 13 Chapter 2: Overview TCP Client Mode: LES301A can be configured as a TCP client on TCP/IP network to establish a connection with other applications (server) in the host computer actively. After the connection is established, data can be transmitted between the serial device and the host computer in both directions.
  • Page 14: Hardware Setup

    Chapter 3: Hardware Setup 3. Hardware Setup NOTE: Figures 2-1 through 2-3 in Chapter 2 show the LES301A unit’s back, top, and front views. NOTE: To reset the settings to the default value, press the LES301A‘s reset button. Figure 3-1 shows the interfaces. RJ-45 Reset 10/100 Mbps...
  • Page 15: Com Port Led

    LED is blinking every 0.5 second AP firmware is running normally 3.2 Installation Procedures (LES301A-KIT or LES301AE-KIT) Step 1: Connect an LES301A to the included power supply (PS012 or PS012E) or to a 9–30 VDC source. Step 2: Connect the LES301A to an Ethernet network. Use a standard straight-through Ethernet cable to connect to a hub/ switch, or connect it to a PC’s Ethernet port via a cross-over Ethernet cable.
  • Page 16: Software Setup

    Chapter 4: Software Setup 4. Software Setup The LES301A Ethernet Serial Server is shipped with default settings shown in Table 4-1. Table 4-1. Default software settings. Property Default value IP address 10.0.50.100 Gateway 10.0.0.254 Subnet mask 255.255.0.0 User name admin Password Null (leave it blank) COM 1...
  • Page 17: Auto Ip (Dynamic Ip)

    Chapter 4: Software Setup Figure 4-2. Static IP setup dialog window. 4.1.2 Auto IP (Dynamic IP) A DHCP server can automatically assign the IP address and network settings. The LES301A supports the DHCP function. By default, the DHCP function on the LES301A is disabled; you can use SerialManager software to search network information auto- matically by following these steps: 1.
  • Page 18: Configuration By Telnet Utility

    Chapter 4: Software Setup 4.2 Configuration by Telnet Utility You can use the Telnet utility to change configuration settings of the LES301A. 4.2.1 Log into the System Open the MS-DOS command prompt window. ® Telnet to the LES301A using the command “Telnet IP_address.” (For example: Input Telnet 10.0.50.100 in the MS-DOS command prompt window).
  • Page 19 Chapter 4: Software Setup Figure 4-6. Overview. This page gives you general information about the LES301A, including IP and MAC address, SNMP information, kernel and AP information, and connection status of the device. 724-746-5500 | blackbox.com Page 19 LES301A user manual...
  • Page 20: Networking

    Chapter 4: Software Setup 4.2.2 Networking Select “2” from “Input choice and enter (0–4):” to enter the Networking page (see Figure 4-7). Figure 4-7. Network settings. This page allows you to change the LES301A’s network settings, including IP address, subnet mask, gateway IP address, and SNMP information.
  • Page 21: Change The Password

    Chapter 4: Software Setup 4.2.3 Change the Password 1. Select “3” from “Input choice and enter (0–4):” and the following screen appears (see Figure 4-8). Figure 4-8. Change the password. 2. To change the password, type the old password in the “Please input old password” field, then type the new password in the “Please input new password”...
  • Page 22 Chapter 4: Software Setup The page enables you to configure COM1 parameter settings, including COM working mode, port parameters, enabling or disabling serial buffer’s data, and setting packet delimiter. Figure 4-10. COM port selection screen. LINK Mode Setup: Configure LES301A as a TCP server (see Figure 4-10). 1.
  • Page 23: Configure Les301A As A Tcp Client

    Chapter 4: Software Setup Figure 4-11. Link Mode—TCP server setup. 4.2.5 Configure the LES301A as a TCP Client 1. Type “2” at the “Input choice (1–5) and enter:“ prompt (see Figure 4-11) 2. Input the destination IP in the “Please input Destination IP:” prompt. 3.
  • Page 24: Configure Les301A As A Udp Client

    Chapter 4: Software Setup Figure 4-12. Link mode TCP client setup. 4.2.6 Configure the LES301A as a UDP Client For example, the local port is 4660, the destination IP is 10.0.29.254, and the destination port is 666 (see Figure 4-13). Figure 4-13.
  • Page 25: Com Port Setting

    Chapter 4: Software Setup 4.2.7 COM Port Setting Type “2” at the “Input choice and enter (1–4):” prompt for COM1. The following screen will appear. You can then give the COM port an alias name, set the baud rate and parity, determine the number of data bits and stop bits, and decide if you want to use flow control (and also the type of flow control you want to use).
  • Page 26: Setting Packet Delimiter

    4.2.10 Accept Control Command from COM Port The LES301A can also accept serial control commands directly over the network following RFC2217 format. For more details about this function, contact Black Box Tech Support at 724-746-5500 or info@blackbox.com. 4.3 Configuration Using Web Browser 1.
  • Page 27: Log In To The System

    Chapter 4: Software Setup 5. Click on the ”Restart” button to activate the change. You can also modify various settings through the Web server interface. To do so, follow the steps below. 4.3.1 Log in to the System 1. From the Web browser, type the LES301A’s IP address in the URL. Example: http://10.0.50.100 2.
  • Page 28: Change The Password And Rs-232/Rs-485/Rs-422 Type Selection

    Chapter 4: Software Setup Figure 4-19. Overview. 4.3.2 Change the Password and RS-232/RS-485/RS-422 Type Selection 1. Click on the “Security” link and the screen shown in Figure 4-20 appears. Figure 4-20. Change the password. 724-746-5500 | blackbox.com Page 28 LES301A user manual...
  • Page 29: Network Setup

    Chapter 4: Software Setup 2. Type in the old password in the “Old Password” field, type in the new password in the “New Password” and the “Verified Password” fields, and then click on “Save Configuration” to update the password. NOTE: Press the default key to reset password to the default value. 3.
  • Page 30 Chapter 4: Software Setup Figure 4-22. Network setup. 724-746-5500 | blackbox.com Page 30 LES301A user manual...
  • Page 31: Configure Les301A As A Tcp Server

    Chapter 4: Software Setup 4.3.4 Configure the LES301A as a TCP Server You can configure the LES301A with transparent mode as the default. 1. Click on the “COM1” link. 2. Configure the LES301A as a TCP server. 3. Input the local listening port “4660.” To enable the IP filter: 1.
  • Page 32: Configure Les301A As A Tcp Client

    Chapter 4: Software Setup Figure 4-24. COM1 setup—TCP server. NOTES: 1. The default port number for the LES301A is 4660 and it is associated with serial port COM1 respectively. After your application program connects to the TCP port 4660 of the LES301A, data sent to this TCP connection from your application program is transparent to the LES301A’s COM1.
  • Page 33: Pair Connection

    Chapter 4: Software Setup 7. Input the error retrying time at the “Waiting Time Between Re-connect Attempts (0 minute, 1–255):” prompt. Input “0” to disable the function; input “2” and the serial Inactivity beyond 2 sec will cause a disconnect. 8.
  • Page 34 Chapter 4: Software Setup Figure 4-26. COM1 setup—pair connection. Configure the LES301A as UDP mode. The local port is 4660, the destination IP is 10.0.29.254, and the destination port is 4660. 724-746-5500 | blackbox.com Page 34 LES301A user manual...
  • Page 35: Assign A New Ip Address By Arp Command

    Chapter 4: Software Setup Figure 4-27. COM1 setup—UDP mode. 1. Click on “Save Configuration” to save the changes. 2. If the update is successful, the following screen appears. Figure 4-28. Configuration is successful. 4.4 Assign a New IP Address by ARP Command Use ARP command to assign a static IP address to LES301A using its hardware MAC address.
  • Page 36 Chapter 4: Software Setup Figure 4-29. MS-DOS command prompt window. Step 2: Change to new IP via Telnet Port 1. • Input “telnet 10.0.50.101 1” NOTE: The Telnet will fail, and the LES301A will restart automatically. After restart, the IP address should change to 10.0.50.101. Step 3: Use a new IP to configure LES301A via Telnet.
  • Page 37: Using Virtualcom

    Chapter 5: Using Virtual COM 5. Using Virtual COM Virtual COM driver mode for windows converts COM data to LAN data to control the RS-232 port on an LES301A via the LAN. By creating virtual COM ports on the PC, the Virtual COM driver redirects the communications from the virtual COM ports to an IP address and port number on an LES301A that connects the serial line device to the network.
  • Page 38: Limitation

    Chapter 5: Using Virtual COM 5.1.3 Limitation The Virtual COM driver enables you to select up to 256 COM ports as Virtual COM ports in a SerialManagerPC. You can select from a list of COM ports from COM1 to COM256. 5.1.4 Installation Turn off all anti-virus software before beginning the installation.
  • Page 39 Chapter 5: Using Virtual COM Figure 5-3. Enable Virtual COM via Telnet. 5.2.2 Run Serial/IP on PC In the Window Start Menu, go to “Programs,” select “Serial/IP” and select “Control Panel.” When the“Select Port” window pops up, select the serial port you want to configure. The configuration window will appear (see Figure 5-4). 724-746-5500 | blackbox.com Page 39 LES301A user manual...
  • Page 40: Configuring Virtual Com Ports

    Chapter 5: Using Virtual COM Figure 5-4. Serial/IP configuration. On the right side of Figure 5-4 is a sample Virtual COM Control Panel window. On the left side is the list of the COM ports that you have selected (in the Select Ports window) for use by the Virtual COMRedirector. If you want to change which ports appear in this list, use the “Select Ports”...
  • Page 41 Chapter 5: Using Virtual COM 5. Click the “Configuration Wizard” button and then click the “Start” button that appears in the wizard window. This important step verifies that the Virtual COMRedirector can communicate with the serial server using the settings you have provided. If the Log display does not show errors, click the “Use Settings”...
  • Page 42: Snmp Setup

    Chapter 6: SNMP Setup 6. SNMP Setup 6.1 SNMP Network Management Platform LES301A is an SNMP device that allows many popular SNMP network management platforms such as HP OpenView ® ® SunNet Manager to conduct SerialManager. Depending on the network management tools you are using, you can collect device LES301A information from running the management tools including IP address, DNS name, system descriptions, and NIC information, etc.
  • Page 43 Chapter 6: SNMP Setup Figure 6-3. NetworkView displays the devices found. 4. Double-click on the device icon to display information about the device, including IP Address, Company, SysLocation (Max 15 characters), SysName (Max 9 characters), and types, etc. Figure 6-4. NetworkView display device information. NOTES: 1.
  • Page 44: Start Writing Your Own Applications

    Chapter 7: Start Writing Your Own Applications 7. Start Writing Your Own Applications Before you start writing host applications or programs to interact with LES301A, make sure you have done the following. 7.1 Preparing the System 1. Properly connect the LES301A hardware, including power, Ethernet, and serial cable. 2.
  • Page 45: Tcptest2 In Visual C

    Chapter 7: Start Writing Your Own Applications 7.2.2 TCPTEST2 in Visual C To start the program, type in the following command in the command line prompt: TCPTEST2 IP_Address Port_Number Figure 7-2. TCP test sample program in Visual C The command “tcptest2 10.0.50.100 4660” connects to a TCP server that has IP address “10.0.50.100” and port number “4660.”...
  • Page 46: Diagnostics

    Chapter 8: Diagnostics 8. Diagnostics There are several ways that you can check on the status and availability of the LES301A. 8.1 Use the Standard TCP/IP Utility Ping Command From Windows “Start” menu, select “Run” and type in “ping <TCP Server IP address>.” If the connection is established, the Reply messages are displayed;...
  • Page 47: Appendix A: Upgrade System Firmware

    Appendix A: Upgrade System Firmware Appendix A: Upgrade System Firmware After a new version of firmware is released, you can download it from www.blackbox.com. After you download the firmware, follow the instructions listed below. A.1 Upgrade Procedures When you get a new software version, follow the sequences below to upgrade the LES301A. 1.
  • Page 48: Critical Issues Of Upgrading

    Appendix A: Upgrade System Firmware Figure A-3. Download finished screen. A.2 Critical Issues of Upgrading 1. You can abort the upgrading process by pressing the “Esc” key on the host PC during the upgrading process. The LES301A will restart automatically, and the system remains intact. 2.
  • Page 49: Appendix B: Disable System Firmware

    Appendix B: Disable System Firmware Appendix B: Disable System Firmware The application program (AP) LES301A firmware can be disabled. Do this if you downloaded a wrong version of firmware that caused the system to crash. To disable the current version of firmware and prevent it from executing, do the following: 1.
  • Page 50: Appendix C: Using Serialmanager Utility

    Appendix C: Using SerialManager Utility Appendix C: Using SerialManager Utility C.1 SerialManager Utility Introduction The SerialManager utility is a special tool for device management and configuration. Use it daily to manage various network devices for address search, device positioning, parameter configuring, and firmware downloading. C.2 Interface The operating interface of the SerialManager utility is shown below: Figure C-1.
  • Page 51 Appendix C: Using SerialManager Utility Figure C-2. Main menu. Alternatively, you can select the search method by clicking the “Rescan button” on the toolbar. Figure C-3. Rescan button. Broadcast Search Once “Broadcast Search” is selected, a box will pop up as in Figure C-4. You may type in or select a different broadcast address based on the requirement.
  • Page 52 Appendix C: Using SerialManager Utility Figure C-4. Broadcast Search screen. Search by IP Address Once “Search by IP Address” is selected, an interface will pop up. Here, you have two options: “Select an IP address to search” or “Search device in the range of IP address.” Figure C-5.
  • Page 53: Firmware

    Appendix C: Using SerialManager Utility Figure C-6. Search Devices by MAC Addresses screen. Rescan Once you click the “Rescan” button on the toolbar, the SerialManager utility will re-search devices by using the current search way. C.3.2 Firmware This function is applied to downloading a firmware into the selected device. You can enter the window for downloading by first clicking a designated network device, and then selecting the submenu option “Firmware Download”...
  • Page 54 Appendix C: Using SerialManager Utility Figure C-8. SerialManager screen. You can select and download the required firmware from the disk. You can also select several same devices at one time, and update the firmware by selecting “Apply for all selected devices.” Figure C-9.
  • Page 55: Configuration

    Appendix C: Using SerialManager Utility C.3.3 Configuration Use this function to set up parameters in the device configuration, to import and to export the parameters, and to set up some options. You can configure: “Network,” “SNMP,” “COM Port,” “Locate,” “Reset,” “Import Setting,” “Export Setting,” “Virtual COM,”...
  • Page 56 Appendix C: Using SerialManager Utility SNMP You can modify SNMP settings of any selected device. The supported SNMP fields are Name, Location, and Contact. NOTE: This function will be enabled after a successful login. Figure C-12. SNMP Setting screen. COM Port This function is applied to the configuration of COM port parameters only.
  • Page 57 Appendix C: Using SerialManager Utility Figure C-13. COM Ports Setting screen. You can also select several devices at once, and carry out the configuration for them at the same time by selecting “Apply for all selected devices with the same model.” NOTE: COM tabs are generated automatically according to the COM port number of the device.
  • Page 58 Appendix C: Using SerialManager Utility COM property represents the parameter of the serial port including: serial port type, baud rate, data bit, stop bit, parity bit, data packet delimiter, and flow control, etc. Locate Apply this function to locate a device when you know its IP address but you don’t know its position. If you locate the device, it will beep.
  • Page 59 Appendix C: Using SerialManager Utility Export Settings You can save the parameter information to a standard device into a parameter file through the submenu option “Export setting“ or by clicking the “Export settings” button on the toolbar for backup purposes or to be imported to other device. The “Export Settings”...
  • Page 60 Appendix C: Using SerialManager Utility Figure C-16. Web browser. Configure by Telnet Most devices support Telnet login. It will provide additional device-specific parameters that SerialManager does not supply. You can set parameters directly through the submenu option, “Config by Browser.” A Web browser is shown in Figure C-16. Option In this dialog, you can: 1.
  • Page 61: Security

    Appendix C: Using SerialManager Utility C.3.4 Security This function is applied to the security protection for the network devices, to protect the device when modifying, leading-in, leading-out configuration, and some other important functions. Here three functions are mainly supplied, including: “Login,” “Logout,”...
  • Page 62: Virtual Com

    Appendix C: Using SerialManager Utility Figure C-20. Change Password screen. C.3.5 Virtual COM Some devices support virtual serial port function. You can configure these devices via “Virtual COM.” The VirtualCOM settings are integrated into the Serial Manager. You can still select “Serial/IP Tools”to call original VirtualCOM configuration utilities. You can either use this integrated Virtual COM working area or the original Serial/IP Tools to configure Virtual COM.
  • Page 63 Appendix C: Using SerialManager Utility Figure C-22. Virtual COM working area. Select the device you want to establish a Virtual COM connection with—you can select multiple devices. After the device is selected, right click in the blank working area and select “Add devices.” 724-746-5500 | blackbox.com Page 63 LES301A user manual...
  • Page 64 Appendix C: Using SerialManager Utility Figure C-23. Add devices. The device is added. Right-click on any port and a menu will appear. You can remove the device from the Virtual COM working area by selecting “Remove devices.” You can disable Virtual COM for a specific port by selecting “Port Disable.” Remember to click “Apply”...
  • Page 65 Appendix C: Using SerialManager Utility Figure C-24. Mapping drop-down menu. If you select Port Mapping…, a new window will appear. You can set up the Virtual COM accordingly. Figure C-25. Virtual COM Settings screen. C.3.6 About Use this function to display SerialManager utility information. 724-746-5500 | blackbox.com Page 65 LES301A user manual...
  • Page 66 Appendix C: Using SerialManager Utility Figure C-26. SerialManager screen. 724-746-5500 | blackbox.com Page 66 LES301A user manual...
  • Page 67 NOTES 724-746-5500 | blackbox.com Page 67 LES301A user manual...
  • Page 68 About Black Box Black Box provides an extensive range of networking and infrastructure products. You’ll find everything from cabinets and racks and power and surge protection products to media converters and Ethernet switches all supported by free, live 24/7 Tech support available in 30 seconds or less.

This manual is also suitable for:

Les301ae-kitLes301a

Table of Contents