Section 7. Installation
Command Name
SDIRecorder()
SDICommand
Argument
SDI-12 Command Sent
Sensor Response
1
CR1000 Response
Notes
Address Query
?!
CR1000: issues
a?!
command. Only one sensor can be attached to the
C
terminal configured for SDI-12 for this command to elicit a response.
Sensor must support this command.
Change Address
Ab!
CR1000: issues
aAb!
command
Concurrent Measurement
Cv!, CCv!
CR1000: issues
aCv!
command
Sensor: responds with
atttnn
CR1000: if
ttt
=
0
, issues
aDv!
command(s). If
nnn
=
0
then
NAN
put in
the first element of the array.
Sensor: responds with data
CR1000: else, if
ttt
> 0 then moves to next CRBasic program instruction
CR1000: at next time
SDIRecorder()
is executed, if elapsed time <
ttt
,
moves to next CRBasic instruction
CR1000: else, issues
aDv!
command(s)
Sensor: responds with data
CR1000: issues
aCv!
command (to request data for next scan)
Alternate Concurrent Measurement
Cv
(note — no ! termination)
2
CR1000: tests to see if ttt expired. If ttt not expired, loads 1e9 into first variable and
then moves to next CRBasic instruction. If ttt expired, issues aDv! command(s).
See section Alternate Start Concurrent Measurement Command (Cv) (p. 273)
Sensor: responds to
aDv!
command(s) with data, if any. If no data, loads
NAN into variable.
CR1000: moves to next CRBasic instruction (does not re-issue
aCv!
command)
Send Identification
I!
CR1000: issues
aI!
command
Start Measurement
M!, Mv!, MCv!
CR1000: issues
aMv!
command
Sensor: responds with
atttnn
CR1000: If
nnn
=
0
then
NAN
put in the first element of the array.
CR1000: waits until
ttt
3
seconds (unless a service request is received).
Issues
aDv!
command(s). If a service request is received, issues
aDv!
immediately.
Sensor: responds with data
Continuous Measurements
Rv!, RCv!
CR1000: issues
aRv!
command
Start Verification
V!
CR1000: issues
aV!
command
1
See table
SDI-12 Commands for Transparent Mode
(p. 269)
for complete sensor responses.
2
Use variable replacement in program to use same instance of
SDI12Recorder()
as issued
aCV!
(see the CRBasic example
Using Alternate
Concurrent Command (aC)
(p. 277)
).
3
Note that
ttt
is local only to the
SDIRecorder()
instruction. If a second
SDIRecorder()
instruction is used, it will have its own
ttt
.
Note
aCv
and
aCv!
are different commands —
aCv
does not end with
!
.
273
Содержание CR1000
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 32: ......
Страница 36: ......
Страница 38: ......
Страница 40: ......
Страница 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Страница 96: ......
Страница 98: ...98 ...
Страница 302: ......
Страница 350: ...Section 8 Operation Figure 91 Pulse Sensor Output Signal Types Figure 92 Switch Closure Pulse Sensor 350 ...
Страница 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Страница 454: ...Section 8 Operation 8 8 1 Data Display Figure 116 Displaying Data with the Keyboard Display 454 ...
Страница 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Страница 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Страница 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Страница 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Страница 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Страница 478: ......
Страница 506: ......
Страница 536: ......
Страница 636: ......
Страница 642: ......
Страница 644: ......
Страница 676: ......
Страница 677: ......