6. Translation Formats
UniSite-xpi User Manual
6-5
ASCII Binary Format, Codes 01, 02, and 03(or 05, 06, and 07)
In these formats, bytes are recorded in ASCII codes with binary digits
represented by Ns and Ps, Ls and Hs, or 1s and 0s, respectively. See
Figure 6-1. The ASCII Binary formats do not have addresses.
Figure 6-1 shows sample data bytes coded in each of the three ASCII
Binary formats. Incoming bytes are stored in RAM sequentially starting
at the first RAM address. Bytes are sandwiched between B and F
characters and are separated by spaces.
Data can also be expressed in 4-bit words. The programmer generates the
4-bit format on upload if the data word width is 4 bits. Any other
characters, such as carriage returns or line feeds, may be inserted between
an F and the next B.
The start code is a nonprintable STX, which is a CTRL-B (the same as a
hex 02). The end code is a nonprintable ETX, which is a CTRL-C (the
same as a hex 03).
Figure 6-1
An Example of ASCII Binary Format
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
2
FORMAT 01 (OR 05)
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
2
FORMAT 02 (OR 06)
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
2
1
3
1
3
1
3
FORMAT 03 (OR 07)
LEGEND
Start Code - nonprintable STX - CTRL B is the optional Start Code
Characters such as spaces, carriage returns and line feeds may appear between bytes
End Code - nonprintable ETX - CTRL C
1
2
3
0074-2
Summary of Contents for UniSite-xpi
Page 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Page 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Page 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Page 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Page 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Page 402: ...Keep Current Subscription Service 6 Keep Current ...