B. printable prefix codes – Western Telematic CAS-161A User Manual

Page 16

Advertising
background image

B.

Printable Prefix Codes

Since the Prefix code is transmitted through the opened port, it is
best to select a non-printable Prefix Code. The procedure for
selecting the Prefix Code is described in Section 3. If your
application requires a printable code, refer to the ASCII code
chart below. Remember:

·

Switch positions 1 - 7 correspond to ASC bits B1 - B7 on
the chart.

·

Switch positions should be ON for a 0 and OFF for a 1.

Example: To select the “@” character for a printable Prefix
code: B1 - B7 on the chart shows 0 0 0 0 0 0 1 for “@”.
Therefore, Sw1 - Sw6 should be ON and Sw7 OFF.

B7 ¾¾¾¾¾¾¾¾¾¾¾¾¾¾®

0

0

0

0

1

1

1

1

B6 ¾¾¾¾¾¾¾¾¾¾¾¾¾¾®

0

0

1

1

0

0

1

1

B5 ¾¾¾¾¾¾¾¾¾¾¾¾¾¾®

0

1

0

1

0

1

0

1

­Bits

®

b4

¯

b3

¯

b2

¯

b1

¯

Col®

Row¯

0

1

2

3

4

5

6

7

0

0

0

0

0

NUL DLE

SP

0

@

P

`

p

0

0

0

1

1

SOH DC1

!

1

A

Q

a

q

0

0

1

0

2

STX DC2

2

B

R

b

r

0

0

1

1

3

ETX DC3

#

3

C

S

c

s

0

1

0

0

4

EOT DC4

$

4

D

T

d

t

0

1

0

1

5

ENQ NAK

%

5

E

U

e

u

0

1

1

0

6

ACK SYN

&

6

F

V

f

v

0

1

1

1

7

BEL ETB

¢

7

G

W

g

w

1

0

0

0

8

BS

CAN

(

8

H

X

h

x

1

0

0

1

9

HT

EM

)

9

I

Y

i

y

1

0

1

0

10

LF

SUB

*

:

J

Z

j

z

1

0

1

1

11

VT

EXC

+

;

K

[

k

{

1

1

0

0

12

FF

FS

,

<

L

\

l

|

1

1

0

1

13

CR

GS

-

=

M

]

m

}

1

1

1

0

14

SO

RS

.

>

N

^

n

~

1

1

1

1

15

SI

US

/

?

O

_

o

DEL

Apx-2

Appendices

Advertising