
SDM-AO4A Four Channel Analog Output
TABLE 4. Description of Instruction 103
Par.
No.
Data
Type
Description
01: 2 Reps - Number of analog outputs.
02: 2 Address of SDM-AO4A in base 4 (00 to 33)
03: 4 Input Location containing millivolt output level
Execution Time: 1.0 ms + (0.8 ms) * R (R=Repetitions)
Edlog dataloggers are programmed using the SDM-AO4
instruction, and are not able to take advantage of the additional
features of the SDM-AO4A.
NOTE
7.3 Programming Examples
The following program examples are given to help the user understand the
general principles involved in the use of the SDM-AO4A with CSI
dataloggers.
Both of the example programs are for weather stations with a datalogger
measuring wind speed, wind direction, temperature, and relative humidity.
Each parameter is then scaled to 0 to 1000 mVDC, and output to a strip chart
recorder through the SDM-AO4A.
7.3.1 CR5000 Program Example
Although this program is for a CR5000 datalogger, programming for other
CRBasic dataloggers is similar.
'CR5000 SDM-AO4A Program Example
Public WS_ms
Public WD_0_360
Public Temp_C
Public RH
Public WD_0_540
Public Flag
Public AO4AOutput(4)
Public AO4AReponse
Alias AO4AOutput(1) = WSOut
Alias AO4AOutput(2) = WDOut
Alias AO4AOutput(3) = TempOut
Alias AO4AOutput(4) = RHOut
10
Komentáře k této Příručce