2008 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.
B&B Electronics shall not be liable for incidental or consequential damages resulting from the furnishing, performance, or use of
this manual.
All brand names used in this manual are the registered trademarks of their respective owners. The use of trademarks or other
designations in this publication is for reference purposes only and does not constitute an endorsement by the trademark holder.
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
Paired Mode connections. The 10/100 Mbps Ethernet connection auto-
selects 10BaseT or 100BaseTX and indicates the type of connection with a
bi-color link light. ESR90x serial servers are built for use in industrial
environments, featuring an IP30, approved slim line DIN rail mountable
case. They operate from a range of AC or DC power supply voltages, support
redundant DC power and feature terminal block power connectors.
Direct IP Mode, Virtual COM Port, or
Figure 1. VLINX ESR90x Ethernet Serial Servers
Features
• Multi-interface serial ports
o The ESR901 features one multi-interface serial port and the
choice of standard DB-9M or removable terminal block
connections (switch selectable)
o The ESR902 features two multi-interface serial ports
o The ESR904 features four multi-interface serial ports
Manual Documentation Number ESR90x-0508m Chapter 1 1
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.
The ESR90x Serial servers enable communication with serial devices over a
LAN or WAN. Serial devices no longer are limited to a physical connection
to the PC COM port. They can be installed anywhere on the LAN using
TCP/IP or UDP/IP communications. This allows traditional Windows PC
software access to serial devices anywhere on the LAN/WAN network.
Direct IP Mode
Direct IP connections allow applications using TCP/IP or UDP/IP socket
programs to communicate with the asynchronous serial ports on the serial
server. In this type of application the serial server is configured as a TCP or
UDP server. The socket program running on the PC establishes a
communication connection with the
to and from the serial port on the server. When using UDP protocol the
server can be configured to broadcast data to and receive data from multiple
IP addresses.
Virtual COM Mode
Install Virtual COM Mode allows the user to add a driver, to provide a virtual
COM port on the computer. The new COM port shows up in the Device
Manager. Windows programs using standard Windows API calls are able to
interface to virtual COM ports. When a program on the PC opens the new
COM port, it communicates with the remote serial device connected to one
of the ports on the
Serial Server.
Serial Server. The data is sent directly
After connection, the LAN is transparent to the program and serial device.
Applications are able to work just as if the serial device is connected directly
to a physical COM port on the computer. The virtual COM port software
converts the application’s data into IP packets, sends it across the network to
the
Serial Server, which converts the IP packet back to serial data and sends
the data out a serial port located on the Serial Server.
To use this mode, the
Serial Server must be set to either TCP/server or
UDP/server with a designated communication port number. The virtual COM
driver is the TCP or UDP client.
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
Manual Documentation Number ESR90x-0508m Chapter 1 3
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.
Heart Beat
The Heart Beat protocol connection provides a reliable communications
connection in
This feature restores the connection if communications are temporarily lost at
either end due to loss of power or Ethernet connection.
Without this feature a device that loses a connection and stops
communicating would not be able to reconnect without human intervention.
A TCP data connection can be lost when there is a power failure or
temporary loss of an Ethernet connection on either the client or server. If a
loss occurs the Heart Beat feature will try to reconnect the TCP data
connection every five seconds until communications is established again. The
Heart Beat feature is available for use in
Connection Mode. This is not available when using a UDP application.
Virtual COM Port Mode or withPaired Connection Mode.
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.
Hardware Setup
Ethe rnet
cable
LAN
Etherne t
cable
ESR902
PC
RS-232
cable
Ser ial Devic e
Figure 2. Typical Hardware Setup
Step 1: Connect the Serial Server to the network using a standard network
cable.
Step 2: Connect the
NNoottee::
If the serial device is configured as a DCE use a straight-through serial cable. If
the serial device is configured as a DTE use a crossover (null modem) cable.
Serial Server to the RS-232 port on the serial device.
Step 3: Set the Run/Console DIP switch to the Run position.
Step 4: Apply power to the
Serial Server.
Software Installation
Using the CD included with the Serial Server, install the VLINX Manager
software on the configuring computer.
Manual Documentation Number ESR90x-0508m Chapter 1 5
• 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
Reset
A recessed reset switch that allows the united to be reset. Insert a small
plastic tool, press lightly and hold for three seconds. The Link and Ready
lights will go out and then come back on.
Run/Console Switch
A recessed single DIP (dual inline package) switch that allows the Serial
Server to be switched between Run Mode and Console Mode. When
switched to the Console position the Serial Server enters Console Mode. This
allows you to configure the Serial Server from a PC running a terminal
program such as HyperTerminal without connecting the server to the
network. To communicate with the connected serial device the switch must
be returned to “Run” position.
DB-9/Terminal Switch (ESR901 only)
Allows connection to the serial port (RS-232, 422 or 485) via the DB-9M
connector or the five-terminal removable terminal block.
Connectors
Ethernet Connector
One standard RJ-45 receptacle that allows the Serial Server to be connected
to an Ethernet hub, switch, or wall plate using a standard straight-through RJ45 (male) Ethernet cable. To connect directly to an RJ-45 Ethernet port on a
PC or laptop a crossover Ethernet cable must be used.
•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)
NNoottee::
Refer to Appendices A, B and C for connection pin-outs.
Power Connector
The power connector is a removable terminal block with four terminals.
From top to bottom the terminals are:
Terminal Connect to Description
Negative side of DC
power supply (if DC
GND
AC In
AC/DC +
In
Backup
DC+ In
power used)
Also connect negative
side of Backup DC
power supply (if used)
One side of AC power
supply (if AC power
used)
The other side of AC
power supply (if AC
power used)
OR
Positive side of DC
power supply (if DC
power used)
Positive side of
Backup DC power
supply
Internally, the chassis ground of the Serial
Server is connected to this terminal.
Either AC or DC power can be used to
power ESR Serial Servers. Power supply can
voltages range from 9 V to 48 VDC or 8 V
to 24 VAC.
Backup power must be DC voltage and can
be any voltage between 9 VDC and 48 VDC.
Serial Server/Port Operational Modes
Using the ESP Manager, Web Server or Telnet the Serial Server can be put
into Console Mode, Default Mode or Upgrade Mode. The serial ports can be
configured for RS-232, RS-422, RS-485H (half duplex) or RS-485F (full
duplex) operation. The server also can be put into
the Run/Console switch in the Console position.
When Default Mode is selected and the server properties are Updated
(
Saved) all the configuration settings return to their default values.
NNoottee::
Refer to Chapter 5 for details on Serial Server Configuration settings. See
Chapter 12 for Serial Server default parameters.
Console Mode
In Console Mode the Configuration Menu can be accessed from a PC by
connecting its RS-232 serial port to the ESR901 serial port or ESR902/904
Serial Port 1. Since the computer is a DTE device, and the serial ports are
configured as DTEs (with DB-9M connectors), a null modem crossover cable
must be used.
In
Console Mode the default serial port settings are: 9600 baud, 8 data bits,
No parity, and 1 stop bit. From Windows, HyperTerminal with VT100
terminal emulation can be used for
NNoottee::
Refer to Chapter 9 for details on Console Mode
Upgrade Mode
Console Mode configuration.
In Upgrade Mode firmware can be uploaded from a PC via its serial port to
the ESR901 serial port or ESR902/904 Serial Port 1. Upgrading also can be
accomplished via the network connection, using the ESP Manager software
and a virtual COM port.
NNoottee::
Refer to Chapter 8 for details on Upgrade Mode
RS-232 Mode
In RS-232 Mode the currently selected serial port is configured as an RS-232
interface supporting eight RS-232 signal lines plus Signal Ground and is
configured as a DTE, like a computer. Signals are single ended and
referenced to Ground. To use handshaking, Flow Control must be set to
RTS/CTS during configuration.
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. To use handshaking, Flow Control must be set to RTS/CTS
during configuration.
RS-485H Mode
In RS-485H Mode the currently selected port is configured as a two-wire RS485 interface supporting DataB(+) and DataA(-) signal channels using halfduplex operation. The data lines are differential with the Data B line positive
relative to Data A in the idle (mark) state. Ground provides a common mode
reference.
RS-485F Mode
In RS-485F Mode the currently selected port is configured as a four-wire RS485 interface supporting transmit lines TXDB(+) and TXDA(-) and receive
lines RXDB(+) and RXDA(-) for full duplex operation. The lines are
differential with the B line positive relative to A in the idle (mark) state.
Ground provides a common mode reference.
RS-485 Receiver Biasing
RS-485 Receiver Biasing can be implemented from the Serial Server if the
network does not supply it. Remove the four screws from the cover of the
Serial Server, slide the cover off and re-position the bias jumpers as indicated
in the diagrams and tables below. Note that ESR Serial Servers provide
separate jumpers for RS-485 half duplex and RS-422/485 full duplex
operation. Also, the ESR901 provides separate jumpers for the terminal block
and DB-9 connectors. Biasing jumpers are also provided for CTS inputs.