3 providing isolated power supplies to sensors – Campbell Scientific SDM-CVO4 4-Channel Current/Voltage Output Module User Manual

Page 26

Advertising
background image

SDM-CVO4 4-Channel Current/Voltage Output Module

; Now update the SDM-CVO4 with the information
; for the four channels

16: SDM-AO4 (P103)
1: 4

Reps

2: 30

SDM

Address

3: 5

Loc [ ScldOut_1 ]

6.5.3 Providing Isolated Power Supplies to Sensors

This program example sets all the outputs of the SDM-CVO4 to 10 V to
provide isolated power supplies to four separate sensors. The program includes
code to put the SDM-CVO4 into standby mode after the measurements are
made.

; {CR10X}
; An example program which show use of the SDM-CVO4
; as an isolated power supply for 4 sensors requiring
; 10 V drive and producing 0-100 mV signals.
; This shows how to set the SDM-CVO4 into standby mode.

*Table 1 Program
01:

60

Execution Interval (seconds)


; Store a fixed value of 5000 = 10 V output
; in the four scaling locations

1: Bulk Load (P65)
1: 5000

F

2: 5000

F

3: 5000

F

4: 5000

F

5: 0.0

F

6: 0.0

F

7: 0.0

F

8: 0.0

F

9: 1

Loc [ Scale_1 ]


; Tell the SDM-CVO4 to set all four outputs to 10,000 mV
; The SDM-CVO4 address is zero in this example.
; This will cause the SDM-CVO4 to come out of standby
; mode.

2: SDM-AO4 (P103)
1: 4

Reps

2: 00

SDM

Address

3: 1

Loc [ Scale_1 ]

22

Advertising