Section 7. Installation
M
command. The maximum number of characters returned in the <values> part
of the response is
75
.
Each
R
command is an independent measurement. For example,
aR5!
need not
be preceded by
aR0!
through
aR4!
. If a sensor is unable to take a continuous
measurement, then it must return its address followed by
<CR><LF>
(carriage
return and line feed) in response to an
R
command. If a CRC was requested, then
the
<CR><LF>
must be preceded by the CRC.
aRv!
Request continuous data from the sensor.
Example Syntax:
aR5!
7.9.18.2 SDI-12 Recorder Mode
The CR1000 can be programmed to act as an SDI-12 recording device or as an
SDI-12 sensor.
For troubleshooting purposes, responses to SDI-12 commands can be captured in
programmed mode by placing a variable declared
As String
in the variable
parameter. Variables not declared
As String
will capture only numeric data.
Another troubleshooting tool is the terminal-mode snoop utility, which allows
monitoring of SDI-12 traffic. Enter terminal mode as described in
SDI-12
Transparent Mode
(p. 267),
issue CRLF (
<Enter>
key) until CR1000> prompt
appears. Type
W
and then
<Enter>
. Type
9
in answer to
Select:
,
100
in answer
to
Enter timeout (secs):
,
Y
to
ASCII (Y)?
. SDI-12 communications are then
opened for viewing.
The
SDI12Recorder()
instruction automates the issuance of commands and
interpretation of sensor responses. Commands entered into the
SDIRecorder()
instruction differ slightly in function from similar commands entered in
transparent mode. In transparent mode, for example, the operator manually enters
aM!
and
aD0!
to initiate a measurement and get data, with the operator providing
the proper time delay between the request for measurement and the request for
data. In programmed mode, the CR1000 provides command and timing services
within a single line of code. For example, when the
SDI12Recorder()
instruction
is programmed with the
M!
command (note that the SDI-12 address is a separate
instruction parameter), the CR1000 issues the
aM!
and
aD0!
commands with
proper elapsed time between the two. The CR1000 automatically issues retries
and performs other services that make the SDI-12 measurement work as trouble
free as possible. Table
SDI-12Recorder() Commands
(p. 272)
summarizes CR1000
actions triggered by some
SDI12Recorder()
commands.
If the
SDI12Recorder()
instruction is not successful,
NAN
will be loaded into the
first variable. See
NAN and ±INF
(p. 482)
for more information.
272
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......