
Met One Rain Gage Models 380 and 385
'Define Data Tables
DataTable(Table1,True,-1) 'As an example store the data every 60 minutes.
DataInterval(0,60,Min)
Totalize(1,Rain_in,False)
EndTable
'Main Program
BeginProg
Scan(10,Sec)
'MetOne 380/385 Rain Gauge measurement Rain_in:
PulseCount(Rain_in,C2,2,0,0.01,0) ; Black wire connect to C2
'Call Data Tables and Store Data
CallTable(Table1)
NextScan
EndProg
5.2.3 CR10X Programming
;{CR10X}
;
*Table 1 Program
01: 1 Execution Interval (seconds)
1: Pulse (P3)
1: 1 Reps
2: 8 Control Port 8 (switch closure only) ; Black wire connect to C8
3: 2 Switch Closure, All Counts
4: 1 Loc [ Rain_inch ]
5: .01 Multiplier
6: 0 Offset
2: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
3: Set Active Storage Area (P80)
1: 1 Final Storage Area 1
2: 101 Array ID
4: Real Time (P77)
1: 1220 Year,Day,Hour/Minute (midnight = 2400)
5: Totalize (P72)
1: 1 Reps
2: 1 Loc [ Rain_inch ]
*Table 2 Program
02: 0.0000 Execution Interval (seconds)
*Table 3 Subroutines
End Program
13
Comentarios a estos manuales