Section 7. Installation
269
123, the SDI-12 recorder will accept only a response of n
= 1 when issuing an
aMx! command, or a response of nn
= 12 when issuing an
aCx! command.
When programmed as an SDI-12 sensor, the CR3000 will respond to SDI-12
commands M, MC, C, CC, R, RC, V, ?, and I. See table SDI-12 Commands for
Transparent Mode
(p. 257)
for full command syntax. The following rules apply:
1. A CR3000 can be assigned only one SDI-12 address per SDI-12 port. For
example, a CR3000 will not respond to both 0M! AND 1M! on SDI-12 port
C1. However, different SDI-12 ports can have unique SDI-12 addresses.
Use a separate SlowSequence for each SDI-12 port configured as a sensor.
2. The CR3000 will handle additional measurement (aMx!) commands. When
an SDI-12 recorder issues aMx! commands as shown in CRBasic example
SDI-12 Sensor Setup
(p. 269),
measurement results are returned as listed in table
SDI-12 Sensor Setup — Results
(p. 270).
SDI-12 Sensor Setup
'This program example demonstrates the use of the SDI12SensorSetup()/SDI12SensorResponse()
'instruction pair to program the CR3000 to emulate an SDI-12 sensor. A common use of this
'feature is the transfer of data from the CR3000 to SDI-12 compatible instruments, including
'other Campbell Scientific dataloggers, over a single-wire interface (SDI-12 port to
'SDI-12 port). The recording datalogger simply requests the data using the aD0! command.
Public
PanelTemp
Public
Batt_volt
Public
SDI_Source(10)
BeginProg
Scan
(5,Sec,0,0)
PanelTemp
(PanelTemp,250)
Battery
(batt_volt)
SDI_Source(1) = PanelTemp
'temperature, degrees C
SDI_Source(2) = batt_volt
'primary power, volts dc
SDI_Source(3) = PanelTemp * 1.8 + 32
'temperature, degrees F
SDI_Source(4) = batt_volt
'primary power, volts dc
SDI_Source(5) = PanelTemp
'temperature, degrees C
SDI_Source(6) = batt_volt * 1000
'primary power, millivolts dc
SDI_Source(7) = PanelTemp * 1.8 + 32
'temperature in degrees F
SDI_Source(8) = batt_volt * 1000
'primary power, millivolts dc
SDI_Source(9) = Status.SerialNumber
'serial number
SDI_Source(10) = Status.LithiumBattery
'data backup battery, V
NextScan
SlowSequence
Do
SDI12SensorSetup
(10,1,0,1)
Delay
(1,500,mSec)
SDI12SensorResponse
(SDI_Source)
Loop
EndSequence
EndProg
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......