20.01.2013 Views

3980xpi Users Manual - Data I/O Corporation

3980xpi Users Manual - Data I/O Corporation

3980xpi Users Manual - Data I/O Corporation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Translation Formats<br />

Spectrum Format, Codes 12 or 13<br />

In this format, bytes are recorded in ASCII codes with binary digits<br />

represented by 1s and 0s. During output, each byte is preceded by a decimal<br />

address.<br />

Figure 5-5 shows sample data bytes coded in the Spectrum format. Bytes are<br />

sandwiched between the space and carriage return characters and are<br />

normally separated by line feeds. The start code is a nonprintable STX, CTRL-B<br />

(or hex 02), and the end code is a nonprintable ETX, CTRL-C (or hex 03).<br />

Figure 5-5. Spectrum Format (example)<br />

Optional Start Code<br />

is a nonprintable STX<br />

Address Code is 4<br />

decimal digits<br />

0000 11111111<br />

0001 11111111<br />

0002 11111111<br />

0003 11111111<br />

0004 11111111<br />

0005 11111111<br />

0006 11111111<br />

0007 11111111<br />

0008 11111111<br />

0009 11111111<br />

0010 11111111<br />

0011 11111111<br />

0012 11111111<br />

0013 11111111<br />

0014 11111111<br />

0015 11111111 End code is a<br />

nonprintable EXT<br />

4 or 8 data bits appear between the<br />

space and the carriage return<br />

Note: <strong>Data</strong> without a start or end code may be input to or output<br />

from the programmer by use of the alternate data translation<br />

format code, 13.<br />

5-8 <strong>3980xpi</strong>/3980/3900/2900 User <strong>Manual</strong><br />

0077-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!