B&B Electronics ESP901E User Manual

Size:
2.87 Mb
Download

RS-232Connections

APPENDIX A: RS-232CONNECTIONS

Serial Server DB-9Pin-outsinRS-232Mode

 

 

 

 

RS-232

DTE

RS-232

DB-9M

Signal Name

 

 

Pin

Carrier Detect

In

DCD

1

Receive Data

In

RXD

2

Transmit Data

Out

TXD

3

Data Terminal Ready

Out

DTR

4

Signal Ground

---

GND

5

Data Set Ready

In

DSR

6

Request To Send

Out

RTS

7

Clear To Send

In

CTS

8

Ring Indicator

In

RI

9

Figure 60. RS-232Connections in aDB-9Connector

Manual Documentation Number: ESP901-902-3704

Appendix A

71

RS-232Connections

RS-232Straight-throughCable Connections

In the RS-232mode, theSerial Server’s ports are configured as DTEs like a computer. If the device connected to theSerial Server is configured as a DCE use a straight through cable wired as shown below:

RS-232Signal Names

 

DB-9

Connections

DB-9

Signal

 

 

 

Pin#

 

Pin#

 

Carrier Detect

 

CD

1

 

1

CD

Receive Data

 

RD

2

 

2

RD

Transmit Data

 

TD

3

 

3

TD

Data Terminal Ready

 

DTR

4

 

4

DTR

Signal Ground/Common

 

GND

5

 

5

GND

Data Set Ready

 

DSR

6

 

6

DSR

Request to Send

 

RTS

7

 

7

RTS

Clear to Send

 

CTS

8

 

8

CTS

Ring Indicator

 

RI

9

 

9

RI

Figure 61. Straight-throughDB-9toDB-9RS-232Serial Cable

RS-232Crossover (null modem) Cable Connections

When connecting to a PC or another DTE device, use a crossover cable (also called a null modem cable).

RS-232Signal Names

 

DB-9

Connections DB-9Signal

 

 

Pin#

Pin#

 

Carrier Detect

CD

1

1

CD

Receive Data

RD

2

2

RD

Transmit Data

TD

3

3

TD

Data Terminal Ready

DTR

4

4

DTR

Signal Ground/Common

GND

5

5

GND

Data Set Ready

DSR

6

6

DSR

Request to Send

RTS

7

7

RTS

Clear to Send

CTS

8

8

CTS

Ring Indicator

RI

9

9

RI

Figure 62.Crossover DB-9toDB-9RS-232Serial Cable

72

Appendix A

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

RS-232Connections

RS-232Straight-throughDB-9toDB-25Conversion Connections

Figure 63. DB-9toDB-25Straight-throughCable Connections

RS-232CrossoverDB-9toDB-25Conversion Connections

RS-232Connections

RS-232DTE Loopback Connections

Figure 65. Loopback Connections for RS-232

For Transmit and Receive loopback, connect only those lines.

When Flow Control setting on the Serial Server is set for RTS/CTS, those lines must be looped. Usually DTR and DSR must also be looped. The Flow Control setting for the program must match the Server settings. The CD connection is needed by some terminal programs to simulate Carrier.

Figure 64. DB-9toDB-25Crossover (null modem) Cable Connections

Manual Documentation Number: ESP901-902-3704

Appendix A

73

74

Appendix A

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

RS-422Connections

APPENDIX B: RS-422CONNECTIONS

Serial Server DB-9Pin-outsinRS-422Mode

 

 

 

 

RS-422

 

 

DB9M

Signal Name

Direction

RS-422

Pin

Receive Data A (−)

In

RXDA (−)

1

Receive Data B (+)

In

RXDB (+)

2

Transmit Data B (+)

Out

TXDB (+)

3

Transmit Data A (−)

Out

TXDA (−)

4

Signal Ground

---

GND

5

Clear to Send A (−)

In

CTSA (−)

6

Clear to Send B (+)

In

CTSB (+)

7

Request to Send B (+)

Out

RTSB (+)

8

Request to Send A (−)

Out

RTSA (−)

9

Figure 66. RS-422Connections in aDB-9Connector

Manual Documentation Number: ESP901-902-3704

Appendix B

75

RS-422Connections

Serial Server pin-out

 

 

RS-422

in RS-422mode

 

 

Device

RS-422Signal Names

DB-9

Connections

Signal

 

 

Pin#

 

 

Receive A (-)

RXDA(-)

1

 

TDA(-)

Receive B (+)

RXDB(+)

2

 

TDB(+)

Transmit B (+)

TXDB(+)

3

 

RDB(+)

Transmit A (-)

TXDA(-)

4

 

RDA(-)

Ground

GND

5

 

GND

 

Clear to Send A (-)

CTSA(-)

6

 

RTSA(-)

Clear to Send B (+)

CTSB(+)

7

 

RTSB(+)

Ready to Send B (+)

RTSB(+)

8

 

CTSB(+)

Ready to Send A (-)

RTSA(-)

9

 

CTSA(-)

Figure 67. RS-422Connections with Flow Control

In the RS-422mode, TXD lines are outputs and RXD lines are inputs. Connect theSerial Server TXDB(+) line to the RXDB(+) line of the serial device, and theSerial Server TXDA(-)to theRXDA(-)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 theCTSA(-)of the serial device. Connect from theSerial Server CTSB(+) line to the RTSB(+) of the serial device and from theSerial Server CTSA(-)line to the RTSB(+) line of the serial device.

If connecting to Receive Only RS-422devices, connect from theSerial Server TXDB(+) andTXDA(-)lines to the receive pairs on all serial devices.

Ground is signal ground and provides a common mode reference for the RS-422Receiver and Transmitters.

Note:

The RS-422mode can be used for full duplex4-wireRS-485operation provided that the serial server is acting as a sole master connecting to all the slave devices, and all slave devices share the Receive signal lines to the master. Set Flow Control for none, and omit connections to RTS/CTS line pairs.

76

Appendix B

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

 

 

RS-422Connections

 

RS-422Connections

 

 

 

 

 

 

 

 

 

 

Figure 68. Loopback Connections for RS-422

The RS-485Connections are half duplex, either Receive or Transmit, so another half duplex device must be used to check operation.

Figure 69. RS-422Connection with No Flow Control

Manual Documentation Number: ESP901-902-3704

Appendix B

77

78

Appendix B

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

RS-485Connections

 

RS-485Connections

APPENDIX C: RS-485CONNECTIONS

Serial Server DB-9Pin-outinRS-485Mode

 

 

 

 

 

RS-485

 

Direction

RS-485

DB9M

Signal Name

 

 

 

Pin

Data B (+)

 

In/Out

DATA B (+)

3

Data A (−)

 

In/Out

DATA A (−)

4

Signal Ground

 

---

GND

5

Figure 70.

DB-9Pin-outinRS-485Mode

 

Note:

Some RS-485devices are marked opposite theRS-485standard, which defines the Data B line as positive relative to Data A during a Mark state before enabling the transmitter, and after transmitting beforetri-stating.If anRS-485device does not respond, try swapping the Data B and Data A lines.

Figure 71. 2-wireRS-485Connection

To connect 4-WireRS-485devices, theRS-422Mode can be used provided theSerial Server will be connected as a master in a single master system. If using multiple masters, theSerial Server cannot be used, as it does nottri-statethe transmitter inRS-422mode.

Manual Documentation Number: ESP901-902-3704

Appendix C

79

80

Appendix D

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

Network Connections

APPENDIX D: NETWORK

CONNECTIONS

Standard Ethernet Cable RJ-45Pin-out

 

 

 

 

RJ-45Pin

Signal

Wire Color

RJ-45Pin

1

TX+

White-Green

1

2

TX+

Green

2

3

RX+

White-Orange

3

4

Not 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-outfor a Standard Ethernet Cable

Manual Documentation Number: ESP901-902-3704

Appendix D

81

Network Connections

Crossover Ethernet Cable RJ-45Pin-out

 

 

 

 

RJ-45Pin

Signal

Wire Color

RJ-45Pin

1

TX+

White-Green

3

2

TX+

Green

6

3

RX+

White-Orange

1

4

Not used

Blue

4

5

Not used

White-Blue

5

6

RX-

Orange

2

7

Not used

White-Brown

7

8

Not used

Brown

8

Figure 73. Pin-outfor a Crossover Ethernet Cable

82

Appendix D

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

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 Electronics Ltd.

Westlink Commercial Park

Oranmore, Co. Galway, Ireland

Phone +35391-792444--Fax +35391-792445

Website: www.bb-europe.com

Sales e-mail: sales@bb-europe.com

Technical Support e-mail: support@bb-europe.com

© B&B Electronics – September 2004

Manual Documentation Number: ESP901-902-3704

83

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com

84

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- Fax815-433-5104www.bb-elec.com B&B Electronics Ltd – Westlink Commercial Pk – Oranmore, Galway, Ireland – Ph +35391-792444– Fax +35391-792445www.bb-europe.com