Black Box Switch SW590A R2 User Manual

JULY 1999  
SW590A-R2  
SW590AE-R2  
SW591C  
Code Operated Switch II  
4-Port Expansion Board  
TUS  
A
LINK ST  
R
W
P
1
2
3
4
5
6
7
0
O
L
COS-II  
RESET  
Order toll-free in the U.S. 24 hours, 7 A.M. Monday to midnight Friday: 877-877-BBOX  
CUSTOMER  
SUPPORT  
INFORMATION  
FREE technical support, 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746  
Mail order: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018  
 
Contents  
Contents  
Chapter  
Page  
1 Specifications .............................................................................................................4  
2 Introduction...............................................................................................................5  
3 Installation..................................................................................................................6  
3.1 Introduction..............................................................................................................6  
3.2 Setting the DIP Switches ..........................................................................................6  
3.3 Functions and Arrangements of the Switch Banks................................................7  
3.4 Bank Assignments.....................................................................................................8  
3.5 Configuring Ports with the Individual Port Switch Banks.....................................8  
3.6 Setting Global Characteristics with the System Switch Banks...............................8  
3.6.1 Functions fo Switch Bank SWF ......................................................................8  
3.6.2 Setting the Arming Character with SWG....................................................10  
3.7 Setting Global Characteristics with the Individual Banks ...................................16  
3.8 Configuring Ports for DTE or DCE.......................................................................16  
3.9 Connecting and Powering-Up the COS-II............................................................17  
4 Operation  
4.1 Introduction.......................................................................................................18  
4.2 Creating a Link ..................................................................................................18  
4.3 Signaling a Lock.................................................................................................18  
4.4 Text Mode...........................................................................................................18  
4.5 Graphics Mode...................................................................................................18  
4.6 Indicators............................................................................................................19  
4.7 Front-Panel Button ............................................................................................19  
4.8 Self-Tests .............................................................................................................19  
Quick Reference Guide ..............................................................................................21  
If you’re already familiar with the Code Operated Switch II, and you just need to know how  
to configure the DIP switches, you can turn to the Quick Reference Guide on page 21.  
This product is CE certified. This certificate indicates that the product is suitable for  
use in commercial and light industrial environments as defined in EN 50081-1:1992.  
NOTE  
Shielded interface cables must be used with this product. Call Technical Support  
at 724-746-5500 for guidance in choosing cables.  
3
 
CODE OPERATED SWITCH II  
1. Specifications  
Interface — RS-232 asynchronous (each port individually selectable for DTE or DCE)  
Connectors — Switch: (5) DB25S female; Switch with Expansion Board: (9) DB25S female  
Pins Supported — 1-8, 20, 22  
Speed — 110 to 19,200 bps (selectable by port)  
Memory — 8K buffer  
Enclosure — Steel  
Operating Temperature — 32°F to 113°F (0° to 45°C)  
Humidity — 0 to 95% relative humidity  
Mean Time Between Failures — Standard Switch: 20,000 hours; Switch with Expansion Board: 16,000 hours  
Indicators —LEDs: 1 Power, 1 Lockout, 8 Port-Connected  
Power — 115 VAC (230-VAC version available)  
Size — 2.3"H x 12.2"W x 11"D (5.8 x 31 x 27.9 cm)  
Weight — Switch: 7.5 lb. (3.4 kg); Expansion Board: 0.6 lb. (0.3 kg); Wallmount power supply: 2.1 lb. (1 kg)  
4
 
CHAPTER 2: Introduction  
2. Introduction  
The Code Operated Switch II (COS II) makes  
code-operated switching possible for diverse  
combinations of serial devices. As it switches, the  
COS II also reconciles differences in word size,  
speed, flow control, and parity for up to four  
devices. An Expansion Board, available separately,  
doubles the maximum number of devices, to eight.  
A special graphics timeout lets you send graphics  
files through the Switch without the chance of  
accidental switching. In graphics mode, the COS II  
recognizes the appearance of the control code only  
when the code characters are preceded by a pause  
of a specified length. The COS II treats all other  
occurrences of the control code as data—they are  
passed along to the slave device with the rest of the  
characters in the file.  
Configuration is port-independent: You may set  
different speeds, word sizes, parities, and flow-control  
requirements for each port. The 8K buffer handles  
speed conversions from 110 bps to 19,200 bps. DTE  
and DCE are also independently determined for  
every port.  
Any office, lab, or shop with a variety of serial  
devices will benefit from a COS II. Use it in a typical  
multiprinter office, or to transfer files between  
computers. You could also set up the COS II as the  
link between a single PC and a mixture of high-  
and low-speed remote data lines. The COS II will  
pass your high-speed—9600-bps—data without  
interference, while the internal buffer of the COS  
will downshift PC data for the slower modems.  
A control sequence manages the switching for the  
COS II. The COS II will accept the sequence from  
any port—the master port, which will ordinarily  
have a PC or terminal connected to it, or any of  
the four (or eight) slave ports.  
5
 
