5 edlog program examples, 1 voltage and 0-20 ma current output modes – Campbell Scientific SDM-CVO4 4-Channel Current/Voltage Output Module User Manual

Page 22

Advertising
background image

SDM-CVO4 4-Channel Current/Voltage Output Module

Setting the Reps parameter to 0 (Zero) will cause the addressed SDM-CVO4 to
shut down, turning off all its outputs. It will turn on channels 1 and 2 at the
next execution of Instruction P103 where the reps parameter is 1 or 2. If the
reps parameter is greater than 2, then all the channels will be turned on.

Refer to the manual for the datalogger being used for full details of the
execution time of Instruction 103. All of the outputs of the SDM-CVO4 will
change simultaneously approximately 10ms after the instruction is completed
by the datalogger, or 100ms after power-up.

If the SDM-CVO4 loses power for any reason, when power is restored the
outputs will return to the default ‘off’ state. This will be held until the
datalogger runs Instruction 103 again to update the output levels required.

6.5 Edlog Program Examples

The following Edlog program examples are given to help you understand the
general principles involved in the use of the SDM-CVO4.

6.5.1 Voltage and 0-20 mA Current Output Modes

This program example is for a simple weather station with a CR23X
Micrologger measuring wind speed, wind direction, temperature and solar
radiation. Each parameter is scaled to the full-scale output range of the
SDM-CVO4 which would be 0-10,000 mV DC or 0-20 mA, depending on the
output jumper settings. Programming for the CR10X is very similar.

; {CR23X}
; Example weather station program to show scaling values
; for the SDM-CVO4

*Table 1 Program
01: 1

Execution Interval (seconds)


; Measure the output from a switch closure anemometer (A100R)

1: Pulse (P3)
1: 1

Reps

2: 1

Pulse Channel 1

3: 22

Switch Closure, Output Hz

4: 1

Loc [ WindSpeed ]

5: 1.25

Mult ; Scale to m/s

6: 0.0

Offset

18

Advertising