94
Appendix C
Serial interfaces
C.1
Protocols
C.1.1
Sommer
protocol
A data string of the
Sommer
protocol has the following format (example):
#M0000G00se01 17.25|02 65.13|03 2.41|04 7.08|05 145.2|06
0.3|07 0.6|08 12.0|1978;
Header
The header (
#M0000G00se
) identifies the data by system key, device number and string number.
Parameter
Format
Description
Start character
#
Identifier
M
M
identifies an output string
System key
dd
Device number
dd
Command ID
G
G
defines an output string with string number
String number
dd
01…49
Main values
50…99
Aux values
Command
se
se
identifies automatically sent values
Table 16: Header of the
Sommer
protocol
Measurement value
A measurement value (
02 65.13|
has a length of 8 digits and is returned together with its index.
If the measurement value is a decimal number one digit is reserved for the decimal character. Values
are returned right-aligned, so blanks may occur between index and value.
Parameter
Format
Description
Index
dd
2 numbers
Value
xxxxxxxx
8 character right-aligned
Separator
|
Table 17: Values in
Sommer
protocol
End sequence
The data string is terminated with a CRC-16 in hex format (
1978
) followed by an end character and
<CR><LF>
. The CRC-16 is described in Appendix