Ascii Octal And Hex Formats, Codes 30-37 And 50-58; Ascii-Octal And Hex Formats - Data I/O 298 Manual

Universal programmer
Table of Contents

Advertisement

A
single data byte can be aborted if the programmer
receives an "E" character between a space and a carriage
return. Data will continue to be stored in sequential RAM
addresses. The entire data transfer can be aborted by
pressing any mode key (COPY, VERIFY, SELECT or EDIT).
Data output to a printer will have one address and one
byte of data on each line. The programmer first sends an
STX (optionally), then the data, and finally an ETX.
A.5.6 ASCII OCTAL AND HEX FORMATS,
CODES 30-37 AND 50-58
Each of these formats has a start and end code, and
similar address and sum-check specifications. Figure A-5
ASCII-Octal (Space), Format Code 30 (or 35)
2
252 252 252 252=:::
'\'
,,_
3
4
ASCII-Octal (Percent). Format Code 31 (or 36)
2
252 % 252 %252
o,o
252
0,0 .:_·,,
' '
' ' '
3
4
ASCII-Octa! !Apostrophe!.
Format
Code 32
2
252'252'252'252' :'":
'''
,.,
3
4
ASCII-Octal SMS. Format Code 37
2
&--.:-_-)
$A000<11/J0/'
252'252'252'252' ,--;
'\'
,,
3
7
NOTES:
1. Start code is nonprintable STX - CTRL B
(optionally SOH - CTRL A).
2.
Optional address code may precede any data byte.
Up to six address digits in octal formats, four in
hex followed by a comma (except ASCII Hex
Comma Format which is followed by a period).
illustrates 4 data bytes coded in each of the 9 ASCII-Octal
and Hex formats. Data in these formats is organized in
sequential bytes separated by the execute character (space,
percent, apostrophe,
or commai.
Characters immediately
preceding the execute character are interpreted as data.
ASCII-Hex and Octal formats can express 8=bit data, by 2
or 3 octal, or 1 or 2 hex characters. Line feeds, carriage
returns and other characters may be included in the data
stream as long as a data byte directly precedes each
execute character.
ASCII-Hex (Space), Format Code 50 (or 55)
2
1--.C,l$A0000l'
AAAAAAAAC'
''''"'
3
4
ASCII-Hex (Percent). Format Code 51 (or 56)
2
1 --->-()$A0000l
AA%AA%AA%AA%0
\
\ '
,,
3
4
ASCII-Hex (Apostrophe), Format Code
52
2
1-.C$A0000f
AA'AA'AA'AA'C•
\ \
',,
3
4
ASCII-Hex SMS, Format Code 57
2
6--.()$A0000,f
AA' AA' AA' AA'C
\ \
,,,
3
7
ASCII-Hex (Comma), Format Code 53 (or 58)
2
1 _.,.C:$A0000f
AA.AA,AA.AA,C·........._
\ \ \ \
"-
3
4
3.
Execute code.
4. End code is a nonprintable ETX - CTRL C.
5. Data can also be expressed in 4-bit form.
6. Start code is nonprintable SOM - CTRL R.
7" End code is a nonprintable EOM - CTRL T.
Figure A-5. ASCII-Octal and Hex Formats
A-5
10-990-0013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 298 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents