Herunterladen Inhalt Inhalt Diese Seite drucken

Format Of The Answers - HBM WE2108 Serie Referenzhandbuch

Teil 2
Vorschau ausblenden Andere Handbücher für WE2108 Serie:
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

72
2.2
After detection of the end character, the received characters are interpreted as command
and an answer is generated in the normal case. Answers consist of ASCII characters and
are concluded with two end characters. The answer to a command is "0" (after correct exe-
cution) or "?" (if errors occur). In the case of queries the WE2108 gives the required value as
answer.
The end characters CR and LF are set ex works. Deviating characters (ASCII code),
which then are output as end character with all answers, can also be set by the user in
the ioSEt menu. CR (0D hex) and LF (0A hex) are stated as end characters in the
examples of this Manual. A start character which is sent before each answer (factory
setting 0 = deactivated) can also be stated in the same menu.
Remarks:
HBM

Format of the answers

Entry
Correct command
Correct query (e.g. ASF?)
Measured value query (MSV?;)
Inadmissible parameter value
Blocked function (e.g. legal−for−trade
values)
Unknown command
Incomplete command abbreviations, individual characters and the end character without
preceding command are also considered as unknown command.
The command RES delivers no answer. However, pseudo characters or errors (framing
error) can be generated at the interface by restarting the electronics.
In the broadcast mode (with S98 activated) no answers are output.
The Select command (Sxx) itself delivers no answer, but can cause the output of the pre-
viously stored answer.
The command BDR delivers the answer in the new baud rate.
The number of the characters output as answer differs according to command, but does
not dependent on the current value of the queried parameter. The user software can
either be set to the fixed length or can read all characters up to the end character. This
does not apply for the binary output after MSV?; , see COF command!
Answer
0 (as ASCII character)
Parameter 1, (parameter 2..)
as ASCII character
Format adjustable (see command COF)
?
?
?
Scale electronic unit (NSW)
End code
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
WE2108

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

We2108sWe2108m

Inhaltsverzeichnis