background image

  

Introduction 

Manual Documentation Number: ESP904-0504 

Chapter 1 

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – 

www.bb-elec.com

 

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – 

www.bb-europe.com

 

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 ESP904, which converts the IP packet back to serial data and sends the 
data out a serial port located on the ESP904. 

To use this mode, the ESP904 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 ESP904s and the LAN. 

Two ESP904s 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 

Virtual COM Port Mode

 or with

 

Paired 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

 

Mode

 and 

Paired 

Connection

 mode. This is not available when using a UDP application.  

 Introduction

 

Chapter 1 

Manual Documentation Number: ESP904-0504 

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – 

www.bb-elec.com

 

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – 

www.bb-europe.com

 

ESP904 Quick Start Guide 

 

Hardware Setup  

Required hardware:  

 

A PC operating on an Ethernet LAN. 

 

A serial device with a RS-232 interface. 

 

Network and serial cables, as required. 

Step 1:

   Connect the ESP904 to the network using a standard network cable 

Step 2:

   Connect the ESP904 to the RS-232 serial device.  

N

N

o

o

t

t

e

e

:

:

 

 

 

 

 

 

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. 

 

Figure 2. Quick Start Hardware Setup 

Software Installation 

Using the CD included with the ESP904, install the 

VLINX ESP Manager

 

software on the configuring computer. 

Summary of Contents for ESP904

Page 1: ...om B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com M Mo od de el ls s E ES SP P9 90 04 4 E ES SP P9 90 04 4E E Q Qu ua ad d P...

Page 2: ...tronics Mfg Co Inc 707 Dayton Road P O Box 1040 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 Suppo...

Page 3: ...SOFTWARE INSTALLATION 19 ii Table of Contents Manual Documentation Number ESP904 0504 B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb elec...

Page 4: ...32 MODE 57 RS 232 Straight through Cable Connections 58 RS 232 Crossover null modem Cable Connections 58 RS 232 Straight through DB 9 to DB 25 Conversion Connections 59 RS 232 Crossover DB 9 to DB 25...

Page 5: ...igure 27 The Device Manager Window 40 Figure 28 The VLINX ESP COM3 Properties Window 41 Figure 29 The ESP Manager Window 43 Figure 30 The vcomui Dialogue Box 44 Figure 31 The Control Panel Window 45 F...

Page 6: ...ram and an RS 232 crossover cable Telnet also can be used to access the setup configuration menu Virtual COM Driver Software for Windows installs a virtual COM port viewable in the Windows Device Mana...

Page 7: ...l connection provides a reliable communications connection in Virtual COM Port Mode or with Paired Connection Mode This feature restores the connection if communications are temporarily lost at either...

Page 8: ...Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb elec com B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe co...

Page 9: ...stlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com ESP904 Technical Data Hardware and Included Accessories ESP904 Serial Server module Power Supply 12...

Page 10: ...IP Address 192 168 0 1 Net Mask 255 255 255 0 Gateway 192 168 0 254 MAC Address Fixed see bottom label Port 1 Console Mode Ports 2 3 4 RS 232 Baud Rate 9600 Data Parity Stop 8 N 1 Flow Control None TC...

Page 11: ...ec com B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com ESP904 Connections Indicators and Reset Switch The ESP904 has Seven ind...

Page 12: ...Fax 353 91 792445 www bb europe com Serial Port Operational Modes Using the ESP Manager or the Console Mode Configuration Menu each serial port can independently be configured as RS 232 Mode RS422 Mod...

Page 13: ...l must be set to RTS CTS during configuration N No ot te e Refer to Appendix B RS 422 connection pin outs RS 485 Mode RS 485 Mode supports the transmit TX and receive RX signal channels using 2 wire h...

Page 14: ...Data TXD Out TXDB Data B 4 Data Terminal Ready DTR Out TXDA Data A 5 Signal Ground GND GND GND 6 Data Set Ready DSR In CTSA 7 Request To Send RTS Out CTSB 8 Clear To Send CTS In RTSB 9 Ring Indicator...

Page 15: ...n Step 1a Inserting the VLINX CD in the CD ROM should automatically launch the Install Shield Wizard Manual Installation Step 1b To manually start the software installation select the Start button on...

Page 16: ...ger software Start Programs B B Electronics VLINX ESP Servers VLINX ESP Manager Step 6 If the ESP904 is not already connected to the network or to the Ethernet port on the computer connect it and then...

Page 17: ...re Hardware Setup Step 1 Connect the ESP904 to the LAN or to a computer Ethernet port Figure 17 Ethernet Connection via a LAN Using ESP Manager 24 Chapter 4 Manual Documentation Number ESP904 0504 B B...

Page 18: ...50 Ph 815 433 5100 Fax 815 433 5104 www bb elec com B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com The Virtual COM List conta...

Page 19: ...l Documentation Number ESP904 0504 B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb elec com B B Electronics Ltd Westlink Commercial Park Or...

Page 20: ...next property Tab Shift to move back to previous property Arrows to move between properties or change values or contents of the current property Enter to select update or cancel Using ESP Manager 30 C...

Page 21: ...tware requests a connection to the specific IP address of the serial server If the DHCP reassigns a different IP address the software will not be able to communicate with the hardware Therefore using...

Page 22: ...n Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb elec com B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe...

Page 23: ...or arrow keys to move the cursor to the option position and then press Enter Save stores the configuration data to ESP904 flash memory and resets it Default restores the editing configuration data to...

Page 24: ...software to open a connection with the serial port located anywhere on the LAN WAN When using the virtual COM port the ESP904 is configured as a TCP or UDP Server Virtual COM Port Installation Step 1...

Page 25: ...etting is None RTS CTS can be selected if used by the application program and serial hardware The ESP Server must be set to match Installing Virtual COM Port 40 Chapter 6 Manual Documentation Number E...

Page 26: ...ect the Configuration or Port Settings tab This screen allows the settings to be changed if necessary Click on Cancel to keep the existing settings Step 5 Click on OK to change the settings Use Refres...

Page 27: ...indows select VLINX ESP Manager from the Programs list Start Programs B B Electronics VLINX ESP Servers VLINX ESP Manager Step 2 In the ESP Manager window select the Virtual COM List tab Highlight the...

Page 28: ...expand Figure 32 The Device Manager Window Removing a Virtual COM Port 46 Chapter 7 Manual Documentation Number ESP904 0504 B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815...

Page 29: ...click on the server to be upgraded The Server Properties window will appear Step 2 If using a direct connection to serial port 1 to upload the firmware to the ESP904 set the baud rate to 115 2k for t...

Page 30: ...4 Fax 353 91 792445 www bb europe com Step 10 Upgrade progress will be shown until the Upgrade finished message is shown Select OK Figure 35 Upgrading in Progress Upgrade Mode 50 Chapter 8 Manual Docu...

Page 31: ...904 Port 1 via an RS 232 crossover cable Step 3 In the HyperTerminal Port Settings window set o Baud rate 9600 o Data bits 8 o Parity None o Stop bits 1 o Flow control None Click OK Step 4 To view the...

Page 32: ...write the settings to the server Step 7 To view the changes press the space bar The screen will reappear Using Console Mode 54 Chapter 9 Manual Documentation Number ESP904 0504 B B Electronics Mfg Co...

Page 33: ...the window and press Enter The following window will appear Figure 39 The Web Server Page Using the Web Server 56 Chapter 10 Manual Documentation Number ESP904 0504 B B Electronics Mfg Co Inc 707 Day...

Page 34: ...792444 Fax 353 91 792445 www bb europe com RS 232 Straight through Cable Connections In the RS 232 mode the ESP904 s ports are configured as DTEs like a computer If the device connected to the ESP904...

Page 35: ...null modem Cable RS 232 Connections 60 Appendix A Manual Documentation Number ESP904 0504 B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb...

Page 36: ...l In the RS 422 mode TXD lines are outputs and RXD lines are inputs Connect the ESP904 TXDB line to the RXDB line of the serial device and the ESP904 TXDA to the RXDA of the serial device If Flow Cont...

Page 37: ...Loopback Connections for RS 422 The RS 485 Connections are half duplex either Receive or Transmit so another half duplex device must be used to check operation Figure 50 RS 422 Connection with No Flo...

Page 38: ...85 standard which defines the Data B line as positive relative to Data A during a Mark state before enabling the transmitter and after transmitting before tri stating If an RS 485 device does not resp...

Page 39: ...used Blue 4 5 Not used White Blue 5 6 RX Orange 6 7 Not used White Brown 7 8 Not used Brown 8 Figure 53 Pin out for a Standard Ethernet Cable Network Connections 68 Appendix D Manual Documentation Num...

Reviews: