Chapter 5: selecting dipswitch settings - pg 9 – B&B Electronics 232SPS2 User Manual

Page 7

Advertising
background image

232SPS2-3903 Manual

Chapter 5: Selecting Dipswitch Settings

9

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

CHAPTER 5: SELECTING DIPSWITCH SETTINGS

The 232SPS2 is set up using an eight-position dipswitch. In

order for the 232SPS2 to function properly, it must be set up to
match your system's requirements. The following parameters on the
232SPS2 are set on the dipswitch: converter direction, baud rate,
flow control, number of data bits, and the type of parity. Each of the
parameters are briefly described below. For specific parameter
settings, refer to Table 5.1.

Converter direction - Can operate as a parallel to serial
converter or as a serial to parallel converter. The direction is
set by dipswitch position 8.

Baud rate - Can be set from 1200 to 115.2k baud. The baud
rate is determined by dipswitch positions 1-3.

Flow control - Can be set for DTR control or XON/XOFF
control. The type of flow control used is determined by
dipswitch position 4.

Data bits - Can be set for 7 or 8 data bits. The number of
data bits is determined by dipswitch position 5.

Parity - Can be enable or disabled by dipswitch position 6. If
parity is enabled, dipswitch position 7 determines whether
the parity is even or odd.

10

Chapter 5: Selecting Dipswitch Settings

232SPS2-3903 Manual

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

Table 5.1



Example #1 - Parallel to Serial Mode, hardware handshaking, 9600
baud, 8 data bits, no parity
Dipswitch position settings for Example #1 ("X" = don't care)

1

2

3

4

5

6

7

8

ON

ON OFF ON OFF OFF X

ON


Example #2 - Serial to Parallel Mode, XON/XOFF flow control, 2400
baud, 7 data bits, odd parity
Dipswitch position settings for Example #2

1

2

3

4

5

6

7

8

ON

OFF OFF OFF ON ON ON OFF

Setting DIP

SWITCH

POSITION

1

2

3

4

5

6

7

8

1200 Baud

OFF

OFF

OFF

X

X

X

X

X

2400 Baud

ON

OFF

OFF

X

X

X

X

X

4800 Baud

OFF

ON

OFF

X

X

X

X

X

9600 Baud

ON

ON

OFF

X

X

X

X

X

19.2K Baud

OFF

OFF

ON

X

X

X

X

X

38.4 Baud

ON

OFF

ON

X

X

X

X

X

57.6K Baud

OFF

ON

ON

X

X

X

X

X

115.2K Baud

ON

ON

ON

X

X

X

X

X

XON/XOFF

X X X

OFF

X X X X

DTR

control

X X X

ON

X X X X

8

Data

bits X X X X

OFF

X X X

7

Data

bits X X X X

ON

X X X

No

parity X X X X X

OFF

X X

Parity

enable

X X X X X

ON

X X

Even parity

X

X

X

X

X

X

OFF

X

Odd parity

X

X

X

X

X

X

ON

X

Serial to Par.

X

X

X

X

X

X

X

OFF

Par. to Serial

X

X

X

X

X

X

X

ON

Advertising