B&B Electronics ESP901E User Manual

Size:
2.87 Mb
Download

Models: ESP901, ESP901E,

ESP902, ESP902E

Multi-Interface

Ethernet Serial Servers

(RS-232/422/485)

Manual Documentation Number: ESP901-902-3704m

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

International Headquarters

B&B Electronics Mfg. Co. Inc.

707 Dayton Road

Ottawa, IL 61350 USA

Phone (815)433-5100--General Fax (815)433-5105

Website: www.bb-elec.com

Sales e-mail:orders@bb-elec.com --Fax (815)433-5109

Technical Support e-mail:support@bb.elec.com --Fax (815)433-5104

European Headquarters

B&B Electronics Ltd.

Westlink Commercial Park

Oranmore, Co. Galway, Ireland

Phone +35391-792444--Fax +35391-792445

Website: www.bb-europe.com

Sales e-mail: sales@bb-europe.com

Technical Support e-mail: support@bb-europe.com

© B&B Electronics – September 2004

Manual Documentation Number: ESP901-902-3704m

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

2004 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.

Manual Documentation Number: ESP901-902-3704m

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

 

Table of Contents

TABLE OF CONTENTS ...................................................................................

 

I

CHAPTER 1: INTRODUCTION.....................................................................

 

1

FEATURES.........................................................................................................

 

2

COMMUNICATION MODES ................................................................................

 

3

Direct IP Mode ............................................................................................

 

3

Virtual COM Mode ......................................................................................

 

3

Paired Mode ................................................................................................

 

4

Heart Beat....................................................................................................

 

4

SERIAL SERVER QUICK START GUIDE ..............................................................

 

5

Hardware Setup ...........................................................................................

 

5

Software Installation....................................................................................

 

6

Serial Server Configuration .........................................................................

 

6

Install Virtual COM Ports on PC.................................................................

 

7

Check Communications ...............................................................................

 

7

CHAPTER 2: MAKING THE HARDWARE CONNECTIONS ..................

9

PACKAGE CHECKLIST .......................................................................................

 

9

ESP901/ESP902 CONNECTIONS, INDICATORS AND RESET SWITCH .................

9

Indicator Lights..........................................................................................

 

10

Ethernet Connector....................................................................................

 

10

Power Connector .......................................................................................

 

10

Reset Button ...............................................................................................

 

10

DIP Switches..............................................................................................

 

11

Serial Ports ................................................................................................

 

12

SERIAL SERVER/PORT OPERATIONAL MODES ................................................

12

Default Mode .............................................................................................

 

13

Console Mode ............................................................................................

 

13

Upgrade Mode ...........................................................................................

 

13

RS-232Mode..............................................................................................

 

13

RS-422Mode..............................................................................................

 

14

RS-485Mode..............................................................................................

 

14

SERIAL SERVER SERIAL PORT CONNECTOR PIN-OUTS ....................................

15

CHAPTER 3: INSTALLING THE VLINX ESP SOFTWARE ..................

17

SOFTWARE INSTALLATION..............................................................................

 

17

Automatic Installation................................................................................

 

17

Manual Installation....................................................................................

 

17

Updating an Existing Installation ..............................................................

 

19

Opening the ESP Manager ........................................................................

 

20

Manual Documentation Number: ESP901-902-3704

Table of Contents

i

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

CHAPTER 4: USING ESP MANAGER........................................................

21

 

HARDWARE SETUP .........................................................................................

 

21

 

SOFTWARE SETUP...........................................................................................

 

22

 

SOFTWARE OVERVIEW ...................................................................................

 

23

 

Menus.........................................................................................................

 

23

 

Server Icons Pane ......................................................................................

 

25

 

Serial Server / Virtual COM Lists..............................................................

 

25

 

Status Bar...................................................................................................

 

26

 

SEARCH FOR SERVERS ....................................................................................

 

26

 

CONFIGURE SERVER PROPERTIES ...................................................................

 

27

CHAPTER 5: CONFIGURING THE SERIAL SERVER PROPERTIES. 31

 

DESCRIPTION OF THE SERVER PROPERTIES .....................................................

32

 

Server Name...............................................................................................

 

32

 

Serial Number ............................................................................................

 

32

 

Password....................................................................................................

 

32

 

DHCP ........................................................................................................

 

32

 

IP Address..................................................................................................

 

33

 

Netmask......................................................................................................

 

34

 

Gateway .....................................................................................................

 

34

 

MAC Address .............................................................................................

 

34

 

Version & Date ..........................................................................................

 

34

 

Link Status..................................................................................................

 

34

 

Server Serial Port ......................................................................................

 

34

 

Baud Rate...................................................................................................

 

34

 

Data/Parity/Stop ........................................................................................

 

34

 

Flow Control..............................................................................................

 

35

 

TCP/UDP Protocol....................................................................................

 

35

 

Serial Timeout............................................................................................

 

35

 

TCP Alive Timeout.....................................................................................

 

36

 

Connection Mode.......................................................................................

 

36

 

Delimiter HEX 1 and Delimiter HEX 2......................................................

36

 

Force Transmit...........................................................................................

 

36

 

Port Status..................................................................................................

 

37

 

TCP/UDP Port...........................................................................................

 

37

 

Serial Port Mode........................................................................................

 

37

 

Connection At ............................................................................................

 

38

 

Max Connection.........................................................................................

 

38

 

Remote IP Address.....................................................................................

 

38

 

Update/Save ...............................................................................................

 

38

CHAPTER 6: INSTALLING VIRTUAL COM PORTS .............................

43

 

VIRTUAL COM PORT INSTALLATION .............................................................

 

43

 

MATCHING THESERIALSERVER ANDVIRTUALCOM PORTSETTINGS..........

46

ii

Table of Contents

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

CHAPTER 7: REMOVING VIRTUAL COM PORTS................................

49

REMOVING THE VIRTUAL COMPORT WITH ESP MANAGER ..........................

49

REMOVING THEVIRTUALCOM PORT USINGDEVICEMANAGER...................

50

CHAPTER 8: UPGRADING THE SERIAL SERVER FIRMWARE........

53

DOWNLOADING THE FIRMWARE .....................................................................

53

UPGRADING VIA ESP MANAGER....................................................................

53

Preparing the Software ..............................................................................

53

Upgrading the Firmware ...........................................................................

54

CHAPTER 9: USING CONSOLE MODE ....................................................

55

CONSOLE MODE SETUP ..................................................................................

55

Navigating the Configuration Menus.........................................................

56

Using a Password ......................................................................................

57

CHAPTER 10: USING THE WEB SERVER ...............................................

59

SETTING SERVER PROPERTIES ........................................................................

59

CHAPTER 11: USING TELNET...................................................................

63

CONFIGURATION USING TELNET ....................................................................

63

Navigating the Configuration Menu ..........................................................

64

CHAPTER 12: ESP901 AND ESP902 TECHNICAL DATA ......................

67

APPENDIX A: RS-232CONNECTIONS......................................................

71

SERIAL SERVER DB-9PIN-OUTS IN RS-232MODE.........................................

71

RS-232Straight-throughCable Connections.............................................

72

RS-232Crossover (null modem) Cable Connections.................................

72

RS-232Straight-throughDB-9toDB-25Conversion Connections...........

73

RS-232CrossoverDB-9toDB-25Conversion Connections.....................

73

RS-232DTE Loopback Connections..........................................................

74

APPENDIX B: RS-422CONNECTIONS......................................................

75

SERIAL SERVER DB-9PIN-OUTS IN RS-422MODE.........................................

75

APPENDIX C: RS-485CONNECTIONS......................................................

79

SERIAL SERVER DB-9PIN-OUT IN RS-485MODE...........................................

79

APPENDIX D: NETWORK CONNECTIONS.............................................

81

STANDARD ETHERNET CABLE RJ-45PIN-OUT................................................

81

CROSSOVER ETHERNET CABLE RJ-45PIN-OUT ..............................................

82

Manual Documentation Number: ESP901-902-3704

Table of Contents

iii

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

iv

Table of Contents

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

Introduction

Chapter 1: INTRODUCTION

VLINX Models ESP901 and ESP902 Ethernet Serial Servers provide Ethernet to Serial connections for RS-232, RS-422 or RS-485 devices. The ESP901 features a single serial port and the ESP902 features two serial ports. The serial ports can be accessed over a LAN/WAN using

Direct IP Mode, Virtual COM Port, or Paired Modeconnections. The 10/100 Mbps Ethernet connection auto-selects 10BaseT or 100BaseTX and indicates the type of connection with a bi-color link light.

Figure 1. VLINX ESP901 and ESP902 Ethernet Serial Servers

Manual Documentation Number: ESP901-902-3704

Chapter 1

1

Introduction

Features

Multi-interfaceserial ports

oESP901 and ESP902 Port 1 software selectable for RS232, RS-422,RS-485(DIP Switch selects Console Mode)

oESP902 Port 2 is RS-232only

10/100 Mbps Ethernet with Auto Selection

LAN and WAN Communications

TCP or UDP Client or Server operation - configurable

Software Support - Windows 98/ME/2000/XP or NT 4.0

Firmware Upload for future revisions/upgrades

Configuration of Ethernet and serial port settings can be accomplished using any of four methods:

oVLINX ESP Manager Software for Windows allows configuration via a network connection or directly from the Ethernet port of a computer (using an Ethernet crossover cable).

oWeb Server allows configuration via the network using any web browser.

oTelnet allows configuration via the network by accessing the setup configuration menu.

oConsole Mode allows configuration through anRS-232serial port in using a VT100 Terminal Emulation program and anRS-232crossover cable.

Virtual COM Driver Software for Windows - installs virtual COM ports, viewable in the Windows Device Manager under Ports (COM & LPT). Virtual COM port provides access to any of the ports on the ESP901 and ESP902, like any other serial port (legacy, PCI, USB or PCMCIA) on the computer. Any program running on the computer and using Windows-based COM ports can access the serial devices attached to the Serial Server. The LAN becomes transparent to the serial device and the software running on the PC.

Heart Beat Connection - selectable protocol ensures reliable communications in Virtual COM Port or Paired Connection modes. This feature restores the connections if communications are temporarily lost at either end due to loss of power or the Ethernet connection.

2

Chapter 1

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

Introduction

Communication Modes

The ESP901 andESP902 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 theSerial Server. In this type of application theSerial Server is configured as a TCP or UDP server. The socket program running on the PC establishes a communication connection with theSerial Server. The data is sent directly 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 theSerial Server.

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.

Introduction

Paired Mode

Paired Mode is also calledserial tunneling. In this mode any two serial devices that can communicate with a serial link will be able to communicate using twoSerial Servers and the LAN.

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 addressfiltering 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 inVirtual COM Port Mode or withPaired Connection Mode. 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 Virtual COM Port Modeand Paired Connection Mode. This is not available when using a UDP application.

Manual Documentation Number: ESP901-902-3704

Chapter 1

3

4

Chapter 1

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

Introduction

Serial Server Quick Start Guide

For descriptive purposes this Quick Start Guide considers a typical configuration consisting of a PCconnected via an Ethernet LAN to an ESP901or ESP902 Serial Serverconnected to the RS-232 port of a serial device.

Hardware Setup

Figure 2. Typical Hardware Setup

Step 1: Connect theSerial Server to the network using a standard network cable.

Step 2: Connect the Serial Serverto the RS-232 port on the serial device.

Note:

If the serial device is configured as a DCE use a straight-throughserial cable. If the serial device is configured as a DTE use a crossover (null modem) cable.

Step 3: Set all the DIP switches to theOFF position.

Step 4: Apply power to theSerial Server.

Manual Documentation Number: ESP901-902-3704

Chapter 1

5

Introduction

Software Installation

Using the CD included with the Serial Server, install theVLINX ESP Manager software on the configuring computer.

Serial Server Configuration

