Equinox Systems ESP-2 MI Installation and User Manual

Type
Installation and User Manual
ESP-2 MI Serial Hub
Installation and User Guide
590-298-001E
October 2004
Equinox ESP-2 OPTO Serial Hub Installation and User Guide iii
Contents
Section 1 - Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
1.1 What You Get . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Section 2 - Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
2.1 Physical Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Technical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.5 Changing the Physical Interface Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.6 Installing the Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Installing on a table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Installing on a DIN rail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Installing on a wall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.7 Reinitializing and Resetting the Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Reinitializing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Resetting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Section 3 - Serial Port Connection Methods and Attributes . . . . . . . . .10
3.1 Serial Port Redirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Telnet Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3 Raw TCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4 Raw TCP Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5 Modem Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Modem commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Command mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Response codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Outgoing calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Incoming calls. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.6 Configuration Utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.7 Serial Port Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Section 4 - Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
4.1 Accessing the Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2 About the Web Interface Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3 Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.4 Displaying or Changing Network Configuration Values . . . . . . . . . . . . . . . . . . 23
4.5 Displaying or Changing Port Interface, Attributes and Connection Methods . . 24
4.6 Displaying Hardware Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.7 Displaying or Updating FLASH Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.8 Displaying or Changing Configurable Features . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.9 Downloading a Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.10 Displaying General Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.11 Displaying Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.12 Displaying Connection Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.13 Rebooting the Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.14 Reinitializing the Hub. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
iv Equinox ESP-2 OPTO Serial Hub Installation and User Guide
Section 5 - Configuration Utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
5.1 Accessing the Configuration Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Accessing with Telnet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Accessing a hub with no configured IP address . . . . . . . . . . . . . . . . . . . . . . . . 32
Accessing on port 1 or 2 using the configuration utility connection method. . 32
5.2 About the Configuration Utility Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.3 Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.4 Displaying or Changing Network Configuration Values . . . . . . . . . . . . . . . . . . 34
5.5 Displaying or Changing Port Interface, Attributes and Connection Methods . . 35
5.6 Displaying Hardware Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.7 Displaying or Updating FLASH Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.8 Displaying or Changing Configurable Features . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.9 Downloading a Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.10 Rebooting the Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.11 Reinitializing the Hub. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.12 Displaying General Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.13 Displaying Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.14 Displaying Connection Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.15 Displaying and Using Debug Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Section 6 - Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
6.1 Sample Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.2 File Format and Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.3 Port Connection Method Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Port Redirection command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Port Telnet Server command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Port TCP Server command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Port TCP Client command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Port Modem Emulation command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Port Configuration Utility command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.4 Port Attributes Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.5 Network Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.6 Configurable Features Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.7 Initiating a Configuration File Download. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.8 Completion Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Equinox ESP-2 MI Serial Hub Installation and User Guide 1
Section 1 - Introduction
The Equinox ESP 2-port Multi-Interface (ESP-2 MI) serial hub contains an
autosensing 10/100 Ethernet port and two multi-interface serial ports.
The ESP-2 MI hub supports several ways to access the serial ports (see Serial Port
Connection Methods and Attributes on page 10 for more information):
Serial port redirection
Telnet server
Raw TCP server
Raw TCP client
Modem emulation
Configuration utility
Serial port redirection uses Equinox drivers installed on a host computer. The ESP-2
serial hub drivers are supported on the following operating systems:
Windows
®
2000 Windows XP
Windows NT
®
4.0 Windows Server 2003
OpenServer™ 5.0.5a or higher UnixWare
®
7.0.1a or higher
Linux
®
AIX
®
4.3 and 5.1
Sun
®
Solaris
for X86 or SPARC 8 or higher
For serial port redirection, the ESP-2 hub is configured using the appropriate drivers
running on any Microsoft Windows host, or espdiag and espcfg for OpenServer,
UnixWare, Linux, Sun or AIX systems. Certain configuration values are set during
driver installation.
All other connection methods do not require the use of drivers.
You may configure and manage the ESP-2 serial hub using the following tools:
Web interface - see Web Interface on page 22.
Configuration utility - see Configuration Utility on page 32.
Configuration files - see Configuration Files on page 40.
EquiView Plus (Windows/NT systems and later), espcfg and espdiag (Unix sys-
tems) - these utilities have limited support for connection methods other than port
redirection. EquiView Plus is included on the Equinox SuperSerial Software CD,
and provides a guided interface. For EquiView Plus information, see the CD or
the Equinox web site, www.equinox.com, for instructions.
The web interface and the configuration utility offer the most comprehensive sets of
available operations.
The ESP-2 hub supports attended and unattended configuration. With attended
configuration, you set values and request actions directly through the web interface or
the configuration utility. Unattended configuration uses a flat text file containing
configuration commands. The commands are processed as if they were requested
2 Equinox ESP-2 MI Serial Hub Installation and User Guide
using the web interface or the configuration utility. The command file may be read by
BootP/DHCP during initial ESP-2 hub configuration. Downloading a command file
may also be requested using the web interface and configuration utility. See
Configuration Files on page 40 for more information.
1.1 What You Get
An Industrial Mounting Kit is available for installing the ESP-2 MI hub on a DIN rail.
A modular adaptor is available for the modem emulation connection method. Contact
Equinox Technical Support for details.
Table 1: ESP-2 MI Kit Contents
Part Number Description
520-312 ESP-2 MI Serial Hub
590-298 Installation Guide (this document)
038-0128 (AM)
-or-
530-024 (EU)
External Power Supply with attached PS-to-Barrel Connector
710-024 Equinox SuperSerial Software CD
Equinox ESP-2 MI Serial Hub Installation and User Guide 3
Section 2 - Hardware
All connectors, LEDs and buttons are on the front of the ESP-2 serial hub, as shown
in Figure 1.
Figure 1: ESP-2 MI Serial Hub
The lower left corner of the front panel contains two electrical connectors. You may
use one of these, but not both. For more information, see Electrical on page 5.
The Ethernet port supports 10/100 auto detect (speed and duplex) connections. The
LAN connector accepts 10BaseT or 100BaseT LAN interface cable. A CAT 5 cable
is required for 100BaseT operation. Table 4 on page 5 lists the pin assignments.
The PORTS 1 and 2 connectors are standard DB-9 DTE ports in RS-232 mode.
Table 3 on page 4 lists the pin assignments for each interface. The unit ships with RS-
232 mode enabled for both ports.
Table 2 describes the LEDs and buttons on the front panel.
2.1 Physical Interfaces
Each port supports the standard RS-232 DTE serial signals via a male DB-9
connector, with the exception of RI.
Table 2: LEDs and Buttons
Item Description
POWER The POWER LED is lit when the hub is connected to a power source.
ON LINE
The ON LINE LED is lit (not blinking) when the hub’s self-test and
initialization procedures have completed successfully.
10
The 10 LED is lit when the hub is connected to a 10 Mbps LAN, and the 100
LED blinks when traffic is present.
100
The 100 LED is lit when the hub is connected to a 100 Mbps LAN, and the 10
LED blinks when traffic is present.
RESET
Pushing the RESET button reboots the hub; see Reinitializing and Resetting
the Hub on page 9.
INIT
Pushing and holding the INIT button restores the hub to factory defaults; see
Reinitializing and Resetting the Hub on page 9.
4 Equinox ESP-2 MI Serial Hub Installation and User Guide
Each port may be configured independently to support the following interfaces:
RS-232 DTE signaling (default)
RS-422 signaling
RS-485 2-wire half duplex (HD) signaling
Internal jumpers are used to select the signaling for each port. For more information,
see Changing the Physical Interface Settings on page 6.
When RS-485 HD signaling is set via internal jumpers, software-configurable modes
may be set to control the enabling/disabling of the transmitter and receiver. The
choices are RTS (Request to Send) control mode or ADDC (Automatic Data
Detection Control) mode.
In RTS mode, the transmitter is enabled and the receiver is disabled when RTS is
true. The transmitter is disabled and the receiver is enabled when RTS is false.
In ADDC mode, the transmitter is enabled and the receiver is disabled when a
space (zero) bit is sent. The transmitter is disabled and the receiver is enabled
when a mark (one) bit is sent. This mode allows rapid turnaround and release of
the data pair.
The RS-485 transfer mode may be specified using any of the configuration methods.
When RS-422 signaling is set, the receiver and transmitter are always enabled.
2.2 Pin Assignments
Table 3 lists the pin assignments for each port’s DB-9 connector. This information is
also provided on a label on the bottom of the hub.
Table 3: Serial Port Pin Assignments
Pin RS-232 RS-422 RS-485
1 DCD RXD(+) N/C
2 RxD RXD(-) N/C
3 TxD TXD(+) Data(+)
4 DTR TXD(-) Data(-)
5GNDGNDGND
6DSRN/CN/C
7RTSN/CN/C
8CTSN/CN/C
9 N/C N/C N/C
Not supported: RI, RS-422 RTS and CTS differential control signals.
Unused pins (labeled N/C) should not have wires attached to them. Floating wires could cause
unbalanced noise, shorten overall distances and degrade performance.
Equinox ESP-2 MI Serial Hub Installation and User Guide 5
Table 4 lists the pin assignments for the RJ-45 shielded Ethernet connector.
2.3 Electrical
The ESP-2 MI has two electrical power connectors on the front of the unit. These
connectors are labeled POWER 9-30 VDC 4W. You may use either one of these
connectors, but not both.
The unit ships with an external power adaptor. This adaptor includes a barrel
plug that is inserted into the leftmost power connector on the unit’s front panel.
The unit also contains a 3-pin screw terminal block connector which provides
connection for a 9-30 VDC power source. The locations of the positive, ground
and negative pins are screened on the front panel.
Surge protection is provided for each serial port up to 15,000 volts electrostatic
discharge (ESD).
2.4 Technical Specifications
Table 5 lists the ESP-2 MI serial hub technical specifications.
Table 4: Ethernet Connector Pin Assignments
Pin Signal
1 Transmit Data +
2 Transmit Data -
3Receive Data +
4*
5*
6Receive Data -
7*
8*
* These pins are usually connected in a standard Ethernet CAT 5 cable. There is special
termination for these signals in the interface to eliminate any problems if they are connected.
Table 5: Operating Specifications
Specification Operating Range
Dimensions 4.75”W x 4.38”D x 1.62”H
Temperature
0
o
to 50
o
C (32
o
to 122
o
F)
Humidity 10 to 90% non-condensing
Power 9 to 30 VDC at less than 4W
6 Equinox ESP-2 MI Serial Hub Installation and User Guide
2.5 Changing the Physical Interface Settings
The factory default interface setting for both ports is RS-232. If this is the desired
interface, you may skip this section.
To enable the RS-422 or RS-485 interface for one or both serial ports (or, if you
previously enabled one of these interfaces and now wish to enable another interface),
use the following procedure. You will need a Phillips screwdriver. Proper electrostatic
discharge (ESD) protection should be used at all times. Use Figure 2 as a guide.
Figure 2: Jumper Locations and Settings
To change the physical interface settings:
1. Place the unplugged ESP-2 MI hub on a flat surface. Use the screwdriver to
loosen the two screws on either side of the unit (total of four screws). Remove the
screws. Lift the cover up and off the unit.
2. Locate the two ganged headers on the printed circuit board (PCB). Each ganged
header contains four columns of five pins. The jumper for each port is ganged
and covers two columns.
Installing the jumper over the two rightmost pin columns enables the
RS-232 interface.
Installing the jumper over the two middle pin columns enables the
RS-422 interface.
Installing the jumper over the two leftmost pin columns enables the RS-485
2-wire HD interface.
To change a port’s interface, lift the jumper off its current interface setting and
place it on the columns indicated above for the desired interface setting. The
interface settings are also printed on the PCB.
Equinox ESP-2 MI Serial Hub Installation and User Guide 7
3. If you are enabling the RS-422 or the RS-485HD interface on a port, you may
also enable/disable 100 ohm termination of the differential receive signal pair on
that port. This termination is enabled by placing a jumper on the two pins adja-
cent to the ganged jumper for the port; see the location noted in Figure 2 on page
6. Termination is enabled by factory default, that is, the jumper covers both pins
for each port.
This termination is typically used in RS-485 environments when the device is the
first or last on a multi-drop line for a 2-wire configuration. This termination should
always be set when the unit is set for RS-422, as this is a point-to-point configuration.
If your configuration includes supplying your own external termination, the
termination on the ESP-2 MI hub should not be used.
To disable termination, remove the jumper entirely.
4. When the RS-485HD interface is enabled in hardware, you will be able to select
the transmitter/receiver mode during startup. For more information on these soft-
ware-configurable options, see Physical Interfaces on page 3.
5. Replace the cover on the unit and reinstall the four screws.
2.6 Installing the Hub
The ESP-2 MI serial hub may be installed on a table, on a DIN rail or on a wall.
WARNING: The power outlet should be near the equipment and be easily accessible.
You may replace an existing ESP-2 hub with a similarly configured hub without
affecting the server or having to reconfigure the ports.
Installing on a table
The ESP-2 hub ships ready to use in a tabletop environment. This includes four
rubber feet on the bottom of the hub.
Installing on a DIN rail
Equinox offers an Industrial Mounting Kit, part number 790226, containing hardware
and instructions for mounting an ESP-2 MI serial hub on a DIN rail.
Installing on a wall
The ESP-2 MI hub contains two sets of mounting flanges for flexibility in mounting
options on a wall or other vertical surface. You will need to provide the appropriate
number of screws and washers.
You may install the hub with the bottom (the side containing the large label)
against the wall, using the four flanges on the bottom of the hub.
The hub ships with rubber feet installed in these flanges for tabletop installation.
Remove them by grasping the bottom of each foot and gently pulling it down and
out of the hole. Then, use your screws and washers to attach the hub to the wall.
8 Equinox ESP-2 MI Serial Hub Installation and User Guide
You may install the hub with the back against the wall, using the two flanges on the
back. In this case, you may remove the four rubber feet on the bottom of the hub or
leave them installed. Use your screws and washers to attach the hub to the wall.
With either installation, you may orient the hub to best fit your configuration.
To initiate the startup sequence and configure the IP address:
1. The MAC address is printed on a label on the bottom of the hub. This address
will be used as a Unit ID to distinguish different ESP hubs on the network.
Record the MAC address.
00 - 80 - 7D - _____ - _____ - _____
2. Attach a 10BaseT or 100BaseT LAN interface cable to the LAN connector on the
front of the hub. A CAT 5 cable is required for 100BaseT operation.
3. Connect devices to the serial ports on the front of the hub, using appropriate cables.
4. Attach the electrical power connector(s) to the appropriate connector on the front
of the unit.
5. Configure the IP address:
If you are using the web interface, you may initially access the hub using the
predefined IP address (see Accessing the Web Interface on page 22), then
configure the network address information (see Displaying or Changing Network
Configuration Values on page 23).
-or-
The configuration utility is automatically enabled on port 1. Using a terminal
emulation program of your choice (with a serial connection at 19200 baud, 8 bits,
no parity and one stop bit), you may access the configuration utility on this port
(see Accessing the Configuration Utility on page 32), then configure the network
address information (see Displaying or Changing Network Configuration Values
on page 34).
-or-
If you are using the serial port redirection connection method, install the ESP
drivers included on the CD (be sure to check the Equinox web site,
www.equinox.com, for the latest version). If you are using a Windows host
system, install the EquiView Plus version 5.2 management utility included on the
distribution CD (or downloaded/updated from the Equinox web site). The
Release Notes also contain driver installation information.
-or-
If you are using a configuration file with a BootP or DHCP server, consult your
operating system documentation to determine how to configure the BootP or
DHCP server.
After the ESP-2 hub acquires an IP address (by any method), it will no
longer use BootP or DHCP. Therefore, you cannot change the network
values using this method.
Equinox ESP-2 MI Serial Hub Installation and User Guide 9
The ESP-2 hub requires a permanent IP allocation. If you are using DHCP, it
must have an infinite lease on the assigned IP address; an IP address with a
finite lease will not be accepted.
The BootP or DHCP server may also specify a configuration file using the
“bootfile” parameter. See Configuration Files on page 40 for more information.
2.7 Reinitializing and Resetting the Hub
The information in this section is not a standard part of the startup sequence;
however, it is provided for reference if the serial hub must be reinitialized or reset.
Reinitializing
The INIT button on the front panel may be used to remove configured information
from an ESP-2 hub. The hub stores nonvolatile data such as the SNMP community
name, system contact and IP address in the EEPROM. This information is erased by
pressing and holding the INIT button until reinitialization occurs.
When the INIT button is first pressed, the ON LINE LED will begin to blink to
confirm that you have pressed the INIT button. As the INIT button remains pressed,
the ON LINE LED will blink at a faster rate. After approximately 12 seconds, the ON
LINE LED will turn off. At this point, all nonvolatile information will be reset to the
factory defaults and the hub will immediately reboot.
You may also reinitialize the hub using the web interface (see Reinitializing the Hub
on page 30) or the configuration utility (see Reinitializing the Hub on page 38).
Resetting
The RESET button on the front panel may be used to reset the serial hub. Pushing this
button will cause an immediate reboot.
You may also reset (reboot) the hub using the web interface (see Rebooting the Hub
on page 30) or the configuration utility (see Rebooting the Hub on page 38).
10 Equinox ESP-2 MI Serial Hub Installation and User Guide
Section 3 - Serial Port Connection Methods and Attributes
There are several methods a remote device may use to access a serial port on the ESP-2
MI hub and then transmit/receive data from that port:
Serial port redirection - see page 10
Telnet server - see page 11
Raw TCP server - see page 12
Raw TCP client - see page 13
Modem emulation - see page 14
Configuration utility - see page 20
Each connection method may be separately enabled or disabled for each ESP-2 port. A
port may have multiple connection methods enabled, with the following exceptions:
The raw TCP client connection method is exclusive; that is, when it is enabled on
a port, no other connection methods can be enabled for that port. (Conversely, if
other connection methods are enabled for a port, you cannot enable the raw TCP
client connection method on that port until you disable the other methods.)
If you enable the raw TCP server connection method and enable the idle TCP
buffering option on a port, then the TCP server connection method becomes
exclusive; no other connection methods can be enabled for that port.
The modem emulation connection method is valid only on an RS-232 port. This
method is exclusive; when it is enabled on a port, no other connection methods
can be enabled for that port.
In any case, a port may be actively open and used by only one method at a time.
You may configure port connection methods using:
The web interface - see Displaying or Changing Port Interface, Attributes and
Connection Methods on page 24.
-or-
The configuration utility - see Displaying or Changing Port Interface, Attributes
and Connection Methods on page 35.
-or-
A configuration file - see Port Connection Method Commands on page 41.
Serial port attributes may be configured for all connection methods; see page 20.
3.1 Serial Port Redirection
The serial port redirection connection method uses an ESP-2 hub driver on a host
computer to communicate with the ESP-2 serial hub. The driver creates a virtual
COMM or tty port interface within the host’s operating system.
Table 6 describes this method’s configurable items for each serial port.
Equinox ESP-2 MI Serial Hub Installation and User Guide 11
To use the serial port redirection connection method, you must install drivers on the
host computer. See the Release Notes posted on the Equinox web site,
www.equinox.com, for information.
3.2 Telnet Server
The Telnet server connection method allows a user to make a Telnet connection to a
serial port on the ESP-2 hub and then transmit/receive data using the standard Telnet
protocol. This method is also known as reverse Telnet.
When this method is enabled, the Telnet server within the ESP-2 hub will accept a
connection from any valid remote IP address. There is no filtering of remote
addresses. The connection will be accepted only if the port is not already open and in
use by any connection method, including an existing Telnet session on that port. If the
port is currently in use, the connection request will be rejected.
The Telnet session will remain established until the remote client ends the session, the
Telnet TCP socket is broken or the inactivity time-out (if enabled) occurs.
Table 7 describes this method’s configurable items for each serial port.
Table 6: Serial Port Redirection Configurable Items
Item Description
Enable/
disable
Enables or disables the serial port redirection connection method on the serial
port. The default value is enabled. This method cannot be enabled if the raw
TCP client connection method is already enabled for the port.
Serial
buffering
Specifies the length of time accumulated serial data should be buffered before
being sent to the remote server. Valid values are 0-65535 hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
ESP-2 hub will buffer the data until 1 second (100 hundredths of a second) has
elapsed, at which time all data will be sent.
A 0 value indicates that data will be sent as soon as it is available. The default
value is 0 (send immediately). If the buffer becomes half full, the time is
ignored and the data is sent.
Table 7: Telnet Server Connection Method Configurable Items
Item Description
Enable/
disable
Enables or disables the Telnet server connection method on the port. The
default value is disabled. This method cannot be enabled if the raw TCP client
connection method is already enabled for the port.
Local IP port
number
Specifies the IP port number on which the Telnet server will listen. This value
cannot conflict with the port numbers specified for other enabled connection
methods on either port. Valid values are 1024-65535. The default value is 3001
for port 1 and 3002 for port 2.
12 Equinox ESP-2 MI Serial Hub Installation and User Guide
3.3 Raw TCP Server
The raw TCP server connection method allows a remote client to make a TCP socket
connection to a serial port on the ESP-2 hub and then transmit/receive data using standard
TCP. The remote client initiates the TCP session, using a predefined IP port number.
When this method is enabled, the TCP server will accept a connection from any valid
remote IP address. There is no filtering of remote addresses. When a remote raw TCP
client attempts to establish a connection, the raw TCP server will accept the
connection only if the port is not already open and in use by any connection method,
including an existing raw TCP server connection on that port. If the port is currently
in use, the connection request will be rejected.
The TCP session will remain established until the remote client closes the TCP
socket, the TCP connection is broken or the inactivity time-out (if enabled) occurs.
Table 8 describes this method’s configurable items for each serial port.
Inactivity time-
out
Specifies the length of time before the Telnet session is disconnected if there is
no activity. Valid values are 0-65535 seconds.
For example, a value of 60 indicates the Telnet session will be disconnected if
there is no activity for a period of 60 seconds.
A 0 value disables the inactivity time-out. The default value is 0 (disabled).
Serial
buffering
Specifies the length of time accumulated serial data should be buffered before
being sent across the network to the Telnet client. Valid values are 0-65535
hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
ESP-2 hub will buffer the data until 1 second (100 hundredths of a second) has
elapsed, at which time all data will be sent.
A 0 value indicates that data will be sent as soon as it is available. The default
value is 0 (send immediately). If the buffer becomes half full, the time is
ignored and the data is sent.
Table 8: Raw TCP Server Connection Method Configurable Items
Item Description
Enable/
disable
Enables or disables the raw TCP server connection method on the port. The
default value is disabled. This method cannot be enabled if the raw TCP client
connection method is already enabled for the port.
Local IP port
number
Specifies the IP port number on which the TCP server will listen. This value
cannot conflict with port numbers specified for other enabled connection
methods on either port. Valid values are 1024-65535. The default value is 4001
for port 1 and 4002 for port 2.
Table 7: Telnet Server Connection Method Configurable Items (Continued)
Item Description
Equinox ESP-2 MI Serial Hub Installation and User Guide 13
3.4 Raw TCP Client
The raw TCP client connection method allows the ESP-2 hub to make a TCP-based
connection to a remote server and then transmit/receive data using standard TCP. The
ESP-2 hub initiates the TCP session.
When this method is enabled, the raw TCP client will attempt to establish a
connection with the configured server when the connection mode requirement has
been satisfied. The TCP session will remain established until the client closes the
TCP socket, the TCP connection is broken, the inactivity time-out (if enabled) occurs
or if the connection mode is Connect on DCD and the DCD signal is lowered.
Table 9 describes this method’s configurable items for each serial port.
Inactivity time-
out
Specifies the length of time before the TCP session is disconnected if there is
no activity. Valid values are 0-65535 seconds.
For example, a value of 60 indicates the TCP session will be disconnected if
there is no activity for a period of 60 seconds.
A 0 value disables the inactivity time-out. The default value is 0 (disabled).
Monitor DCD
(Valid only on RS-232 ports.) Enables or disables monitoring of the DCD
signal. When enabled, the TCP server will refuse the TCP connection if the
inbound DCD signal is logically low at the time the connection is initiated. If the
inbound DCD signal changes from logically high to low while a TCP session is
active, the TCP connection will be closed.
The default value is disabled.
Serial
buffering
Specifies the length of time accumulated serial data should be buffered before
being sent to the remote server. Valid values are 0-65535 hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
ESP-2 hub will buffer the data until 1 second (100 hundredths of a second) has
elapsed, at which time all data will be sent.
A 0 value indicates that data will be sent as soon as it is available. The default
value is 0 (send immediately). If the buffer becomes half full, the time is ignored
and the data is sent.
Idle TCP
buffering
When enabled, the most recent 20K bytes of data are held in an internal buffer.
After the connection is established, the buffered serial data is sent to the remote
endpoint of the TCP connection. When this option and this connection method
are enabled, you may not enable any other connection method for the port.
Table 9: Raw TCP Client Connection Method Configurable Items
Item Description
Enable/
disable
Enables or disables the raw TCP client connection method on the port. The
default value is disabled. This method cannot be enabled if any other serial
port connection method is already enabled on the port.
Table 8: Raw TCP Server Connection Method Configurable Items (Continued)
Item Description
14 Equinox ESP-2 MI Serial Hub Installation and User Guide
3.5 Modem Emulation
The modem emulation connection method enables an ESP-2 hub to emulate modem
dial and answer functionality. The hub presents a Hayes-compatible modem interface
to the attached serial device by accepting AT modem commands and performing the
required functions.
This connection method is valid only on RS-232 ports.
Destination IP
address
Specifies the IP address of the remote server. This is a required item; there is
no default value. Only a single destination address can be configured for each
serial port. The address cannot be 0.0.x.x, 127.x.x.x, 192.1.1.1, 248-255.x.x.x
or the IP address of the ESP-2 hub.
Destination IP
port number
Specifies the IP port number on which the remote server is listening. Valid
values are 0-65535. The default value is 4001 for port 1 and 4002 for port 2.
Local IP port
number
Specifies the IP port number for the embedded TCP client. Valid values are
1024-65535. This value cannot conflict with port numbers specified for other
enabled connection methods on the other port. The default value is 4001 for
port 1 and 4002 for port 2.
Inactivity time-
out
Specifies the length of time before the TCP session is disconnected if there is
no activity. Valid values are 0-65535 seconds.
For example, a value of 60 indicates the TCP session will be disconnected if
there is no activity for a period of 60 seconds.
A 0 value disables the inactivity time-out. The default value is 0 (disabled).
Connection
mode
Specifies the criteria for establishing the TCP connection. Valid values are:
Autostart Always attempt to establish the TCP connection.
Connect on Data The TCP connection will be established upon receiving
the first data character from the serial port.
Connect on DCD (Valid only on RS-232 ports.) The TCP connection will be
established when the DCD signal is logically high.
Serial
buffering
Specifies the length of time accumulated serial data should be buffered before
being sent to the remote server. Valid values are 0-65535 hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
ESP-2 hub will buffer the data until 1 second (100 hundredths of a second) has
elapsed, at which time all data will be sent.
A 0 value indicates that data will be sent as soon as it is available.
The default value is 0 (send immediately). If the buffer becomes half full, the
time is ignored and the data is sent.
Idle TCP
buffering
Enables or disables buffering of received serial data while waiting for a TCP
connection to be established. The default value is disabled.
When enabled, the most recent 20K bytes of data are held in an internal buffer.
Once the connection is established, the buffered serial data is sent to the
remote endpoint of the TCP connection.
Table 9: Raw TCP Client Connection Method Configurable Items (Continued)
Item Description
Equinox ESP-2 MI Serial Hub Installation and User Guide 15
Table 10 describes this method’s configurable items for each serial port.
Table 10: Modem Emulation Connection Method Configurable Items
Item Description
Enable/
Disable
Enables or disables the modem emulation connection method on the port. The
default value is disabled. This method cannot be enabled if any other
connection method is already enabled on the port.
Allow
Incoming
Calls
Enables or disables incoming calls (that is, calls originating remotely). See
Incoming calls on page 20 for more information.
The default value is enabled.
Auto Answer
(Used only when Allow Incoming Calls is enabled.) Enables or disables auto
answer. When enabled, a connection will be accepted without interaction with the
serial port. When disabled, the ESP-2 hub will send the appropriate string (RING
or 2, depending on the ATV command or configured Verbose Response value).
Upon receipt of an ATA modem command, the call will be accepted.
The default value is enabled.
Local IP Port
(Used only when Allow Incoming Calls is enabled.) Specifies the port where
the ESP-2 hub will listen for incoming connection requests. Valid values are
1024-65535. The default value is 5001 for port 1 and 5002 for port 2.
Allow
Outgoing
Calls
Enables or disables outgoing calls (that is, originating within the ESP-2 hub).
When this option is enabled, you may also set the Default IP Address and
Default IP Port options, which will be used if an ATDT modem command is
issued without parameters.
When Allow Outgoing Calls is disabled, valid ATDT strings will be ignored.
The default value is enabled.
(See Outgoing calls on page 19 for more information.)
Destination IP
Address
(Used only when Allow Outgoing Calls is enabled.) Specifies the IP address to
be used when an ATDT modem command is entered without an IP address.
The address cannot be 0.0.x.x, 127.x.x.x, 248-255.x.x.x or the IP address of
the ESP-2 hub.
Destination IP
Port
(Used only when Allow Outgoing Calls is enabled.) Specifies the IP port
number to be used when an ATDT modem command is entered without an IP
port. Valid values are 1024-65535. The default value is 5001 for port 1 and
5002 for port 2.
Echo
Enables or disables echo mode. When enabled, modem commands are
echoed to the attached serial device. When disabled, modem commands are
not echoed. (This option affects only modem commands, not session data.)
The default value is enabled.
This option is equivalent to an ATE modem command. If an ATE command is
issued with a different value, the new value will be used during that connection
but it will not replace this configured value. The configured Echo value will be
used for subsequent connections.
16 Equinox ESP-2 MI Serial Hub Installation and User Guide
Modem commands
Table 11 lists the supported AT modem commands. All other AT commands will be
ignored or cause an error, depending on the configured response code and verbose
response settings. With the exception of the ? and ATDT commands, multiple
Verbose
Response
Specifies whether text or numeric codes will be sent to the serial device in
response to modem AT commands and how unknown commands will be
handled. Valid values are:
ATV0 - text codes will be used; unknown commands will cause an error
ATV1 - numeric codes will be used; unknown commands will cause an error
ATV2 - numeric codes will be used; unknown commands will be discarded
ATV3 - text codes will be used; unknown commands will be discarded
The default value is ATV0.
Table 12 on page 19 lists the numeric and text codes.
This option is equivalent to issuing an ATV modem command. If an ATV
command is issued with a different value, the new value will will be used during
that connection but it will not replace this configured value. The configured
Verbose Response value will be used for subsequent connections.
Response
Codes
Specifies whether response codes will be displayed on the serial device. Valid
values are:
ATQ0 - response codes will be displayed (enabled)
ATQ1 - response codes will not be displayed (disabled)
The default value is ATQ0 (enabled).
This option is equivalent to issuing an ATQ modem command. If an ATQ
command is issued with a different value, the new value will be used during
that connection but it will not replace this configured value. The configured
Response Codes value will be used for subsequent connections.
Monitor DCD
Enables or disables monitoring of the DCD signal. When enabled, if the
inbound DCD signal is logically low, the ESP-2 hub will not allow the TCP
session to be created. If the inbound DCD signal changes from logically high to
low while a session is active, the connection will be closed.
The default value is disabled.
Serial
buffering
Specifies the length of time accumulated serial data should be buffered before
being sent to the remote server. Valid values are 0-65535 hundredths of a second.
For example, a value of 100 indicates that once serial data is received, the
ESP-2 serial hub will buffer the data until 1 second (100 hundredths of a
second) has elapsed, at which time all data will be sent.
A 0 value indicates that data will be sent as soon as it is available.
The default value is 0 (send immediately). If the buffer becomes half full, the
time is ignored and the data is sent.
Inactivity time-
out
Specifies the length of time before the TCP session is disconnected if there is
no activity. Valid values are 0-65535 seconds.
For example, a value of 60 indicates the session will be disconnected if there is
no activity for a period of 60 seconds.
A 0 value disables the inactivity time-out. The default value is 0 (disabled).
Table 10: Modem Emulation Connection Method Configurable Items (Continued)
Item Description
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56

Equinox Systems ESP-2 MI Installation and User Manual

Type
Installation and User Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI