beautypg.com

4 21x, cr7 dataloggers – Campbell Scientific CS10-L and CS15-L Current Transformers User Manual

Page 14

background image

CS10-L and CS15-L Current Transformers

; This part of the program will calculate the RMS Amperage

; Standard Deviation in this part of the code works mathematically the same

; as RMS calculation, and it is easier to program this way. The RMS

; value is calculated and stored back into an input location for further

; processing if needed.

3: Beginning of Loop (P87)

1: 0

Delay

2:

50

Loop

Count

4: Z=Z+1 (P32)

1: 1

Z Loc [ Counter ]

5: If (X<=>F) (P89)

1: 1

X Loc [ Counter ]

2: 1

=

3: 50

F

4: 10

Set Output Flag High (Flag 0)

6: Set Active Storage Area (P80)

1: 3

Input

Storage

Area

2: 2

Loc [ BurstAmps ]

7: Standard Deviation (P82)^3012

1: 1

Reps

2: 4

-- Sample Loc [ Amps_1 ]

8: End (P95)

5.4 21X, CR7 Dataloggers

Some Edlog dataloggers such as the 21X and CR7 do not have a burst mode.
For those dataloggers, you can use a “Loop Measurement Method” similar to
the method used with the CR200(X). This method is also an option for our
CR510, CR10X, and CR23X, but only three measurements per period will be
made. Figure 5 shows a graph produced by a CR10X program with a loop that
samples 90 times. A portion of this program is shown below.

32 cycles 60 Hz 90 samples in loop on CR10X

I instanteneous

FIGURE 5. Graph of a CS10 waveform using 90 samples of amperage

8