![Campbell RainVUE Series Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/campbell/rainvue-series/rainvue-series_product-manual_3912341046.webp)
(no service request will be sent by the sensor). In transparent mode (see
[p. 44]), the user asserts this command to obtain data.
Depending on the type of data returned and the number of values a sensor returns, the data
logger may need to issue
aD0!
up to
aD9!
to retrieve all data. A sensor may return up to 35
characters of data in response to a
D
command that follows an
M!
or
MC!
command. A sensor
may return up to 75 characters of data in response to a
D
command that follows a
C!
or
CC!
command. Data values are separated by plus or minus signs.
Command:
aD0!
(
aD1!
…
aD9!
)
Response:
a<values><CR><LF>
or
a<values><CRC><CR><LF>
where
a
= sensor address
<values>
= values returned with a polarity sign (+ or –)
<CR><LF>
= terminates the response
<CRC>
= 16-bit CRC code appended if data was requested with
aMC!
or
aCC!
C.1.11 Continuous measurement command (aR0! … aR9!)
Sensors that are able to continuously monitor the phenomena to be measured can be read
directly with the
R
commands (
R0!
…
R9!
). The response to
R
commands mirrors the send data
command (
aD0!
). A maximum of 75 characters can be returned in the
<values>
part of the
response to the
R
command.
C.1.12 Extended commands
Many sensors support extended SDI-12 commands. An extended command is specific to a make
of sensor and tells the sensor to perform a specific task. They have the following structure.
Responses vary from unit to unit. See the sensor manual for specifics.
Command:
aXNNNN!
The command will start with the sensor address (
a
), followed by an
X
then a set of optional
letters, and terminate with an exclamation point.
Response:
a<optional values><CR><LF>
The response will start with the sensor address and end with a carriage return/line feed.
RainVUE-Series SDI-12 Precipitation Sensors
43