Step 1: Open the ESP Managersoftware. It will automatically search for any reachable (ESP90x) Serial Servers. A list of all Serial Serversconnected to the LAN will appear in the Serial Server Listwindow.

Step 2: Double click the desiredSerial Server port on the list to bring up theServer Properties configuration screen.

Figure 3. The Server Properties Window

Step 3: Change theServer Properties as required.

Enable DHCP to allow theSerial Server to generate its own IP address

OR

Obtain appropriate static IP,Netmask andGateway addresses from your Network Administrator

(recommended)

Set the Serial Port Mode property toRS-232to match the serial device connected to theSerial Server.

Set Baud Rate, Data/Parity/Stop, and Flow Controlto match the configuration of the serial device connected to the Serial Serverport

Step 4: When the parameters have been set, click Update. Following the prompts in the dialogue boxes, Restartthe Serial Server and Search all reachable serversagain.

6

Chapter 1

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

Introduction

 

Introduction

Step 5: Re-enterServer Properties to verify the changes have taken effect, or to view/change the configuration of other ports. Each port must be configured separately.

Install Virtual COM Ports on PC

Step 1: From the Windows Startmenu, run the Install Virtual COM

Ports utility included with the VLINX software,

Step 2: Search for all servers on the network

Step 3: Select a port and map it to an unused COM port (e.g. Port 15). Configure it for TCP protocol and the appropriate IP address (determined in the last section).

Figure 4. Configuring the Virtual COM Port

Check Communications

Step 1: From the Windows Startmenu, run HyperTerminal

Step 2: ConfigureHyperTerminal to connect using the COM port configured in the last section (e.g. Port 15).

Step 3: Set Baud Rate, Data/Parity/Stop, and Flow Controlto match the configuration of the serial device connected to the Serial Serverserial port.

Step 4: Communications with the serial device should now be operational.

Manual Documentation Number: ESP901-902-3704

Chapter 1

7

8

Chapter 1

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

Making Hardware Connections

Chapter 2: MAKING THE HARDWARE

CONNECTIONS

Package Checklist

ESP901 and ESP902 Serial Servers are shipped with the following items included:

9ESP901 or ESP902 Serial Server Module

9Power supply

9This Operation Manual

9CD-ROMdisc with manual, VLINX ESP Manager and Virtual COM Driver software for Windows 98/ME/2000/XP/NT 4.0

ESP901/ESP902 Connections, Indicators and

Reset Switch

Connectors, Indicators and Switches:

Three indicator LEDs

One Ethernet connector (RJ-45female)

A power connector

A recessed reset switch

Triple DIP switch

ESP901: One serial port connector (DB-9M)

ESP902: Two serial port connectors (DB-9M)

Manual Documentation Number: ESP901-902-3704

Chapter 2

9

Making Hardware Connections

Indicator Lights

Light

Indication

 

Power

Red - power is applied

Link

Yellow – 10BaseT Ethernet connection established

 

Green – 100BaseTX Ethernet connection established

Ready

Flashing Green – system is ready

 

Figure 5.

Indicator Lights

Ethernet Connector

The Serial Server has a standardRJ-45receptacle mounted in the top edge of the chassis. TheSerial Server can be connected to an Ethernet hub, switch, or wall plate using a standardstraight-throughRJ-45(male) Ethernet cable. To connect directly to an RJ45 Ethernet port on a PC or laptop a crossover Ethernet cable must be used.

Note:

Refer to Appendix D for details on Network Cables

Power Connector

Plug the ultra-miniaturephone plug from the included power supply into the power jack and then plug the supply in. When power is applied the Red power light will illuminate. The tip of the power plug is positive; the sleeve is negative.

Reset Button

This switch resets the unit, similar to the effect of removing/applying power. The Reset switch is recessed to avoid accidental operation. To reset the unit, 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.

RJ-45

 

 

Power jack

female

Reset

 

2.5 mm Tip (+)

 

Off

Figure 6. Top View of ESP901 and ESP902 (when mounted vertically)

10

Chapter 2

Manual Documentation Number: ESP901-902-3704

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com