This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Black Box. Please contact your local supplier for ordering information.
Disclaimer Black Box Corporation shall not be liable for damages of any kind, including, but not limited to, punitive, consequential or cost of cover damages, resulting from any errors in the product information or specifications set forth in this document and Black Box Corporation may revise this documentation at any time without notice.
Warnings, Cautions and Notes Warning Warnings indicate conditions, which if not observed, can cause personal injury! Caution Cautions are included to help you avoid damaging hardware or losing data. Example: There is a danger of a new battery exploding if it is incorrectly installed. Do not attempt to recharge, force open, or heat the battery.
Safety Instructions Read these safety instructions carefully. Keep this user manual for future reference. Disconnect this equipment from any AC outlet before cleaning. Do not use liquid or spray detergents for cleaning; use a damp cloth instead. For plug-in equipment, the power outlet socket must be located near the equip- ment and must be easily accessible.
Page 6
Safety Precaution - Static Electricity Follow these precautions to protect yourself from harm and the products from damage: To avoid electrical shock, always disconnect the power from your PC chassis before you work on it. Don't touch any components on the CPU card or other cards while the PC is on.
TCP/IP network. Through networking, you can control and moni- tor remote serial devices over either a LAN or WAN. Since the LES420 Series is connected through a TCP/IP network, you may need to know some basic facts about networking in order to connect the server correctly.
2.1 Specifications Specifications Description LES421A-R2: (2) RJ-45 + (1) RS232/422/485 Interface I/O Port LES422A-R2: (2) RJ-45 + (2) RS232/422/485 Power Connector Terminal block Physical Enclosure Metal with solid mounting hardware Installation DIN-Rail and Wall mount LES421A-R2/LES422A-R2: Dimensions 1.44" x 5.51" x 3.74" (36.6 x 140 x 95mm) (W x H x D) LED Display System LED...
Page 15
Specifications Description Windows OS, Windows Server, and Linux ® Software Driver Support Black Box Device Configuration Utility Utility Operation Modes COM port redirection mode (Virtual COM) TCP/UDP server (polling) mode TCP/UDP client (event handling) mode Pair connection (peer to peer) mode...
2.2 Hardware 2.2.1 Front View The following view shows the LES421A-R2. P2 Status Default Figure 2.1 Front View No. Item Description System LED panel See “LED Indicators” on page 11 for further details. ETH port RJ45 ports x 2 Serial port DB9 pinout, supports RS-232/422/485 BLACKBOX.COM...
Page 17
The following view shows the LES422A-R2 P2 Status Default Figure 2.2 Front View No. Item Description System LED panel See “LED Indicators” on page 10 for further details. ETH port RJ-45 ports x 2 Serial port DB9 pinout, supports RS-232/422/485 BLACKBOX.COM...
2.2.2 Rear View The following view is valid for the LES421A-R2 and LES422A-R2. Figure 2.3 Rear View No. Item Description DIN-Rail mounting Mounting plate used for the installation to a standard DIN rail plate BLACKBOX.COM...
2.2.3 Top View The following view is valid for the LES421A-R2 and LES422A-R2. Figure 2.4 Top View No. Item Description Terminal block Connect cabling for power and alarm wiring Ground terminal Screw terminal used to ground chassis Wall mounting holes (4) Screw holes used in the installation of a wall mounting plate BLACKBOX.COM...
2.2.4 LED Indicators P1 P2 Status 1 2 3 Figure 2.5 System LED Panel No. LED Name LED Color Description Green Power 1 is on Power 1 is off, or power error condition exists Green Power 2 is on Power 2 is off, or power error condition exists Status Amber The device server has been located by utility’s loca-...
2.3 Connecting Hardware 2.3.1 Choosing a Location 2.3.1.1 DIN Rail Mounting The DIN rail mount option is the quickest installation option. Additionally, it optimizes the use of rail space. The metal DIN rail kit is secured to the rear of the serial device server. The device can be mounted onto a standard 35mm (1.37”) x 75mm (3”) height DIN rail.
Page 23
Insert the top back of the mounting bracket over the DIN rail. Push the bottom of the server towards the DIN rail until it snaps into place. DIN Rail Figure 2.8 Installing the DIN-Rail Mounting Kit Removing the DIN-Rail Mounting Kit Push the server down to free the bottom of the plate from the DIN rail.
Page 24
2.3.1.2 Wall-Mounting The wall mounting option provides better shock and vibration resistance than the DIN rail vertical mount. Note When installing, make sure to allow for enough space to properly install the cabling. Before the device can be mounted on a wall, you will need to remove the DIN rail plate.
Page 25
Locate the installation site and place the server against the wall, making sure it is the final installation location. Use the wall mount plates as a guide to mark the locations of the screw holes. Drill four holes over the four marked locations on the wall, keeping in mind that the holes must accommodate wall sinks in addition to the screws.
Caution Disconnect the power cord before installation or cable wiring. The LES420 Series supports dual 12 to 48 VDC power inputs and power-fail relay output. BLACKBOX.COM...
Page 27
External Load Power Figure 2.14 Power Wiring for LES420 Series You can connect an alarm indicator, buzzer, or other signaling equipment through the relay output. The relay opens if power input 1 or 2 fails. In a wiring example where an LED is connected to the relay output, the LED would be off in an Open state.
Microsoft.NET Framework version 2.0 or greater is required for this application. Download the Device Configuration Utility from the Black Box website. Run the Device Configuration Utility. If there is an existing COM port mapping utility on the host PC, remove it at this time.
Page 30
When the Software License Agreement displays, click on I Agree to continue or Cancel to stop the installation. Figure 3.2 InstallShield Wizard 2 of 4 The InstallShield continues and a status screen displays. Figure 3.3 InstallShield Wizard 3 of 4 BLACKBOX.COM...
Page 31
Once the installation of the package is finished, a Configuration Utility Setup screen displays. Click on the Finish button to complete the process and exit the InstallShield Wizard. Figure 3.4 InstallShield Wizard 4 of 4 BLACKBOX.COM...
3.2 Starting the Configuration Utility The LES420 series serial device servers provide an easy-to-use utility to configure your serial device server through an Ethernet connection. For secure administration, it can also restrict the access rights for configuration to only one host PC. With this secure function enabled, other PCs will not have permission for configuration.
3.3.1 Auto Searching The Serial Device Server Configuration Utility will automatically search for all of the LES420 Series device servers on the network and show them in the utility's Serial Device Server List Area. The utility provides an auto-search function to show your device(s) by simply executing the configuration utility program from the Start Menu.
Page 34
Information,” and “Serial Port Information.” The serial port information frame displays the operation mode, status, and connected host IP. Figure 3.7 Selecting a Group Click on the “+” before the device name, and the utility will expand the interfaces on this device server.
10.0.0.1 (Eth1) 10.0.0.2 (Eth2) The LES420 series includes a software utility option, which you can install on your system, for configuration through computer-based software. The LES420 series also includes a web interface option for configuration through a standard web browser.
Page 36
You can choose from four possible IP Configuration modes --- Static, DHCP, BOOTP, and DHCP/BOOTP. Figure 3.11 Network Settings Overview Item Description Static IP Static IPUser defined IP address, Subnet Mask, and Default Gateway. DHCP + Auto-IP DHCP Server assigned IP address, Subnet Mask, Default Gateway, and DNS.
3.4 Administrator Settings 3.4.1 Locate the Serial Device Server When several serial device servers are connected to the network, identification of a specific serial device is possible through the Locate function. To locate the serial device server: From the device list frame, locate the desired device and right-click on it to dis- play the settings menu.
3.4.2 Securing the Serial Device Server 3.4.2.1 Lock the Serial Device Server The configuration utility provides the “Lock Device” function to make it more secure. To lock the serial device server: Right-click on a desired device to display the settings menu. Select Lock Device.
Page 39
Right-click a desired device to display the settings menu. Select Reset Device to restart the serial device server and store your setting password into the mem- ory. Figure 3.15 Reset Device 3.4.2.2 Unlock the Serial Device Server To unlock the serial device server: Right-click a desired device to display the settings menu.
3.4.3 Restore to Factory Default Settings The configuration utility enables you to restore the serial device server to factory default settings. Figure 3.17 Restore to Factory Default Settings The confirmation message will display after clicking on Restore to Factory Default Settings. If you want to restore the serial device sever to factory default settings, click on the Yes button to continue.
3.4.4 Resetting the Device The Reset Device option allows you to reset the serial device server. The function disconnects both the Ethernet and serial connections. The function also allows the serial device server to save new configuration settings to flash memory. Once a new setting is changed, you can use the Save function to accept the changes.
3.4.5 Add to Favorite The Add to Favorite function allows you to easily map available devices to your Favorite list. This creates quickly accessible shortcuts existing critical devices from the vast pool of locally or remotely networked devices. Figure 3.19 Add to Favorite 3.4.6 Auto Mapping See “Auto Mapping”...
3.4.8 Update Firmware Black Box upgrades its firmware to keep up with the ever-expanding world of computing. You can use the update firmware function in the utility to perform the upgrade procedure. Visit blackbox.com to download the latest version of the firmware.
Ethernet network a surprisingly simple process. These units immediately upgrade your existing serial devices for integration into the Internet world. The LES420 Series features many powerful functions, such as high- speed data transfer, access-control, auto-detection of all series products, and more.
Every host can transmit data to the same serial port, and the LES420 Series will also transmit data to every host. When multiple hosts transmit data to the same serial port at the same time, the received data from Ethernet and the outputs of serial port are mixed.
4.3 USDG Data Mode The LES420 Series can function as either a Data TCP server or a Data TCP client. Both operations support TCP and UDP protocol. The LES420 Series allows you to treat your serial devices as if they were networking devices. You can issue com- mands or transmit data from serial devices, connected to a LES420 Series device, to any devices that are connected to the Internet.
The default is 60 seconds. If you want to maintain a continual connection, you can disable the Data Idle Timeout. Data Idle Time is the time period for which the device waits for data. If the LES420 Series does not receive data during established idle time, it...
The default TCP/UDP port of the LES420 Series Port1 is 5300, Port2 is 5301, etc. Users can adjust them according to preference or application. Each port has its own data listen port to accept the connection requests of other network devices.
5.1 Setting COM Port Redirector Black Box COM port mapping software is a serial COM port redirector that creates virtual COM ports and provides access to serial devices connected to Black Box serial device servers. Your serial device applications can communicate with serial devices connected to the Black Box serial device servers without software changes.
Page 53
Locate From System Port and click on the drop-down menu to select the target COM port. From the network address list, select the address options to map. The selected address displays the Device Port (the serial device server physical serial port), and the system port, which will be the VCOM port for the PC. Figure 5.2 Selecting Auto Mapping From the network address list, select the address options to map.
5.2.2 Manual Mapping On your desktop, navigate to Start > All Programs > Device Configuration Utility and click on Device Configuration Utility to open the utility. Under Serial Device Servers, locate your server and click on the icon to expand the listing. Select the target device and right-click on it to open up the options menu win- dow.
Click Map it to continue the process. The mapping process may require a short time to finish. Once this step is completed, the Manual Mapping Virtual COM Port window displays again to map the VCOM port on the target PC. Once the mapping function is initialized, a successful mapping process results in the virtual mapping of the designated physical serial port and VCOM PC port.
Locate the radio button correlating to the target port to modify and click on it to select it. Verify the Device Port (device physical serial port) and System Port (virtual COM port for PC) settings before continuing. Click on Finish to complete the process. A Wizard complete! screen displays indicating the completion of a successful procedure.
Page 57
Figure 5.10 System Port VCOM Mapping Configuration The newly mapped VCOM port is listed under the same mapped settings used in the previous steps. The settings correspond to the VCOM port configuration on the device; see the following figure. Figure 5.11 Verifying VCOM Mapping Configuration If the settings do not correspond, the VCOM mapping is not correct.
5.2.5 Removing VCOM Ports On your desktop, navigate to Start > All Programs > Device Configuration Utility and click on Device Configuration Utility to open the utility. Under Serial Ports, click the expand icon on Virtual COM Ports to view the con- figured port list.
Select a VCOM port. Click on Import Virtual COM Port Mapping or Export Virtual COM Port Mapping, as applicable, in the File menu. 5.3 Running a Diagnostic Test The loopback test allows you to determine if the serial device server is configured correctly to identify any failed nodes in the network.
6.1 Overview The LES420 Series serial device server can be configured through a web interface. By using a standard web browser, the same procedure as with the Windows configuration utility can be used. In the browser’s address field, enter the IP Address of your LES420 Series serial device server.
6.2.2 Accessing the Web Page via Web Browser Once the device is installed and connected, power on the device. The following infor- mation guides you through the logging in process. Launch your web browser on the PC. In the browser’s address bar, type the device’s default IP address (Eth1: 10.0.0.1, Eth2: 10.0.0.2).
Item Description Enter the SNTP server's address. This is a text string of up to 64 Time Server characters containing the encoded unicast IP address or host- name of a SNTP server. Unicast SNTP requests will be sent to this address. If this address is a DNS hostname, then that hostname should be resolved into an IP address each time a SNTP request is sent to it.
6.5 Port Configuration The serial port configuration menu has Basic, Operation Mode, and Advanced Set- tings. 6.5.1 Basic The Basic menu allows for the configuration of the serial interface type, baud rate, parity, data/stop bits, and flow control for port configuration. To access this page, click on Port Configuration >...
6.5.2 Operation The Operation menu allows for the configuration of the mode type and related attri- butes for port configuration. To access this page, click on Port Configuration > Operation. Figure 6.5 Port Configuration > Operation The following table describes the items in the previous figure. Item Description Click on the drop-down menu to select the port configuration...
6.5.3 Advanced The Advanced menu allows for the configuration of the time delay, buffer data size, and FIFO size for port configuration. To access this page, click on Port Configuration > Advanced. Figure 6.6 Port Configuration > Operation The following table describes the items in the previous figure. Item Description Click on the option to purge the serial port when the serial port...
6.6 Monitor The serial device server allows monitoring of the serial port’s status. The serial port’s operation mode and status is available for display. The IP address of the host PC that is communicating with serial port is also displayed. The Monitor function provides a method to monitor the serial device server’s status (operation mode, baud rate, data bits, stop bits, parity, and RTS/XON/DTR).
6.6.2 Statistic The Monitor Statistic page allows for easy viewing of the port’s TX/RX data count. To access this page, click on Monitor > Statistic. Figure 6.8 Monitor > Statistic The following table describes the items in the previous figure. Item Description Tx Count...
6.6.3 Connected IP The Monitor Connected IP page allows for easy viewing of all connected devices' IP addresses. To access this page, click on Monitor > Connected IP. Figure 6.9 Monitor > Connected IP The following table describes the items in the previous figure. Item Description Displays the device's IP designation.
Page 70
To access this page, click on Alarm > Setting. Figure 6.10 Alarm > Setting The following table describes the items in the previous figure. Item Description Mail Server Mail Server Enter the SMTP mail server. From Email address Enter the email address. Email address 1 Enter the email address 1 to receive alarm emails.
6.7.2 Event The Alarm Event page allows the selection of triggers for system, DCD, and DSR events for the alarm function. To access this page, click on Alarm > Event. Figure 6.11 Alarm > Event The following table describes the items in the previous figure. Item Description System Event...
6.8 Syslogd The serial device server provides the functionality to allow network devices to send event messages to a logging server, also known as a Syslog server, by way of the Syslogd function. The Syslog protocol is supported by a wide range of devices and can be used to log different types of events.
6.9 Tools The serial device server provides tools for accessing ping and reset functions. 6.9.1 Ping The Ping page can help users diagnose Ethernet problems. Users can use the ping page to ask the device to ping a specific target to check the Ethernet network status.
6.9.2 Reboot configuration will take effect after clicking Save button. All configurations are saved to flash memory after a system reboot. Click on the Reboot button and the system will give a reset response. It will take a few seconds to reconnect with the new values. To access this page, click on Tools >...
6.10.2 Change Password The Change Password function allows you to easily update your current password from a single menu. To access this page, click on Management > Change Password. Figure 6.17 Management > Change Password The following table describes the items in the previous figure. Item Description Enter a new password.
7.1 Overview The purpose of the Console Configuration is to help you manage your device in con- sole mode. One of the main functions of the console mode is to change the web con- figuration login password. You can use terminal software like Hyper Terminal, Telix, and other related terminal software.
7.2.2 Input the IP address Confirm that the Telnet console configuration works correctly. Be sure that your host PC Ethernet network IP domain is as same as the LES420 serial device server, and the Telnet TCP port number is “23”. Figure 7.1 Creating a Telnet Connection 7.2.3 Connection Success After connecting to the serial device server in HyperTerminal console, a welcome...
7.3 Command List Command Function Description system Show or configure the system information Show or configure information for serial ports port Show or configure advanced settings for serial ports portadv mvcom Show or configure serial ports in Virtual COM mode mctrl Show or configure serial ports in Control mode (USDG) mdata...
– parity s: Space Parity. Usage: port [nn|all] mode [vcom|ctrl|data] Set serial port as virtual COM port or control mode or data mode. 7.3.3 portadv $ help portadv Show port advanced setting. Usage: portadv [nn|all] delayT [] Set delay time(ms). Usage: portadv [nn|all] ignorepurge [TRUE|FALSE] dischato [TRUE|FALSE] dismulti- con [TRUE|FALSE] Enable or disable the feature of ignore purge,...
7.3.5 mctrl Usage: mctrl Show port mode and mode informations. Usage: mctrl [nn|all] Set port [nn|all] as control mode. Usage: mctrl [nn|all] idleto [] tcpp [] atp [] guardt [] hangchr [] Set data idle timeout(s) data listen port command listen port guard time(ms) hangup character.
7.3.8 password Usage: password Display two different Usage. Usage: password new [1-31 characters] Set new password. Usage: password old [**...] new [1-31 characters] Confirm the old password and set new password. 7.3.9 alarm Usage: alarm Show current alarm informations. Usage: alarm mail server [null|address] from [null|address] to1 [null|address] to2 [null|address] to3 [null|address] to4 [null|address] Set current mail server configuration.
7.3.12 service Usage: service telnet [enable|disable] Enable/Disable telnet function. Usage: service snmp [enable|disable] Enable/Disable SNMP function. 7.3.13 mrfc2217 Usage: mrfc2217 Show all port mode and mode informations. Usage: mrfc2217 [nn|all] Set port [nn|all] as RFC2217 mode. Usage: mrfc2217 [nn|all] idleto [] lsport [] Set host idle timeout(s) and listen port.
Need help?
Do you have a question about the LES420 Series and is the answer not in the manual?
Questions and answers