CODE OPERATED SWITCH II  
3.1. Introduction  
3. Installation  
switches for the internal options of the COS II.  
Then, you’ll specify DTE or DCE for each port by  
setting shunt jumpers. Finally, you’ll cable the  
Switch to your devices and connect power to the  
COS II.  
In addition to this manual, your Switch package  
should contain one standard switch unit and a  
wallmounted power supply. After you’ve unpacked  
the Switch, take a few minutes to look through this  
manual. You will need a screwdriver large enough to  
remove the case screws, and a small screwdriver or  
other edged tool for setting DIP switches. Also, you  
might want to refer to the manuals of the devices  
you plan to connect to the COS-II.  
3.2. Setting the DIP switches  
In order to set the DIP switches, you’ll need to open  
the case of the COS-II. There are several screws on  
each side. Remove them, and lift the case lid from  
the body of the COS-II. The board layout of your  
unit should match the diagram shown below  
(Fig.1).  
Installing the COS-II is a simple, three-step task  
that should take no more than an hour to  
complete. First, you’ll configure all of the DIP  
(BACK)  
PORT 4  
PORT 3  
PORT 2  
PORT 1  
PORT 0  
DTE  
DCE  
DTE  
DCE  
DTE  
DCE  
DTE  
DCE  
DTE  
DCE  
W1  
R1  
J7  
J1  
U20  
U23  
RESET BUTTON  
VR1  
S1  
INDIVIDUAL PORT SWITCHES  
SYSTEM SWITCHES  
(SWF & SWG)  
PORT 4  
PORT 3  
PORT 2  
PORT 1  
PORT 0  
SW  
G
SW  
F
SW  
E
SW  
D
SW  
C
SW  
B
SW  
A
STATUS INDICATORS  
CH0CH1CH2CH3CH4CH5CH6CH7CH8  
PWR  
(FRONT)  
Fig. 3-1. Board Layout for the COS-II.  
6
 
CHAPTER 3: Installation  
The board layout for the Four-Port Expansion  
Board is shown on this page (Fig. 2). If you have  
ordered one, check your Board to make sure it  
matches.  
A note on terminology: This manual will use the  
following system to designate individual switches  
within each switch bank. The bank label will be  
given first, followed by a hyphen and then the  
number of the DIP switch. “SWA-6” refers to the  
sixth DIP switch of Switch Bank A. Also, the words  
“ON” and “OFF” are used in the switch charts, but  
your banks may have the words “CLOSED” and  
“OPEN” printed instead. “CLOSED” is equivalent  
to “ON,” and “OPEN” is equivalent to “OFF.”  
NOTE: Every time you change the DIP switch  
settings, you must press the reset button  
located on the front panel of the switch, or  
unplug the power supply. The COS-II will not  
process any data during a reset.  
You’ll set the following options with Switch Banks  
SWA through SWE (the individual port banks):  
• Data rates, from 110 to 19,200 bps  
• Parity—even, odd, or no parity  
A note on charts: you’ll find all the charts printed in  
this chapter duplicated either in the Appendix or in  
the Quick Reference Guide.  
• Word sizes —7 or 8 bits  
• Flow control by hardware (DTR/CTS) or  
software (X-ON/X-OFF).  
Section 3.4 covers these banks in more detail.  
3.3 Functions and Arrangement of the Switch  
Banks  
On the standard board there are seven banks of DIP  
switches, of which five control the characteristics of  
the individual ports (SWA through SWE). The  
remaining two banks (SWF, SWG) control options  
that affect the entire system. The Four-Port  
Expansion Board adds individual port banks SWH  
through SWK.  
The two banks SWF and SWG (system banks)  
regulate:  
• Responsibility for the Link Command (from  
master or slave port)  
• Automatic timeout period  
• Length of pause in Graphics Mode  
• Lead Pass-Through  
• Arming character  
(BACK)  
PORT 8  
PORT 7  
PORT 6  
PORT 5  
DTE  
DCE  
DTE  
DCE  
DTE  
DCE  
DTE  
DCE  
INDIVIDUAL PORT SWITCHES  
(PORTS 5 THRU 8)  
PORT 8  
PORT 7  
PORT 6  
PORT 5  
OFF  
OFF  
OFF  
OFF  
SWK  
SWJ  
SWI  
SWH  
(FRONT)  
Fig. 3-2. Layout of the 4-Port Expansion Board.  
7
 
CODE OPERATED SWITCH II  
In addition, there are some system characteristics  
that are set with the eighth DIP switch of the  
individual port switch banks. Sections 3.6 and 3.7  
explain these functions in depth.  
3.5.2 PARITY (SWITCHES 4 AND 5)  
Parity  
Set Switch  
4
5
Even  
Odd  
OFF  
ON  
OFF  
ON  
OFF  
OFF  
None  
3.4 Bank Assignments  
3.5.3 WORD SIZE (SWITCH 6)  
The individual port switch banks are assigned as  
follows:  
Size  
Set Switch 6  
OFF  
7 bits per word  
8 bits per word  
ON  
Bank Label  
SWA  
Port  
Master Device Port  
SWB  
SWC  
SWD  
SWE  
0
1
2
3
3.5.4 FLOW CONTROL (SWITCH 7)  
Flow Control  
Set Switch 7  
ON  
Hardware (DTR/CTS)  
Software (X-ON/X-OFF)  
OFF  
The Four-Port Expansion Board provides these  
additional banks:  
3.6 Setting Global Characteristics with the  
System Switch Banks  
Bank Label  
SWH  
Port  
4
Refer to the explanations and the charts below to  
set the system switch banks SWF and SWG.  
SWI  
5
SWJ  
SWK  
6
7
3.6.1 FUNCTIONS OF SWITCH BANK SWF  
Responsibility for the Link Command  
When the COS II receives a control code sequence  
from the proper device, it will establish a  
3.5 Configuring Ports with the Individual Port  
Switch Banks  
communications link between the master port and  
one of the slave ports. If it then receives the lockout  
character—a character with a value of 38 in  
hexadecimal—it will ignore the remaining unlinked  
subordinate ports. For more information on links  
and lockouts, see Sections 4.2 and 4.3.  
To set the switch banks, use a small screwdriver or  
other small object with a clean edge or point. The  
individual port switch banks are identical in  
function, and the set of charts provided on the  
following pages applies to all of them.  
You can set the Switch to accept the command to  
link from only the master port, only a slave port, or  
from either the master or a slave port. Switches  
SWF 1 and SWF 2 designate the origin of the link.  
3.5.1 PORT SPEED (SWITCHES 1, 2, AND 3)  
Speed  
Set Switches  
2
1
3
Set SWF  
110 bps  
300 bps  
600 bps  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
Origin of Command  
master  
slave  
1
2
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
ON  
OFF  
ON or OFF  
ON  
ON  
OFF  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
1200 bps  
2400 bps  
4800 bps  
9600 bps  
19200 bps  
either master or slave  
NOTE: If the slave ports are set up for hardware  
flow control, or if DTR/CTS pass-through is  
enabled, you should set the Switch to  
accept a link command from the master port  
only.  
8
 
CHAPTER 3: Installation  
Automatic Timeout  
Master Slave Leads Passed  
DTE  
DTE  
DCE  
DCE  
DTE  
DCE  
DTE  
DCE  
Master CTS to slave DTR  
The COS II times the intervals between the  
reception of each character and the next. You may  
instruct it to return to an unlinked state after  
intervals of 2.5, 5, or 10 minutes, or you may disable  
this automatic timeout feature. SWF 5 and SWF 6  
control this feature.  
Slave CTS to master DTR  
Master CTS to slave CTS  
Slave DTR to master DTR  
Master DTR to slave DTR  
Slave CTS to master CTS  
Master DTR to slave CTS  
Slave DTR to master CTS  
Set SWF-  
Timeout Setting  
2.5 minutes  
5 minutes  
10 minutes  
Disabled  
5
6
ON  
OFF  
ON  
OFF  
ON  
ON  
OFF  
OFF  
control lead (DTR or CTS) will be dropped to  
prevent data loss.  
If you select Normal Operation, DTR (Pin 20) and  
CTS (Pin 5) are used strictly for buffer control.  
They are not passed straight through the Switch.  
Graphics Pause  
These switch settings are followed only when the  
COS II has been set previously for Graphics Mode  
(for an explanation, see Section 4.5). They  
determine the amount of time that must pass  
before the COS II recognizes a control code  
sequence.  
DCD-to-RTS Pass-Through Mode  
To Set This Mode  
Set SWC 8  
CTS-to-DTR Pass-Through  
Normal Operation  
ON  
OFF  
By providing for this pause, it is possible to send  
graphics files through the unit with no risk that it  
will switch accidentally when it encounters a control  
code sequence, or its binary equivalent. SWF 7 and  
SWF 8 determine the length of the pause.  
If you select DCD-to-RTS Pass-Through, DCD  
(Pin 8) and RTS (Pin 4) are passed straight through  
the Switch. The next table shows how the DTE or  
DCE setting of the port affects the pass-through  
option:  
CTS-to-DTR Pass-Through Mode  
If you select Normal Operation, DCD and RTS are  
Set SWF  
To Set A Pause of  
7
8
Master Slave Leads Passed  
50 milliseconds  
100 milliseconds  
500 milliseconds  
1.5 seconds  
ON  
OFF  
ON  
ON  
ON  
OFF  
OFF  
DTE  
DTE  
DCE  
DCE  
DTE  
DCE  
DTE  
DCE  
Master DCD to slave RTS  
Slave DCD to master RTS  
Master DCD to slave DCD  
Slave RTS to master RTS  
Master RTS to slave RTS  
Slave DCD to master DCD  
Master RTS to slave DCD  
Slave RTS to master DCD  
OFF  
If you choose CTS-to-DTR Pass-Through, CTS  
(Pin 5) and DTR (Pin 20) are passed straight  
through the Switch. The next table shows how the  
DTE or DCE setting of the port affects the pass-  
through option:  
always asserted. They are not passed through the  
Switch.  
NOTE: If the internal buffer fills, the appropriate  
To Set This Mode  
Set SWF 3  
DCD-to-RTS Pass-Through  
Normal Operation  
ON  
OFF  
9
 
CODE OPERATED SWITCH II  
3.6.2 SETTING THE ARMING CHARACTER WITH SWG  
Switch Bank SWG supplies a portion of the control-code sequence, the sequence that activates the Switch.  
The arming character, the ASCII code that alerts the COS-II to an upcoming switch action, is set with SWG.  
The settings are given in the chart below. For a more detailed explanation of control codes, see Section 4.2.  
A note on abbreviations: LSB stands for least significant bit, MSB for most significant bit.  
ARMING CHARACTER SWITCH POSITIONS  
LSB  
1
MSB  
8
ASCII  
NUL  
SOH  
STX  
ETX  
EOT  
ENQ  
ACK  
BEL  
BS  
CTRL  
@
A
B
C
D
E
F
HEX DECIMAL  
2
3
4
5
6
7
00  
01  
02  
03  
04  
05  
06  
07  
08  
09  
0A  
0B  
0C  
0D  
0E  
0F  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
1A  
1B  
1C  
1D  
1E  
1F  
20  
21  
22  
23  
24  
25  
26  
0
1
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
2
OFF  
ON  
3
ON  
4
OFF  
ON  
OFF  
OFF  
ON  
5
ON  
6
OFF  
ON  
ON  
G
H
I
7
ON  
ON  
8
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
HT  
9
ON  
LF  
J
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
OFF  
ON  
ON  
VT  
K
L
ON  
ON  
FF  
OFF  
ON  
OFF  
OFF  
ON  
ON  
CR  
SO  
SI  
M
N
O
P
Q
R
S
T
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
DLE  
DC1  
DC2  
DC3  
DC4  
NAK  
SYN  
ETB  
CAN  
EM  
SUB  
ESC  
FS  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
U
V
W
X
Y
Z
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
[
ON  
ON  
ON  
\
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
GS  
RS  
]
ON  
ON  
ON  
^
OFF  
ON  
ON  
ON  
ON  
US  
_
ON  
ON  
ON  
ON  
SP  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
!
ON  
"
OFF  
ON  
ON  
#
ON  
ON  
$
OFF  
ON  
OFF  
OFF  
ON  
ON  
%
ON  
ON  
&
OFF  
ON  
ON  
10  
 
CHAPTER 3: Installation  
ARMING CHARACTER SWITCH POSITIONS  
LSB  
MSB  
ASCII  
CTRL  
HEX DECIMAL  
1
ON  
2
ON  
3
ON  
4
5
6
ON  
7
8
27  
28  
29  
2A  
2B  
2C  
2D  
2E  
2F  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
3A  
3B  
3C  
3D  
3E  
3F  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
4A  
4B  
4C  
4D  
4E  
4F  
50  
51  
52  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
(
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
)
ON  
ON  
*
OFF  
ON  
ON  
ON  
+
,
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
-
ON  
ON  
ON  
.
OFF  
ON  
ON  
ON  
ON  
/
ON  
ON  
ON  
ON  
0
1
2
3
4
5
6
7
8
9
:
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
;
ON  
ON  
ON  
ON  
<
=
>
?
@
A
B
C
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
ON  
ON  
ON  
ON  
D
OFF  
ON  
OFF  
OFF  
ON  
ON  
E
F
G
H
I
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
J
OFF  
ON  
ON  
ON  
K
L
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
M
N
O
P
Q
R
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
OFF  
ON  
ON  
11  
 
