2 cr200(x) program for 50 hz, 3 cr510, cr10x, cr23x dataloggers, Cr200(x) program for 50 hz – Campbell Scientific CS11-L Current Transformer User Manual
Page 20: Cr510, cr10x, cr23x dataloggers

CS11-L Current Transformer
EndIf
CallTable Amp
NextScan
EndProg
6.2.2 CR200(X) Program for 50 Hz
'CR200 Series Datalogger
' Program name: CS11-LManual50Hz.cr2
'date: Jun 2013
Const Samples = 30 ' 25 samples for 2 waves of 60 Hz, and 30 samples for 2 waves
of 50 Hz.
Public Crnt_A
Public mV(Samples)
Dim Counter
DataTable (Amps,1,-1)
DataInterval (0,1,min)
Average (1,Crnt_A,False)
Maximum (1,Crnt_A,False,0)
EndTable
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
CallTable Amps
NextScan
EndProg
6.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.
Remember that it is important to measure complete cycles. For Instruction
23, if parameters 5 and 6 are 2.0 and 0.05, respectively, you get five complete
cycles for a 50 Hz waveform, and six complete cycles for a 60-Hz waveform
(see FIGURE 6-2). The multiplier for the CS11-L is 0.2; see Appendix A.4,
Multiplier, for more information.
14