METEK GmbH uSonic-2
19
3.3 Serial data output
The serial data output always starts with a letter. This letter signalizes the
status of the uSonic-2 (Exception: PR=8, see chapter 3.3.1). This letter is
called indicator, followed by a colon „:“.
After this colon the content of the dataset will follow..
Examples:
M:...DATASET... (Measured data, Heater off)
Display of dataset, heater off.
H:...DATASET... (Measured data, Heater on)
Display of dataset, heater on.
D:…DATASET… (Measured data, Heater Defect)
Display of dataset, heater on,
but heater defect.
T:19.05.09 14:50:00 (Time Message)
M:…DATENSATZ… (Measured data, Heater off)
Timestamp with following dataset,
heater off.
C:AT? (Command Message)
Every command will be reflected after
applying with the ENTER key.
R:AT=10 (Reply Message)
Display of system information after
request of the user or after reset.
E:unknown symbol (Error Message)
Error message at invalid values or
unknown entered commands.
One dataset consists of one line. Additional a timestamp before and an error
message after this dataset is possible.
Every line is closed by a CR-LF (carriage return – line feed) sequence.