
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
Comentarios a estos manuales