CR10X User Guide
8-10
05:
P72
Totalize
01:
3
Reps
02:
10
Loc Rain #1
06:
P
End Table 1
8.6 SDM-AO4 Analogue Output Module to Strip Chart
This example illustrates the use of the SDM-AO4 4-Channel Analogue Output
Module to output four analogue voltages to a strip chart.
While of questionable value because of current requirements and strip chart
reliability, some regulations require strip chart backup of weather data.
The SDM-AO4 can be used with the CR10X to provide analogue outputs to strip
charts. The output values in this example are wind speed, wind direction, air
temperature and solar radiation.
Instruction 103 is used to activate the SDM-AO4. The four voltage values to be
output must be stored (in mV) in adjacent Input Storage locations, the first of
which is referenced in Instruction 103.
The following program measures the output of the sensors every five seconds.
The readings are moved to another four locations and scaled to a 0 to 1000mV
output for the SDM-AO4. Wind direction is changed from a 0-360 degree input to
an output representing 0-540 degrees. This conversion is done in a subroutine
which is described in the next example.
The example also includes instructions to output wind vector, average temperature
and solar radiation every hour.
Input Location Labels:
1:WS
2:0-360 WD
3:Ta
4:SR
5:WS output
6:0-540 out
7:Ta output
8:SR output
10:0-540 WD
*
1
Table 1 Programs
01:
5
Sec. Execution Interval
01:
P3
Pulse
01:
1
Rep
02:
1
Pulse Input Chan
03:
22
Switch Closure
04:
1
Loc [:WS ]
05:
1.789 Mult
06:
1
Offset