B&B Electronics ESP902E manual Flow Control, TCP/UDP Protocol, Serial Timeout, TCP Alive Timeout

Page 23

Server Properties Configuration

Flow Control

The Flow Control setting must match the requirements of the serial device connected.

Note:

Select None when setting the port as RS-485 or 4-wire RS-422.

TCP/UDP Protocol

Select TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) protocol. If the application does not require a UDP connection, select TCP. TCP guarantees reliable communication with error checking whereas UDP provides faster transmission.

UDP Mode

When UDP mode is chosen the Serial timeout, TCP alive timeout, Connection mode, Connection at, Max connection and Remote IP address fields are replaced with the following four fields: Destination IP address range, Port number and Source IP address range. In this mode the server can be configured to broadcast data to and receive data from multiple IP addresses. Four IP address range fields are provided.

Figure 32. The Server UDP Configuration Screen

Serial Timeout

Default for the Timeout property is 0, or no timeout. Setting Timeout to any value between 1 and 65535 seconds activates it. If Timeout is set to 5 seconds and the Serial Server is configured as a Server, the Client makes a connection and communications starts. If

Manual Documentation Number: ESP901-902-3704

Chapter 5

35

Server Properties Configuration

communications are ideal for 5 seconds the Serial Server will reset and make itself available for another client connection.

TCP Alive Timeout

The Serial Server monitors TCP activity. If TCP activity stops for the length of time specified in this field the connection will be closed. This field can be set to any value between 0 and 255 minutes. If zero, or no value, is entered into this field the server will not disconnect.

Connection Mode

The Connection Mode field has three options: Server, Client and Client (no heartbeat). When Client or Client (no heartbeat) is selected the Connection at field automatically becomes active (allowing the user to select Power up or Data Arrival).

When using the Virtual COM Port feature, select Server.

When using a TCP or UDP Socket program, select Server.

When using Paired Mode communication between two serial servers set up one as a Client and the other as a Server.

When connecting to a server that does not support Heartbeat, select Client (no Heartbeat).

Delimiter HEX 1 and Delimiter HEX 2

These fields allow the user to enter two ASCII characters (in hex format) that delimit the beginning and end of a message. When a message with both these delimiters is received at the serial port, the data contained in the serial buffer is placed in an Ethernet packet and sent out the Ethernet port. If only Delimiter 1 is set (Delimiter 2 is zero or blank), upon receiving Delimiter 1 the ESP901/902 will put all the data in the serial buffer in an Ethernet packet and send it out the Ethernet port. If serial data greater than 1 kilobyte is received it will automatically be placed in an Ethernet packet and sent out the Ethernet port .

Force Transmit

This field allows the user to set a maximum time limit between transmissions of data. The value set in this field multiplied by 100 ms determines the Force Transmit time. When the elapsed time reaches the time configured in this field, the TCP/IP protocol will pack the data currently in the serial buffer into a packet and send it out the Ethernet port.

36

