![Campbell CS451 Product Manual Download Page 45](http://html1.mh-extra.com/html/campbell/cs451/cs451_product-manual_3793103045.webp)
Appendix D. SDI-12 Sensor Support
D-5
TABLE D-3. Example aC! Sequence
Z+1+2+3+4+5+6+7+8+9+10<CR><LF>
Sensor Z immediately responds with
the sensor address and the 10 values.
XD0!
10 seconds later, after a total of 30
seconds have passed, the data logger
starts the process of data from sensor
X by issuing the first
D
command.
X+1+2+3+4+5<CR><LF>
The sensor immediately responds
with the sensor address and the 5
values.
YD0!
Ten seconds later, after a total of 40
seconds have passed, the data logger
starts the process of 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 6
values.
D.2.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 3 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
to learn more about how the CRC
code is developed.
D.2.9 Stopping a Measurement Command
A measurement command (
M!
) is stopped if it detects a break signal. 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.
D.2.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. When the data logger is issuing concurrent commands (
aC!
or
aCC!
),
the Send Data command is issued after the required time has elapsed (no
service request will be sent by the sensor). In transparent mode (Appendix
(p. D-6)
), the user asserts this command to obtain data.