21-35. Programming Commands; 21-36. Terminal Mode; Error Messages - Motorola R-20018 Manual

Communications system analyzer
Table of Contents

Advertisement

21-34. Exponent Magnitude. The exponent magnitude is a single digit with a value from 0 to 9. The digit
indicates the negative power of ten that is to be multiplied with the data value to obtain the units listed in table
21-3.
21-35. Programming Commands.
Table 21-3 lists the programming commands available for the system
analyzer. The table identifies the category and type of command, the data limits and units, the command
function, and any display, function, or mode change that would occur.
21-36. Terminal Mode.
When the command 'CD12' is used, the system terminal mode is enabled. The
terminal mode allows the analyzer's CRT display and keyboard to perform as a limited function 1/0 terminal.
Possible uses for 'the terminal mode would be to provide test instructions to a test operator at an auto test
station.
21-37.
Display Format.
Once the 'CD12' command has been sent the terminal mode has been entered. All
further ASCII valid characters sent from the controller will appear
Ol)
the CRT display. The total display area
on the CRT is 15 lines of 30 characters each. Character entry on the
c'i:n
is on the bottom line. Each line feed
character causes the bottom line to move up one place. If more than 30 lines are entered, the top lines are lost
off the top of the display. A list of valid ASCII characters for the display is provided In table 21-4 All invalid
characters are ignored in the terminal mode.
21-38.
Keyboard Entry.
In the terminal mode the keyboards on the analyzer may be used to input data to the
bus controller. The ten numeric keys and the left cursor key have predefined ASCII characters. The character
corresponds to the number on the key for the numeric keys. For the left cursor key, carriage return and line
[ ·
feed characters are sent. The down cursor key causes a bus service request to be generated regardless of the
· ·
operating mode. Thus this key could be used to halt an automatic test sequence.
21-39. The remaining pushbuttons are defined, prior to entering the terminal mode, with the use of the
keyboard control commands listed in table 21-3. Each key is assigned an ASCII character by following the Kn
command prefix with the decimal equivalent of the binary ASCII code for that character. A list of valid ASCII
characters and their binary and decimal equivalents are listed in table 21-4.
21-40.
Data that is entered from the keyboard is stored in a 9 character buffer until addressed by the bus
controller. If more than 9 keypresses occur before the controller accesses the analyzer, the excess inputs are
lost. Once the controller has addressed the analyzer, the analyzer transmits the character data to the
controller. The analyzer will continue to transmit, or hold up the bus handshake if no keys have been pressed,
until the left cursor key is pressed. Thus every data string entry from the keyboard mustterminatewith the left
cursor key. As the data is transmitted to the controller it is also entered onto the CRT display.
21-41. Terminal Mode Exit.
An ASCII end of transmission character {EOT) sent from the controller will
terminate the terminal mode. When the mode is terminated the analyzer returns to the Gen/Mon Mtr display,
and is ready to accept new command inputs.
21-42. Error Messages. Error messages are generated by the analyzer to help the programmer troubleshoot
his program. As control commands are received by the analyzer, they are decoded to determine the command
sent. If the analyzer is unable to decode the command it generates an error message and ignores all
succeeding commands. To clear the error condition the bus controller must address the analyzer as a talker so
that the error message will be transferred to the controller.
21-8
ASCII
Char.
Binary
SP
00100000
!
00100001
..
00100010
#
00100011
$
00100100
%
00100101
&
00100110
00100111
{
00101000
)
00101001
00101010
+
00101011
'
00101100
-
00101101
00101110
I
00101111
0
00110000
1
00110001
2
00110010
3
00110011
4
00110100
5
00110101
6
00110110
7
00110111
8
00111000
9
00111001
00111010
.
00111011
00111100
:
00111101
00111110
?
00111111
ASCII
Char.
EOr
BELL
BSP
LF
CR
Table 21-4. Terminal Mode ASCII Characters
Printable Characters
Equivalent
ASCII
Hex
Dec
Char.
Binary
20
32
@
01000000
21
33
A
01000001
22
34
B
01000010
23
35
c
01000011
24
36
D
01000100
25
37
E
01000101
26
38
F
01000110
27
39
G
01000111
28
40
H
01001000
29
41
I
01001001
2A
42
J
01001010
29
43
K
01001011
2C
44
L
01001100
20
45
M
01001101
2E
46
N
01001110
2F
47
0
01001111
30
48
p
01010000
31
49
Q
01010001
32
50
R
01010010
33
51
s
01010011
34
52
T
01010100
35
53
u
01010101
36
54
v
01010110
37
55
w
01010111
38
56
X
01011000
39
57
y
01011001
3A
58
z
01011010
39
59
[
01011011
3C
60
01011100
30
61
l
01011101
3E
62
01011110
3F
63
-
01011111
NON-PRINTING CHARACTERS
Equivalent
Binarv
Hex
00000100
04
00000111
07
00001000
08
00001010
OA
00001101
00
•causes exit from terminal mode
21-9
Equivalent
Hex
Dec
40
64
41
65
42
66
43
67
44
68
45
69
46
70
47
71
48
72
49
73
4A
74
49
75
4C
76
40
77
4E
78
4F
79
50
80
51
81
52
82
53
83
54
84
55
85
56
86
57
87
58
88
59
89
5A
90
59
91
5C
92
50
93
5E
94
5F
95
Dec
4
7
8
10
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

R-20028

Table of Contents