Serial data configuration - 6, Rs-485 support - 6, Programming the second character - 8 – B&B Electronics 232XS5 User Manual

Page 5

Advertising
background image

232XS5-1005 Manual

5

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

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

Table 4. DTE MASTER PORT CHART

The 232XS5 supports the following RS-232 signals: TD, RD,

SG, RTS, CTS, DCD, DSR and DTR.

NOTE: All other lines are not connected.

The Smart Switch selects port A as the default port at power up.

Table 3. DCE MASTER PORT CHART

Master Port

(DCE)

Signal

A,B,C,D & E Ports

(DTE)

Pin# Direction

Description

Pin# Direction

3 Input

Transmit

Data

(TD) 3 Output

2 Output

Receive

Data

(RD)

2 Input

7

Input

Request to Send (RTS)

7

Output

8

Output

Clear to Send (CTS)

8

Input

4

Input

Data Terminal Ready (DTR)

4

Output

6

Output

Data Set Ready (DSR)

6

Input

1

Output

Data Carrier Detect (DCD)

1

Input

5 <------->

Signal

Ground

(SG)

5 <----->

Master Port

(DTE)

Signal

A,B,C,D & E Ports

(DCE)

Pin# Direction

Description

Pin# Direction

3 Output

Transmit

Data

(TD)

3 Input

2 Input

Receive

Data

(RD) 2 Output

7

Output

Request to Send (RTS)

7

Input

8

Input

Clear to Send (CTS)

8

Output

4

Output

Data Terminal Ready (DTR)

4

Input

6

Input

Data Set Ready (DSR)

6

Output

1

Input

Data Carrier Detect (DCD)

1

Output

5

<------->

Signal Ground (SG)

5

<----->

232XS5-1005

Manual

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

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

6

Serial Data Configuration

In order for the host device that is connected to the master port

to select any of the five ports, the Smart Switch must be set to
match the host's communication format. Dipswitch “SW1” is used to
select the communication format of the Smart Switch. Switch
positions 1 through 3 select the baud rate. Switch position 4 selects
7 or 8 data bits. Switch position 5 determines if parity is enabled or
disabled.

NOTE: A data format of 7 data bits, no parity and one stop is

not

allowed.

Switch position 8 selects the port configuration, see section

titled "Port Configuration". Refer to Table 1. Always power down
the smart switch when changing switch settings.

RS-485 Support

RS-485 support may be

provided by adding a Model
485SD9TB RS-232 to RS-485
converter or other recommended
device to the slave ports of the
232XS5.

Port power of about 30 mA may be applied through the DTR line

(Pin 4) of the slave ports with jumper JP1-JP5. Normally, the
jumpers are set to allow DTR to pass from the master port. To
enable port power on a slave port, move the jumper from the“OFF”
to “ON” position on the corresponding JP jumper. To allow DTR to
pass from the master port to the slave port, move jumper from “ON”
to “OFF” on the corresponding JP jumper. DTR can only pass
through when the port is selected and the jumper is set to the “OFF”
position on the corresponding slave port JP jumper.

Table 5. Port Power Jumpers

* = FACTORY DEFAULT

Jumper

JP1-5


Setting

“OFF” DTR

passed

*

“ON” Port

Power

Advertising