![Campbell CS115 Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/campbell/cs115/cs115_instruction-manual_3801015016.webp)
CS115 Barometric Pressure Sensor
12
5.2 Pulse Count Measurement Example
5.2.1 Pulse Count Measurement Example for 21X
EXAMPLE 5. Sample Program for 21X
;{21X}
;
*Table 1 Program
01: 1
Execution Interval (seconds)
1: If time is (P92)
1:
59
Minutes into a
2:
60
Minute Interval
3:
46*
Set Port 6* High
2: If time is (P92)
1:
0
Minutes into a
2:
60
Minute Interval
3:
30
Then Do
3: Pulse (P3)
1:
1
Reps
2:
1*
Pulse Input Channel
3:
24
Low Level AC, 16 Bit, Output Hz
4:
1*
Loc [ P_mb ]
5:
1
Mult
6:
0.0
Offset
4: Do (P86)
1:
56*
Set Port 6* Low
5: End (P95)
6: If time is (P92)
1:
0
Minutes into a
2:
60
Minute Interval
3:
10
Set Output Flag High
7: Real Time (P77)
1:
0110
Day,Hour/Minute (midnight = 0000)
8: Resolution (P78)
1:
1
High Resolution
9: Sample (P70)
1:
1
Reps
2:
1
Loc [ P_mb ]
*Table 2 Program
02: 0.0000
Execution Interval (seconds)
Содержание CS115
Страница 4: ...This is a blank page...
Страница 19: ...This is a blank page...