background image

 

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

 

 

 

R

R

S

S

-

-

2

2

3

3

2

2

 

 

/

/

 

 

R

R

S

S

-

-

4

4

2

2

2

2

 

 

/

/

 

 

R

R

S

S

-

-

4

4

8

8

5

5

 

 

M

M

u

u

l

l

t

t

i

i

-

-

I

I

n

n

t

t

e

e

r

r

f

f

a

a

c

c

e

e

 

 

E

E

t

t

h

h

e

e

r

r

n

n

e

e

t

t

 

 

S

S

e

e

r

r

i

i

a

a

l

l

 

 

S

S

e

e

r

r

v

v

e

e

r

r

s

s

 

 

 

 

M

M

o

o

d

d

e

e

l

l

s

s

:

:

 

 

E

E

S

S

P

P

9

9

0

0

1

1

,

,

 

 

E

E

S

S

P

P

9

9

0

0

1

1

E

E

,

,

 

 

E

E

S

S

P

P

9

9

0

0

2

2

,

,

 

 

E

E

S

S

P

P

9

9

0

0

2

2

E

E

 

 

 

 

 

 

 

 

 

 

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: 

[email protected]

 -- 

Fax

 (815) 433-5109 

Technical Support

 e-mail: 

[email protected]

 -- 

Fax

 (815) 433-5104 

 

 

 

European Headquarters 

B&B Electronics Ltd. 

Westlink Commercial Park 

Oranmore, Co.  Galway, Ireland 

 

Phone

 +353 91-792444 -- 

Fax 

+353 91-792445 

Website: 

www.bb-europe.com

 

Sales

 e-mail: 

[email protected]

 

Technical Support

 e-mail: 

[email protected]

 

 

© B&B Electronics – October 2005 

Summary of Contents for RS-232

Page 1: ...rs 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 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...

Page 2: ...hange 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 referenc...

Page 3: ...N 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 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 792...

Page 4: ...IGURATION 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 Straight through Cable Connections 72 RS 232 Crossover null modem Cable Connections 72 RS 232 Straight through DB 9 to DB 25 Conversion Connections 73 RS 232 Crossover DB 9 to DB 25 Conversion Connections...

Page 5: ...Port 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 Upload for future revisions upgrades Configuration of Ethernet and serial port settings can be accomplished using any of four methods o VLINX ESP Manager Software for Windows allows configuration via a...

Page 6: ...e 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 4 Chapter 1 Manual Documentation Number ESP901 902_4105m B B Electr...

Page 7: ...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 Software Installation Using the CD included with the Serial Server install the VLINX ESP Manager software on the configuring computer Serial Server Configuration Step 1 Open the ESP Manager software It will...

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 Step 1 From the Windows Start menu run HyperTerminal Step 2 Configure HyperTerminal to connect using the COM port configured in the last section e g Port 15 Step 3 Set Baud Rate Data Parity Stop and ...

Page 9: ...om 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 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 standard R...

Page 10: ...e 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 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 Oranmor...

Page 11: ...are 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 Connections 14 Chapter 2 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 Electronic...

Page 12: ...mit 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 RI In RTSA Figure 11 Serial Connection Pin outs for RS 232 RS 422 RS 485 N No ot te e For more information on RS 232 RS 422 and RS 485 pin outs cable connections and loopback connections refer to ...

Page 13: ...ation 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 click Start button At the Run command line type D start exe then click OK D is the drive letter for the CD ROM Figure 12 The Run Dialogue Box The Install Shield Wizard window will be displayed Insta...

Page 14: ...o 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 The recommended procedure is to Remove all installed components first Once the software has been removed Install the new software Opening the ESP Manager Step 5 If the Serial Server i...

Page 15: ...et 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 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 ...

Page 16: ...iguration 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 screen that displays the following information associated with the selected serial port o Serial TX Displays the number of bytes of data sent to the serial device since the IP connection was establi...

Page 17: ...OM 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 port mapped to each Serial Server port IP Address Displays the IP Address for the Serial Server All ports in a Serial Server have the same IP address Protocol Displays the currently selected TCP or ...

Page 18: ...currently 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 and store the Server configuration settings Details for setting Properties are described in the next chapter Using ESP Manager 28 Chapter 4 Manual Documentation Number ESP901 902_4105m B B Electroni...

Page 19: ...arch 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 want to re enter Server Properties to verify the changes have taken effect or to view change the configuration of other ports Each port must be configured separately Using ESP Manager 30 Chapter 4 Ma...

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 Manager Server Properties Window Server Name This field displays the name that has been assigned to the Serial Server A new Server Name of up to 16 characters can be entered If more than one Serial Serve...

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 DOS command window Server Properties Configuration 34 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 ...

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

