Campbell Scientific SR50-L CSC Ultrasonic Distance Sensor User Manual
Page 23
![background image](/manuals/416106/23/background.png)
SR50 Sonic Ranging Sensor
17
Parameter 2 of P92 determines how often to measure.
12: If time is (P92)
1: 0
Minutes
into
a
2: 15
Minute
Interval
3: 11
Set Flag 1 High
13: If Flag/Port (P91)
1: 11
Do if Flag 1 is High
2: 30
Then
Do
Enable the sensor by pulsing Control Port 1.
14: Set Port (P20)
1: 1
Set
High
2: 1
Port
Number
15: Excitation with Delay (P22)
1: 1
Ex
Chan
2: 1
Delay w/Ex (units = 0.01 sec)
3: 0000
Delay After Ex (units = 0.01 sec)
4: 0.0
mV
Excitation
16: Set Port (P20)
1: 0
Set
Low
2: 1
Port
Number
17: Do (P86)
1: 21
Set Flag 1 Low
18: Do (P86)
1: 12
Set Flag 2 High
19: End (P95)
This is an example or an Hourly output array, yours may vary.
20: If time is (P92)
1: 0
Minutes
into
a
2: 60
Minute
Interval
3: 10
Set Output Flag High
21: Real Time (P77)
1: 0220
Day,Hour/Minute (prev day at midnight, 2400 at midnight)
22: Sample (P70)
1: 1
Reps
2: 10
Loc [ SnowDepth ]*
End Program