Emerson PMT1 Manuel D’Utilisation

Page de 128
Monitor:
 Remote Host Commands
PmT1 and PmE1 User’s Manual
10002367-02
8-22
Here, the first 02 is the byte count (only the data in the ssss field is 
counted). 0000 is the 
address field; in this record the address field is meaningless, so it is always 0000. The sec-
ond 02 is the record type; in this case, an extended address record. cs is the checksum of all 
the fields except the initial colon.
Example:
=>:020000020020DC
In this example, the segment address is 0020
16
. This means that all subsequent data record 
addresses should have 200
16
 added to their addresses to determine the absolute load 
address.
Data Record
:11aaaa00d1d2d3...dncs
:is the record start character.
11is the record length.
aaaais the load address. This is the load address of the first
data byte in the record (d1) relative to the current
segment, if any.
00is the record type.
d1...dnare data bytes.
csis the checksum.
Example:
=>:0400100050D55ADF8E
In this example, there are four data bytes in the record. They are loaded to address 10
16
; if 
any segment value was previously specified, it is added to the address. 50
16
 is loaded to 
address 10
16
, D5
16
 to address 11
16
, 5A
16
 to address 12
16
, and DF
16
 to address 13
16
. The 
checksum is 8E
16
.
Start Address Record
:04000003ssssoooocs
:is the record start character.
04is the record length.
0000is the load address field, always 0000.
03is the record type.
ssssis the start address segment.
oooois the start address offset.
csis the checksum.
Example:
=>:040000035162000541
In this example, the start address segment is 5162
16
, and the start address offset is 0005
16
so the absolute start address is 51625
16
.
End-of-file Record
00000001FF
:is the record start character.
00is the record length.
0000is the load address field, always 0000.