background image

 

 

Server Properties Configuration 

Manual Documentation Number: ESP901-902_4105m 

Chapter 5 

35 

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

 

Flow Control  

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

N

N

o

o

t

t

e

e

:

:

 

 

 

 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 

Server Properties Configuration

 

36 

Chapter 5 

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

www.bb-europe.com

 

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.  

Summary of Contents for RS-485

Page 1: ...s s M Mo od de el ls s E ES SP P9 90 01 1 E ES SP P9 90 01 1E E E ES SP P9 90 02 2 E ES SP P9 90 02 2E E International Headquarters B B Electronics Mfg Co Inc 707 Dayton Road Ottawa IL 61350 USA Phone...

Page 2: ...ange 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 perform...

Page 3: ...17 Automatic Installation 17 Manual Installation 17 Updating an Existing Installation 19 Opening the ESP Manager 20 ii Table of Contents Manual Documentation Number ESP901 902_4105m B B Electronics M...

Page 4: ...GURATION USING TELNET 63 Navigating the Configuration Menu 64 CHAPTER 12 ESP901 AND ESP902 TECHNICAL DATA 67 APPENDIX A RS 232 CONNECTIONS 71 SERIAL SERVER DB 9 PIN OUTS IN RS 232 MODE 71 RS 232 Strai...

Page 5: ...ort 2 is RS 232 only 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 Up...

Page 6: ...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 eithe...

Page 7: ...ox 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 Softwar...

Page 8: ...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...

Page 9: ...m B B Electronics Ltd Westlink Commercial Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com Indicator Lights Light Indication Power Red power is applied Link Yellow 10Bas...

Page 10: ...ON position 2 With any DIP switch in the OFF position set the Server Properties Console Mode field to Console and Update Save the configuration Making Hardware Connections 12 Chapter 2 Manual Documen...

Page 11: ...re single ended and referenced to Ground To use handshaking Flow Control must be set to RTS CTS during Configuration N No ot te e Refer to Appendix A for RS 232 connection pin outs Making Hardware Con...

Page 12: ...it 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 Indicat...

Page 13: ...tion 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 from the Windows Desktop...

Page 14: ...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 ww...

Page 15: ...t port Set all the DIP switches on the Serial Server to the OFF position Figure 19 Ethernet Connection via a LAN Using ESP Manager 22 Chapter 4 Manual Documentation Number ESP901 902_4105m B B Electro...

Page 16: ...guration information that will be displayed in the Server Properties window Uninstall Virtual COM Allows virtual COM ports to be uninstalled from the ESP Manager window Monitor Port Status Brings up a...

Page 17: ...M port condition o Not Connected is shown when a program does not have the port Open o Connected is shown when that mapped port is Open for use Virtual COM List COM Name Displays the number of the COM...

Page 18: ...urrently selected server Step 6 To open the Server Properties window highlight the Serial Server in the Serial Server List window double click to open The Server Properties window is used to configure...

Page 19: ...rch Dialogue Box While the Serial Server is searching for all reachable servers the following dialogue box appears Figure 28 The Search VLINX ESP Dialogue Box After that port has been updated you may...

Page 20: ...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 Description of the Server Properties Figure 30 ESP Mana...

Page 21: ...At run prompt enter CMD In the DOS window enter Ping xxx xxx xxx xxx IP address for the server to be confirmed The command will return the Ping results indicating 4 replies Figure 31 Pinging using the...

Page 22: ...om 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...

Page 23: ...e server to its default configuration RS 232 When this mode is selected and the server updated the selected serial port will become an RS 232 serial port on the server RS 422 When this mode is selecte...

Page 24: ...Electronics Ltd Westlink Commercial Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com After that port has been updated you may want to re enter Server Properties to veri...

Page 25: ...Telnet These are located at the bottom of all three Web Server pages If a field is changed you must click Save before leaving that page or the changes will be ignored Figure 37 The Web Server Page N...

Page 26: ...tions which allows the software to open a connection with the serial port located anywhere on the LAN WAN When using the virtual COM port the Serial Server is configured as a TCP or UDP Server Virtual...

Page 27: ...one RTS CTS can be selected if used by the application program and serial hardware The Serial Server must be set to match Installing Virtual COM Port 46 Chapter 6 Manual Documentation Number ESP901 90...

Page 28: ...Click the Configuration or Port Settings tab This screen allows the settings to be changed if necessary Click Cancel to keep the existing settings Step 5 Click OK to change the settings Use Refresh i...

Page 29: ...1 From the Windows Desktop click Start Programs B B Electronics VLINX ESP Servers VLINX ESP Manager Step 2 In the ESP Manager window click the Virtual COM List tab Highlight the mapped COM port number...

Page 30: ...o expand Figure 47 The Device Manager Window Step 4 Highlight ESP COM to be removed and click the Action tab at the top of window then clickUninstall A confirm Device Removal window will appear Removi...

Page 31: ...ing a direct connection to upload the firmware to the Serial Server set the baud rate to 115200 for the fastest possible upload Step 3 Set the Serial Port field to upgrade and click the Update button...

Page 32: ...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 Ensure all the DIP sw...

Page 33: ...e Configuration The restart message will appear Step 6 Select Yes to save changes This is necessary to write the settings to the server Using a Password If a password is used it must be entered before...

Page 34: ...plorer type the IP Address of the Serial Server into the address field near the top of the window and press the Enter key The following window will appear Figure 52 The Web Server Page Using the Web S...

Page 35: ...s to the Serial Server Settings for each Port must be saved separately N No ot te e If new property settings are not saved before leaving this page they will not take effect Return to the main Server...

Page 36: ...Telnet and the IP address of the Serial Server to be configured then click OK Figure 55 The Run dialogue box N No ot te e The Serial Server must be in RS 232 RS 422 or RS 485 mode before you can Telne...

Page 37: ...c 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 b...

Page 38: ...e 9 pin D type male DB 9M DTE software selectable as RS 232 422 or 485 ESP902 Two 9 pin D type male DB 9M DTE Port 1 software selectable as RS 232 422 or 485 Port 2 RS232 only DC Power Ultra miniature...

Page 39: ...ort 1 Baud Rate 9600 Data Stop 8 1 Parity None Flow Control None TCP UDP Protocol ESP901 serial port TCP ESP902 Ports 1 2 TCP Serial timeout 0 seconds TCP alive timeout 0 minutes Connection Mode Serve...

Page 40: ...k Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com RS 232 Straight through Cable Connections In the RS 232 mode the Serial Server s ports are configured as DTEs like a comp...

Page 41: ...Connections RS 232 Connections 74 Appendix A 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...

Page 42: ...lines are outputs and RXD lines are inputs Connect the Serial Server TXDB line to the RXDB line of the serial device and the Serial Server TXDA to the RXDA of the serial device If Flow Control is set...

Page 43: ...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 69 RS 422 Connection with No Flo...

Page 44: ...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 respond...

Page 45: ...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 72 Pin out for a Standard Ethernet Cable Network Connections 82 Appendix D Manual Documentation Num...

Page 46: ...il 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...

Reviews: