T200 User's Manual SECTION 6: T200 FUNCTIONAL OVERVIEW
PAGE 6-76
6.13.2.5 BLOCK DATA FORMAT
Write Block Data to T200
Block data is different from parameter data in that it may be relatively large. Block data is written to the T200 in
sections of up to 64 bytes, known as paragraphs.
The command code for writing a block of data to the T200 is 18 . The data required is:
• Block number.
• Paragraph number.
Paragraphs should be written in the correct order (starting at 0), and should all be 64 bytes long except for the last, which
may be up to 64 bytes long.
To write a paragraph of block data, the following message (series of bytes) should be sent to the T200:
Byte Value Meaning
1 LN Length of command (Paragraph size + 5)
2 00 Address
3 18 Command (Write paragraph of block data)
4 PA Paragraph no
5 BL Block number
6 DA0 Data byte 0
7 DA1 Data byte 1
:
N+6 DAN Data byte N
N+7 CK Checksum
T200 Acknowledgement to Block Data Write
There is no data returned with an acknowledgement to a block data write command. The acknowledgement would take
the form:
Byte Value Meaning
1 4 Length of command
2 128 Address
3 18 Acknowledge write paragraph of block data
4 2 Acknowledge status
5 152 Additive Check sum MODULO 256 of 4, 128, 18, 2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com