B&B Electronics RS-232, RS-485 Communication Modes, Direct IP Mode, Virtual COM Mode, Paired Mode

Page 6

Introduction

Communication Modes

The ESP901 and ESP902 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 Serial 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 the Serial 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 called serial tunneling. In this mode any two serial devices that can communicate with a serial link will be able to communicate using two Serial 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 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.

Manual Documentation Number: ESP901-902_4105m

Chapter 1

3

4

Chapter 1

Manual Documentation Number: ESP901-902_4105m

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 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 Pk – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445

www.bb-europe.com

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

www.bb-europe.com

Image 6 Contents
Multi-Interface Ethernet Serial Servers Manual Documentation Number ESP901-9024105m Table of Contents Using Console Mode Features IntroductionPaired Mode Direct IP ModeVirtual COM Mode Communication ModesSerial Server Configuration Hardware SetupSoftware Installation Serial Server Quick Start GuideInstall Virtual COM Ports on PC Check CommunicationsPackage Checklist ESP901/ESP902 Connections, Indicators and Reset SwitchMaking the Hardware Connections DIP Switches Serial Server/Port Operational ModesSerial Ports RS-232 Mode Console ModeUpgrade Mode RS-422 ModeSerial Server Serial Port Connector Pin-outs DTEAutomatic Installation Installing the Vlinx ESP SoftwareSoftware Installation Manual InstallationUpdating an Existing Installation Opening the ESP ManagerUsing ESP Manager Hardware SetupSoftware Setup Software Overview MenusSerial Server / Virtual COM Lists Search for ServersServer Icons Pane Status BarConfigure Server Properties Search Vlinx ESP Dialogue BoxRestarting Dialogue Box Description of the Server Properties Configuring the Serial Server PropertiesPassword Server NameGateway IP AddressNetmask MAC AddressConnection Mode Serial TimeoutTCP Alive Timeout Flow ControlPort Status Serial Port ModeUpdate/Save TCP/UDP PortFollowing dialogue box will appear Web Server Installing Virtual COM Ports Virtual COM Port InstallationMatching the Serial Server and Virtual COM Port Settings Windows Logo Testing WindowVlinx ESP COM3 Properties Window Removing the Virtual COM Port using Device Manager Removing Virtual COM PortsRemoving the Virtual COM port with ESP Manager Control Panel Window Upgrading Via ESP Manager Upgrading the Serial Server FirmwareDownloading the Firmware Preparing the SoftwareUsing Console Mode Console Mode SetupNavigating the Configuration Menus Using a Password Saving and Restarting the ConfigurationUsing the WEB Server Setting Server PropertiesWeb Server Operation Using Telnet Configuration Using TelnetNavigating the Configuration Menu Telnet Configuration Screens Technical Data ESP901 and ESP902Dhcp Serial Server DB-9 Pin-outs in RS-232 Mode RS-232 Straight-through Cable ConnectionsRS-232 Crossover null modem Cable Connections RS-232 Crossover DB-9 to DB-25 Conversion Connections RS-232 DTE Loopback ConnectionsSerial Server DB-9 Pin-outs in RS-422 Mode Appendix B RS-422 ConnectionsLoopback Connections for RS-422 Serial Server DB-9 Pin-out in RS-485 Mode Appendix C RS-485 ConnectionsStandard Ethernet Cable RJ-45 Pin-out Crossover Ethernet Cable RJ-45 Pin-outElectronics October
Related manuals
Manual 61 pages 14.7 Kb Manual 46 pages 1.37 Kb Manual 39 pages 36.61 Kb