Page 23: ...he 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 selected and the server updated the selected serial port will become an RS 422 serial port on the server Server Properties Configuration 38 Chapter 5 Manual Documentation Number ESP901 902_4105m B B Electro...

Page 24: ...B 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 verify the changes have taken effect or to view change the configuration of other ports Each port must be configured separately Saving Configuration Data in Console Mode or Telnet Saving updating server ...

Page 25: ...d 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 No ot te e If you leave any Web Server page without saving any changes you have made will be ignored Server Properties Configuration 42 Chapter 5 Manual Documentation Number ESP901 902_4105m B B Elec...

Page 26: ...ations 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 COM Port Installation Step 1 From the Windows Desktop click Start Programs B B Electronics VLINX ESP Servers Install Virtual COM The Search Setup window will appear Step 2 Select the Search all reac...

Page 27: ...None 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 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...

Page 28: ...4 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 in the Device Manager if Windows does not auto refresh Installing Virtual COM Port 48 Chapter 6 Manual Documentation Number ESP901 902_4105m B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa...

Page 29: ...p1 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 to be removed Figure 44 The ESP Manager Window Removing Virtual COM Ports 50 Chapter 7 Manual Documentation Number ESP901 902_4105m B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 613...

Page 30: ...to 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 Removing Virtual COM Ports 52 Chapter 7 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 ...

Page 31: ...sing 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 Ensure that the DIP switches on the ESP901 or ESP902 are all in the OFF position Upgrade Mode 54 Chapter 8 Manual Documentation Number ESP901 902_4105m B B Electronics Mfg Co Inc 707 Dayton Rd PO Box...

Page 32: ...r 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 switches are in the ON position Step 5 To view the Configuration Menu press the space bar The menu will appear within a few seconds Using Console Mode 56 Chapter 9 Manual Documentation Number ESP901 90...

Page 33: ...he 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 the Configuration screen can be seen If the server is accessed with a password but no changes are made Reset to end before disconnecting Using Console Mode 58 Chapter 9 Manual Documentation Number E...

Page 34: ...xplorer 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 Server 60 Chapter 10 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 ...

Page 35: ...es 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 by clicking on Server on the left side of the browser window Using the Web Server 62 Chapter 10 Manual Documentation Number ESP901 902_4105m B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 ...

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 Telnet to it and access the configuration screens If it was last configured in Console mode you may not be able to access it using Telnet In this case use ESP Manager Console Mode or Web Server for config...

Page 37: ...nc 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 Step 7 Once all the changes have been made move to the Save field and select Enter The restart message will appear Figure 57 Saving and Restarting the Configuration Step 8 Select Yes to ...

Page 38: ...ne 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 phone jack 2 5mm Tip Sleeve ESP901 and ESP902 Technical Data 68 Chapter 12 Manual Documentation Number ESP901 902_4105m B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 43...

Page 39: ...port 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 Server Delimiter HEX 1 00 Delimiter HEX 2 00 Force transmit 0 ms TCP UDP port ESP901 serial port 4000 ESP902 Port 1 4000 ESP902 Port 2 4001 Serial port mode Console Max connection 1 Remote IP Address 255 ...

Page 40: ...Pk 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 computer If the device connected to the Serial Server is configured as a DCE use a straight through cable wired as shown below Figure 61 Straight through DB 9 to DB 9 RS 232 Serial Cable RS 232 Crossover...

Page 41: ...e 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 elec com B B Electronics Ltd Westlink Commercial Pk Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com RS 232 DTE Loopback Connections Figure 65 Loopback Connections for RS ...

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 for RTS CTS connect the Serial Server RTSB to CTSB of the serial device and the Serial Server RTSA line to the CTSA of the serial device Connect from the Serial Server CTSB line to the RTSB of the se...

Page 43: ...8 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 Flow Control RS 422 Connections 78 Appendix B 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 el...

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 try swapping the Data B and Data A lines Figure 71 2 wire RS 485 Connection To connect 4 Wire RS 485 devices the RS 422 Mode can be used provided the Serial Server will be connected as a master in a...

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

Page 46: ...ail 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 353 91 792444 Fax 353 91 792445 Website www bb europe com Sales e mail sales bb europe com Technical Support e mail support bb europe com B B Electronics October 2005 84 Manual Documentation Number ...

Reviews: