background image

17

APPENDIX A: ASCII Codes

Appendix A: ASCII Codes

UPPER CASE

OCTAL HEX DECIMAL

100

40

64

@

101

41

65

A

102

42

66

B

103

43

67

C

104

44

68

D

105

45

69

E

106

46

70

F

107

47

71

G

110

48

72

H

111

49

73

I

112

4A

74

J

113

4B

75

K

114

4C

76

L

115

4D

77

M

116

4E

78

N

117

4F

79

O

120

50

80

P

121

51

81

Q

122

52

82

R

123

53

83

S

124

54

84

T

125

55

85

U

126

56

86

V

127

57

87

W

130

58

88

X

131

59

89

Y

132

5A

90

Z

133

5B

91

[

134

5C

92

\

135

5D

93

]

136

5E

94

^

137

5F

95

-

CONTROL CHARACTERS

OCTAL HEX DECIMAL

0

0

0

NUL

1

1

1

SOH

2

2

2

STX

3

3

3

ETX

4

4

4

EOT

5

5

5

ENQ

6

6

6

ACK

7

7

7

BEL

10

8

8

BS

11

9

9

HT

12

A

10

LF

13

B

11

VT

14

C

12

FF

15

D

13

CR

16

E

14

SO

17

F

15

SI

20

10

16

DLE

21

11

17

DC1

22

12

18

DC2

23

13

19

DC3

24

14

20

DC4

25

15

21

NAK

26

16

22

SYN

27

17

23

ETB

30

18

24

CAN

31

19

25

EM

32

1A

26

SUB

33

1B

27

ESC

34

1C

28

FS

35

1D

29

GS

36

1E

30

RS

37

1F

31

US

LOWER CASE

OCTAL HEX DECIMAL

140

60

96

`

141

61

97

a

142

62

98

b

143

63

99

c

144

64

100

d

145

65

101

e

146

66

102

f

147

67

103

g

150

68

104

h

151

69

105

i

152

6A

106

j

153

6B

107

k

154

6C

108

l

155

6D

109

m

156

6E

110

n

157

6F

111

o

160

70

112

p

161

71

113

q

162

72

114

r

163

73

115

s

164

74

116

t

165

75

117

u

166

76

118

v

167

77

119

w

170

78

120

x

171

79

121

y

172

7A

122

z

173

7B

123

{

174

7C

124

|

175

7D

125

}

176

7E

126

~

177

7F

127

del

NUMBERS AND SYMBOLS

OCTAL HEX

DECIMAL

40

20

32

SP

41

21

33

!

42

22

34

"

43

23

35

#

44

24

36

$

45

25

37

%

46

26

38

&

47

27

39

'

50

28

40

(

51

29

41

)

52

2A

42

*

53

2B

43

+

54

2C

44

,

55

2D

45

-

56

2E

46

.

57

2F

47

/

60

30

48

0

61

31

49

1

62

32

50

2

63

33

51

3

64

34

52

4

65

35

53

5

66

36

54

6

67

37

55

7

70

38

56

8

71

39

57

9

72

3A

58

:

73

3B

59

;

74

3C

60

<

75

3D

61

=

76

3E

62

>

77

3F

63

?

Summary of Contents for SW540A-R3

Page 1: ...1000 Park Drive Lawrence PA 15055 1018 724 746 5500 Fax 724 746 0746 Copyright 2000 Black Box Corporation All rights reserved ...

Page 2: ...ek Call 724 746 5500 or fax 724 746 0746 Mail order Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 Web site www blackbox com E mail info blackbox com CUSTOMER SUPPORT INFORMATION MARCH 2000 SW540A R3 SW541C Code Operated Matrix Switch and 4 Port Expansion Board 0 1 2 3 4 5 6 7 8 PWR STATUS CODE OPERATED MATRIX SWITCH ...

Page 3: ...ence Caution Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This digital apparatus does not exceed the Class A limits for radio noise emission from digital apparatus set out in the Radio Interference Regulation of Industry Canada Le présent appareil numérique n émet pas de bruits radioélectriques dépa...

Page 4: ...ix A ASCII Codes 17 Appendix B Installing the 4 Port Expansion Card 18 Appendix C Quick Setup Guide 19 LINKUP Software 1 Introduction 21 1 1 What Is LINKUP 21 12 Hardware Requirements 21 2 Setup and Configuration 23 2 1 Files on the LINKUP disk 23 2 2 Making a Backup Copy 23 2 3 Installing the LINKUP Files on Your Hard Drive 24 2 4 Modifying your AUTEXEC BAT File 24 2 5 Default Settings 25 2 6 Con...

Page 5: ...Code Operated Matrix Switch 4 Hardware Section 0 1 2 3 4 5 6 7 8 PWR STATUS CODE OPERATED MATRIX SWITCH ...

Page 6: ...sure Steel Operating Temperature 32 to 113 F 0 to 45 C Storage Temperature 4 to 158 F 20 to 70 C Humidity 0 to 95 relative noncondensing Mean Time Between Failures 20 000 hours for standard Switch Ground Benign Environment 16 000 hours for standard Switch with 4 Port Expansion Board Power 115 VAC 60 Hz at 175 mA 230 VAC 50 Hz version available Size 2 3 H x 11 2 W x 12 1 D 5 8 x 28 4 x 30 7 cm Weig...

Page 7: ... Switch has 32K of RAM with approximately 31K devoted to buffering The 4 Port Expansion Board Model SW541 C provides four additional input output ports see Appendix B for instructions on setting it up This manual includes a quick reference section Appendix C If you re familiar with the operation of the COMS use the charts in that section to set up the Switch If not proceed through Sections 3 4 and...

Page 8: ... CONFIGURATIONS A number of options can be configured for each port individually You can select Baud rate 110 300 600 1200 2400 4800 9600 or 19 200 bps Parity Even odd or none Data bits per word 7 or 8 Flow Control Hardware DTR CTS or software X ON X OFF Break detection Break to disconnect or ignore breaks 3 Installation BACK PORT 4 PORT 3 PORT 2 PORT 1 PORT 0 DTE DCE J7 U23 U20 J1 W1 VR1 RESET BU...

Page 9: ...ses the first four positions with Positions 5 through 8 reserved for future use The settings and functions of the first four positions of SWF are given in Table 2 Check the chart and then use a pointed object such as a small screwdriver to set the bank Option Switch Position Settings 1 2 3 4 5 6 7 8 Baud Rate 110 ON ON ON 300 OFF ON ON 600 ON OFF ON 1200 OFF OFF ON 2400 ON ON OFF 4800 OFF ON OFF 9...

Page 10: ...D DCE DCE Port 1 RTS to Port 2 DCD Port 2 RTS to Port 1 DCD 3 2 Configuring Shunt Jumpers for DTE or DCE Each of the five or nine ports has a bank of shunt jumpers located next to its port connector on the rear of the internal board or boards See Fig 1 for their location These jumpers allow each port to be configured as either Data Terminal Equipment DTE or Data Communications Equipment DCE You do...

Page 11: ... Expansion Board of the COMS 3 Plug the wall mounted power supply into a suitable outlet The Switch is now ready Go on to Chapter 4 to learn about the Switch s controls and indicators You ll control your switch mostly through ASCII codes you send from the devices connected to it There are however mechanical controls and indicators on the Code Operated Matrix Switch This chapter begins with the mec...

Page 12: ...switch is to use the Remote Reset command See RR in Section 4 3 2 4 3 ASCII Control Codes The Code Operated Matrix Switch accepts com mands from any port No one port is designated as a master port A single command consists of the attention string followed by a command sequence that may be from one to three characters long The Help screen shown in Fig 2 presents all the command sequences for the Sw...

Page 13: ...ctional link between these two ports unlink If these two ports are not linked to each other the Code Operated Matrix Switch sends a message to the port that issued the command indicating that the unlink was not made Otherwise the two ports will be unlinked and the Code Operated Matrix Switch sends a message to the port that issued the command indicating that the unlink was successful HELP SCREEN C...

Page 14: ...tring followed by a B and a PORT NUMBER it sends a 250 millisecond break condition out the indicated port Then it sends a message to the port that issued the command indicating that the break was sent NOTE Any port can issue the Send Break command For example Port 3 could issue a command to send a break out Port 4 A Set Attention When the Code Operated Matrix Switch receives an ATTENTION string fo...

Page 15: ...itch detects an incoming break condition it will either act on it or ignore it depending on how DIP Switch Position 8 is set on each port If Position 8 is ON then when any port on the Code Operated Matrix Switch is linked to another port and receives a break condition the two ports will be unlinked The Code Operated Matrix Switch sends a message to the port that requested the break condition to in...

Page 16: ... that checks whether data is being correctly transmitted and received on any particular port This test also checks using DTR CTS RI or RTS DCD whether the box can loop control leads back properly The Interrupt Test checks the interrupt circuitry of the Switch During this test the letter A will appear on the screen A message will indicate whether the test passed or failed NOTE To perform a data tes...

Page 17: ... PORT 6 FAILED FAILED FAILED PORT 7 FAILED FAILED FAILED PORT 8 FAILED FAILED FAILED SERIAL PORT TEST FAILED INTERRUPT TEST IN PROGRESS A INTERRUPT TEST PASSED RAM TEST 64K RAM IS GOOD LED TEST IN PROGRESS ALL LEDS SHOULD TURN ON AND OFF PRESS ANY KEY TO EXIT 5 2 Sample Test Program Here is a sample test program written in BASIC for the Code Operated Matrix Switch When run this program will output...

Page 18: ...25 15 21 NAK 26 16 22 SYN 27 17 23 ETB 30 18 24 CAN 31 19 25 EM 32 1A 26 SUB 33 1B 27 ESC 34 1C 28 FS 35 1D 29 GS 36 1E 30 RS 37 1F 31 US LOWER CASE OCTAL HEX DECIMAL 140 60 96 141 61 97 a 142 62 98 b 143 63 99 c 144 64 100 d 145 65 101 e 146 66 102 f 147 67 103 g 150 68 104 h 151 69 105 i 152 6A 106 j 153 6B 107 k 154 6C 108 l 155 6D 109 m 156 6E 110 n 157 6F 111 o 160 70 112 p 161 71 113 q 162 7...

Page 19: ...e bottom of the Expansion Board is seated firmly in the socket of the main board 5 Screw the 8 screwlocks into the holes along the row of expansion ports Also set screws into the standoffs 6 Set the baud rate parity word size flow control and break detection capacity with DIP Switch Banks SWH through SWK Use the chart on the next page 7 Set each expansion port for DTE or DCE operation with the DIP...

Page 20: ... character changes to Port 0 only OFF All ports can change port names and attention characters 3 ON Perform self test see Section 5 OFF Normal operation 4 ON DCD RTS passed through OFF DCD RTS blocked 5 8 Reserved for future use Functions and Settings Switch Bank SWF Appendix C Quick Setup Guide Individual Port Switch Banks Internal Board Locations Option Switch Position Settings 1 2 3 4 5 6 7 8 B...

Page 21: ...LINKUP Software for the Code Operated Matrix Switch LINKUP PC SUPPORT PROGRAM Version 2 0 Copyright 1992 Black Box Corporation All rights reserved ...

Page 22: ...n diagnostic tests or enter a dumb terminal emulation program so you can communicate directly with the COMS if you wish With LINKUP you can check to see whether a shared device is in use by someone else If it s free LINKUP will help you create a link from your computer to the device Once you are linked through the COMS you can exit from LINKUP Your regular application programs can now use the shar...

Page 23: ...Test SW540 s 232 Outputs Test SW540 Baud Rate View Set Attention Strings Set Port Name Send Break to COMS Send Break out COMS Port Save Links in NVR Disconnect All Lines Reload Factory Defaults Restore Saved Links Reset Display Software Version View Current Links Make Regular Link Make Transparent Link Unlink Linked Ports Break Your Trans Reg Link MAIN MENU OTHER OPTIONS MENU SPECIAL COMMANDS MENU...

Page 24: ...ation All rights reserved DOS gives you two ways to make a backup copy If you have only one disk drive use the DISKCOPY command If you have two disk drives you ll probably find it more convenient to use COPY If your disk drive can t format a blank disk to match the format of the LINKUP disk you ll have to use the COPY command See your DOS manual for help with any of the DOS commands used below 2 2...

Page 25: ... Modifying Your AUTOEXEC BAT File You might need to use a number of DOS commands to set up your system for LINKUP If you add them to your AUTOEXEC BAT file they ll run automatically when you turn your machine on and you won t have to type them in again every time you run LINKUP Reboot your PC after modifying your AUTOEXEC BAT file If you don t know how to create or edit the AUTOEXEC BAT file See y...

Page 26: ...inter Port 1 to Communications Port 1 NOTE You must use the MODE COM command to specify the asynchronous communications mode before you can redirect parallel printer output to the COM port with the MOD LPT command See your DOS manual for more information on the MODE command 2 5 Default Settings The COMS hardware and LINKUP support program should be shipped from the factory with the following defau...

Page 27: ...the hardware section in the front of this manual for more detail To configure LINKUP install the program Then use the built in menu commands to configure the support software see Fig 1 Menus in the Linkup Software for more details For DOS use the MODE COM command to configure COM port parameters see Section 2 4 2 DOS MODE Command for more details ...

Page 28: ...eak your Transparent Link with the BREAK YOUR LINK menu option in the Link Menu 3 2 Sending Data with DOS You can use the DOS PRINT command to send data through the COMS unit The PRINT command will let you send a file out your PC s COM port using the baud rate and word structure defined by the last MODE COM command see Section 2 4 2 DOS MODE Command The PRINT command con figures the COM port for h...

Page 29: ...rd structure set up in the last DOS MODE COM command See Section 2 4 2 Most of these programs will also use hardware flow control Most other application programs are designed to send data to an attached parallel printer With these programs you need to redirect the parallel printer output to a communications COM port and configure the COM ports parameters There are two ways to redirect the output 1...

Page 30: ... to save their attention string changes remember to turn SWF Position 1 to OFF and reset the COMS again PROBLEM Just a few of the LINKUP commands don t work correctly like the Break Your Trans Reg Link command Make sure the COMS unit s BREAK DETECTION option is set to Break to Disconnect for your port See the COMS user s manual to find out which Switch Bank is assigned to your port then make sure ...

Page 31: ... for the LINKUP support program to execute all of its menu options PROBLEM I m still having problems If you still need help check these sources Your COMS user s manual for information on hardware problems LINKUP s on line help information Your DOS manual for help on any of the DOS commands and also on EDLIN the editing pro gram you can use to create or change your AUTOEXEC BAT file NOTE You have t...

Reviews: