SDM-CVO4 4-Channel Current/Voltage Output Module
4: Volt (SE) (P1)
1: 1 Reps
2: 32 50 mV, 50 Hz Reject, Slow Range
3: 3 SE Channel
4: 4 Loc [ Radiation ]
5: 100 Mult
6: 0.0 Offset
; Now output data in the normal way to final storage
5: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 1 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
6: Real Time (P77)
1: 110 Day,Hour/Minute (midnight = 0000)
7: Wind Vector (P69)
1: 1 Reps
2: 0 Samples per Sub-Interval
3: 0 S, é1, & å(é1) Polar
4: 1 Wind Speed/East Loc [ WindSpeed ]
5: 2 Wind Direction/North Loc [ WindDir ]
8: Average (P71)
1: 2 Reps
2: 3 Loc [ AirT ]
; Now the code to scale the values and update the SDM-CVO4
; As we have four channels to output, we will first copy the
; current readings with P54, block move, in a block of four
; input locations to hold the scaled outputs
9: Block Move (P54)
1: 4 No. of Values
2: 1 First Source Loc [ WindSpeed ]
3: 1 Source Step
4: 5 First Destination Loc [ ScldOut_1 ]
5: 1 Destination Step
; Then apply the scaling with one Instruction P53
; The readings are scaled -5000 to +5000, i.e. to
; cover the full scale range which would equate to
; 0 - 10,000 mV in voltage mode or 0-20 mA in
; current mode.
; Windspeed to cover the range 0-100 m/s
; Wind direction to cover 0-360 degrees
; Temperature -25 to +50 degrees C
; Radiation 0 - 1000 m^2/s
10: Scaling Array (A*Loc+B) (P53)
1: 5 Start Loc [ ScldOut_1 ]
2: 100 A1 ; WS multiplier
3: -5000 B1 ; WS Offset
4: 27.7778 A2
5: -5000 B2
6: 133.333 A3
16