Technical Manual

Table Of Contents
TR-8000 Technical manual 4-14
4 DESCRIPTION OF SENTENCE FORMAT
The following provides a summary explanation of the approved sentence structure according to IEC 61162:
$aaccc, c---c*hh<CR><LF>
ASCII
HEX
Description
"$"
24
Start of sentence: starting delimiter
aaccc
Address field: alphanumeric characters identifying type of talker,
and sentence formatter. The first two characters identify the
talker. The last three are the sentence formatter mnemonic code
identifying the data type and the string format of the successive
fields. Mnemonics will be used as far as possible to facilitate
read-outs by users.
","
2C
Field delimiter: starts each field except address and checksum
fields. If it is followed by a null field, it is all that remains to
indicate no data in a field.
c---c
Data sentence block: follows address field and is a series of data
fields containing all of the data to be transmitted. Data field
sequence is fixed and identified by the third and subsequent
characters of the address field (the sentence formatter). Data
fields may be of variable length and are preceded by delimiters ",".
"*"
2A
checksum delimiter: follows last data field of the sentence. It
indicates that the following two alpha-numeric characters show
the HEX value of the checksum.
hh
Checksum field: the absolute value calculated by exclusive-
OR'ing the eight data bits (no start bits or stop bits) of each
character in the sentence between, but excluding, "$" and "*".
The hexadecimal value of the most significant and least
significant four bits of the result are converted to two ASCII
characters (0-9, A-F) for transmission. The most significant
character is transmitted first. The checksum field is required in all
cases.
<CR><LF>
0D 0A
End of sentence: sentence terminating delimiter.