CS115 Barometric Pressure Sensor
;Turn off CS115 |
|
| |
; |
|
|
|
4: Do (P86) |
|
| |
1: | 58* | Set Port 8* Low | |
5: If time is (P92) |
|
| |
1: | 0 | Minutes (Seconds | |
2: | 60 | Interval (same units as above) | |
3: | 10 | Set Output Flag High (Flag 0) | |
6: Real Time (P77) |
|
| |
1: | 0110 | Day,Hour/Minute (midnight = 0000) | |
7: Sample (P70) |
|
| |
1: | 1 | Reps |
|
2: | 1* | Loc [ P_mb | ] |
*Table 2 Program |
|
| |
02: | 0.0000 | Execution Interval (seconds) |
*Table 3 Subroutines
End Program
1 P_mb
* Proper entries will vary with program and datalogger channel, and input location assignments.
5.1.3 Period Averaging Measurement Example for CR23XEXAMPLE 3. Sample Program for CR23X
;{CR23X} |
| |
; |
|
|
*Table 1 Program |
| |
01: | 1 | Execution Interval (seconds) |
;Turn on CS115 one minute before the hour | ||
; |
|
|
1: If time is (P92) |
| |
1: | 59 | Minutes (Seconds |
2: | 60 | Interval (same units as above) |
3: | 41* | Set Port 1* High |
;Measure CS115 at the top of the hour | ||
; |
|
|
2: If time is (P92) |
| |
1: | 0 | Minutes (Seconds |
2: | 60 | Interval (same units as above) |
3: | 30 | Then Do |
|
|
|
9