Campbell Scientific WINDSONIC1 WINDSONIC 2-D Sonic Wind Sensors - Page 25

Example CR10X (Edlog) Datalogger Program for Measuring a WindSonic4, TABLE 7-10.

Page 25 highlights

WindSonic Two-Dimensional Sonic Anemometer 7.4.1 Example CR10X (Edlog) Datalogger Program for Measuring a WindSonic4 TABLE 7-10. Wiring for CR10(X) Program Example Description SDI-12 data SDI-12 power SDI-12 reference Shield Color Green Red Black Clear CR10X C8 +12 Vdc G G ;{CR10X} ; *Table 1 Program 01: 1.0000 Execution Interval (seconds) 1: SDI-12 Recorder (P105) 1: 0 SDI-12 Address 2: 20 Continuous Measurements (aR0!) 3: 8 Port 4: 1 Loc [ wnd_dir ] 5: 1 Mult 6: 0 Offset 2: Z=F x 10^n (P30) 1: 1 F 2: 0 n, Exponent of 10 3: 4 Z Loc [ samples ] 3: If (XF) (P89) 1: 1 X Loc [ wnd_dir ] 2: 4 < 3: -99990 F 4: 30 Then Do 4: Block Move (P54) 1: 2 No. of Values 2: 1 First Source Loc [ wnd_dir ] 3: 1 Source Step 4: 2 First Destination Loc [ wnd_spd ] 5: 1 Destination Step 5: End (P95) 6: If time is (P92) 1: 0 Minutes (Seconds --) into a 2: 30 Interval (same units as above) 3: 10 Set Output Flag High (Flag 0) 7: Real Time (P77) 1: 110 Day,Hour/Minute (midnight = 0000) 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46

WindSonic Two-Dimensional Sonic Anemometer
7.4.1
Example CR10X (Edlog) Datalogger Program for Measuring a
WindSonic4
TABLE 7-10.
Wiring for CR10(X) Program Example
Description
Color
CR10X
SDI-12 data
Green
C8
SDI-12 power
Red
+12 Vdc
SDI-12 reference
Black
G
Shield
Clear
G
;{CR10X}
;
*Table 1 Program
01: 1.0000
Execution Interval (seconds)
1:
SDI-12 Recorder (P105)
1:
0
SDI-12 Address
2:
20
Continuous Measurements (aR0!)
3:
8
Port
4:
1
Loc [ wnd_dir
]
5:
1
Mult
6:
0
Offset
2:
Z=F x 10^n (P30)
1:
1
F
2:
0
n, Exponent of 10
3:
4
Z Loc [ samples
]
3:
If (X<=>F) (P89)
1:
1
X Loc [ wnd_dir
]
2:
4
<
3:
-99990
F
4:
30
Then Do
4:
Block Move (P54)
1:
2
No. of Values
2:
1
First Source Loc [ wnd_dir
]
3:
1
Source Step
4:
2
First Destination Loc [ wnd_spd
]
5:
1
Destination Step
5:
End (P95)
6:
If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
30
Interval (same units as above)
3:
10
Set Output Flag High (Flag 0)
7:
Real Time (P77)
1:
110
Day,Hour/Minute (midnight = 0000)
17