Herunterladen Inhalt Inhalt Diese Seite drucken

Course Of The Communication; Format Of The Commands - HBM WE2108 Serie Referenzhandbuch

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

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Scale electronic unit (NSW)
2
2.1
Each command consists at least of the command abbreviation (3 ASCII characters) and the
end character. No, one or several parameters as well as a question mark can stand between
the command abbreviation and end character. The commands can be entered in uppercase
or lowercase letters. A command is executed only on detection of the end character. This
can be optionally a line feed (LF) or a semicolon (;). The latter is interpreted as end character
only if it is not included in a text parameter (within quotation marks).
A question mark after the command abbreviation identifies a query command. It causes the
WE2108 to output the current setting of a parameter as answer. The output information is
explained in the descriptions of the commands.
Composition of commands and queries
Example:
Only the following characters are evaluated in received commands:
Other characters at arbitrary position within the command are ignored. For example, the
entry A§SF#7 is interpreted as command ASF7; . In the case of numerical entries, preceding
zeros are suppressed, texts must be included in " " .
In the case of a change of the baud rate or interruption of the interface cable, undefined
characters which are interpreted after the next end character as (faulty) command are
received. Therefore in this case an end character should be sent initially to the WE2108 and
the answer ignored. This process sets command processing to a defined state.
WE2108

Course of the communication

Format of the commands

Command abbreviation
Command
Query
ASF4;
sets the parameter ASF of the WE2108 to the code 4
(filter cutoff frequency 3Hz)
ASF?;
outputs the current value of ASF without influencing
the measuring process in the WE2108.
Uppercase letters
Lowercase letters (same meaning as uppercase letters)
Numbers 0..9
The characters ; , " − ?
Blanks (only in text, i.e. within quotation marks)
LF (line feed)
Parameter
XYZ
XYZ?
End code
P1,P2
LF or ;
P1
LF or ;
71
HBM

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

We2108sWe2108m

Inhaltsverzeichnis