
• Packet number (32-bit integer)
• Zero or more lines of ASCII (text) keys and values associated with these keys (for example
temperature key and process temperature in Celsius)
The
packet number
is echoed back without change. The client (software on computer) can
use the packet number to check the response against the packet number of the request.
The
message text
consists of lines of text, each line a single key (of one word) and its value or
values. The values are separated from the key by an equal sign ( = ) and multiple values are
separated by a comma. White space (space or tabulator) is allowed anywhere except within a
single value or key name.
If the response consists of a character string, it is enclosed in double quotes ("). For example,
all these are valid message text lines:
ok
temp = 23.45
StatusMessage = "Normal Operation"
All the key identifiers, see
Request-response pair specification (page 38)
, are
case- insensitive. However, it is recommended that they are written as in this
specification.
The server (refractometer) may send the response keys in any order. The server sends the
mandatory keys of the specific request, marked with an asterisk in
, but it may omit any other keys. The server may also send keys that
are not specified in this document, but the client (computer) may ignore them.
9.1.3 Request and response errors
When the server (refractometer) detects an error, it responds with an error message. For more
information, see
Error message specification (page 40)
. An error message can be caused, for
example, by an unknown request or inability to collect data for the mandatory keys of a
response.
9.2 Request-response pair specification
The following table describes the query messages, i.e. request-response pairs, used for data
collection using the Ethernet connection.
Those response keys that are always sent are preceded by an asterisk (*).
PR-43 Series User Guide
M212455EN-B
38
Содержание K-PATENTS PR-43
Страница 1: ...M212455EN B User Guide Process Refractometer PR 43 Series...
Страница 24: ...Figure 18 Verification page PR 43 Series User Guide M212455EN B 22...
Страница 50: ......
Страница 52: ......
Страница 53: ......
Страница 54: ...www vaisala com...