CR1000 Measurement and Control SystemRevision: 5/13 Copyright © 2000 - 2013 Campbell Scientific, Inc.
Table of Contents 107.7.3.4 Single-Line Declarations... 115 7.7.3.4.1 Variables...
Section 7. Installation 100• Beacon Interval sets the interval (in seconds) on which the datalogger will broadcast beacon messages on the port s
Section 7. Installation 101 Figure 40: DevConfig Deployment | ComPorts Settings tab Advanced Sub-Tab • Is Router allows the datalogger to act as
Section 7. Installation 102• Files Manager Setting specifies the number of files with the specified extension that will be saved when received f
Section 7. Installation 103 Figure 42: DevConfig Logger Control tab 7.6.3.2 Settings via CRBasic Some variables in the Status table can be reques
Section 7. Installation 104Campbell Scientific recommends implementing one or both of the provisions described in "Include" File (p. 10
Section 7. Installation 105 Figure 44: "Include File" settings via PakBusGraph CRBasicExample1. Usingan"IncludeFile"t
Section 7. Installation 106'<<<<<<<<<<<<<<<<<<<<<<<Note: No BeginProg I
Section 7. Installation 1076. If there is no default.cr1 file or it cannot be compiled, the CR1000 will not automatically run any program. 7.6.3.
Section 7. Installation 108• It does not understand distances or topography; that is, it does not warn the user when broadcast distances are exc
Section 7. Installation 1097.7.1 Writing and Editing Programs 7.7.1.1 Short Cut Editor and Program Generator Short Cut is easy-to-use, menu-driven
Table of Contents 117.8.2.5 FTP Client... 171 7.8.2.6 Telnet ...
Section 7. Installation 1107.7.1.2.1 Inserting Comments into Program Comments are non-executable text placed within the body of a program to docu
Section 7. Installation 111Regardless of the program-upload tool used, if any change occurs to data table structures listed in table Data Table Str
Section 7. Installation 1127.7.3 Syntax 7.7.3.1 Numerical Formats Four numerical formats are supported by CRBasic. Most common is the use of base
Section 7. Installation 113 Table 9. CRBasic Program Structure Declarations Define CR1000 memory usage. Declare constants, variables, aliases, unit
Section 7. Installation 114'Define public variables Public RefTemp Public TC(6) 'Define Units Units RefTemp = degC Units TC = D
Section 7. Installation 115operator is located in the Help files of CRBasic Editor, which is included with LoggerNet, PC400, and RTDAQ datalogger s
Section 7. Installation 116variables can be viewed through the external keyboard / display or software numeric monitors. Dim variables cannot. Al
Section 7. Installation 117In this example, a For/Next structure with a changing variable is used to specify which elements of the array will have
Section 7. Installation 118BeginProg Scan() aaa = 3 bbb = 2 ccc = 4 VariableName(aaa,bbb,ccc) = 2.718 NextScan EndProg Dime
Section 7. Installation 119 Table 10. Data Types Name: Command or Argument Description / Word Size Where Used Notes Resolution / Range FP2 Campb
Table of Contents 127.8.13.4 Inserting String Characters... 239 7.8.13.5 Extracting String Characters ...
Section 7. Installation 120Table 10. Data Types Name: Command or Argument Description / Word Size Where Used Notes Resolution / Range As Boolea
Section 7. Installation 121 DataTable(TableName,True,-1) 'FP2 Data Storage Example Sample(1,Z,FP2) 'IEEE4 / Float Data Storage Exa
Section 7. Installation 122Variable Initialization By default, variables are set equal to zero at the time the datalogger program compiles. Vari
Section 7. Installation 123 CRBasicExample12. UsingtheConstDeclarationPublic PTempC, PTempF Const CtoF_Mult = 1.8 Const CtoF_Offset = 32 B
Section 7. Installation 124Table 11. Predefined Constants and Reserved Words mv50cR mv500c mv7_5 mv7_5c mvX10500 mv50R NSEC PROG SCAN mvX1500
Section 7. Installation 125 CRBasicExample13. Foreign‐LanguageSupport‘Declare a constant to concatenate six non-English characters Const PTem
Section 7. Installation 126• name of the CRBasic program running in the datalogger • name of the data table (limited to 20 characters) • alpha
Section 7. Installation 127 Table 13. Typical Data Table TOA5 CR1000 CR1000 1048 CR1000.Std.13.06 CPU:Data.cr1 35723 OneMin TIMESTAMP RECO
Section 7. Installation 128'Define Data Tables DataTable(OneMin,True,-1) DataInterval(0,1,Min,10) Average(1,Batt_Volt,FP2,False) Avera
Section 7. Installation 129• Size-Table size is the number of records to store in a table before new data begins overwriting old data. If "10
Table of Contents 138.1.2.8.2 Measuring the Necessary Settling Time... 287 8.1.2.9 Self-Calibration...
Section 7. Installation 130lapse occurs, the SkippedRecords status entry is incremented, and a 16-byte sub-header with time stamp and record numb
Section 7. Installation 131Data Output-Processing Instructions Final data storage processing instructions (aka "output processing" instru
Section 7. Installation 1327.7.3.5.2 Subroutines Read More! See Subroutines (p. 187) for more information on programming with subroutines. Subrou
Section 7. Installation 133Instructions or commands that are handled by each sequencer are listed in table Task Processes (p. 133). The measurement
Section 7. Installation 134the sequence in which the instructions are executed may not be in the order in which they appear in the program. There
Section 7. Installation 135Note Measurement tasks have priority over other tasks such as processing and communication to allow accurate timing nee
Section 7. Installation 136Table 17. Program Timing Instructions Instructions General Guidelines Syntax Form SubScan / NextSubScan Use when meas
Section 7. Installation 137allows the processing in the scan to lag behind measurements at times without affecting measurement timing. Use of the C
Section 7. Installation 138measurement hardware until the main scan, including measurements and processing, is complete. Main Scans Execution of
Section 7. Installation 139 Figure 47: Sequential-mode scan priority flow diagrams 7.7.3.8 Instructions In addition to BASIC syntax, additional i
Table of Contents 148.3.1.1 Data Storage... 332 8.3.1.1.1 Data Table SRAM ...
Section 7. Installation 140PanelTemp is the keyword. Two parameters follow: Dest, a destination variable name in which the temperature value is s
Section 7. Installation 141Table 18. Rules for Names Name Category1 Maximum Length (number of characters) Allowed characters Data-table name 20
Section 7. Installation 142 CRBasicExample19. UseofArraysasMultipliersandOffsetsPublic Pressure(3), Mult(3), Offset(3) DataTable(AvgP
Section 7. Installation 143Note Single-precision float has 24 bits of mantissa. Double precision has a 32-bit extension of the mantissa, resulting
Section 7. Installation 144BeginProg Fa = 0 Fb = 0.125 L = 126 Ba = Fa 'This will set Ba = False (0) Bb = Fb
Section 7. Installation 145 CRBasicExample22. ConstantstoLONGsorFLOATsPublic I As Long Public A1, A2 Const ID = 10 BeginProg A1 = A2 + I
Section 7. Installation 146TRUE is safe, it may not always be the best programming technique. Consider the expression If Condition(1) then... Si
Section 7. Installation 147Table 20. Logical Expression Examples If X >= 5 AND Z = 2 then Y = 0 Sets Y = 0 only if both X >= 5 and Z = 2 are
Section 7. Installation 148'Program BeginProg Scan(1,Sec,0,0) 'Assign strings to String variables Wrd(1) = " ":Wrd
Section 7. Installation 149Table 21. Abbreviations of Names of Data Processes Abbreviation Process Name Max Maximum Min Minimum SMM Sample at Max o
Table of Contents 158.6.2 Modbus... 367 8.6.2.1 Overview...
Section 7. Installation 1507.7.3.11 System Signatures Signatures help assure system integrity and security. The following resources provide info
Section 7. Installation 1517.8 Programming Resource Library This library of notes and CRBasic code addresses a narrow selection of CR1000 applicati
Section 7. Installation 152each with two supporting instructions: • LoadFieldCal() — an optional instruction that evaluates the validity of, and
Section 7. Installation 153 Mode Variable Interpretation > 0 and ≠ 6 calibration in progress < 0 calibration encountered an error 2 calibr
Section 7. Installation 154"offset"="y‐intercept"="zero""multiplier"="slope"="ga
Section 7. Installation 1555. To simulate conditions for a 30-day, service-calibration, again with desiccated chamber conditions, set variable Kno
Section 7. Installation 156 Table 23. Calibration Report for Salinity Sensor Parameter Parameter at Deployment Parameter at 7-Day Service mV outp
Section 7. Installation 157BeginProg Multiplier = .05 Offset = 0 LoadFieldCal(true) 'Load the CAL File, if poss
Section 7. Installation 158 Calibration Report for Pressure Transducer Parameter Measurement Before Zero Measurement After Zero Piezometer Outpu
Section 7. Installation 159 'AVW200(AVWRC,Com1,0,200,VW(1,1),1,1,1,1000,4000,1,_60Hz,1,0) '<<actual measurement 'instru
Table of Contents 16Section 10. Troubleshooting...423 10.1 Status Table...
Section 7. Installation 1604. When variable CalMode increments to 6, the deployment calibration is complete. Calibrated multiplier is -0.08. Cal
Section 7. Installation 1617.8.1.5.5 Two-Point Slope Only (Option 3) Some measurement applications do not require determination of offset. Wave for
Section 7. Installation 162 Scan(100,mSec,0,0) 'Simulate measurement by exciting channel VX1/EX1 ExciteV(Vx1,mV,0) 'Make
Section 7. Installation 1634. The zero function of FieldCalStrain() allows the user to set a particular strain as an arbitrary zero, if desired. Z
Section 7. Installation 164 CRBasicExample31. FieldCalStrain()CalibrationDemonstration'Program to measure quarter bridge strain gage
Section 7. Installation 1657.8.1.6.1 Quarter-Bridge Shunt (Option 13) With CRBasic example FieldCalStrain() Calibration Demo (p. 164) sent to the C
Section 7. Installation 166 Figure 52: Starting zero procedure Figure 53: Zero procedure finished 7.8.2 Information Services Support of infor
Section 7. Installation 167• PakBus communication over TCP/IP. • Callback (datalogger-initiated communication) using the CRBasic TCPOpen() instru
Section 7. Installation 168 Figure 54: Preconfigured HTML Home Page 7.8.2.3 Custom HTTP Web Server Although the default home page cannot be acc
Section 7. Installation 169 Figure 55: Home page created using WebPageBegin() instruction Figure 56: Customized numeric-monitor web page
Table of Contents 17A.2.2 Data Destinations... 476 A.2.3 Final Data Storage (Outp
Section 7. Installation 170 CRBasicExample32. HTML'NOTE: Lines ending with "+" are wrapped to the next line to fit on the pri
Section 7. Installation 171BeginProg Scan(1,Sec,3,0) PanelTemp(RefTemp,250) RealTime(Time()) Minutes = FormatFloat(Time(5),"%02.
Section 7. Installation 172 7.8.2.9 Micro-Serial Server The CR1000 can be configured to allow serial communication over a TCP/IP port. This is us
Section 7. Installation 173• Programmed mode automates much of the SDI-12 protocol and provides for data recording. 7.8.3.1 SDI-12 Transparent Mo
Section 7. Installation 174 7.8.3.1.1 SDI-12 Transparent Mode Commands Commands have three components: Sensoraddress(a)–asinglecharacter,a
Section 7. Installation 175Table 25. Standard SDI-12 Command and Response Set Command Name Command Syntax1 Response2 Start Concurrent Measurement a
Section 7. Installation 176Serial number = 101 Start Measurement Commands (aM! & aC!) A measurement is initiated with M! or C! commands. Th
Section 7. Installation 177Send Data Commands (aD0! to aD9!) These commands requests data from the sensor. They are normally issued automatically
Section 7. Installation 178is programmed with the M! command (note that the SDI-12 address is a separate instruction parameter), the CR1000 issue
Section 7. Installation 179Table 26. SDI12Recorder() Commands SDIRecorder() Instruction SDICommand Entry Actions Internal to CR1000 and Sensor 2U
Table of Contents 18A.21 User Defined Functions... 525 Appendix B. Status Table an
Section 7. Installation 180 Scan(5,Sec,0,0) 'Non-SDI-12 measurements here NextScan SlowSequence Scan(5,Min,0,0) SDI12Rec
Section 7. Installation 181 CRBasicExample33. UsingAlternateConcurrentCommand(aC)'Code to use when back to back SDI-12 concurrent mea
Section 7. Installation 182 Else 'C!/C command sequence complete Move(Temp_Meas(X),1,Temp_Tmp(X),1) 'Copy measurements
Section 7. Installation 183 SlowSequence Do 'Note SDI12SensorSetup / SDI12SensorResponse must be renewed 'after each suc
Section 7. Installation 184 CRBasicExample35. UsinganSDI‐12ExtendedCommand'SDI-12 extended command "XT23.61!" sent to CH2
Section 7. Installation 185 CRBasicExample36. SDI‐12SensorSetupPublic PTemp, batt_volt Public Source(10) BeginProg Scan(5,Sec,0,0) Pa
Section 7. Installation 186Example: Probe: Water Content Power Usage: • Quiescent: 0.25 mA • Measurement: 120 mA • Measurement Time: 15 s • A
Section 7. Installation 187 7.8.4 Subroutines A subroutine is a group of programming instructions that is called by, but runs outside of, the main
Section 7. Installation 188'Global variables (Used only outside subroutine by choice) 'Declare Counter in the Main Scan. Public counter
Section 7. Installation 189 Table 29. OutputOpt Options Option Description (WVc() is the Output Array) 0 WVc(1): Mean horizontal wind speed (S) W
Table of Contents 19F.10.3 Software Tools ... 571 F.10.4 Software Development K
Section 7. Installation 190Standard deviation of horizontal wind fluctuations from sub-intervals is calculated as follows: where: is the standa
Section 7. Installation 191 Figure 58: Mean wind-vector graph where for polar sensors: or, in the case of orthogonal sensors: Resultant mean
Section 7. Installation 192Standard Deviation of Direction Figure 59: Standard Deviation of Direction The Taylor Series for the Cosine function,
Section 7. Installation 193and have never been greater than a few degrees. The final form is arrived at by converting from radians to degrees (57.
Section 7. Installation 194SubMenu() / EndSubMenu Definesthebeginningandendofasecond‐levelmenu.Note SubMenu() label must be at least 6
Section 7. Installation 195 Figure 63: Custom menu example — Predefined-notes pick list Figure 64: Custom menu example — Free-Entry notes window
Section 7. Installation 196 Figure 67: Custom menu example — control-LED pick list Figure 68: Custom menu example — control-LED Boolean pick l
Section 7. Installation 197Const Off = false 'Assign "Off" as Boolean False Public StartFlag As Boolean
Section 7. Installation 198 'Measure Two Thermocouples TCDiff(TCTemp(),2,mV2500C,1,TypeT,Re
Section 7. Installation 199Note Do not confuse CRBasic files with .DLD extensions with files of .DLD type used by legacy Campbell Scientific datal
Table of Contents 20Figure 49: Quarter-bridge strain-gage schematic with RC-resistor shunt... 163 Figure 50: Strain-gage shunt calibration started...
Section 7. Installation 200#ElseIf LoggerType = CR800 Const SourcSerialPort = Com1 #Else Const SourcSerialPort = Com1 #EndIf 'Public Va
Section 7. Installation 2017.8.8.1 Introduction Serial denotes transmission of bits (1s and 0s) sequentially, or "serially." A byte is a
Section 7. Installation 2027.8.8.2 I/O Ports The CR1000 supports two-way serial communication with other instruments through ports listed in tabl
Section 7. Installation 203Note If an instrument or sensor optionally supports SDI-12, Modbus, or DNP3, consider using these protocols before prog
Section 7. Installation 204MarksandSpacesRS‐232signallevelsareinvertedlogiccomparedtoTTL.Thedifferentlevelsarecalledmarksandsp
Section 7. Installation 205• BaudRrate — Baud rate mismatch is frequently a problem when developing a new application. Check for matching baud rat
Section 7. Installation 206• Buffer-size margin (one extra record + one byte). SerialOutBlock()1,3 • Binary • Can run in pipeline mode inside
Section 7. Installation 207• Does the record have a delimiter character, e.g. ",", spaces, or tabs? These delimiters are useful for pars
Section 7. Installation 2087.8.8.5.3 Output Programming Basics Applications with the purpose of transmitting data to another device usually inclu
Section 7. Installation 209Example (humidity, temperature, and pressure sensor): SerialInString = "RH= 60.5 %RH T= 23.7 °C Tdf= 15.6 °C Td= 15
Table of Contents 21Figure 104: Current limiting resistor in a rain gage circuit ... 325 Figure 105: Control port current sourci
Section 7. Installation 210• String declarations: String variables are memory intensive. Determine how large strings are and declare variables j
Section 7. Installation 211 Scan(5,Sec, 3, 0) 'Serial Out Code 'Transmits string "*27.435,56.789#" out COM1 Seria
Section 7. Installation 212 Figure 69: HyperTerminal New Connection description Figure 70: HyperTerminal Connect-To settings
Section 7. Installation 213 Figure 71: HyperTerminal COM-Port Settings Tab Click File | Properties | Settings | ASCII Setup... and set as shown.
Section 7. Installation 2147.8.8.6.2 Create Send Text File Create a file from which to send a serial string. The file shown in figure HyperTermin
Section 7. Installation 215recognize the C command. CR1000 dataloggers, however, require custom programming to output and accept these same ASCII s
Section 7. Installation 216'One Minute Data Table DataTable(OneMinTable,true,-1) OpenInterval 'sets interval same as fo
Section 7. Installation 217 'If it is a leap year, use this section. If (LeapYear = True) Then Select Case DOY Case Is < 32
Section 7. Installation 218 Case Is < 121 Month = 4 Date = DOY + -90 Case Is < 152 Month = 5 Dat
Section 7. Installation 219 '///////////////Serial Time Set Input Section/////////////// 'Accept old C command -- [2008:028:10:36:
Table of Contents 22Table 19. Binary Conditions of TRUE and FALSE... 146 Table 20. Logical Expression Examples ...
Section 7. Installation 2207.8.8.7 Q & A Q: I am writing a CR1000 program to transmit a serial command that contains a null character. The s
Section 7. Installation 221then TempData(1,1,2) = "TOP", TempData(1,1,3) = "OP", _ TempData(1,1,1) = "STOP" To hand
Section 7. Installation 222A: A common caution is, “The destination variable should not be used in more than one sequence to avoid using the vari
Section 7. Installation 223 Figure 75: Data from TrigVar program CRBasicExample42. UsingTrigVartoTriggerDataStorage'In this exampl
Section 7. Installation 224produce a time stamp that may be accessed from the program after being written to a data table. The time of other even
Section 7. Installation 225 CRBasicExample44. NSEC—TwoElementTimeArray'TimeStamp is retrieved into variables TimeOfMaxVar(1) and Tim
Section 7. Installation 226'Declarations Public rTime(9) As Long '(or Float) Public rTime2(7) As Long
Section 7. Installation 227 '3) sample time to three string forms using the TableName.FieldName notation. 'Form 1: "mm/dd/yyy
Section 7. Installation 228Variable aliasing (p. 124) can be employed in the CRBasic program to make the data more understandable. Figure 76:
Section 7. Installation 229 Figure 78: Bool8 data from bit-shift example (PC data file) CRBasicExample47. ProgrammingwithBool8andabit‐sh
Table of Contents 23Table 71. Frequency Resolution Comparison... 319 Table 72. Example of Differing Specific
Section 7. Installation 230 'If bit in OR bit in The result 'Flags Is Bin/Hex Is Is '---------- -------
Section 7. Installation 231 FlagsBool8(1) = Flags AND &HFF 'AND 1st 8 bits of "Flags" & 11111111 FlagsBool
Section 7. Installation 232 Table 32. TABLE. Summary of Analog Voltage Measurement Rates Maximum Rate 100 Hz 600 Hz 2000 Hz Number of Simultan
Section 7. Installation 233 BeginProg Scan(1,Sec,0,0)'<<<<Measurement rate is determined by Interval and Units VoltSe(FastSE
Section 7. Installation 234Many variations of this 200-Hz measurement program are possible to achieve other burst rates and duty cycles. The SubS
Section 7. Installation 235• One more way to view sub-scans is that they are a convenient (and only) way to put a loop around a set of measurement
Section 7. Installation 236 200 Table 37. Parameters for Analog Burst Mode (601 to 2000 Hz) CRBasic Analog Voltage Input Parameters Description w
Section 7. Installation 2377.8.13.1 String Operators The table String Operators (p. 237) list and describes available string operators. String ope
Section 7. Installation 238 Table 39. String Concatenation Examples Expression Comments Result Str(1) = 5.4 + 3 + " Volts" Add floats
Section 7. Installation 2397.8.13.4 Inserting String Characters CRBasicExample48. InsertingStringCharactersObjective: Use MoveBytes() to cha
Table of Contents 24Table 125. Standard Null-Modem Cable or Adapter-Pin Connections*... 551 Table 126. FP2 Data-Format Bit Descriptions...
Section 7. Installation 2407.8.13.7 Formatting Strings Table 43. Formatting Strings Examples Expression Result Str(1)=123e4 Str(2)=FormatFloat(1
Section 7. Installation 241'Data Tables 'Table output on two intervals depending on condition. 'note the parenthesis around the Trig
Section 7. Installation 242scan times, two separate scans can be used with logic to jump between them. If a PulseCount() is used in both scans,
Section 7. Installation 243 'function Scan(1,Sec,0,0) ProgSig = Status.ProgSignature
Section 7. Installation 244'Declare Public (viewable) Variables Public Batt_Volt As FLOAT 'Declared as Float Pub
Section 7. Installation 245 Minimum(1,AirTemp_C,FP2,0,False) 'Stores temperature minimum in low
Section 7. Installation 246 'Count how many times the DataEvent “DeltaT_C>=3” has occurred. The 'TableName.EventCount syntax
Section 7. Installation 247'Main Program BeginProg 'Begin executable section of program Scan(1,Sec,0
Section 7. Installation 248'Declare Variables Public PTemp, Batt_Volt, Level, TimeIntoTest Public Counter(10) Public Flag(8) As Boolean &ap
Section 7. Installation 249 '1 Minute Data Interval Scan(1,Min,0,70) Counter(4) = Counter(4) + 1 Battery(Batt_volt) P
Table of Contents 25CRBasic Example 15. BeginProg / Scan() / NextScan / EndProg Syntax .. 136 CRBasic Example 16. Scan Syntax...
Section 7. Installation 250 '10 Minute Data Interval Scan(10,Min,0,0) Counter(6) = Counter(6) + 1 Battery(Batt_volt)
Section 7. Installation 251'Begin Program BeginProg 'Load scaling array (multipliers and offsets) Mult(1) = 1.8 : Offset(1) = 32 M
Section 7. Installation 252'Declare Units Units PTemp_C = deg C Units AirTemp_C = deg C Units DeltaT_C = deg C 'Declare Output Table -
Section 7. Installation 253'Declare Event Driven Data Table DataTable(Event,True,1000) DataEvent(0,DeltaT_C>=3,DeltaT_C<3,0) Sample(
Section 7. Installation 254non-standard types. Measured temperatures are compared against the ITS-90 scale, a temperature instrumentation-calibra
Section 7. Installation 255Table 45. PRTCalc() Type-Code-1 Sensor IEC 60751:2008 (IEC 751), alpha = 0.00385. Now internationally adopted and writt
Section 7. Installation 256Table 47. PRTCalc() Type-Code-3 Sensor US Industrial Standard, alpha = 0.00391 (Reference: OMIL R84 (2003)) Constant C
Section 7. Installation 257 Table 50. PRTCalc() Type-Code-6 Sensor Standard ITS-90 SPRT, alpha = 0.003926 (Reference: Minco / Instrunet) Constant
Section 7. Installation 258 Figure PT100 in Four-Wire Half-Bridge (p. 259) shows the circuit used to measure a 100-Ω PRT. The 10-kΩ resistor all
Section 7. Installation 2590.15°C over the -10 to 40°C temperature range. Because the measurement is ratiometric (RS/Rf), the properties of the 10
Table of Contents 26CRBasic Example 68. Using NAN in Expressions... 428 CRBasic Example 69. Using NAN to Filter Dat
Section 7. Installation 260Example PRT specifications: • Alpha = 0.00385 (PRTType 1) The temperature measurement requirements in this example ar
Section 7. Installation 261 Figure 80: PT100 in three-wire half-bridge CRBasicExample60. PT100inThree‐wireHalf‐bridge'See FIGURE. PT1
Section 7. Installation 262where, VS=measuredbridge‐outputvoltageVX=excitationvoltageor, X=1000(RS/(RS+R1)‐R3/(R2+R3)).With referenc
Section 7. Installation 263 Figure 81: PT100 in four-wire full-bridge CRBasicExample61. PT100inFour‐WireFull‐Bridge'See FIGURE. PT10
Section 7. Installation 264where XN is the most recent value of the source variable and XN-1 is the previous value (X1 is the oldest value includ
Section 7. Installation 265Note N = Number of points in running average) To calculate the delay in time, multiply the result from the above equati
Section 7. Installation 266 Figure 84: Running-average signal attenuation 7.8.20 Writing High-Frequency Data to CF An advanced method for writi
Section 7. Installation 267also be used in applications where the site cannot be accessed for extended periods. However, large CF cards do not eli
Section 7. Installation 268 CRBasicExample62. UsingTableFile()withOption64withCFCards'The following CRBasic program shows how th
Section 7. Installation 269CFM100 modules. The card must only be ejected after the status light shows a solid green. Q: Why are individual files l
27Section 1. Introduction 1.1 HELLO Whether in extreme cold in Antarctica, scorching heat in Death Valley, salt spray from the Pacific, micro-grav
Section 7. Installation 270• better vibration and shock resistance • longer life spans (more read/write cycles) Note More CF card recommendati
Section 7. Installation 2712 "rings": the datalogger has a ring memory. In other words, once filled, rather than stopping when full, old
Section 7. Installation 272
273Section 8. Operation 8.1 Measurements Several features give the CR1000 the flexibility to measure many sensor types. Contact a Campbell Scient
Section 8. Operation 274basic code requirements. The DataTime() instruction is a more recent introduction that facilitates time stamping with sys
Section 8. Operation 275instructions BrFull(), BrFull6W(), BrHalf4W(), TCDiff(), and VoltDiff () instructions perform DIFF voltage measurements.
Section 8. Operation 276is reduced to ±2.5 Vdc, whereas input limits are always ±5 Vdc. Hence for non-negligible DIFF signals, "input limits
Section 8. Operation 277Sensors with a low signal-to-noise ratio, such as thermocouples, should normally be measured differentially. However, if th
Section 8. Operation 278 Table 51. CRBasic Parameters Varying Measurement Sequence and Timing CRBasic Parameter Description MeasOfs Correct gro
Section 8. Operation 279where GainError=±(2500*0.0006)=±1.5mVand OffsetError=1.5•667µV+1µV=1.00mVTherefore, Error=GainEr
Section 1. Introduction 28Italic — titles of publications, software, sections, tables, figures, and examples. Bold italic — CRBasic instruction p
Section 8. Operation 2808.1.2.5 Voltage Range In general, a voltage measurement should use the smallest fixed-input range that will accommodate t
Section 8. Operation 2818.1.2.5.2 Fixed Voltage Ranges An approximate 9% range overhead exists on fixed input voltage ranges. For example, over-ran
Section 8. Operation 2828.1.2.6 Offset Voltage Compensation Analog measurement circuitry in the CR1000 may introduce a small offset voltage to a
Section 8. Operation 283When the CR1000 reverses differential inputs or excitation polarity, it delays the same settling time after the reversal as
Section 8. Operation 284duration. Consequently, noise at 1 / (integer multiples) of the integration duration is effectively rejected by an analog
Section 8. Operation 285 Figure 88: Ac power line noise rejection techniques ac Noise Rejection on Large Signals If rejecting ac-line noise when
Section 8. Operation 286Table 56. ac Noise Rejection on Large Signals 2. During A/D, CR1000 turns off excitation for ≈170 µs. 3. Excitation is s
Section 8. Operation 287 Table 57. CRBasic Measurement Settling Times Settling Time Entry Input Voltage Range Integration Code Settling Time1 0
Section 8. Operation 288steady-state conditions so changes in measured voltage are attributable to settling time rather than changes in pressure.
Section 8. Operation 289 Figure 90: Settling time for pressure transducer Table 58. First Six Values of Settling-Time Data TIMESTAMP REC PT(1) P
29Section 2. Cautionary Statements The CR1000 is a rugged instrument and will give years of reliable service if a few precautions are observed: •
Section 8. Operation 290Unless a Calibrate() instruction is present in the running CRBasic program, the CR1000 automatically performs self-calibr
Section 8. Operation 291measurements (B) to be determined during CR1000 self-calibration (maximum of 54 values). These values can be viewed in the
Section 8. Operation 292Table 59. Status Table Calibration Entries Descriptions of Status Table Elements Status Table Element Differential (Diff)
Section 8. Operation 293Table 59. Status Table Calibration Entries Descriptions of Status Table Elements Status Table Element Differential (Diff) S
Section 8. Operation 294Table 60. Calibrate() Instruction Results Descriptions of Array Elements Array Cal() Element Differential (Diff) Single-E
Section 8. Operation 2951A/D (analog-to-digital) conversion time = 15 µs 2Reps/No Reps -- If Reps > 1 (i.e., multiple measurements by a single i
Section 8. Operation 296 Table 61. Resistive-Bridge Circuits with Voltage Excitation Resistive-Bridge Type and Circuit Diagram CRBasic Instructi
Section 8. Operation 297Table 61. Resistive-Bridge Circuits with Voltage Excitation Resistive-Bridge Type and Circuit Diagram CRBasic Instruction a
Section 8. Operation 298Other sensors, e.g., LVDTs (linear variable differential transformers), require an ac excitation because they rely on ind
Section 8. Operation 299• Effects due to the following are not included in the specification: o Bridge-resistor errors o Sensor noise o Measure
Warranty The CR1000 Measurement and Control Datalogger is warranted for three (3) years subject to this limited warranty: “PRODUCTS MANUFACTURED B
Section 2. Cautionary Statements 30
Section 8. Operation 3008.1.3.3 Strain Calculations Read More! The FieldCalStrain() Demonstration Program (p. 153) section has more information o
Section 8. Operation 301Table 63. StrainCalc() Instruction Equations StrainCalc() BrConfig Code Configuration 6 Full-bridge strain gage. Half the
Section 8. Operation 302reference junction and 0°C. This compensation voltage, combined with the measured thermocouple voltage, can be used to co
Section 8. Operation 303outside the chamber. The temperature of this bar was also measured by another datalogger. Differences between the temperatu
Section 8. Operation 304 Figure 93: Panel-temperature gradients (low temperature to high) Figure 94: Panel-temperature gradients (high tempera
Section 8. Operation 305Standards and Technology) Monograph 175 (1993). ANSI (American National Standards Institute) has established limits of erro
Section 8. Operation 306Resolution (p. 306) lists high resolution ranges available for various thermocouple types and temperature ranges. The fo
Section 8. Operation 307 Figure 95: Input error calculation Input Error Examples: Type T Thermocouple @ 45°C These examples demonstrate that in t
Section 8. Operation 308Error Calculations with Input Reversal = True µVerror=gainterm+offsetterm=(830.7µV*0.12%)+(1.5*0.67µV+
Section 8. Operation 309Error Calculations with Input Reversal = False µVerror=gainterm+offsetterm=(44500µV*0.12%)+(3*66.7µV+2.0
31Section 3. Initial Inspection • The CR1000 datalogger ship with, o 1 each pn 8125 small, flat-bladed screwdriver o 1 each pn 1113 large, flat
Section 8. Operation 310Table 66. Limits of Error on CR1000 Thermocouple Polynomials TC Type Range °C Limits of Error °C Relative to NIST Stan
Section 8. Operation 311The magnitude of the errors discussed in Error Analysis (p. 302) show that the greatest sources of error in a thermocouple
Section 8. Operation 312greater than the extension-wire range. In any case, errors can arise if temperature gradients exist within the junction b
Section 8. Operation 313 Figure 97: Pulse-sensor output signal types Figure 98: Switch-closure pulse sensor Table 69. Pulse-Input Channels and
Section 8. Operation 3148.1.5.1 Pulse-Input Channels (P1 - P2) Read More! Review pulse counter specifications at CR1000 Specifications. Review p
Section 8. Operation 3158.1.5.1.1 High-frequency Pulse (P1 - P2) High-frequency pulse inputs are routed to an inverting CMOS input buffer with inpu
Section 8. Operation 3168.1.5.2.1 High Frequency Mode Digital I/O channels have a small 25-ns input RC-filter time constant between the terminal
Section 8. Operation 3178.1.5.3 Pulse Measurement Tips • The PulseCount() instruction, whether measuring pulse inputs on pulse channels (P1 throug
Section 8. Operation 318 Using a pull-up resistor on digital I/O channels C1 - C8 8.1.5.3.1 Frequency Resolution Frequency resolution of a Puls
Section 8. Operation 319 Table 70. Example. E for a 10 Hz input signal Scan Rising Edge / Scan E 5.0 50 50 0.5 5 5 0.05 0.5 1 TimerIO() instruc
Section 3. Initial Inspection 32
Section 8. Operation 3208.1.5.4 Pulse Measurement Problems 8.1.5.4.1 Pay Attention to Specifications The table Example of Differing Specification
Section 8. Operation 321 Table 73. Time Constants (τ) Measurement τ Pulse channel, high-frequency mode 1.2 Pulse channel, switch-closure mode 3
Section 8. Operation 3228.1.5.4.3 Switch Bounce and NAN NAN will be the result of a TimerIO() measurement if one of two conditions occurs: 1. tim
Section 8. Operation 323 Figure 102: Input conditioning circuit for period averaging 8.1.7 SDI-12 Recording Read More! SDI-12 Sensor Support (p.
Section 8. Operation 324 Figure 103: Circuit to limit control port input to 5 Vdc 8.1.9 Field Calibration Read More! Field Calibration of Linea
Section 8. Operation 325 Figure 104: Current limiting resistor in a rain gage circuit 8.1.10.3 RS-232 Sensors RS-232 sensor cable lengths should b
Section 8. Operation 326each CR1000 can catch the rising edge of a digital pulse from the Master CR1000 and synchronize measurements or other fun
Section 8. Operation 327over a proprietary, three-wire serial communications link utilizing channels C1, C2 and C3. Read More! For complete informa
Section 8. Operation 328 Figure 105: Control port current sourcing 8.2.4.2 Relays and Relay Drivers Several relay drivers are manufactured by C
Section 8. Operation 329 Figure 106: Relay driver circuit with relay Figure 107: Power switching without relay 8.2.5 Analog Control / Output De
33Section 4. Quickstart Tutorial This tutorial presents an introduction to CR1000 data acquisition. 4.1 Primer – CR1000 Data-Acquisition Data acq
Section 8. Operation 330cutting the output voltage of sensors to voltage levels compatible with the CR1000, modules for completion of resistive b
Section 8. Operation 331 Internal Serial Flash3 12 kB: Device Settings 500 kB: CPU: drive Device Settings — A backup of settings such as Pa
Section 8. Operation 332Table 76. CR1000 SRAM Memory Use Comments ---------------------------------- Variables & Constants Stores va
Section 8. Operation 333CRD: Principal use is to expand Final Storage (p. 454), but it is also used to store .JPG, cr1, and .DAT files. 1The CPU:
Section 8. Operation 334Note Placing an optional USR: size setting in the user program over-rides manual changes to USR: size. When USR: size is
Section 8. Operation 335Campbell Scientific CF card modules connect to the CR1000 peripheral port. Each has a slot for Type I or Type II CF cards.
Section 8. Operation 336 Table 78. TableFile()-Instruction Data-File Formats Elements Included TableFile() Format Option Base File Format Head
Section 8. Operation 337Example:"TOB1","11467","CR1000","11467","CR1000.Std.20","CPU:file f
Section 8. Operation 338Example:"signature": 38611,"environment": {"stationfiname": "11467","tabl
Section 8. Operation 339Record Element 1 – Timestamp Datawithouttimestampsareusuallymeaningless.Nevertheless,theTableFile()instructionop
Section 4. Quickstart Tutorial 34modems, radios, satellite transceivers, and TCP/IP network modems are available for the most demanding applicati
Section 8. Operation 340• Initializes system variables. • Clears communications memory. Full memory reset does not affect the CRD: drive direc
Section 8. Operation 341 Table 79. File-Control Functions File-Control Functions Accessed Through Sending programs to the CR1000 Program Send1, F
Section 8. Operation 342Table 79. File-Control Functions File-Control Functions Accessed Through 1Datalogger support software (p. 77) Program Se
Section 8. Operation 343Table 80. CR1000 File Attributes Attribute Function Attribute for Programs Sent to CR1000 with: 1Support software program
Section 8. Operation 344Power-up functions include • Sending programs to the CR1000. • Optionally setting run attributes of CR1000 program file
Section 8. Operation 345Syntax Syntax for the powerup.ini file is: Command,File,Device where, • Command = one of the numeric commands in table Pow
Section 8. Operation 346• Command 13 Copies the specified program to the designated drive and sets the run attribute of the program to Run Alwa
Section 8. Operation 3478.3.4.4 File Management Q & A Q: How do I hide a program file on the CR1000 without using the CRBasic FileManage() inst
Section 8. Operation 348Table 82. File System Error Codes Error Code Description 19 Bad function argument supplied 20 Seek out-of-file bounds 21
Section 8. Operation 349hardware are the PC COM port, the CR1000 RS-232 port, and a serial cable. The carrier signal is RS-232, and the protocol is
Section 4. Quickstart Tutorial 35 Figure 2: Wiring panel 4.1.2.2 Power Supply The CR1000 is powered by a nominal 12 Vdc source. Acceptable power
Section 8. Operation 350Digital Display Direct Connect CS I/O Serial Comms external keyboard / display Direct Connect Serial Comms 8.4.2 Pr
Section 8. Operation 351of the query can be seen in the DevConfig and PakBusGraph settings tables. SDC queries occur whether or not an SDC device i
Section 8. Operation 352o Routers can be branch routers. Branch routers only know as neighbors central routers, routers in route to central rout
Section 8. Operation 353Table 84. PakBus Leaf-Node and Router Device Configuration Network Device Description PakBus Leaf Node PakBus Router PakBus
Section 8. Operation 354Discovery occurs when nodes exchange hellos. A hello-exchange occurs during a hello-message between two nodes. 8.5.3.1 H
Section 8. Operation 355• If Verify Interval = 0, then CVI = 2.5 x Beacon Interval* • If Verify Interval = 60, then CVI = 60 seconds* • If Beaco
Section 8. Operation 3568.5.4.2 Ping Link integrity can be verified with the following procedure by using PakBusGraph Ping Node. Nodes can be pin
Section 8. Operation 357 Figure 110: Tree Map 8.5.6 PakBus LAN Example To demonstrate PakBus® networking, a small LAN (Local Area Network) of CR1
Section 8. Operation 358 Figure 111: Configuration and wiring of PakBus LAN 8.5.6.2 LAN Setup Configure CR1000s before connecting them to the L
Section 8. Operation 359 Figure 112: DevConfig Deployment | Datalogger tab Figure 113: DevConfig Deployment | ComPorts Settings tab
Section 4. Quickstart Tutorial 364.1.3 Sensors Most electronic sensors, whether or not manufactured or sold by Campbell Scientific, can be interf
Section 8. Operation 360 Figure 114: DevConfig Deployment | Advanced tab Table 86. PakBus-LAN Example Datalogger-Communications Settings Softw
Section 8. Operation 3618.5.6.3 LoggerNet Setup Figure 115: LoggerNet Network-Map Setup: COM port In LoggerNet Setup, click Add Root and add a Co
Section 8. Operation 362 Figure 116: LoggerNet Network-Map Setup: PakBusPort As shown in figure LoggerNet Device Map Setup: PakBusPort (p. 362)
Section 8. Operation 363 As shown in figure LoggerNet Device-Map Setup: Dataloggers (p. 362), set the PakBus® address for each CR1000 as listed in
Section 8. Operation 364Note Setting the encryption key for a PakBus port device will force all messages it sends to use encryption. 8.6 Alter
Section 8. Operation 365 Table 87. DNP3 Implementation — Data Types Required to Store Data in Public Tables for Object Groups Data Type Group Des
Section 8. Operation 366SyntaxDNPUpdate (DNPSlaveAddr,DNPMasterAddr) 8.6.1.2.3 Programming for Data-Acquisition As shown in CRBasic example Imp
Section 8. Operation 367 'Object group 30, variation 2 is used to return analog data when the CR1000 'is polled. Flag is set to an emp
Section 8. Operation 3688.6.2.2 Terminology Table Modbus to Campbell Scientific Equivalents (p. 368) lists terminology equivalents to aid in unde
Section 8. Operation 369RTU/PLCRemoteTelemetryUnits(RTUs)andProgrammableLogicControllers(PLCs)wereatonetimeusedinexclusiveapplic
Section 4. Quickstart Tutorial 37 Table 1. Single-Ended and Differential Input Channels Differential Channel Single-Ended Channel 1H 1 1L 2 2H
Section 8. Operation 370SyntaxMoveBytes(Dest, DestOffset, Source, SourceOffset, NumBytes) 8.6.2.3.3 Addressing (ModbusAddr) Modbus devices have
Section 8. Operation 3718.6.2.5 Modbus over IP Modbus over IP functionality is an option with the CR1000. Contact Campbell Scientific for details.
Section 8. Operation 372 Scan(1,Sec,0,0) 'In the case of the CR1000 being the ModBus master then the 'ModbusMaster instruction
Section 8. Operation 373Four levels of access are available through Basic Access Authentication: • all access denied (Level 0) • all access allo
Section 8. Operation 374and arguments and the commands wherein they are used. Parameters and arguments for specific commands are listed in the f
Section 8. Operation 375p2 DataQuery Specifies ending date and/or time when using date-range argument. time expressed in defined format (see Time S
Section 8. Operation 376Table 92. BrowseSymbols API Command Parameters uri Optional. Specifies the URI (p. 470) for the data source. When query
Section 8. Operation 377is_read_only Boolean value that is set to true if the symbol is considered to be read-only. A value of false would indicate
Section 8. Operation 378 <td>BallastLine</td><td>dl:BallastLine</td><td>6</td><td>true</td><
Section 8. Operation 379 is_read_only="false" can_expand="true"/><symbol name="Public" uri="
Section 4. Quickstart Tutorial 38 Figure 5: Half-bridge wiring -- wind vane potentiometer Figure 6: Full-bridge wiring -- pressure transducer
Section 8. Operation 380 Table 94. DataQuery API Command Parameters uri Optional. Specifies the URI (p. 470) for data to be queried. Syntax: dl
Section 8. Operation 381http://192.168.24.106/?command=DataQuery&uri=dl:MainData.Cond41&format=html&mode=most-recent&p1=70 Response
Section 8. Operation 382<tr valign="middle" align="center"> <td nowrap>2012-08-21 22:41:50.0</td> <td no
Section 8. Operation 383JSON Response When json is entered in the DataQuery format parameter, the response will be formatted as CSIJSON. Following
Section 8. Operation 384"2012-05-03 19:00:00",2,0,-0.9210536,-0.9679532,-0.9106316,-0.8637322,72.297,0 "2012-05-03 20:00:00",
Section 8. Operation 385"SECONDS","NANOSECONDS","RN","","" "","",""
Section 8. Operation 386SetValueEx Response The SetValueEx format parameter determines the format of the response.. If a format is not specified
Section 8. Operation 387 </tr> </table> </body> </html> XML Response When xml is entered in the SetValueEx format param
Section 8. Operation 388 ClockSet Response The ClockSet format parameter determines the format of the response. If a format is not specified, th
Section 8. Operation 389JSON Response When json is entered in the ClockSet format parameter, the response will be formated as CSIJSON (p. 68). Fol
Section 4. Quickstart Tutorial 394.1.3.3.1 Pulses Measured Figure Pulse Sensor Output Signal Types (p. 39) illustrates three pulse sensor output si
Section 8. Operation 390time Specifies the current value of the CR1000 real-time clock2. This value will only be valid if the value of outcome is
Section 8. Operation 391 8.6.3.7 Files Management Web API commands allow a web client to manage files on host CR1000 memory drives. Camera image f
Section 8. Operation 392*Done waiting for 100-continue <HTTP/1.1 200 OK <Date: Fri, 2 Dec 2011 05:31:50 <Server: CR1000.Std.25 <Conte
Section 8. Operation 393 Table 102. FileControl API Command Parameters action 1 — Compile and run the file specified by file and mark it as the pro
Section 8. Operation 394 FileControl Response All output formats contain the following parameters. Any action (for example, 9) that performs a r
Section 8. Operation 395Examples: http://192.168.24.106/?command=ListFiles Response:returnsthedrivestructureofthehostCR1000(CPU:,USR:,CR
Section 8. Operation 396HTML page source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/
Section 8. Operation 397Page source template: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title&
Section 8. Operation 398 path="CPU:lights-web.cr1" last_write="yyyy-mm-ddThh:mm:ss.xxx" size="16994"
Section 8. Operation 399 Table 106. NewestFile API Command Parameters expr Specifies the complete path and wildcard expression for the desired set
Section 4. Quickstart Tutorial 40channel. Connect the other wire to a pulse channel. Sometimes the sensor will require power from the CR1000, s
Section 8. Operation 400 Table 107. Special Keyboard-Display Key Functions Key Special Function [2] and [8] Navigate up and down through the men
Section 8. Operation 401 Figure 118: Using the keyboard / display
Section 8. Operation 4028.8.1 Data Display Figure 119: Displaying data with the keyboard / display
Section 8. Operation 4038.8.1.1 Real-Time Tables and Graphs Figure 120: Real-time tables and graphs 8.8.1.2 Real-Time Custom The external keyboar
Section 8. Operation 404 Figure 121: Real-time custom
Section 8. Operation 4058.8.1.3 Final-Storage Tables Figure 122: Final-storage tables
Section 8. Operation 4068.8.2 Run/Stop Program Figure 123: Run/Stop Program
Section 8. Operation 4078.8.3 File Display Figure 124: File display 8.8.3.1 File: Edit The CRBasic Editor is recommended for writing and editing
Section 8. Operation 408 Figure 125: File: edit
Section 8. Operation 4098.8.4 PCCard (CF Card) Display Figure 126: PCCard (CF Card) display 8.8.5 Ports and Status Read More! See the appendix St
Section 4. Quickstart Tutorial 41 Figure 9: Location of RS-232 ports Figure 10: Use of RS-232 and digital I/O when reading RS-232 devices 4.1.4
Section 8. Operation 410 Figure 127: Ports and status 8.8.6 Settings Figure 128: Settings
Section 8. Operation 4118.8.6.1 Set Time / Date Move the cursor to time element and press Enter to change it. Then move the cursor to Set and press
Section 8. Operation 412A: Compressing a file has the potential of significantly reducing its size. Actual reduction depends primarily on the num
Section 8. Operation 413c) When prompted, set the archive format to “Gzip”. d) Select OK. The resultant file names will be of the type “myProgram.
Section 8. Operation 4148.10 CF Cards & Records Number The number of records in a data table when CardOut() or TableFile() with Option 64 is
Section 8. Operation 415the CPU buffer before final-data storage stops altogether, resulting in a few more records than advertised able to be colle
417Section 9. Maintenance Temperature and humidity can affect the performance of the CR1000. The internal lithium battery must be replaced periodi
Section 9. Maintenance 418o Time. Clock will need resetting when the battery is replaced. o Final-storage data tables. A replacement lithium ba
Section 9. Maintenance 419 Figure 131: Pulling edge away from panel Pull one edge of the canister away from the wiring panel to loosen it from th
Section 4. Quickstart Tutorial 42 Figure 11: Control and monitoring with digital I/O 4.1.5 SDM Channels SDM (Serial Device for Measurement) dev
Section 9. Maintenance 420 Remove six nuts, then open the clam shell. Figure 133: Remove and replace battery Remove the lithium battery by gen
Section 9. Maintenance 421For all returns, the customer must fill out a "Statement of Product Cleanliness and Decontamination" form and c
Section 9. Maintenance 422
423Section 10. Troubleshooting Some troubleshooting tools, concepts, and hints are provided here. If a Campbell Scientific system is not operatin
Section 10. Troubleshooting 42410.3.1.1 CompileResults Reports messages generated by the CR1000 at program upload and compile-time. A message wil
Section 10. Troubleshooting 425Table 110. Warning Message Examples Example of Warning Message Meaning Warning: Machine self-calibration failed. I
Section 10. Troubleshooting 426incremented by all events that leave gaps in data, including cycling power to the CR1000. 10.3.1.5 ProgErrors If
Section 10. Troubleshooting 42710.3.1.8.2 Watchdoginfo.txt File A CPU: WatchdogInfo.txt file is created on the CPU: drive when the CR1000 experienc
Section 10. Troubleshooting 428the measurement and processing times in the Status table (MeasureTime, ProcessTime, MaxProcTime) for all scans, th
Section 10. Troubleshooting 42910.3.4.2 Floating-Point Math, NAN, and ±INF Table Math Expressions and CRBasic Results (p. 429) lists math expressio
Section 4. Quickstart Tutorial 434.2.1 What You Will Need The following items are needed to complete this exercise: • Campbell Scientific CR1000 d
Section 10. Troubleshooting 430 0 / 0 -2,147,483,648 -7999 -2.147484E09 0 2147483648 -2147483648 TRUE TRUE -2,147,483,648 As Boolean 1 / 0
Section 10. Troubleshooting 431 CRBasicExample69. UsingNANtoFilterData'Declare Variables and Units Public TC_RefC Public TC_TempC Pub
Section 10. Troubleshooting 43210.4.2 Communicating with Multiple PCs The CR1000 can communicate with multiple PCs simultaneously. For example,
Section 10. Troubleshooting 433mid = (CommsMemFree(1) / 10000) % 100 med = (CommsMemFree(1) / 1000000) % 100 lrg = (CommsMemFree(1) / 100000000) %
Section 10. Troubleshooting 434CommsMemFree(2) number will be. A PakBusNodes setting of 50 is normally enough, and can probably be reduced in sm
Section 10. Troubleshooting 43510.5 Power Supplies 10.5.1 Overview Power-supply systems may include batteries, charging regulators, and a primary p
Section 10. Troubleshooting 43610.5.3 Diagnosis and Fix Procedures 10.5.3.1 Battery Test The procedure outlined in this flow chart tests sealed-r
Section 10. Troubleshooting 437 Battery Test If using a rechargeable power supply, disconnect the charging source (i.e., solar panel or A
Section 10. Troubleshooting 438 Charging Regulator with Solar-Panel Test Disconnect any wires attached to the 12V and G (ground) terminals on th
Section 10. Troubleshooting 43910.5.3.3 Charging Regulator with Transformer Test The procedure outlined in this flow chart tests PS100 and CH100 ch
Section 4. Quickstart Tutorial 44 Figure 12: Power and RS-232 connections 4.2.3 PC200W Software Setup 1. Install the PC200W software onto a PC.
Section 10. Troubleshooting 440 Charging Regulator with ac or dc Transformer Test Disconnect any wires attached to the 12V and G (ground) termin
Section 10. Troubleshooting 441 No Adjusting Charging Circuit 1) Place a 5-kΩ resistor between a 12V terminal and a G (ground) g
Section 10. Troubleshooting 442 Figure 134: Potentiometer R3 on PS100 and CH100 Charger / Regulator 10.6 Terminal Emulator CR1000 terminal mode
Section 10. Troubleshooting 443As shown in figure DevConfig Terminal Emulator (p. 445), after entering a terminal emulator, press Enter a few times
Section 10. Troubleshooting 444Table 115. CR1000 Terminal Commands Option Description Use REBOOT Program recompile Typing “REBOOT” rapidly will
Section 10. Troubleshooting 445 Figure 135: DevConfig terminal emulator tab 10.6.1 Serial Talk Through and Sniffer In the P: Serial Talk Through
Section 10. Troubleshooting 446
447Section 11. Glossary 11.1 Terms acSeeVac(p.470). accuracyAmeasureofthecorrectnessofameasurement.SeealsotheappendixAccuracy,P
Section 11. Glossary 448 AsynchronousAcceptedabbreviationfor"gauge."AWGistheacceptedunitwhenidentifyingwirediameters.La
Section 11. Glossary 449CacheDataThedatacacheisasetofbinaryfileskeptontheharddiskofthecomputerrunningthedataloggersupportsof
Section 4. Quickstart Tutorial 45 Figure 13: PC200W main window Table 3. PC200W EZSetup Wizard Example Selections Start the wizard to follow tab
Section 11. Glossary 450ComportCOMisagenericnamegiventophysicalandvirtualserialcommunicationsports. CompactFlashCompactFlash®(CF
Section 11. Glossary 451CR10XOldergenerationCampbellScientificdataloggerreplacedbytheCR1000. crCarriagereturn CRBasicEditorCompile,
Section 11. Glossary 452datapointAdatavaluewhichissenttofinalstorage(p.454)astheresultofanoutputprocessing(datastorage)inst
Section 11. Glossary 453dimensionTocodeforavariablearray.DIMexample(3)createsthethreevariablesexample(1),example(2),andexample(3).
Section 11. Glossary 454ESSEnvironmentalSensorStation excitationApplicationofaprecisevoltage,usuallytoaresistivebridgecircuit. ex
Section 11. Glossary 455FLOATFour‐bytefloating‐pointdatatype.DefaultCR1000datatypeforPublicorDimvariables.SameformatasIEEE4.IEEE4
Section 11. Glossary 456line,theCLK/HS(pin7)lineinthedataloggerCSI/Oportisprimarilyusedtodetectthepresenceorabsenceofperiph
Section 11. Glossary 457integerAnumberwrittenwithoutafractionalordecimalcomponent.15and7956areintegers;1.5and79.56arenot. inter
Section 11. Glossary 458 LONGDatatypeusedwhendeclaringintegers. loopAseriesofinstructionsinaprogramthatarerepeatedaprescribed
Section 11. Glossary 459MSBMostsignificantbit(theleadingbit). multi‐meterAninexpensiveandreadilyavailabledeviceusefulintroubleshoot
Section 4. Quickstart Tutorial 46Table 3. PC200W EZSetup Wizard Example Selections Start the wizard to follow table entries. Screen Name Informa
Section 11. Glossary 460Null‐modemAdevice,usuallyamulti‐conductorcable,whichconvertsanRS‐232portfromDCEtoDTEorfromDTEtoDCE.
Section 11. Glossary 461outputintervalThetimeintervalbetweeninitiationsofaparticulardata‐tablerecord. outputprocessinginstructionsPr
Section 11. Glossary 462peripheralAnydevicedesignedforusewith,andrequiring,theCR1000(oranotherCampbellScientificdatalogger)toope
Section 11. Glossary 463PublicACRBasiccommandfordeclaringanddimensioningvariables.VariablesdeclaredwithPubliccanbemonitoredduringd
Section 11. Glossary 464RMSRoot‐meansquare,orquadraticmean.Ameasureofthemagnitudeofwaveorothervaryingquantitiesaroundzero. RS‐
Section 11. Glossary 465 SeebeckEffectInducesmicro‐Voltlevelthermalelectromotiveforces(EMF)acrossjunctionsofdissimilarmetalsinthepr
Section 11. Glossary 466single‐endedDenotesasensorormeasurementterminalwhereintheanalogvoltagesignaliscarriedonasinglelead,whic
Section 11. Glossary 467StationStatuscommandAcommandavailableinmostdataloggersupportsoftwareavailablefromCampbellScientific.Thefol
Section 11. Glossary 468supportsoftwareIncludesPC200W,PC400,RTDAQ,LoggerNet,andLoggerNetclients.BriefdescriptionsarefoundinDatalo
Section 11. Glossary 469terminalemulatorisavailableinmostdataloggersupportsoftwareavailablefromCampbellScientific. thermistorAthermi
Section 4. Quickstart Tutorial 47 Figure 14: Short Cut temperature sensor folder 4.2.4.2 Procedure: (Short Cut Steps 7 to 9) 7. Double-click Wiri
Section 11. Glossary 470UserProgramTheCRBasicprogramwrittenbytheCR1000userintheCRBasicEditorortheShortCutprogramgenerator. US
Section 11. Glossary 471watchdogtimerAnerror‐checkingsystemthatexaminestheprocessorstate,softwaretimers,andprogram‐relatedcounterswh
Section 11. Glossary 472group of measurements. Resolution is a measure of the fineness of a measurement. Together, the three define how well a da
473Appendix A. CRBasic Programming Instructions Read More! Parameter listings, application information, and code examples are available in CRBasic
Appendix A. CRBasic Programming Instructions 474SyntaxSub subname (argument list) [statement block] Exit Sub [statement block] End Sub WebP
Appendix A. CRBasic Programming Instructions 475ReadOnlyFlagsacommaseparatedlistofvariables(PublicorAliasname)asread‐only.SyntaxRead
Appendix A. CRBasic Programming Instructions 476DataIntervalSetsthetimeintervalforanoutputtable.SyntaxDataInterval(TintoInt, Interval,
Appendix A. CRBasic Programming Instructions 477TableFileWritesafilefromadatatabletoaCR1000memorydrive.SyntaxTableFile("FileName
Appendix A. CRBasic Programming Instructions 478MomentStoresthemathematicalmomentofavalueovertheoutputinterval.SyntaxMoment(Reps, So
Appendix A. CRBasic Programming Instructions 479WindVectorProcesseswindspeedanddirectionfromeitherpolarororthogonalsensors.Tosaveproc
Section 4. Quickstart Tutorial 48 Figure 15: Short Cut thermocouple wiring 4.2.4.3 Procedure: (Short Cut Steps 10 to 11) Historical Note In th
Appendix A. CRBasic Programming Instructions 480CallTableCallsadatatable,typicallyforoutputprocessing.SyntaxCallTable [TableName] Delay
Appendix A. CRBasic Programming Instructions 481 -or- If [condition 1] Then [then statements] ElseIf [condition 2] Then [elseif then statement
Appendix A. CRBasic Programming Instructions 482TriggerSequenceUsedwithWaitTriggerSequencetocontroltheexecutionofcodewithinaslowsequ
Appendix A. CRBasic Programming Instructions 483SemaphoreGetAcquiressemaphore(p.465)1‐3toavoidresourceconflicts.SyntaxSemaphoreGet() Sem
Appendix A. CRBasic Programming Instructions 484PanelTempThisinstructionmeasuresthepaneltemperaturein°C.SyntaxPanelTemp(Dest, Integ) Si
Appendix A. CRBasic Programming Instructions 485BrFull6WMeasuresratioofVdiff2/Vdiff1ofasix‐wirefull‐bridge.Reports1000*(Vdiff2/Vdif
Appendix A. CRBasic Programming Instructions 486PulseCountMeasuresnumberorfrequencyofvoltagespulsesonapulsechannel.SyntaxPulseCount(
Appendix A. CRBasic Programming Instructions 487 A.5.7.2 Measurement PWMPerformsapulse‐widthmodulationonacontrolI/Oport.SyntaxPWM(Source
Appendix A. CRBasic Programming Instructions 488CS110ShutterControlstheshutterofaCS110electric‐fieldmeter.SyntaxCS110Shutter(Status, Mo
Appendix A. CRBasic Programming Instructions 489LI7700CommunicateswiththeLI7700openpathCO2andH2Osensor.SyntaxLI7200(Dest, Reps, SDMAddr
Section 4. Quickstart Tutorial 4911. Outputs displays the list Selected Sensors on the left and data storage tables, under Selected Outputs, on the
Appendix A. CRBasic Programming Instructions 490CWB100RSSIPollswirelesssensorsinawireless‐sensornetworkforradiosignalstrength.Syntax
Appendix A. CRBasic Programming Instructions 491MuxSelectSelectsthespecifiedchannelonamultiplexer.SyntaxMuxSelect(ClkPort, ResPort, ClkPul
Appendix A. CRBasic Programming Instructions 492SDMIO16SetsupandmeasuresanSDM‐IO16control‐portexpansiondevice.SyntaxSDMIO16(Dest, Stat
Appendix A. CRBasic Programming Instructions 493A.6 Processing and Math Instructions A.6.1 Mathematical Operators Note Program declaration AngleDe
Appendix A. CRBasic Programming Instructions 494The result of these operators is the value of the left hand operand with all of its bits moved by
Appendix A. CRBasic Programming Instructions 495CRBasicExample70. UsingBit‐ShiftOperatorsDim input_val As Long Dim value_1 As Long Dim value_
Appendix A. CRBasic Programming Instructions 496A.6.6 Trigonometric Functions A.6.6.1 Derived Functions Table Derived Trigonometric Functions (p.
Appendix A. CRBasic Programming Instructions 497COSReturnsthecosineofananglespecifiedinradians.Syntaxx = COS(source) COSHReturnsthehy
Appendix A. CRBasic Programming Instructions 498FloorRoundsavaluetoalowerinteger.Syntaxvariable = Floor(Number) FRACReturnsthefractio
Appendix A. CRBasic Programming Instructions 499RoundRoundsavaluetoahigherorlowernumber.Syntaxvariable = Round (Number, Decimal) SGNFin
Assistance Products may not be returned without prior authorization. The following contact information is for US and International customers resi
Section 4. Quickstart Tutorial 50 Figure 17: Short Cut output table definition 4.2.4.5 Procedure: (Short Cut Step 17 to 18) 17. Click Finish to
Appendix A. CRBasic Programming Instructions 500VaporPressureCalculatesvaporpressurefromtemperatureandrelativehumidity.SyntaxVaporPress
Appendix A. CRBasic Programming Instructions 501 A.6.10 Other Functions AddPreciseUsedinconjunctionwithMovePrecise,allowshigh‐precisiontota
Appendix A. CRBasic Programming Instructions 502LevelCrossingProcessesdataintoaone‐ortwo‐dimensionalhistogramusingalevel‐crossingcoun
Appendix A. CRBasic Programming Instructions 503String Output Processing TheSample()instructionwillconvertdatatypesifthesourcedatatypei
Appendix A. CRBasic Programming Instructions 504HexToDecConvertsahexadecimalstringtoafloatorinteger.SyntaxVariable = HexToDec(Expressi
Appendix A. CRBasic Programming Instructions 505StrCompComparestwostringsbysubtractingthecharactersinonestringfromthecharactersinano
Appendix A. CRBasic Programming Instructions 506DateReturnsaformatteddate/timestringoftypeLongderivedfromsecondssince1990.SyntaxDa
Appendix A. CRBasic Programming Instructions 507TimerReturnsthevalueofatimer.Syntaxvariable = Timer(TimNo, Units, TimOpt) A.9 Voice-Modem
Appendix A. CRBasic Programming Instructions 508VoiceSpeakDefinesthevoicestringthatshouldbespokenbythevoicemodem.SyntaxVoiceSpeak(&
Appendix A. CRBasic Programming Instructions 509MenuPickCreatesalistofselectableoptionsthatcanbeusedwheneditingaMenuItemvalue.Synta
Section 4. Quickstart Tutorial 51 18. Close this window by clicking on X in the upper right corner. 4.2.5 Send Program and Collect Data PC200W Sup
Appendix A. CRBasic Programming Instructions 510SerialInBlockStoresincomingserialdata.Thisfunctionreturnsthenumberofbytesreceived.Sy
Appendix A. CRBasic Programming Instructions 511• Com310 • ComSDC7 • ComSDC8 • ComSDC10 • ComSDC11 • Com1 (C1,C2) • Com2 (C3,C4) • Com3 (C5
Appendix A. CRBasic Programming Instructions 512ClockReportSendsthedataloggerclockvaluetoaremotedataloggerinthePakBusnetwork.Syntax
Appendix A. CRBasic Programming Instructions 513RouteReturnstheneighboraddressof(ortherouteto)aPakBusdatalogger.Syntaxvariable = Rout
Appendix A. CRBasic Programming Instructions 514TimeUntilTransmitTheTimeUntilTransmitinstructionreturnsthetimeremaining,inseconds,befor
Appendix A. CRBasic Programming Instructions 515FindSpaSearchesasourcearrayforavalueandreturnsthevalue'spositioninthearray.Syn
Appendix A. CRBasic Programming Instructions 516FileManageManagesprogramfilesfromwithinarunningdataloggerprogram.SyntaxFileManage(&quo
Appendix A. CRBasic Programming Instructions 517NewFileDeterminesifafilestoredonthedataloggerhasbeenupdatedsincetheinstructionwasla
Appendix A. CRBasic Programming Instructions 518TableName.OutputDetermineifdatawaswrittentoaspecificdatatablethelasttimethedatata
Appendix A. CRBasic Programming Instructions 519EMailRecvPollsanSMTPserverforemailmessagesandstoresthemessageportionoftheemailina
Section 4. Quickstart Tutorial 52CR1000. To view the OneMin table, select an empty cell in the display area, then click Add. Figure 20: PC200
Appendix A. CRBasic Programming Instructions 520IPNetPowerControlspowerstateofindividualEthernetdevices.SyntaxIPNetPower( IPInterface, S
Appendix A. CRBasic Programming Instructions 521UDPOpenOpensaportfortransferringUDPpackets.SyntaxUDPOpen(IPAddr, UDPPort, UDPBuffsize) Web
Appendix A. CRBasic Programming Instructions 522DNPSetsupaCR1000asaDNPslave(outstation/server)device.Thirdparameterisoptional.Syn
Appendix A. CRBasic Programming Instructions 523LoadFieldCalLoadsvaluesfromtheFieldCalfileintovariablesinthedatalogger.SyntaxLoadField
Appendix A. CRBasic Programming Instructions 524ArgosTransmitInitiatesasingletransmissiontoanArgossatellitewhentheinstructionisexecu
Appendix A. CRBasic Programming Instructions 525OmniSatSTSetupSetsuptheOMNISATtransmittertosenddataovertheGOESorMETEOSATsatelliteat
Appendix A. CRBasic Programming Instructions 526
527Appendix B. Status Table and Settings The CR1000 Status table contains system operating-status information accessible via the external keyboard
Appendix B. Status Table and Settings 528Table 120. Common Uses of the Status Table Feature or Suspect Constituent Status Field(s) to Consult RS
Appendix B. Status Table and Settings 529Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In
Section 4. Quickstart Tutorial 53 4.2.5.4 Procedure: (PC200W Step 6) 6. Click on the Collect Data tab. From this window, data are chosen to be col
Appendix B. Status Table and Settings 530Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?
Appendix B. Status Table and Settings 531Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In
Appendix B. Status Table and Settings 532Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?
Appendix B. Status Table and Settings 533Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In
Appendix B. Status Table and Settings 534Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?
Appendix B. Status Table and Settings 535Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In
Appendix B. Status Table and Settings 536Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?
Appendix B. Status Table and Settings 537Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In
Appendix B. Status Table and Settings 538Table 121. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?
Appendix B. Status Table and Settings 53913 Displays 0 until a SlowSequence scan runs. 14 Security can be changed via DeviceConfig, external keyboa
Section 4. Quickstart Tutorial 54 Figure 23: PC200W View data utility 4.2.5.6 Procedure: (PC200W Steps 10 to 11) 10. Click on to open a file
Appendix B. Status Table and Settings 540 Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration
Appendix B. Status Table and Settings 541Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util
Appendix B. Status Table and Settings 542Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut
Appendix B. Status Table and Settings 543Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util
Appendix B. Status Table and Settings 544Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut
Appendix B. Status Table and Settings 545Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util
Appendix B. Status Table and Settings 546Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut
Appendix B. Status Table and Settings 547Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util
Appendix B. Status Table and Settings 548
549Appendix C. Serial Port Pinouts C.1 CS I/O Communications Port Pin configuration for the CR1000 CS I/O port is listed in table CS I/O Pin Descr
Section 4. Quickstart Tutorial 55 Figure 24: PC200W View data table 4.2.5.7 Procedure: (PC200W Steps 12 to 13) 12. Click on any data column. To
Appendix C. Serial Port Pinouts 550as a connection to a computer DTE device. A standard DB9-to-DB9 cable can connect the computer DTE device to t
Appendix C. Serial Port Pinouts 551 Table 125. Standard Null-Modem Cable or Adapter-Pin Connections* DB9 DB9 pin 1 & 6 ---------- pin 4 pin
Appendix C. Serial Port Pinouts 552
553Appendix D. ASCII / ANSI Table American Standard Code for Information Interchange (ASCII) / American National Standards Institute (ANSI) Decima
Appendix D. ASCII / ANSI Table 554Dec Hex Keyboard Display Char LoggerNet Char Hyper- TerminalChar Dec Hex Keyboard Display Char LoggerNetChar Hy
Appendix D. ASCII / ANSI Table 555Dec Hex Keyboard Display Char LoggerNet Char Hyper- TerminalChar Dec Hex Keyboard Display Char LoggerNetChar Hype
Appendix D. ASCII / ANSI Table 556Dec Hex Keyboard Display Char LoggerNet Char Hyper- TerminalChar Dec Hex Keyboard Display Char LoggerNetChar Hy
557Appendix E. FP2 Data Format FP2 data are two-byte big-endian values. Representing bits in each byte pair as ABCDEFGH IJKLMNOP, bits are descri
Appendix E. FP2 Data Format 558
559Appendix F. Other Campbell Scientific Products Campbell Scientific products expand the measurement and control capability of the CR1000. Consu
Section 4. Quickstart Tutorial 5613. Close the Graph and View windows, and then close the PC200W program.
Appendix F. Other Campbell Scientific Products 560F.1.2 Wireless Sensor Network Wireless sensors use the Campbell wireless sensor (CWS) spread-sp
Appendix F. Other Campbell Scientific Products 561F.2.2 Pulse / Frequency Input Expansion Modules These modules expand and enhance pulse- and frequ
Appendix F. Other Campbell Scientific Products 5624WHB10K 10-kΩ, four-wire, half-bridge TIM module 4WPB100 100-Ω, four-wire, PRT-bridge TIM modul
Appendix F. Other Campbell Scientific Products 563F.4 Control Output Modules F.4.1 Digital I/O (Control Port) Expansion Digital I/O expansion modul
Appendix F. Other Campbell Scientific Products 564via PakBus®, Modbus, DNP3, RS-232, SDI-12, or CANbus using the SDM-CAN module. Table 143. Measu
Appendix F. Other Campbell Scientific Products 565F.6.2 Batteries Table 145. Batteries Model Description BPALK D-cell, 12-Vdc alkaline battery pa
Appendix F. Other Campbell Scientific Products 566F.6.5 Primary Power Sources Table 148. Primary Power Sources Model Description 9591 18-Vac, 1.
Appendix F. Other Campbell Scientific Products 567F.8 Telecommunications Products Many telecommunications devices are available for use with the CR
Appendix F. Other Campbell Scientific Products 568F.8.4 Telephone m Table 154. Telephone Modems Model Description COM220 9600 baud COM320 9600
Appendix F. Other Campbell Scientific Products 569 Table 158. CF-Card Storage Module Model Description CFM100 CF card slot only NL115 Network lin
57Section 5. System Overview A Campbell Scientific data-acquisition system is made up of the following basic components: • Sensors • Datalogger
Appendix F. Other Campbell Scientific Products 570Table 160. Datalogger Support Software Software Compatibility Description RTDAQ PC, Windows Dat
Appendix F. Other Campbell Scientific Products 571Table 161. LoggerNet Adjuncts and Clients1,2 Software Description RTMCRT Allows viewing and prin
Appendix F. Other Campbell Scientific Products 572Table 163. Software Development Kits Software Compatibility Description JAVA-SDK PC, Windows Al
573Index 112VTerminal...6212‐VoltSupply ...865 5V‐
Index 574B BackgroundCalibration... 134,282,283,289,528Backup...
Index 575CommunicationsMemoryErrors ...432,528CommunicationsMemoryFree...432,528CommunicationsPorts ...
Index 576DataTable/EndTable... 128,475DataTable()Instruction ... 128Date...
Index 577Expression...141,142,143,144,146,454Expression‐Logical...
Index 578GypsumBlock ... 297H HalfBridge ... 37,29
Index 579IPInformation...540IPRoute ...518IPTr
Section 5. System Overview 58 Figure 26: Features of a data-acquisition system 5.1 CR1000 Datalogger The CR1000 datalogger is one part of a dat
Index 580MonitoringData... 44,51Mounting ... 34,81
Index 581PanelTemp...483Parameter...461Paramet
Index 582ProgramGenerator... 46,109ProgramName... 140,528Progr
Index 583RuntimeErrors...424,426,427RuntimeSignatures ...528RX.
Index 584Signature... 70,94,242,465,483,528SignaturedPacket ...
Index 585TCDiff ...484TCP...
Index 586VariableModifier ... 474VariableOutofBounds... 528Vdc ...
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbel
Section 5. System Overview 59Sensors transduce phenomena into measurable electrical forms, outputting voltage, current, resistance, pulses, or stat
Section 5. System Overview 60A library of sensor manuals and application notes are available at www.campbellsci.com to assist in measuring many s
Section 5. System Overview 61as compared to pulse-count measurements. The frequency resolution of pulse-count measurements can be improved by exten
Section 5. System Overview 62• Continuous Analog Output — available by adding a peripheral analog output device available from Campbell Scientif
Section 5. System Overview 63• Peripheral 5-Vdc Power Source — 1 terminal (5V) and associated ground (G) supply power to sensors and peripheral de
Section 5. System Overview 64CRBasic programming in the CR1000 facilitates creation of custom menus for the external keyboard / display. Figure C
Section 5. System Overview 65Common power devices are: • Batteries o Alkaline D-cell — 1.5 Vdc / cell o Rechargeable lead-acid battery • Charge
Section 5. System Overview 665.1.6.2 User Programming Read More! See sections Programming (p. 108) and CRBasic Programming Instructions (p. 473),
Section 5. System Overview 67• Main Memory o 4-MB SRAM o Battery backed o OS variables o CRBasic compiled program binary structure (490 kB max
Section 5. System Overview 68Data stored on Campbell Scientific mass storage devices are retrieved through a telecommunication link to the CR1000
Section 5. System Overview 69The CR1000 communicates with external devices to receive programs, send data, or act in concert with a network. The pr
7Table of Contents Section 1. Introduction...27 1.1 HELLO ...
Section 5. System Overview 70The CR1000 supports DNP3 slave communication for inclusion in DNP3 SCADA networks. 5.1.9.4 Keyboard Display Read Mo
Section 5. System Overview 71supplied void of active security measures. By default, RS-232, Telnet, FTP and HTTP services, all of which give high l
Section 5. System Overview 72LoggerNet: • All datalogger functions and data are easily accessed via RS-232 and Ethernet using Campbell Scientifi
Section 5. System Overview 73Up to three levels of lockout can be set. Valid pass codes are 1 through 65535 (0 is no security). Note If a pass co
Section 5. System Overview 745.1.10.2.1 Security By-Pass Security can be bypassed at the datalogger using a external keyboard / displaykeyboard d
Section 5. System Overview 755.1.10.3.4 Settings Several CR1000 settings accessible with DevConfig enable the entry of various passwords. See Sett
Section 5. System Overview 765.1.11 Maintenance Read More! See Maintenance (p. 417). With reasonable care, the CR1000 should give many years of r
Section 5. System Overview 775.2 Datalogger Support Software Read More! For a complete listing of available datalogger support software, see the a
Section 5. System Overview 78
79Section 6. CR1000 Specifications 1.1CR1000specificationsarevalidfrom─25°to50°Cinnon‐condensingenvironmentsunlessotherwisespecifie
Table of Contents 8Section 5. System Overview ...57 5.1 CR1000 Datalogger...
Section 6. CR1000 Specifications 80
81Section 7. Installation 7.1 Moisture Protection When humidity tolerances are exceeded and condensation occurs, damage to CR1000 electronics can
Section 7. Installation 82 Figure 29: Enclosure 7.4 Power Sources Note Reliable power is the foundation of a reliable data-acquisition system.
Section 7. Installation 83Scientific application engineer if assistance in selecting a power supply is needed, particularly with applications in ex
Section 7. Installation 84with the largest voltage to power the CR1000 and prevents the second backup supply from attempting to power the vehicle
Section 7. Installation 85Table 4. Current Source and Sink Limits Terminal Limit1 < 1.50 A @ 85°C 5V + CS I/O (combined)5 < 200 mA 1 "
Section 7. Installation 86Note Table Current Source and Sink Limits (p. 84) has more information on excitation load capacity. 7.4.5.3 Continuou
Section 7. Installation 87protection at installation. Spark-gap protection is usually an option with these products, so it should always be request
Section 7. Installation 88 Figure 31: Schematic of grounds 7.5.1.1 Lightning Protection The most common and destructive ESDs are primary and se
Section 7. Installation 89lightning strike. Figure Lightning-Protection Scheme (p. 89) shows a simple lightning-protection scheme utilizing a light
Table of Contents 9Section 7. Installation...81 7.1 Moisture Protection...
Section 7. Installation 90grounds ( ) and power grounds (G). To take advantage of this design, observe the following grounding rule: Note Always
Section 7. Installation 917.5.4 Ground Looping in Ionic Measurements When measuring soil-moisture with a resistance block, or water conductivity wi
Section 7. Installation 92 Figure 33: Model of a ground loop with a resistive sensor 7.6 CR1000 Configuration The CR1000 ships from Campbell Sc
Section 7. Installation 93• Provide a terminal emulator useful in configuring devices not directly supported by DevConfig graphical user interface
Section 7. Installation 94Note Beginning with OS 25, the OS has become large enough that a CR1000 with serial number ≤ 11831, which has only 2 M
Section 7. Installation 95 Figure 35: DevConfig OS download window Figure 36: Dialog box confirming OS download 7.6.2.2 Sending OS with Program
Section 7. Installation 96Program Send (p. 96), this has the benefit of usually (but not always) preserving CR1000 settings. Table 5. Operating
Section 7. Installation 97Clicking the Factory Defaults button on the settings editor will send a command to the device to revert to its factory de
Section 7. Installation 98 Figure 38: Summary of CR1000 configuration 7.6.3.1.1 Deployment Tab Illustrated in figure DevConfig Deployment Tab (
Section 7. Installation 99 Figure 39: DevConfig Deployment tab Datalogger Sub-Tab • Serial Number displays the CR1000 serial number. This settin
Commentaires sur ces manuels