31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX<br />

C.2 S1 Type (Data Record: 2-Byte Address)<br />

This is a record to store object data that can be represented in two bytes (0x<strong>00</strong><strong>00</strong> to<br />

0xFFFF).<br />

■ S1 Type (Data Record: 2-byte Address)<br />

Figure C.2-1 S1 Type (Data Record: 2-byte Address)<br />

S 1 I1 I2 a1 a2 a3 a4 d1 d2 d3 d4 d* d* s1 s2<br />

(a) (b) (c) (d) (e) (f)<br />

2 bytes 2 bytes 4 bytes n bytes 2 bytes<br />

The S1 type consists of the above five fields (a) to (e).<br />

(a):<br />

Type field. "S1" (0x5331) in ASCII code.<br />

(b):<br />

Indicates the number of bytes in (c), (d), and (e).<br />

(See the description in Appendix "C.1 S0 Type (Header Record)".)<br />

(c):<br />

Indicates the address allocated to the first data of (d).<br />

a1 indicates the high-order digits and a4 indicates the low-order digits. Values in the range of 0 to 65535<br />

can be set.<br />

It is "<strong>00</strong><strong>00</strong>" to "FFFF" in ASCII notation and "0x30303030" to "0x46464646" in hexadecimal notation.<br />

(b):<br />

Object data. Actual 1-byte data is represented by 2-byte ASCII code. In the above figure, d1 and d2 are<br />

byte data at the address indicated by (c).<br />

Likewise, d3 and d4 are byte data of the next address.<br />

(e):<br />

Checksum.<br />

(See the description in Appendix "C.1 S0 Type (Header Record)".)<br />

(f):<br />

Generally, control code (such as CR and LF) is added.<br />

(See the description in Appendix "C.1 S0 Type (Header Record)".)<br />

356

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

Saved successfully!

Ooh no, something went wrong!