;Hourly Data Output
9: If time is (P92)
1: 0
Minutes (Seconds --) into a
2: 60
Interval (same units as above)
3: 1
Set Output Flag High (Flag 0)
10: Set Active Storage Area (P80)
1: 1
Final Storage Area 1
2: 60
Array ID
11: Real Time (P77)
1: 1220
Year,Day,Hour/Minute (midnight = 2400)
12: Sample (P70)
1: 1
Reps
2: 8
Loc [ SnowDepth ]
;The SR50A signal quality value can optionally be stored as well
13: Sample (P70)
1: 1
Reps
2: 4
Loc [ Sig_Qual ]
*Table 2 Program
02: 0.0000
Execution Interval (seconds)
*Table 3 Subroutines
End Program
10.2 Exemple de programmation 2 :
SR50AT SDI-12 « M3! » Enregistreur de données CR10X
;{CR10X}
;
;In this example, the SR50AT is mounted 2.5 meters above the ground.
;
;The CR10X sends an SDI-12 command to the SR50AT, which outputs the
;temperature compensated distance value (Meters),
;the signal quality value and the temperature.
;
;Three input locations are used to store incoming data.
*Table 1 Program
01: 60
Execution Interval (seconds)
;Use SDI-12 command "M3!" to receive Distance, Signal Quality and Temperature
1: SDI-12 Recorder (P105)
1: 0
SDI-12 Address
2: 3
Start Measurement (aM3!)
3: 1
Port
;Use Ports 5-8 for CR23X
- 45 -
Capteur de télémétrie sonique SR50A