Chapter 5

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 - 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 23
Contents Multi-Interface Ethernet Serial Servers International Headquarters Manual Documentation Number ESP901-902-3704m Table of Contents Using Console Mode Introduction FeaturesCommunication Modes Direct IP ModeVirtual COM Mode Paired ModeSerial Server Quick Start Guide Hardware SetupSoftware Installation Serial Server ConfigurationCheck Communications Install Virtual COM Ports on PCMaking the Hardware Connections Package ChecklistESP901/ESP902 Connections, Indicators and Reset Switch Serial Ports DIP SwitchesSerial Server/Port Operational Modes RS-422 Mode Console ModeUpgrade Mode RS-232 ModeDTE Serial Server Serial Port Connector Pin-outsManual Installation Installing the Vlinx ESP SoftwareSoftware Installation Automatic InstallationOpening the ESP Manager Updating an Existing InstallationSoftware Setup Using ESP ManagerHardware Setup Menus Software OverviewStatus Bar Search for ServersServer Icons Pane Serial Server / Virtual COM ListsSearch Vlinx ESP Dialogue Box Configure Server PropertiesRestarting Dialogue Box Server Name Configuring the Serial Server PropertiesPassword Description of the Server PropertiesMAC Address IP AddressNetmask GatewayFlow Control Serial TimeoutTCP Alive Timeout Connection ModeTCP/UDP Port Serial Port ModeUpdate/Save Port StatusFollowing dialogue box will appear Web Server Virtual COM Port Installation Installing Virtual COM PortsWindows Logo Testing Window Matching the Serial Server and Virtual COM Port SettingsVlinx ESP COM3 Properties Window Removing the Virtual COM port with ESP Manager Removing the Virtual COM Port using Device ManagerRemoving Virtual COM Ports Control Panel Window Preparing the Software Upgrading the Serial Server FirmwareDownloading the Firmware Upgrading Via ESP ManagerNavigating the Configuration Menus Using Console ModeConsole Mode Setup Saving and Restarting the Configuration Using a PasswordSetting Server Properties Using the WEB ServerWeb Server Operation Navigating the Configuration Menu Using TelnetConfiguration Using Telnet Telnet Configuration Screens ESP901 and ESP902 Technical DataDhcp RS-232 Crossover null modem Cable Connections Serial Server DB-9 Pin-outs in RS-232 ModeRS-232 Straight-through Cable Connections RS-232 DTE Loopback Connections RS-232 Crossover DB-9 to DB-25 Conversion ConnectionsAppendix B RS-422 Connections Serial Server DB-9 Pin-outs in RS-422 ModeLoopback Connections for RS-422 Appendix C RS-485 Connections Serial Server DB-9 Pin-out in RS-485 ModeCrossover Ethernet Cable RJ-45 Pin-out Standard Ethernet Cable RJ-45 Pin-outElectronics September

ESP902E, ESP902, ESP901E specifications

B&B Electronics offers a series of industrial-grade Ethernet serial servers known as the ESP901E, ESP902, and ESP902E. These devices are specifically designed to connect serial devices to an Ethernet network seamlessly, enabling effective communication and data transfer across various applications.

The ESP901E is engineered for single serial port applications, providing an easy and effective way to connect a serial device to a network. It supports various serial communication protocols, including RS-232, RS-422, and RS-485, making it versatile for a range of devices. One of its standout features is the ability to support 10/100 Mbps Ethernet connectivity, ensuring a reliable and high-speed network connection. Additionally, the ESP901E supports various network protocols, including TCP/IP and UDP, allowing users to integrate the device easily into their existing network infrastructure.

Moving to the ESP902, this model provides dual serial port capabilities, making it ideal for applications requiring the connection of multiple devices. Like the ESP901E, it supports common serial interfaces and offers the same 10/100 Mbps Ethernet connectivity. This flexibility enables it to cater to more complex systems where multiple serial devices need to be integrated into a single network environment. Furthermore, the ESP902 is equipped with features such as automatic baud rate detection, making configuration straightforward and reducing installation time.

The ESP902E enhances the capabilities of the ESP902 with additional features such as enhanced security protocols. It includes support for SSL and SSH, ensuring secure data transmission across the network. This added security layer is crucial for applications that handle sensitive information or require secure communication channels. The ESP902E maintains the user-friendly nature of its predecessors while integrating more advanced features suitable for modern industrial applications.

All three models boast rugged designs suitable for harsh environments, making them perfect for industrial applications without compromising performance. With an extensive operating temperature range and robust housing, these devices can withstand the rigors of factory floors and outdoor installations.

Overall, the ESP901E, ESP902, and ESP902E from B&B Electronics collectively serve to bridge the gap between serial communications and Ethernet networks, supporting various industrial applications while ensuring seamless integration, versatility, and security. Whether for simple single-port connections or more complex multi-port setups, these devices are designed to meet diverse connectivity needs with efficiency and reliability.