Table C-3: Example aC! sequence
X+1+2+3+4+5<CR><LF>
The sensor immediately responds with the sensor
address and the five values.
YD0!
10 seconds later, after a total of 40 seconds has
passed, the data logger starts the process of
collecting data from sensor Y by issuing the first
D
command.
Y+1+2+3+4+5+6<CR><LF>
The sensor immediately responds with the sensor
address and the six values.
C.1.8 Start measurement commands with cyclic
redundancy check (aMC! and aCC!)
Error checking is done by using measurement commands with cyclic redundancy checks (
aMC!
or
aCC!
). This is most commonly implemented when long cable lengths or electronic noise may
impact measurement transmission to the data logger. When these commands are used, the data
returned in response to
D
or
R
commands must have a cyclic redundancy check (CRC) code
appended to it. The CRC code is a 16-bit value encoded within three characters appended before
the <CR><LF>. This code is not returned in the data table but checked by the data logger as it
comes. The code returned is based on the SDI-12 protocol. See the SDI-12 communication
specification for version 1.4, available at
, to learn more about how the CRC
code is developed.
C.1.9 Stopping a measurement command
A measurement command (
M!
) is stopped if it detects a break signal before the measurement is
complete. A break signal is sent by the data logger before most commands.
A concurrent measurement command (
C!
) is aborted when another valid command is sent to
the sensor before the measurement time has elapsed.
C.1.10 Send data command (aD0! … aD9!)
The send data command requests data from the sensor. It is issued automatically with every type
of measurement command (
aM!
,
aMC!
,
aC!
,
aCC!
). When the measurement command is
aM!
or
aMC!
, the data logger issues the
aD0!
command once a service request has been received
from the sensor or the reported time has expired. When the data logger is issuing concurrent
commands (
aC!
or
aCC!
), the send data command is issued after the required time has elapsed
RainVUE-Series SDI-12 Precipitation Sensors
42