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

Page 21

Advertising
background image

Instruction Manual

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.2 Edlog Program Examples

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

6.2.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


; Measure the wind direction from a potentiometer windvane

2: Excite-Delay (SE) (P4)
1: 1

Reps

2: 14

1000 mV, Fast Range

3: 1

SE

Channel

4: 1

Excite all reps w/Exchan 1

5: 1

Delay (units 0.01 sec)

6: 1000

mV

Excitation

7: 2

Loc [ WindDir ]

8: 0.357

Mult ; Scale to angle in degrees

9: 0.0

Offset


; Measure air temperature from a 107 probe

3: Temp (107) (P11)
1: 1

Reps

2: 2

SE

Channel

3: 31

Excite all reps w/E1, 50Hz, 10ms delay

4: 3

Loc [ AirT ]

5: 1.0

Mult ; Scale to degrees C

6: 0.0

Offset


; Measure solar radiation from an SP-Lite

15

Advertising