2 cs700h programming, 1 cs700h example program – Campbell Scientific CS700 Tipping Bucket Rain Gage and CS700H Heated Rain Gage User Manual
Page 20

CS700 and CS700H Rain Gage
5: Sample (P70)
1: 1
Reps
2: 1
Loc [ Rain_mm ]
*Table 2 Program
01: 0.0000 Execution
Interval
(seconds)
*Table 3 Subroutines
End Program
5.2 CS700H Programming
The CS700H has a dual reed switch for measuring precipitation. A separate
pulse count instruction is used to measure each of the reed switches. The SDI-
12 recorder instruction is used to receive real time status of the microprocessor
located inside the tipping bucket.
Appendix A provides more information about the SDI-12
commands and other operational details for the CS700H.
NOTE
5.2.1 CS700H Example Program
Although this program is for the CR1000, the CR800, CR850, and CR3000 are
programmed similarly.
'CR1000 Series Datalogger
'CS700H-L SDI-12 Grn > C1
' Red > 12v
' Blk > 0v
' Tipping A Blu > C2
' Wht > 5v
' B Yel > C3
' Brn > 5v
'Declare Variables and Units
Public PTemp
Public BattV
Public CH700HA 'reed switch A
Public CH700HB
'reed switch B
Public Info(9)
Alias Info(1)=CS700H_AirTemp
Alias Info(2)=CS700H_BlockTemp
Alias Info(3)=CS700H_C0_F1
Alias Info(4)=CS700H_NoSnow0_Snow1
Alias Info(5)=CS700H_SnwSnsrActv
Alias Info(6)=CS700H_Htr_On_off
Alias Info(7)=CS700H_Control_Auto_Man
Alias Info(8)=CS700H_Cycle_Dis_Ena
Alias Info(9)=CS700H_LPHTimeLeft
16