beautypg.com

3 cr510, cr10x, cr23x dataloggers – Campbell Scientific CS10-L and CS15-L Current Transformers User Manual

Page 12

background image

CS10-L and CS15-L Current Transformers

CallTable

Test

NextScan
EndProg

CR200(X) Program for 50 Hz

' CR200(X) Series Datalogger
' Program name: CS15-LManual.cr2
' date: 4 Mar 2009
' program author: Brad Maxfield

Const Samples = 30

' 30 samples for 2 waves of 50 Hz.

'Const Samples = 25

' 25 samples for 2 waves of 60 Hz.

Public Crnt_A
Public mV(Samples)
Dim Counter

'Define Data Tables
DataTable (Test,1,-1)
DataInterval

(0,1,min)

Average

(1,Crnt_A,False)

Maximum

(1,Crnt_A,False,0)

EndTable

'Main Program
BeginProg
Scan

(1,Sec)

ExciteV

(Ex1,mV2500)

For Counter = 1 To Samples

VoltSe

(mV(Counter),1,1,1.0,-1250)

Next
ExciteV

(Ex1,mV0)

RMSSpa

(Crnt_A,(Samples-0),mV(1))

Crnt_A=Crnt_A*0.2

' Multiplier for sensor

If Crnt_A<0.15 Then

' Eliminate noise below 0.15 amps.

Crnt_A = 0

EndIf
CallTable

Test

NextScan
EndProg

5.3 CR510, CR10X, CR23X Dataloggers

With these dataloggers, the best method for monitoring amperage is to make
millivolt burst measurements using Instruction 23 and then calculate RMS
using Instruction 82. For Instruction 23, the entry for parameter 4 needs to be
0001. This triggers on the first channel, triggers immediately, stores data in
input locations, and makes single-ended measurements.

6