CR3000 MicrologgerRevision: 9/07Copyright © 2000-2007Campbell Scientific, Inc.
CR3000 Overview OV1. Physical Description Figure OV1-2 shows the CR3000 panel and the associated program instructions. The details of the measuremen
Section 3. CR3000 Measurement Details When the thermocouple measurement junction is in electrical contact with the object being measured (or has the
Section 3. CR3000 Measurement Details ranges. Temperature difference measurements made outside of the reference temperature range should be made by
Section 3. CR3000 Measurement Details TABLE 3.4-5. Example of Errors in Thermocouple Temperature Source Error: oC : % of Total Error Single Diff
Section 3. CR3000 Measurement Details CR9000HLA' AB' BJunction BoxTCCR3000 Junction Box FIGURE 3.4-4. Diagram of Junction Box An externa
Section 3. CR3000 Measurement Details BrHalf X = result w/mult = 1, offset = 0 XVVRRRxssf==+1 ()RRXXRRXXsffs=−=−11 BrHalf3W X = result w/mult = 1,
Section 3. CR3000 Measurement Details Resistance used to measure full bridge HLIXR X = result w/mult = 1, offset = 0 XVIRRRRRRRRR R RR RRRRRxbridge==
Section 3. CR3000 Measurement Details FIGURE 3.6-1. Model of Resistive Sensor with Ground Loop In Figure 3.6-1, Vx is the excitation voltage, Rf is
Section 3. CR3000 Measurement Details synchronized with real time and restarted. The CR3000 actually measures the elapsed time since the last time t
Section 3. CR3000 Measurement Details 2. System background calibration. This automatically takes place in the background while the user program is
Section 3. CR3000 Measurement Details used ± (0.X% of Full-Scale Range) to specify measurement accuracy for a given range, which results in a fixed n
CR3000 Overview OV1.1 Measurement Inputs OV1.1.1 Analog Inputs (SE 1-28, DIFF 1-14) There are 14 differential or 28 single-ended inputs for measurin
Section 3. CR3000 Measurement Details -2-1012-2000 -100001000 2000Input Voltage (mV)Voltage Measurement Error (mV)-333000-3000CR10XCR1000 FIGURE 3.9-
4-1 Section 4. CRBasic - Native Language Programming The CR3000 is programmed in a language that has some similarities to a structured basic. There
Section 4. CRBasic - Native Language Programming 4-2 PanelTemp is the keyword name of the instruction. The two parameters associated with PanelTemp
Section 4. CRBasic - Native Language Programming 4-3 Processing of Data What data are to be output (current value, average, maximum, minimum, etc.) D
Section 4. CRBasic - Native Language Programming 4-4 4.3 Example Program Const RevDiff=1 Const Del=0 'default Const Integ=250 Const Mult=1 Con
Section 4. CRBasic - Native Language Programming 4-5 The data table header also has a row that lists units for the output values. The units must be
Section 4. CRBasic - Native Language Programming 4-6 Average is an output processing instruction that will output the average of a variable over the
Section 4. CRBasic - Native Language Programming 4-7 means to continue looping forever (or until ExitScan). In the example the scan is 1 second, thr
Section 4. CRBasic - Native Language Programming 4-8 Strings can be dimensioned only up to 2 dimensions instead of the 3 allowed for other data types
Section 4. CRBasic - Native Language Programming 4-9 Expressions are evaluated as integers for as long as possible Public X, I AS Long BeginProg I
CR3000 Overview OV1.1.7 12 Volt Outputs The 12V terminals provide a constant unregulated 12 volts for powering external devices such as multiplexers
Section 4. CRBasic - Native Language Programming 4-10 port 1. This is much easier to visualize than entering 72, the decimal equivalent. 4.6 Logica
Section 4. CRBasic - Native Language Programming 4-11 If 0 then Y=0 is always false, Y will never be set to 0 by this conditional statement. The CR30
Section 4. CRBasic - Native Language Programming 4-12 TABLE 4.8-1. Rules for Names Name for Maximum Length (number of characters) Allowed characte
Section 4. CRBasic - Native Language Programming 4-13 Public Pressure(3), Mult(3), Offset(3) DataTable (AvgPress,1,-1) DataInterval (0,60,Min,10)
Section 4. CRBasic - Native Language Programming 4-14 Tablename.timestamp(m,n) = element m of the timestamp output n records ago where: timestamp(1,n
5-1 Section 5. Program Declarations Alias Used to assign a second name to a variable. Syntax Alias VariableA = AliasName Remarks Alias allows assigni
Section 5. Program Declarations 5-2 AS type The declaration of variables (via the DIM or the PUBLIC statement) allow an optional type descriptor AS t
Section 5. Program Declarations 5-3 Const Declares symbolic constants for use in place of numeric entries. Syntax Const constantname = expression
Section 5. Program Declarations 5-4 ' Create the variable array A with 8 elements Dim A( 8) The maximum number of array dimensions allowed in a
Section 5. Program Declarations 5-5 FormatFloat Example The following program shows the use of the FormatFloat instruction. Using the software's
CR3000 Overview OV1.2 Communication and Data Storage OV1.2.1 Peripheral Port The peripheral port is for attaching data storage or communication peri
Section 5. Program Declarations 5-6 Public Dimensions a variable as public and available in the Public table of the CR3000. Syntax Public(list of [di
Section 5. Program Declarations 5-7 StationName Sets the station name. Syntax StationName StaName Remarks StationName is used to set the datalogger s
Section 5. Program Declarations 5-8 constants (i.e., do not contain a variable) into some of the variables. If a constant is passed, the “variable”
Section 5. Program Declarations 5-9 'Subroutine to convert temperature in degrees C to degrees F Sub ConvertCtoF (TmpC, TmpF) TmpF = TmpC*1.8
Section 5. Program Declarations 5-10 This is a blank page.
Section 6. Data Table Declarations and Output Processing Instructions 6.1 Data Table Declaration DataTable (Name, TrigVar, Size) output trigger modi
Section 6. Data Table Declarations and Output Processing Instructions 6.2 Trigger Modifiers DataInterval (TintoInt, Interval, Units, Lapses) Used to
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter TintoInt Constant The time into the interval
Section 6. Data Table Declarations and Output Processing Instructions 'Const RevDiff 1 'Reverse input to cancel offsets Const Del = 0 &ap
Section 6. Data Table Declarations and Output Processing Instructions DataEvent Example: In this example, 5 type T thermocouples are measured. The t
CR3000 Overview FIGURE OV1-3. Serial Communication Interfaces OV1.2.3 Computer RS-232 The CR3000 has an isolated RS-232 port. Direct connection of
Section 6. Data Table Declarations and Output Processing Instructions WorstCase (TableName, NumCases, MaxMin, Change, RankVar) Allows saving the most
Section 6. Data Table Declarations and Output Processing Instructions WorstCase Example This program demonstrates the Worst Case Instruction. Five t
Section 6. Data Table Declarations and Output Processing Instructions 6.3 Export Data Instructions CardOut (StopRing, Size) Used to send output data
Section 6. Data Table Declarations and Output Processing Instructions DSP4 Example DSP4 (Flag( ), 200) Use Flag( ) to work with the buttons, update t
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter BufferControl Constant The BufferControl param
Section 6. Data Table Declarations and Output Processing Instructions Remarks The GOESGPS instruction returns two arrays. The first array, which mus
Section 6. Data Table Declarations and Output Processing Instructions GOESStatus (ResultCode, StatusCommand) The GOESStatus instruction is used to re
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter DataType A code to select the data storage fo
Section 6. Data Table Declarations and Output Processing Instructions FFT (SecArray, DataType, N, SampleInterval, Units, Option) The FFT performs a F
Section 6. Data Table Declarations and Output Processing Instructions T = N*SampleInterval: the length, in seconds, of the time series. Processing f
CR3000 Overview OV1.3 Power Supply and AC Adapter The CR3000 should be powered by any clean, battery backed 12 VDC power supply. For internal power
Section 6. Data Table Declarations and Output Processing Instructions DataTable(Amp,1,1) fft(x,fp2,SIZE_FFT,10, msec,1) EndTable DataTable(AmpPhase
Section 6. Data Table Declarations and Output Processing Instructions including quotation marks, spaces, and other characters. As an example, the pr
Section 6. Data Table Declarations and Output Processing Instructions dividing the accumulated total in each bin by the total number of scans. This
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter BinSelect Variable or Array The variable that
Section 6. Data Table Declarations and Output Processing Instructions Histogram4D Output Example 'The example program below is an example of usi
Section 6. Data Table Declarations and Output Processing Instructions LevelCrossing (Source, DataType, DisableVar, NumLevels, SecondDim, CrossingArra
Section 6. Data Table Declarations and Output Processing Instructions NumLevels*SecondDim. For a one dimensional level crossing histogram, enter 1 f
Section 6. Data Table Declarations and Output Processing Instructions The second dimension, when greater than 1, is determined by the value of the el
Section 6. Data Table Declarations and Output Processing Instructions Histogram: 2D < 1.25 1.25<2D<2.25 2.25<2D<3.25 Cross 1 0 1
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter Reps Constant The number of maximum values to
CR3000 Overview ShortCut is included with PC200, PC400 and LoggerNet and is available for free from the Campbell Scientific web site. The CRBasic Edi
Section 6. Data Table Declarations and Output Processing Instructions RainFlow (Source, DataType, DisableVar, MeanBins, AmpBins, LoLim, PuLim, MinAmp
Section 6. Data Table Declarations and Output Processing Instructions that were associated with that bin (i.e., number of cycles in bin divided by to
Section 6. Data Table Declarations and Output Processing Instructions Sample (Reps, Source, DataType) This instruction stores the current value(s) at
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter DisableVar Constant, Variable or The DisableVa
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter DataType A code to select the data storage f
Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter OutputOpt Value Outputs (for each rep) Co
Section 6. Data Table Declarations and Output Processing Instructions A sub-interval is specified as a number of scans. The number of scans for a su
Section 6. Data Table Declarations and Output Processing Instructions Unit vector mean wind direction, Θ1: Θ1=Arctan (Ux/Uy) where Ux=(Σsin Θi)/N Uy=
Section 6. Data Table Declarations and Output Processing Instructions The algorithm for σ(θu) is developed by noting (Figure 6.4-4) that Cos U / s ;
Section 6. Data Table Declarations and Output Processing Instructions The term, (( ') ')/ΘiisN2S∑, is 0 if the deviations in speed are not
CR3000 Overview OV2.3.2 Sequential Mode In sequential mode the instructions are executed in the sequence they appear in the program. Sequential mode
Section 6. Data Table Declarations and Output Processing Instructions This is a blank page. 6-36
Section 7. Measurement Instructions 7.1 Voltage Measurements VoltDiff – Differential Voltage Measurement...
Section 7. Measurement Instructions PortGet - Reads the status of one of the eight control ports... 7-19 PortSet – Sets Digital P
Section 7. Measurement Instructions 7.1 Voltage Measurements VoltDiff (Dest, Reps, Range, DiffChan, RevDiff, SettlingTime, Integ, Mult, Offset) Sens
Section 7. Measurement Instructions to reference voltages prior to making the voltage measurement to insure that it is within the common mode range a
Section 7. Measurement Instructions Parameter & Data Type Enter TRef Variable The name of the variable that is the reference temperature for th
Section 7. Measurement Instructions BrHalf3W (Dest, Reps, Range, SEChan, ExChan, MeasPEx, ExmV, RevEx, SettlingTime, Integ, Mult, Offset) X = resul
Section 7. Measurement Instructions Half Bridge Parameters Parameter & Data Type Enter Dest Variable or Array The Variable in which to store the
Section 7. Measurement Instructions Parameter & Data Type Enter Integ The time spent on integration in microseconds for each of the channels me
Section 7. Measurement Instructions This Instruction applies an excitation voltage and makes two differential voltage measurements. The measurements
CR3000 Overview When running in sequential mode, the datalogger uses a queuing system for processing tasks similar to the one used in the pipeline mod
Section 7. Measurement Instructions Parameter & Data Type Enter SettlingTime Constant The time in microseconds to delay between setting up a me
Section 7. Measurement Instructions ExciteI ( IxChan, IxuA, Delay ) This instruction sets the specified switched current excitation channel to the cu
Section 7. Measurement Instructions SW12 (SW12Channel, State) The SW12 instruction is used to set a Switched 12-volt supply high or low. The datalogg
Section 7. Measurement Instructions Parameter & Data Type Enter Dest Array If present the array must contain at least 60 elements (more if exci
Section 7. Measurement Instructions The Calibration instruction can occur in a fast scan or in a slow sequence scan. In a fast scan the entire calib
Section 7. Measurement Instructions 27 250 µSec integrate 50 mV gain 28 250 µSec integrate 20 mV single ended offset 29 250 µSec integrate 20 mV di
Section 7. Measurement Instructions Note that the execution time for an instruction may vary. For instance, it will take longer to execute instructi
Section 7. Measurement Instructions Parameter & Data Type Enter Dest Variable or Array The Variable in which to store the results of the instru
Section 7. Measurement Instructions The minimum pulse width requirements increase (maximum frequency decreases) with increasing gain as shown in rang
Section 7. Measurement Instructions these back-to-back diodes. A current limiting resistor may be desirable to minimize these currents in some situa
CR3000 Overview to the CS I/O port) can be routed through that datalogger to the other datalogger. • Datalogger to datalogger communications – Specia
Section 7. Measurement Instructions PortSet (Port, State) This Instruction will set the specified digital I/O port or switched 12V channel high or lo
Section 7. Measurement Instructions Parameter & Data Type Enter Dest Variable or Array The Variable in which to store the results of the instru
Section 7. Measurement Instructions CR23XPi20kCR3000 FIGURE 7.7-2. Conditioning Large Voltage Pulses The maximum input voltage on a pulse channel i
Section 7. Measurement Instructions Switch Closure • Pulse Channels A switch closure is connected between P1..P4 and analog ground. When the switch
Section 7. Measurement Instructions port (the mask is "anded" with the port status; the "and" operation returns a 1 for a digit i
Section 7. Measurement Instructions RC! Continuous measurement (with checksum) R0! - R9! Continuous measurement commands V! Initiate verify sequen
Section 7. Measurement Instructions Parameter & Data Type Enter SEChan The SEChan argument is the number of the single-ended channel on which t
Section 7. Measurement Instructions the mask is entered as &B110 (leading zeros can be omitted in binary format just as in decimal) and the sourc
Section 7. Measurement Instructions Parameter & Data Type Enter MeasPerPort The MeasPerPort parameter is the number of control ports to be used
Section 7. Measurement Instructions SlowAntenna See CS110 manual. Therm107 (Dest, Reps, SEChan, ExChan, SettlingTime, Integ, Mult, Offset) Therm108 (
Warranty and Assistance The CR3000 MICROLOGGER is warranted by CAMPBELL SCIENTIFIC, INC. to be free from defects in materials and workmanship under no
CR3000 Overview • Some devices may not support the configuration protocol in DevConfig, but do allow configurations to be edited through the terminal
Section 7. Measurement Instructions 7.9 Peripheral Devices AM25T (Dest, Reps, Range, AM25TChan, DiffChan, TCType, Tref, ClkPort, ResPort, ExChan, Re
Section 7. Measurement Instructions Parameter & Data Type Enter RevDiff Code Value Result (Reversing requires twice as much time to complete)
Section 7. Measurement Instructions Parameter & Data Type Enter CS7500Cmd The CS7500Cmd parameter requests the data to be retrieved from the se
Section 7. Measurement Instructions Parameter & Data Type Enter CSAT3Cmd Commands 90 - 92 send a measurement trigger to the CSAT3 with the SDM
Section 7. Measurement Instructions Parameter & Data Type Enter SDMAddress Constant The SDMAddress parameter defines the address of the SDM-AO
Section 7. Measurement Instructions Parameter & Data Type Enter TimeQuanta Integer Three time segments are used to set the bit rate and other t
Section 7. Measurement Instructions Parameter & Data Type Enter Value Description 1 Retrieve data; unsigned integer, most significant byte
Section 7. Measurement Instructions Parameter & Data Type Enter 27 Read Transmit, Receive, Overrun, and Watchdog errors. The errors are pla
Section 7. Measurement Instructions Parameter & Data Type Enter 2 Self-reception. A frame transmitted from the SDM-CAN that was acknowl
Section 7. Measurement Instructions Parameter & Data Type Enter NumBits The NumBits parameter is used to specify the number of bits that will
CR3000 Overview OV3.2 Deployment Tab The Deployment Tab allows the user to configure the datalogger prior to deploying it. OV3.2.1 Datalogger Seria
Section 7. Measurement Instructions Const COSET1=0 'Offset Dim CANBlk1(CANREP1) 'Dimensioned Dest ' \ \ \ \ \ \ \ \ \ \ \ \ Aliases
Section 7. Measurement Instructions Parameter & Data Type Enter Dest Variable or Array The array where the results of the instruction are store
Section 7. Measurement Instructions Parameter & Data Type Enter OutputOpt Code to select one of the five different output options. The Output
Section 7. Measurement Instructions SDMIO16 (Dest, Status, Address, Command, Mode Ports 16-13, Mode Ports 12-9, Mode Ports 8-5, Mode Ports 4-1, Mult,
Section 7. Measurement Instructions Parameter & Data Type Enter 17 Read ports 1-4's accumulated counts into Dest (Dest must be dimension
Section 7. Measurement Instructions Parameter & Data Type Enter 50 Read port 4's duty cycle into Dest 51 Read port 5's duty cycle
Section 7. Measurement Instructions Parameter & Data Type Enter 90 Set port 16-1 from Mode parameters 91 Read state of ports 1-16 into one
Section 7. Measurement Instructions SDMSIO4 (Dest, Reps, SDMAddress, Mode, Command, Param1, Param2, ValuesPerRep, Multiplier, Offset) The SDMSIO4 ins
Section 7. Measurement Instructions Parameter & Data Type Enter 9 Flush converted data buffer. 66 Send single-byte data to datalogger. 67
Section 7. Measurement Instructions Parameter & Data Type Enter Dest Variable or Array The variable in which to store the results of the SW8A m
CR3000 Overview Security Password 1 When this level is set, collecting data, setting the clock, and setting variables in the Public table are unrestr
Section 7. Measurement Instructions SDMX50 (SDMAddress, Channel) SDMX50 allows individual multiplexer switches to be activated independently of the T
Section 7. Measurement Instructions Parameter & Data Type Enter Option The Option parameter determines the output of the instruction. Constant o
Section 7. Measurement Instructions Parameter & Data Type Enter WindowLength Constant or Variable The WindowLength parameter specifies the lengt
8-1 Section 8. Processing and Math Instructions Operators ^ Raise to Power * Multiply / Divide + Add - Subtract = Equals <> Not Equal > Gre
Section 8. Processing and Math Instructions 8-2 EndIf Loop 'X is now the cube root of Volt1 NextScan EndProg ACOS (Number) The ACOS func
Section 8. Processing and Math Instructions 8-3 X The X variable is the value that will be added to the PrecisionVariable. It may or may not be a h
Section 8. Processing and Math Instructions 8-4 ASIN (Number) The ASIN function returns the arc sine of a number. Syntax x = ASIN (number) Remarks Nu
Section 8. Processing and Math Instructions 8-5 ATN FunctionExample The example uses ATN to calculate π. By definition, a full circle is 2π radians.
Section 8. Processing and Math Instructions 8-6 AvgRun (Dest, Reps, Source, Number) Calculates a running average of a measurement or calculated value
Section 8. Processing and Math Instructions 8-7 Remarks Find the average of the values in the given array and place the result in the variable named
CR3000 Overview Neighbors List, or perhaps more appropriately thought of as the “expected neighbors list”, displays the list of addresses that this da
Section 8. Processing and Math Instructions 8-8 COSH (Expression) The COSH function returns the hyperbolic cosine of an expression or value. Syntax x
Section 8. Processing and Math Instructions 8-9 Parameter & Data Type Enter Dest Variable or Array The Variable in which to store the results of
Section 8. Processing and Math Instructions 8-10 Dew point temperature is calculated as follows: 1. The saturation vapor pressure (Svp; units kPa) i
Section 8. Processing and Math Instructions 8-11 FIGURE 8-1. Dew Point Temperature over the RH Range for Selected Air Temperatures FIGURE 8-2. Ef
Section 8. Processing and Math Instructions 8-12 The EXP function complements the action of the Log function and is sometimes referred to as the ant
Section 8. Processing and Math Instructions 8-13 Parameter & Data Type Enter Options A code to indicate what values to calculate and output. Co
Section 8. Processing and Math Instructions 8-14 • The sum of the AC bins (excluding DC) of the Power Spectrum is the Variance (AC Power) of the tim
Section 8. Processing and Math Instructions 8-15 IfTime The IfTime instruction is used to return a number indicating True (-1) or False (0) based on
Section 8. Processing and Math Instructions 8-16 IIF (Expression, TrueValue, FalseValue) Evaluates a variable or expression and returns one of two re
Section 8. Processing and Math Instructions 8-17 INT, FIX Returns the integer portion of a number. Syntax x = INT (Number) x = FIX (Number) Remarks T
CR3000 Overview OV3.2.3 TCP/IP The TCP/IP tab is used to configure the CR3000 to communicate via Ethernet or PPP on any serial COM port. The Ethern
Section 8. Processing and Math Instructions 8-18 The following example illustrates a procedure that calculates base-10 logarithms: Log10 = Log(X) / L
Section 8. Processing and Math Instructions 8-19 Remarks Finds the maximum value in the given array and places the result in the variable named in De
Section 8. Processing and Math Instructions 8-20 Mod Divides two numbers and returns only the remainder. Syntax result = operand1 Mod operand2 Remark
Section 8. Processing and Math Instructions 8-21 Move Function Example The example uses the Move function. Move(x, 20, y, 20) 'move array y int
Section 8. Processing and Math Instructions 8-22 The NOT operator also inverts the bit values of any variable and sets the corresponding bit in resul
Section 8. Processing and Math Instructions 8-23 OR Operator Example The example sets Msg that depends on the value of variables A, B, and C, assumin
Section 8. Processing and Math Instructions 8-24 Public Dim XY(2) Public Change(3), Deg, PeakV(2) Const Pi=4*ATN(1) ‘Define Pi for converting degree
Section 8. Processing and Math Instructions 8-25 PRT (Dest, Reps, Source, Mult, Offset) Calculates temperature from the resistance of an RTD. Syntax
Section 8. Processing and Math Instructions 8-26 RealTime Used to pick out year, month, day, hour, minute, second, usecond, day of week, and day of y
Section 8. Processing and Math Instructions 8-27 RectPolar (Dest, Source) Converts from rectangular to polar coordinates. Parameter & Data Type E
CR3000 Overview OV3.2.4 Advanced Is Router allows you to control whether the datalogger will act as a PakBus router. PakBus Nodes Allocation Specifi
Section 8. Processing and Math Instructions 8-28 RMSSpa (Dest, Swath, Source) Used to compute the root mean square (RMS) value of an array. Syntax RM
Section 8. Processing and Math Instructions 8-29 SatVP (Dest, Temp) Calculates saturation vapor pressure over water (Svpw) in kilopascals from the ai
Section 8. Processing and Math Instructions 8-30 If X = 0, then Sgn(X) = 0. If X < 0, then Sgn(X) = -1. SGN Function Example The example uses S
Section 8. Processing and Math Instructions 8-31 SINH (NumericExpression) The SINH function returns the hyperbolic sine of an expression or value. Sy
Section 8. Processing and Math Instructions 8-32 StdDevSpa (Dest, Swath, Source) Used to find the standard deviation of an array. Syntax StdDevSpa(De
Section 8. Processing and Math Instructions 8-33 Parameter & Data Type Enter BrZero Variable The variable array that holds the unstrained readin
Section 8. Processing and Math Instructions 8-34 StrainCalc Example This example uses StrainCalc to find the microstrain value of a bridge output. &a
Section 8. Processing and Math Instructions 8-35 TAN (Angle) Returns the tangent of an angle. Syntax x = TAN (Angle) Remarks The angle argument can b
Section 8. Processing and Math Instructions 8-36 TimeIntoInterval (TintoInt, Interval, Units) The TimeIntoInterval (or IfTime) instruction is used to
Section 8. Processing and Math Instructions 8-37 VaporPressure (Dest, Temp, RH) The VaporPressure instruction calculates the ambient vapor pressure (
CR3000 Overview OV3.3 Logger Control Tab The clock in the PC and the datalogger will be checked every second and the difference displayed. The Syst
Section 8. Processing and Math Instructions 8-38 Parameter & Data Type Enter Pressure Variable or Constant The variable containing atmospheric
Section 8. Processing and Math Instructions 8-39 XOR Operator Example The example sets the variable Msg based on the value of variables A, B, and C,
Section 8. Processing and Math Instructions 8-40 This is a blank page.
9-1 Section 9. Program Control Instructions BeginProg … EndProg The BeginProg instruction is used to mark the beginning of a program. EndProg marks
Section 9. Program Control Instructions 9-2 'Main program - Read datalogger real-time clock 'Measure 2 pulse count channels and Call DataTa
Section 9. Program Control Instructions 9-3 CallTable Used to call a data table. Syntax CallTable Name Remarks CallTable is used in the main program
Section 9. Program Control Instructions 9-4 This next example uses Restore to read 1, 2, 3, 4 into both X( ) and Y( ) variables. Data 1, 2, 3, 4 For
Section 9. Program Control Instructions 9-5 Parameter & Data Type Enter DelayOption Constant Code 0 1 Result Delay will affect the measureme
Section 9. Program Control Instructions 9-6 Often used with the evaluation of some condition (for example, If...Then), Exit Do transfers control to t
Section 9. Program Control Instructions 9-7 The FileManage instruction has the following parameters: Parameter & Data Type Enter Device; Filenam
CR3000 Overview OV3.4 Data Monitor Tab The Data Monitor tab shows the latest record in the tables stored in the CR3000. OV3.5 Send OS Tab - Downloa
Section 9. Program Control Instructions 9-8 For ... Next Repeats a group of instructions a specified number of times. Syntax For counter = start To
Section 9. Program Control Instructions 9-9 For I = 1 To 10 For J = 1 To 10 For K = 1 To 10 ... Next K Next J Next I Note If you omit the v
Section 9. Program Control Instructions 9-10 Then Identifies actions to be taken if condition is satisfied. thenpart Statements or branches perform
Section 9. Program Control Instructions 9-11 statements following Then or Else, the program continues with the statement following EndIf. The Else an
Section 9. Program Control Instructions 9-12 "Device:FileName" The "Device:Filename" argument is the file that should be execute
Section 9. Program Control Instructions 9-13 Scan … NextScan Used to establish the program scan rate. Syntax Scan(Interval, Units, BufferOption, Coun
Section 9. Program Control Instructions 9-14 though Scan is used to signify the start of a scan in a slow sequence. In SlowSequence, the measurement
Section 9. Program Control Instructions 9-15 the Case clauses matches testexpression, program execution continues at the statement following EndSelec
Section 9. Program Control Instructions 9-16 SetSecurity (security1, security2, security3) Used to implement up to three levels of security in the da
Section 9. Program Control Instructions 9-17 FieldName Description MaxProcTime The maximum amount of time that it has taken to execute the program.
CR3000 Overview The text at right gives the instructions for downloading the OS. Follow these instructions. When you click the Start button, DevConf
Section 9. Program Control Instructions 9-18 measurements, followed by background calibration (which is automatically run in a slow sequence), then t
Section 9. Program Control Instructions 9-19 'Second Slow Sequence Scans every 30 minutes and stores daily average and min. SlowSequence DataT
Section 9. Program Control Instructions 9-20 Timer (TimNo, TUnits, TOption) Used to return the value of a timer. Remarks Timer is a function that ret
Section 9. Program Control Instructions 9-21 BeginProg Scan (1,Sec,3,0) Timer (1,uSec,2) PanelTemp (Ptemp,250) TCDiff(TCTemp,1,mV20,1,TypeT,PT
Section 9. Program Control Instructions 9-22 Remarks While…Wend loops can be nested. The While...Wend statement has the following parameters: While
10-1 Section 10. Custom Keyboard Display Menus CRBasic has the capability of creating a custom keyboard display menu for a datalogger program. The c
Section 10. Custom Keyboard Display Menus 10-2 'Define Custom Menu: DisplayMenu ("Example Custom Menu",1) SubMenu("Current Temp
Section 10. Custom Keyboard Display Menus 10-3 Parameter & Data Type Enter MenuName Text The text that will be shown as the heading for the cust
Section 10. Custom Keyboard Display Menus 10-4 The Variable parameter is the variable name of the value to be displayed. Values displayed using Menu
11-1 Section 11. String Functions 11.1 Expressions with Strings 11.1.1 Constant Strings Fixed (constant) strings can be used in expressions using q
CR3000 Overview The information in the dialog helps to corroborate the signature of the operating system sent. For devices such as the CR10X (especi
Section 11. String Functions 11-2 11.1.5 String Comparison Operators The comparison operators =, >,<,<>, >= and <= operate on stri
Section 11. String Functions 11-3 Parameter & Data Type Enter Float Variable or Constant The variable or constant that holds the floating point
Section 11. String Functions 11-4 Parameter & Data Type Enter Start Integer An integer that specifies where in the SearchString to start looki
Section 11. String Functions 11-5 Remarks The Start and Length parameters are used to determine which part of the SearchString is returned. Regardle
Section 11. String Functions 11-6 SplitStr Example In the following example, a string is split into 5 different arrays using the SplitStr instruction
12-1 Section 12. Serial Input and Output Functions This set of instructions and functions are meant to be used with (non-PakBus) serial sensors and c
Section 12. Serial Input and Output Functions 12-2 Parameter & Data Type Enter BaudRate Used to set the rate, in bps, for communication. The op
Section 12. Serial Input and Output Functions 12-3 Each instruction has one parameter: Parameter & Data Type Enter PakBusAddr Integer Identifies
Section 12. Serial Input and Output Functions 12-4 Parameter & Data Type Enter ResultCode Variable A variable that holds the results of the comm
Section 12. Serial Input and Output Functions 12-5 Parameter & Data Type Enter Variable Variable The variable array that is used as the source o
CR3000 Table of Contents PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmarks tab fo
CR3000 Overview The top of the Settings Editor is a grid that allows the user to view and edit the settings for the device. The grid is divided into
Section 12. Serial Input and Output Functions 12-6 Parameter & Data Type Enter BaudRate Used to set the rate, in bps, for communication. The op
Section 12. Serial Input and Output Functions 12-7 if the datalogger is allowed to go into its low power sleep mode between infrequent ModBus queries
Section 12. Serial Input and Output Functions 12-8 The ComPort parameter specifies the communication port that should be closed. This instruction run
Section 12. Serial Input and Output Functions 12-9 Syntax SerialInBlock ( ComPort, Dest, MaxNumberBytes ) Remarks Incoming serial data, up to the val
Section 12. Serial Input and Output Functions 12-10 Syntax SerialOut ( ComPort, OutString, WaitString, NumberTries, TimeOut ) If this instruction is
13-1 Section 13. PakBus Communication Instructions This set of instructions is used to communicate with other PakBus devices. In general they specif
Section 13. PakBus Communication Instructions 13-2 TABLE 13.1-2. ResultCode Error Codes 1 Read Only or Permission denied 2 Out of Space in the re
Section 13. PakBus Communication Instructions 13-3 Parameter & Data Type Enter ComPort Constant The communications port that will be used to co
Section 13. PakBus Communication Instructions 13-4 Parameter & Data Type Enter ResultCode Variable The variable in which a response code for th
Section 13. PakBus Communication Instructions 13-5 Network (ResultCode, Reps, BeginAddr, TimeIntoInterval, Interval, Gap, GetSwath, GetVariable, Send
CR3000 Overview Clicking the Factory Defaults button on the Settings Editor will send a command to the device to revert to its factory default settin
Section 13. PakBus Communication Instructions 13-6 Parameter & Data Type Enter GetVariables Variable or Variable Array The variable or variable
Section 13. PakBus Communication Instructions 13-7 Public PTemp, batt_volt,Result(2),Rx(2,3),Tx(2,1) DataTable (Test,1,-1) DataInterval (0,15,Sec,1
Section 13. PakBus Communication Instructions 13-8 Routes (Dest) The Routes instruction returns a list of known dynamic routes for a PakBus datalogge
Section 13. PakBus Communication Instructions 13-9 By default, LoggerNet uses PakBus address 4094 and PC400 uses 4093. SendData Example Program Th
Section 13. PakBus Communication Instructions 13-10 Parameter & Data Type Enter ResultCode Variable The variable in which a response code for t
Section 13. PakBus Communication Instructions 13-11 Public PTemp, batt_volt, RxData, TxData(3), RxResponse, counter, time DataTable (Test,1,-1) Da
Section 13. PakBus Communication Instructions 13-12 SendTableDef Example Program The following example program sends the table definitions from Table
Section 13. PakBus Communication Instructions 13-13 Parameter & Data Type Enter Security Integer The security code of the datalogger to which v
Section 13. PakBus Communication Instructions 13-14 SetSettings (ResultCode, ComPort, NeighborAddr, PakBusAddr, Security, TimeOut, Settings) The SetS
Section 13. PakBus Communication Instructions 13-15 Public Flag(1), SetResult BeginProg Scan (1,Sec,3,0) If Flag(1) Then SetSettings (SetResul
CR3000 Overview LoggerNet Datalogger Support Software (full-featured software) supports combined telecommunication options, data display, and schedule
Section 13. PakBus Communication Instructions 13-16 Public PTemp, batt_volt, RxData, TxData(3), RxResponse, counter, time DataTable (Test,1,-1) Dat
A-1 Appendix A. CR3000 Status Table The CR3000 status table contains current system operating status information that can be accessed from the runnin
Appendix A. CR3000 Status Table A-2 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type Low12VCount5 Keeps
Appendix A. CR3000 Status Table A-3 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type ProgMemFree Amount
Appendix A. CR3000 Status Table A-4 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type LastSlowScan The l
Appendix A. CR3000 Status Table A-5 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type Baudrate15 Array of
Appendix A. CR3000 Status Table A-6 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type CalSeOffSet17 Calib
Appendix A. CR3000 Status Table A-7 accessing an array with a variable index such as arr(index) = arr(index-1), where index is a variable). 8 The se
Appendix A. CR3000 Status Table A-8 This is a blank page.
This is a blank page.
CR3000 Overview When PC200W is first started, the EZSetup Wizard is launched. Click the Next button and follow the prompts to select the CR3000, the
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com info@campbells
CR3000 Overview Click on the Short Cut button to display the Home screen, as shown below. Each of the four steps has a button with a ? for accessing
CR3000 Overview Double click on the Type T thermocouple, change the number to 1 and click OK. On the next screen, make sure Ptemp_C is selected for t
CR3000 Overview Step 3: Output Processing Step 3 is to define the output processing for the sensor measurements. Click the Outputs link in the Progre
CR3000 Overview Step 4: Finish Click the Finish link in the Progress menu on the left side to complete the program. Type in QuickStart for the file n
CR3000 Overview OV4.4.2 Configuring the Setup Tab From the Setup/Connect screen, click on the Connect button to establish communications with the CR3
CR3000 Overview OV4.4.6 Collect Data Click on the Collect Data tab. From the Collect Data window you can choose what data to collect, and where to
CR3000 Table of Contents OV4.1.1 Options for Creating CR3000 Programs ... OV-24 OV4.2 Connections to the CR3000...
CR3000 Overview OV4.4.7 View Data To view the collected data, click on the View button (located in the upper right hand corner of the main screen).
CR3000 Overview OV4.5 Programming using the CRBasic Program Editor Those users who are moving from the Edlog Program Editor to the CRBasic Program Ed
CR3000 Overview OV5. Keyboard Display The CR3000 has an onboard keyboard display. This section illustrates the use of the keyboard display. The CR30
CR3000 Overview CR3000 Display CAMPBELL SCIENTIFIC CR3000 Datalogger 10/18/2005, 13:21:45 CPU: QuickStart.CR3 Running. Real Time Tabl
CR3000 Overview OV5.1 Data Display Data Run/Stop Program File PCCard Ports and Status Configure, Settings List of Data Tables create
CR3000 Overview OV5.1.1 Real Time Tables Public Table1 Temps Tref : 23.0234 TCTemp(1) : 19.6243 TCTemp(2) : 19.3429 TCTemp(3) : 21.2003 Flag(1) :
CR3000 Overview OV5.1.2 Real Time Custom The first time you navigate to Real Time Custom you will need to set up the display. The CR3000 will keep t
CR3000 Overview OV5.1.3 Final Storage Tables TimeStamp Record Tref TC(1) TC(2) TC(3) "2000-01-03 00:12:38" 0 21.934
CR3000 Overview OV5.2 Run/Stop Program CPU: ProgramName.CR1 Is Running >* Run on Power Up Stop, Retain Data Stop, Delete Data
CR3000 Overview OV5.3 File Display Data Run/Stop Program File PCCard Ports and Status Configure, Settings New File Name: CPU: .CR3 CRD: .C
CR3000 Table of Contents 2. Data Storage and Retrieval...2-1 2.1 Data Storage in CR3000 ...
CR3000 Overview OV5.3.1 File: Edit The CRBasic Program Editor is recommended for writing and editing datalogger programs. Changes in the field can b
CR3000 Overview OV5.4 PCCard Display Data Run/Stop Program File PCCard Ports and Status Configure, Settings All Card Data Will be Lost! Pr
CR3000 Overview OV5.5 Ports and Status List of Status Variables (see Appendix A) Ports Status Table PortStatus (1): OFF PortStatus (
CR3000 Overview OV5.6 Settings Set Time/Date Settings Display Routes : xxxx StationName : xxxx PakBusAddress : xxxx Security(1) : x
CR3000 Overview OV5.6.3 Configure Display Set Time/Date Settings Display Light Dark <- * -> Turn Off Display Backlight C
CR3000 Overview OV6. Specifications ANALOG INPUTS (SE1-SE28 or DIF1-DIF14)14 differential (DF) or 28 single-ended (SE) voltage measurements individua
CR3000 Overview OV-48
1-1 Section 1. Installation and Maintenance 1.1 Protection from the Environment The normal environmental variables of concern are temperature and mo
Section 1. Installation and Maintenance 1-2 1.2 Power Requirements The CR3000 operates at a nominal 12 VDC. Below 10 V or above 16 volts the CR3000
Section 1. Installation and Maintenance 1-3 FIGURE 1.2-1. CR3000 Battery Pack and Panel 1.3 Campbell Scientific Power Supplies The CR3000 is avail
CR3000 Table of Contents 4.5 Numerical Entries ...4-9 4.6 Logical Expr
Section 1. Installation and Maintenance 1-4 10 D-TYPE ALKALINE BATTERIES FIGURE 1.3-1. Alkaline Battery Orientation While the CR3000 has a wide oper
Section 1. Installation and Maintenance 1-5 TABLE 1.3-1. Typical Alkaline Battery Service and Temperature Temperature (oC) % of 20oC Service 20 - 5
Section 1. Installation and Maintenance 1-6 BLACKREDWHITE6V 7AHLEAD ACIDBATTERY6V 7AHLEAD ACIDBATTERYLEAD ACID BATTERY REPLACEMENT--++ FIGURE 1.3-2.
Section 1. Installation and Maintenance 1-7 1. A CR3000 equipped with standard lead acid batteries should NEVER be used in applications requiring IN
Section 1. Installation and Maintenance 1-8 1.3.3.2 PS100 Lead Acid Power Supply The PS100 power supply includes a 12 V, 7.0 amp-hour lead acid batt
Section 1. Installation and Maintenance 1-9 TABLE 1.3-3. PS100, Battery, and AC Transformer Specifications Input Voltage (CHG terminals) 15 to 28 V
Section 1. Installation and Maintenance 1-10 1.3.3.4 A100 Null Modem Adapter The A100 Null Modem Adapter is used when 5 volts is needed to power ext
Section 1. Installation and Maintenance 1-11 1.6 Vehicle Power Supply Connections If a CR3000 is powered from the 12 Volts of a motor vehicle, a sec
Section 1. Installation and Maintenance 1-12 FIGURE 1.7-1. Schematic of CR3000 Grounds The 9-pin serial I/O ports on the CR3000 are another p
Section 1. Installation and Maintenance 1-13 A good earth (chassis) ground will minimize damage to the datalogger and sensors by providing a low resi
CR3000 Table of Contents 12. Serial Input and Output Functions...12-1 13. PakBus Communication Instructions...13-1
Section 1. Installation and Maintenance 1-14 1.7.3 Effect of Grounding on Single-Ended Measurements Low-level single-ended voltage measurements can
Section 1. Installation and Maintenance 1-15 TABLE 1.8-1. Current Sourcing Limits Terminals Current Source Limit SW12 < 900 mA @ 20°C &l
Section 1. Installation and Maintenance 1-16 1.9.1 Use of Digital I/O Ports for Switching Relays Each of the eight digital I/O ports (C1 - C8) can b
Section 1. Installation and Maintenance 1-17 FIGURE 1.9-2. Power Switching without Relay 1.10 Maintenance The CR3000 power supplies require a mini
Section 1. Installation and Maintenance 1-18 years (less at temperature extremes). Where the CR3000 is powered most or all of the time the lithium c
Section 1. Installation and Maintenance 1-19 FIGURE 1.10-1. CR3000 with wiring panel. FIGURE 1.10-2. Loosen thumbscrews to remove CR3000 wiring p
Section 1. Installation and Maintenance 1-20 FIGURE 1.10-3. Disconnect internal battery from wiring panel (BPALK and Sealed Rechargeable base only)
Section 1. Installation and Maintenance 1-21 FIGURE 1.10-5. Remove battery cover and replace battery.
Section 1. Installation and Maintenance 1-22 This is a blank page.
Section 2. Data Storage and Retrieval The CR3000 can store individual measurements or it may use its extensive processing capabilities to calculate a
CR3000 Table of Contents Tables OV1-2. Computer RS-232 Pin-Out... OV-6 OV2-1. Typical Data Tab
Section 2. Data Storage and Retrieval Campbell Scientific offers and recommends CF cards manufactured by Silicon Systems. Silicon Systems’ CF cards
Section 2. Data Storage and Retrieval 2.2 Internal Data Format TABLE 2.2-1 CR3000 DATA TYPES Data Type Size Range Resolution LONG 4 bytes -2,1
Section 2. Data Storage and Retrieval When the CR3000 is used without a computer in the field, or large data files are collected on a CF card, the CF
Section 2. Data Storage and Retrieval 2.3.2.2 Removing Card from CR3000 To remove a card, press the button on the CFM100 or NL115 . The CR3000 will
Section 2. Data Storage and Retrieval "File Format","Station","Logger","Serial No.","OS Ver","
Section 2. Data Storage and Retrieval Field Data Type This header line is only in TOB1 binary format and identifies the data type for each of the fie
Section 2. Data Storage and Retrieval 2.4.4 TOB3 Binary File Format The TOB3 binary format has a header similar to the other formats. TOB3 data is
Section 3. CR3000 Measurement Details 3.1 Analog Voltage Measurement Sequence The CR3000 measures analog voltages with either an integrate and hold
Section 3. CR3000 Measurement Details made with the 250 µs integration on the ±5000 mV range. The second measurement is made on the appropriate rang
Section 3. CR3000 Measurement Details 3.1.2 Reversing Excitation or the Differential Input Reversing the excitation polarity or the differential inp
CR3000 Overview The CR3000 provides precision measurement capabilities with processing and control capability in a rugged, battery-operated package.
Section 3. CR3000 Measurement Details When the CR3000 reverses the differential input or the excitation polarity it delays the same settling time aft
Section 3. CR3000 Measurement Details There are two sets of channel numbers on the analog channels. Differential channels (1-14) have two inputs: hi
Section 3. CR3000 Measurement Details A differential measurement has the option of reversing the inputs to cancel offsets as described above. Susta
Section 3. CR3000 Measurement Details 3.3.2 Measuring the Necessary Settling Time The CR3000 can measure the time required for a particular sensor/c
Section 3. CR3000 Measurement Details The program was run on a Druck water level pressure transducer with 200 feet of cable. The first six measureme
Section 3. CR3000 Measurement Details junction, which becomes the reference junction, is formed where the other ends of the wires are connected to th
Section 3. CR3000 Measurement Details Panel Temperature error summary-0.100.10.20.30.40.50.60.70.8-55 -35 -15 5 25 45 65 85Sum of Worst Case ErrorsTh
Section 3. CR3000 Measurement Details Reference Temperature Errors Due to Panel GradientChamber Changed from -65 to + 70 deg C-15-12-9-6-300 10203040
Section 3. CR3000 Measurement Details Thermocouple Limits of Error The standard reference which lists thermocouple output voltage as a function of te
Section 3. CR3000 Measurement Details Accuracy of the Thermocouple Voltage Measurement The -25 to 50 °C accuracy of a CR3000 differential voltage mea
Komentarze do niniejszej Instrukcji