3980xpi Users Manual - Data I/O Corporation
3980xpi Users Manual - Data I/O Corporation
3980xpi Users Manual - Data I/O Corporation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Translation Formats<br />
ASCII Binary Format, Codes 01, 02, and 03 (or 05, 06, and 07)<br />
In these formats, bytes are recorded in ASCII codes with binary digits<br />
represented by Ns and Ps, Ls and Hs, or 1s and 0s respectively. See<br />
Figure 5-1. The ASCII Binary formats do not have addresses.<br />
Figure 5-1 shows sample data bytes coded in each of the three ASCII Binary<br />
formats. Incoming bytes are stored sequentially in RAM starting at the first<br />
RAM address. Bytes are sandwiched between B and F characters and are<br />
separated by spaces.<br />
Figure 5-1. ASCII Binary Format (example)<br />
FORMAT 01 (OR 05)<br />
FORMAT 02 (OR 06)<br />
FORMAT 03 (OR 07)<br />
1<br />
1<br />
1<br />
2<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF<br />
2<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF<br />
2<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
B11111111F B11111111F B11111111F B11111111F<br />
1<br />
LEGEND<br />
Start Code - nonprintable STX - CTRL B is the optional Start Code<br />
2 Characters such as spaces, carriage returns and line feeds may appear between bytes<br />
3 End Code - nonprintable ETX - CTRL C<br />
0074-2<br />
<strong>Data</strong> can also be expressed in 4-bit words. The programmer generates the<br />
4-bit format on upload if the data word width is 4 bits. You can insert any other<br />
character, such as carriage returns or line feeds, between an F and the next B.<br />
The start code is a nonprintable STX (a CTRL-B, same as a hex 02). The end<br />
code is a nonprintable ETX (a CTRL-C, same as a hex 03).<br />
Note: <strong>Data</strong> without a start or end code may be input to or output<br />
from the programmer by use of alternate data translation format<br />
codes. These are ASCII-BNPF, 05; ASCII-BHLF, 06; ASCII-B10F, 07.<br />
<strong>3980xpi</strong>/3980/3900/2900 User <strong>Manual</strong> 5-3<br />
3<br />
3<br />
3