CODE OPERATED SWITCH II  
ARMING CHARACTER SWITCH POSITIONS  
LSB  
MSB  
ASCII  
S
T
U
V
W
X
Y
Z
[
CTRL  
HEX DECIMAL  
1
ON  
2
ON  
3
4
5
ON  
6
7
8
53  
54  
55  
56  
57  
58  
59  
5A  
5B  
5C  
5D  
5E  
5F  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
6A  
6B  
6C  
6D  
6E  
6F  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
7A  
7B  
7C  
7D  
7E  
7F  
83  
84  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
ON  
ON  
85  
ON  
ON  
86  
OFF  
ON  
ON  
ON  
87  
ON  
ON  
ON  
88  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
89  
ON  
ON  
90  
OFF  
ON  
ON  
ON  
91  
ON  
ON  
ON  
\
92  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
]
93  
ON  
ON  
ON  
^
94  
OFF  
ON  
ON  
ON  
ON  
_
`
95  
ON  
ON  
ON  
ON  
96  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
a
b
c
97  
98  
OFF  
ON  
99  
ON  
d
e
f
100  
101  
102  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
117  
118  
119  
120  
121  
122  
123  
124  
125  
126  
127  
OFF  
ON  
OFF  
OFF  
ON  
ON  
OFF  
ON  
ON  
g
h
i
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
j
OFF  
ON  
ON  
k
ON  
ON  
l
OFF  
ON  
OFF  
OFF  
ON  
ON  
m
n
o
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
p
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
q
r
OFF  
ON  
ON  
s
ON  
ON  
t
OFF  
ON  
OFF  
OFF  
ON  
ON  
u
v
w
x
y
z
{
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
}
ON  
ON  
ON  
~
OFF  
ON  
ON  
ON  
ON  
DEL  
ON  
ON  
ON  
ON  
12  
 
CHAPTER 3: Installation  
ARMING CHARACTER SWITCH POSITIONS  
ASCII CTRL HEX DECIMAL  
LSB  
1
MSB  
8
2
3
4
5
6
7
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
8A  
8B  
8C  
8D  
8E  
8F  
90  
91  
92  
93  
94  
95  
96  
97  
98  
99  
9A  
9B  
9C  
9D  
9E  
9F  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A8  
A9  
AA  
AB  
AC  
AD  
128  
129  
130  
131  
132  
133  
134  
135  
136  
137  
138  
139  
140  
141  
142  
143  
144  
145  
146  
147  
148  
149  
150  
151  
152  
153  
154  
155  
156  
157  
158  
159  
160  
161  
162  
163  
164  
165  
166  
167  
168  
169  
170  
171  
172  
173  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
13  
 
CODE OPERATED SWITCH II  
ARMING CHARACTER SWITCH POSITIONS  
LSB  
MSB  
ASCII  
CTRL  
HEX DECIMAL  
1
2
3
4
5
6
7
8
AE  
AF  
B0  
B1  
B2  
B3  
B4  
B5  
B6  
B7  
B8  
B9  
BA  
BB  
BC  
BD  
BE  
BF  
C0  
C1  
C2  
C3  
C4  
C5  
C6  
C7  
C8  
C9  
CA  
CB  
CC  
CD  
CE  
CF  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
D9  
DA  
DB  
DC  
DD  
DE  
174  
175  
176  
177  
178  
179  
180  
181  
182  
183  
184  
185  
186  
187  
188  
189  
190  
191  
192  
193  
194  
195  
196  
197  
198  
199  
200  
201  
202  
203  
204  
205  
206  
207  
208  
209  
210  
211  
212  
213  
214  
215  
216  
217  
218  
219  
220  
221  
222  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
14  
 
CHAPTER 3: Installation  
ARMING CHARACTER SWITCH POSITIONS  
ASCII CTRL HEX DECIMAL  
LSB  
1
MSB  
8
2
3
4
5
6
7
DF  
E0  
E1  
E2  
E3  
E4  
E5  
E6  
E7  
E8  
E9  
EA  
EB  
EC  
ED  
EE  
EF  
F0  
F1  
F2  
F3  
F4  
F5  
F6  
F7  
F8  
F9  
FA  
FB  
FC  
FD  
FE  
FF  
223  
224  
225  
226  
227  
228  
229  
230  
231  
232  
233  
234  
235  
236  
237  
238  
239  
240  
241  
242  
243  
244  
245  
246  
247  
248  
249  
250  
251  
252  
253  
254  
255  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
ON  
OFF  
OFF  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
3.7Setting Global Characteristics with the  
Individual Banks  
The COS II can perform a number of self-tests that  
check the memory, the LEDS, the DIP switches, the  
ports, and the interrupt circuitry of the Switch.  
More information about the self-tests is given in  
Section 4.8.  
Several other system-wide options are specified not  
by the system switch banks, but rather by the eighth  
switch position of the individual port switch banks.  
Explanations and tables are given below.  
For  
Set SWA 8  
OFF  
Normal operation  
Self-test  
Self-Test Function  
ON  
NOTE  
Sending or Suppressing Breaks  
We recommend that you run software  
flow control from your application  
during self-test.  
You can set the COS II either to pass break  
characters along or to block them from reaching  
your devices. SWB 8 controls this function.  
15  
 
CODE OPERATED SWITCH II  
To  
Set SWB 8  
ON  
OFF  
3.8. Configuring Ports for DTE or DCE  
Pass breaks  
Ignore breaks  
A pair of DIP shunts lies behind each DB25  
connector on both the main board and the  
Expansion Unit. The pair eliminates the need for  
crossover cable to connect devices to the Switch.  
You can use standard straight-through cable may be  
used instead, with the DIP shunts acting as  
crossovers.  
Lead Pass-Through  
This function allows the COS II either to pass  
hardware-handshake leads to connected devices, or  
to block them. If they are blocked, the leads will still  
be used to regulate the 8K internal buffer of the  
Switch. The following table shows the behavior of  
the COS II for different combinations of devices.  
A shunt jumper lies in each shunt marked DCE.  
To change the port configuration to DTE, just pry  
the jumper gently from its current shunt, and insert  
it in the DTE DIP shunt.  
Master Slave  
Leads passed  
DTE  
DTE  
DCE  
DCE  
DTE  
DCE  
DTE  
DCE  
Master CTS to slave DTR  
Slave CTS to master DTR  
Master CTS to slave CTS  
Slave DTR to master DTR  
Master DTR to slave DTR  
Slave CTS to master CTS  
Master DTR to slave CTS  
Slave DTR to master CTS  
The chart below provides the signal direction for  
the main RS-232 lines.  
Configured as  
DTE Port  
TXD (2)  
RXD (3)  
RTS (4)  
CTS (5)  
N/A  
DCD (8)  
DTR (20)  
RI (22)  
Signal direction  
Configured as  
DCE Port  
RXD(3)  
TXD (2)  
DCD (8)  
DTR (20)  
DSR (6)  
RTS (4)  
CTS (5)  
N/A  
Output from unit  
Input to unit  
Output from unit  
Input to unit  
Output from unit  
Input to unit  
Output from unit  
Input to unit  
To pass or block leads, use SWC 8.  
To  
Set SWC 8  
Pass leads  
ON  
To block leads  
OFF  
Text or Graphics Mode  
SWD 8 and SWE 8 determine whether the COS II is  
in Graphics Mode or Text Mode. These same  
switches also govern the device that will signal the  
pause when the Switch is in Graphics Mode. (For  
more information on Text and Graphics Modes, see  
Sections 4.4 and 4.5).  
When set for graphics, the COS II can register (1)  
only pauses in data coming from the master port,  
(2) only pauses in data coming from a slave port,  
(3) or pauses in data from all ports, either master or  
slave. Use ththis chart to configure the switch  
properly:  
Set  
Set  
For  
SWD 8 SWE 8  
Text Mode  
OFF  
ON  
OFF  
ON  
Graphics Mode,  
pause from master  
Graphics Mode,  
pause from slave  
Graphics Mode,  
pause from either  
OFF  
ON  
ON  
OFF  
16  
 
CHAPTER 3: Installation  
3. Slide the cover back onto the base of the COS-II,  
and secure it with the screws.  
3.9. Connecting and Powering Up the COS-II  
Once you have configured the internal switches and  
jumpers, you can connect your devices and the  
wallmounted power jack to the COS-II. Before you  
begin, you might wish to check the settings of all  
the DIP switches again, to make sure you have set  
them correctly.  
4. Connect the device cables to the ports.  
5. Plug the wallmounted power supply into a  
standard AC line.  
Before you use the COS-II, you might wish to  
familiarize yourself with the indicators, reset button,  
and self-tests available. Chapter 4 explains these  
features.  
To prepare the COS-II:  
1. Make sure that SWA 8 is set to OFF, that is, to  
normal operation.  
2. Insert the 4-pin power-supply plug in the power-  
supply socket (at J1) on the COS-II circuit board.  
17  
 
CODE OPERATED SWITCH II  
4.1. Introduction  
4. Operation  
4.3 Signaling a Lock  
The primary action of the Switch consists of  
detecting and responding to control-code  
sequences. As it switches to a particular port, the  
COS-II establishes a link between the master and  
the slave device. After the COS-II has switched, it  
can lock the link out, that is, it can ignore all  
requests by other ports until the link is broken.  
After a link has been established, all other ports can  
be blocked from accessing the master port with a  
lock command. Only the master port and the linked  
subordinate port can put the COS-II in lockout, or  
bring it out of lockout.  
To put the COS-II in lockout, send the arming  
character and the ASCII character with a value of 38  
in hexadecimal—ASCII Numeral 8. To take the unit  
out of lockout, send the arming character followed  
by an ASCII character with a value of 39 in  
hexadecimal—ASCII Numeral 9. When the COS-II  
exits lockout, it will break the current link.  
The linking and locking capabilities of the COS-II  
have been covered briefly in Chapter 3. If you are  
familiar with them, you can go on to Sections 4.4  
through 4.8, which cover the modes, indicators, the  
front-panel button, and the self-test feature. If,  
however, you need information on linking and  
locking, read Sections 4.2 and 4.3.  
4.4. Text Mode  
In this mode, the COS-II is activated as soon as it  
receives a control-code sequence. If auto-timeout  
has been selected, it will start its internal timer. The  
text that follows will pass through until another  
arming character appears within. Depending on the  
character that appears next, the COS-II will either  
place itself in lockout, or switch to another port.  
4.2. Creating a Link  
The COS-II creates a link between the master port  
and a slave port when it receives a sequence of  
characters called a control-code sequence. It may  
receive these characters from the master port, a  
slave port, or both types of ports.  
The DIP switch setting for Text Mode is given in  
The control-code sequence consists of two  
characters: an arming character, and a port-select  
character. The arming character warns the Switch  
of an impending switch action, and the port-select  
character specifies the port. ASCII values 0 through  
3 (0 through 7 when the Expansion Board is  
added) are used for the port-select character, while  
any character within the extended ASCII character  
set may be used for arming.  
Section 3.7.  
4.5. Graphics Mode  
In this mode the COS-II will ignore appearances of  
the control-code sequence unless they are preceded  
by a pause of a certain length. Any arming character  
that appears without the pause will be treated as  
data.  
After a link has been established, the COS-II  
begins a timeout countdown. If the COS-II is idle  
for 2.5, 5, or 10 minutes (you set the timing), it will  
return to an unlinked state and disconnect from the  
current port. The timeout can be disabled, and the  
COS-II will then remain connected to the last  
linked port indefinitely.  
The pause may be measured from:  
•the time the last character was sent from the  
master port to the slave port;  
•the time the last character was sent from the  
slave port to the master port;  
• or the time the last character was sent in  
either direction.  
The origin of the link command (from master or  
slave ports), the arming character, and the length of  
the timeout are all determined with DIP switches.  
To set them, turn to Section 3.6.  
Settings for graphics are given in Section 3.7.  
18  
 
CHAPTER 4: Operation  
Explanations and screens for all of these tests are  
4.6. Indicators  
WHICH TESTS SHOULD BE RUN  
(R)AM TEST  
The front panel of the Switch contains 10 LEDs.  
The Power LED, at the extreme right, will glow  
steadily when power is on. The Lockout LED, a  
green LED at the extreme left, will light when the  
unit is in lockout.  
(L)ED TEST  
(D)IP SWITCH TEST  
(S)ERIAL PORT TEST  
(I)NTERRUPT TEST  
(A)LL TESTS  
Each of the eight port LEDs, numbered 0 through  
7, will respond to the action of the COS II. When  
the master port is switched to one of the slaves, the  
corresponding LED will glow continuously.  
given below.  
RAM Test  
RAM TEST 8K RAM IS GOOD  
4.7. Front-Panel Button  
The RAM test checks the internal memory of the  
Switch by writing an internal test pattern, and then  
reading it for accuracy.  
The reset button is located on the front panel of the  
COS-II. After you change one of the DIP switches,  
you must reset the COS-II either by pressing the  
button or by disconnecting power from the unit.  
LED Test  
4.8. Self-Tests  
LED TEST IN PROGRESS, ALL LEDS SHOULD TURN ON AND  
OFF. PRESS ANY KEY TO EXIT.  
The COS-II can diagnose a variety of conditions  
with an array of self-tests. To configure the switch  
for a self-test, set the eighth switch of DIP Switch A  
to ON.  
The LED Test checks the LEDs by turning them all  
off, then on one at a time, then all on, then off one  
at a time. This test tells you if the LEDs are working  
normally or whether any are shorted.  
To run a test, follow these steps:  
DIP Switch Test  
1. Set SWA 8 (the eighth DIP switch of Bank A) to  
ON.  
2. Set  
the master port to DCE with a shunt  
jumper.  
3. Set your terminal for 9600-bps operation, with  
1 stop bit and no parity.  
4. Power the unit.  
DIP SWITCH TEST (MAIN BOARD) HIT ANY KEY TO GO TO  
NEXT TEST  
SWITCHES ARE DISPLAYED IN BINARY (0=OFF, 1=ON)  
SWD  
SWE  
SWF  
SWG  
00010001  
00100100  
10001000  
01010101  
This message will appear on your screen:  
The DIP Switch Test reads the switches and displays  
their settings on the screen. This test tells you  
whether the switches and associated circuitry are  
operating normally and are set up to your  
specifications. The settings will be displayed on  
screen continuously until a key is pressed. When  
you press any key, the box will check the settings  
of the Expansion Board switches. If you haven’t  
installed a Board, disregard the reading.  
If you select R, the COS II will run any of the tests  
CODE OPERATED SWITCH II SELF TEST  
RUN TESTS (R)EPEATEDLY OR (O)NCE  
you request again and again, until you press the  
reset button.  
If you select “O,” you get the message:  
EXPANSION BOARD IS INSTALLED  
DIP SWITCH TEST (EXPANSION BOARD) HIT ANY KEY TO GO  
TO NEXT TEST  
SWITCHES ARE DISPLAYED IN BINARY (0=OFF, 1=ON)  
SWH  
SWI  
SWJ  
SWK  
00010001  
00100100  
10001000  
01010101  
19  
 
CODE OPERATED SWITCH II  
After you have hit a key, the screen will change to:  
Interrupt Test  
Serial Port Test  
INTERRUPT TEST IN PROGRESS  
A
SERIAL PORT TEST (EXPANSION BOARD IS NOT INSTALLED)  
INTERRUPT TEST PASSED  
PORT#  
DATA  
DTR/CTS/RI  
FAILED  
RTS/DCD  
FAILED  
FAILED  
FAILED  
FAILED  
FAILED  
The Interrupt Test checks the interrupt circuitry of  
the unit. During this test, the letter “A” will appear  
on screen. A message will indicate whether the test  
was successful.  
MASTER  
PORT 0  
PORT 1  
PORT 2  
PORT 3  
*
FAILED  
FAILED  
FAILED  
FAILED  
FAILED  
FAILED  
FAILED  
FAILED  
All Tests  
SERIAL PORT TEST FAILED  
If you request All Tests, the COS-II will run all the  
listed tests in sequence.  
The Serial Port Test is a loopback test that checks  
whether data is being correctly transmitted and  
received on any port. The test also checks, using  
DTR/CTS/RI or RTS/DCD, whether the box can  
loop back control leads correctly. To use this test,  
you will need to jumper Pins 2 and 3. To test  
DTR/CTS/RI and RTS/DCD, you’ll need to  
jumper Pins 20, 5, and 22 together, and jumper Pins  
4 and 8 together.  
20  
 
Quick Reference Guide  
Quick Reference Guide  
Individual Port Switch Bank Settings  
Switch Position Setting  
Option  
1
2
3
4
5
6
7
Speed  
110 bps  
ON  
ON  
ON  
300 bps  
600 bps  
OFF  
ON  
OFF  
ON  
OFF  
ON  
OFF  
ON  
ON  
ON  
ON  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
OFF  
OFF  
1200 bps  
2400 bps  
4800 bps  
9600 bps  
19200 bps  
Parity  
none  
even  
odd  
OFF  
OFF  
ON  
OFF  
ON  
OFF  
Word Size  
7 bits per word  
8 bits per word  
Flow Control  
Hardware (DTR/CTS)  
OFF  
ON  
ON  
Software (X-ON/X-OFF)  
OFF  
Settings for Switch Option F  
Switch Position Setting  
Option  
1
ON  
2
ON  
ON  
3
4
5
6
7
8
Link from master  
“ ” from slave  
“ ” from either  
Time Out  
OFF  
ON or OFF OFF  
2.5 minutes  
5 minutes  
10 minutes  
ON  
OFF  
ON  
ON  
ON  
OFF  
OFF  
Disabled  
OFF  
Graphics Pause  
50 milliseconds  
100 milliseconds  
500 milliseconds  
1.5 second  
ON  
OFF  
ON  
ON  
ON  
OFF  
OFF  
OFF  
21  
 
CODE OPERATED SWITCH II  
System Switch Options Available through Position 8  
Switch  
Option  
Self-test  
SWA 8  
ON  
SWB 8  
SWC 8 SWD 8  
SWE 8  
Normal operation  
Pass breaks  
Ignore breaks  
Lead pass-through  
Normal operation  
Graphics Mode  
Pause In  
OFF  
ON  
OFF  
ON  
OFF  
Master Data  
Slave Data  
ON  
ON  
ON  
OFF  
Master or slave data  
Text Mode  
ON  
OFF  
OFF  
OFF  
22  
 
©Copyright 1999. Black Box Corporation. All rights reserved.  
1000 Park Drive • Lawrence, PA 15055-1018 • 724-746-5500 • Fax 724-746-0746  
 

Bella Cucina Slow Cooker BLA13722 User Manual
Black Box Switch gigabit l3 managed switch with 10g uplinks, 24 port or 48 port User Manual
Black Decker Blender SB3000 User Manual
Black Decker Blower GWC1800L User Manual
Blanco Indoor Furnishings 157 074R User Manual
Bowflex Home Gym 31 Bench User Manual
Bretford Scanner UNI1 User Manual
Campbell Hausfeld Welder WS0970 User Manual
Carcomm PDAs Smartphones CMPC 33 User Manual
Casio Digital Camera EX Z77 User Manual