CR1000 Measurement andControl System1/08Copyright © 2000-2008Campbell Scientific, Inc.
CR1000 Table of Contents viii 15.2.4 Troubleshooting... 15-6 15.2.5 Modbus over
Section 8. CR1000 Configuration 8-4 The information in the dialog helps to corroborate the signature of the operating system sent. 8.2.2 Sending O
Section 8. CR1000 Configuration 8-5 FIGURE 8.3-1. DevConfig Settings Editor As shown in FIGURE 8.3-1, the top of the Settings Editor is a grid that
Section 8. CR1000 Configuration 8-6 FIGURE 8.3-2. Summary of CR1000 Configuration Clicking the Factory Defaults button on the Settings Editor will
Section 8. CR1000 Configuration 8-7 8.3.1 Deployment Tab FIGURE 8.3-3. DevConfig Deployment Tab As shown in FIGURE 8.3-3, the Deployment tab allow
Section 8. CR1000 Configuration 8-8 8.3.1.2 Ports Settings Sub-Tab As shown in FIGURE 8.3-4, the port settings tab has the following settings. FIGU
Section 8. CR1000 Configuration 8-9 ranges already set up. These controls will be disabled if the Verify Interval value is set to zero. Add Range wi
Section 8. CR1000 Configuration 8-10 8.3.2 Logger Control Tab FIGURE 8.3-6. DevConfig Logger Control Tab The clock in the PC and the datalogger wi
Section 8. CR1000 Configuration 8-11 8.4 Settings via Terminal Emulator CR1000 Terminal Mode is designed to aid Campbell Scientific engineers in ope
Section 8. CR1000 Configuration 8-12
9-1 Section 9. CR1000 Programming 9.1 Inserting Comments into Program Comments are non-functioning text placed within the body of a program to docu
CR1000 Table of Contents ix 19.4.3 Diagnosis and Fix Procedures... 19-7 19.4.3.1 Battery Voltage Test
Section 9. CR1000 Programming 9-2 9.3.1 Short Cut Editor and Program Generator Short Cut is easy-to-use menu-driven software that presents the user
Section 9. CR1000 Programming 9-3 9.3.3 Transformer This section is not yet available. 9.4 Numerical Formats Four numerical formats are supported b
Section 9. CR1000 Programming 9-4 9.5 Structure TABLE 9.5-1 delineates CRBASIC program structure: TABLE 9.5-1. CRBASIC Program Structure Declaratio
Section 9. CR1000 Programming 9-5 EXAMPLE 9.5-1 demonstrates the proper structure of a CRBASIC program. EXAMPLE 9.5-1. CRBASIC Code: Proper Progra
Section 9. CR1000 Programming 9-6 9.6 Declarations Constants (and pre-defined constants), Public variables, Dim variables, Aliases, Units, Data Tabl
Section 9. CR1000 Programming 9-7 9.6.1.2 Dimensions Occasionally, a multi-dimensioned array is required by an application. Dimensioned arrays can
Section 9. CR1000 Programming 9-8 'UINT2 Data Storage Example Sample (1,PosCounter,UINT2) 'LONG Data Storage Example Sample (1,PosNeg
Section 9. CR1000 Programming 9-9 9.6.1.4 Data Type Operational Detail FP2 Default CR1000 data type for stored data. While IEEE 4 byte floating po
Section 9. CR1000 Programming 9-10 Boolean Boolean variables are typically used for flags and to represent conditions or hardware that have only two
Section 9. CR1000 Programming 9-11 EXAMPLE 9.6-3. CRBASIC Code: Using the Const Declaration. Public PTempC, PTempF Const CtoF_Mult = 1.8 Const CtoF_
CR1000 Table of Contents x 4.5-1. Schematic of a Pulse Sensor on a CR1000 ... 4-30 4.5-2. Pulse Input Types ...
Section 9. CR1000 Programming 9-12 A data table is essentially a file that resides in CR1000 memory. The file is written to each time data are direc
Section 9. CR1000 Programming 9-13 EXAMPLE 9.7-1. CRBASIC Code: Definition and Use of a Data Table 'CR1000 'Declare Variables Public Batt
Section 9. CR1000 Programming 9-14 9.7.1.1 DataTable() and EndTable() The DataTable instruction has three parameters: a user-specified alphanumeric
Section 9. CR1000 Programming 9-15 9.7.1.3 Output Processing Instructions Data storage processing (“output processing”) instructions determine what
Section 9. CR1000 Programming 9-16 'Process and Control If Oscillator = 1 If Flag(1) = True DisableVar = True End If Else
Section 9. CR1000 Programming 9-17 Scan determines how frequently instructions in the program are executed: EXAMPLE 9.9-2. CRBASIC Code: Scan Syntax
Section 9. CR1000 Programming 9-18 9.11 Program Execution and Task Priority Execution of program instructions is prioritized among three tasks: meas
Section 9. CR1000 Programming 9-19 measurements are not allowed in pipeline mode. Because of the precise execution of measurement instructions, proc
Section 9. CR1000 Programming 9-20 other sequences have access to measurement hardware with the order of priority being the background calibration se
Section 9. CR1000 Programming 9-21 9.12.3 Names in Parameters TABLE 9.12-1 lists the maximum length and allowed characters for the names for Variabl
CR1000 Table of Contents xi Tables 4.1-1. Current Sourcing Limits ... 4-2 4.2-1. CRB
Section 9. CR1000 Programming 9-22 EXAMPLE 9.12-3. CRBASIC Code: Use of Arrays as Multipliers and Offsets Public Pressure(3), Mult(3), Offset(3) Da
Section 9. CR1000 Programming 9-23 Single precision float has 24 bits of mantissa. Double precision has a 32-bit extension of the mantissa, resulting
Section 9. CR1000 Programming 9-24 EXAMPLE 9.13-2. CRBASIC Code: Conversion of FLOAT / LONG to Boolean Public Fa AS FLOAT Public Fb AS FLOAT Public
Section 9. CR1000 Programming 9-25 9.13.3.5 Constants Conversion If a constant (either entered as a number or declared with CONST) can be expressed
Section 9. CR1000 Programming 9-26 TABLE 9.13-1. Binary Conditions of TRUE and FALSE Condition CRBASIC Instruction(s) Used Memory Location of Binar
Section 9. CR1000 Programming 9-27 EXAMPLE 9.13-5. Logical Expression Examples a. If X >= 5 then Y = 0 Sets the variable Y to 0 if the express
Section 9. CR1000 Programming 9-28 EndTable 'Program BeginProg Scan (1,Sec,0,0) 'Assign strings to String variables Wrd(1) = &qu
Section 9. CR1000 Programming 9-29 TABLE 9.14-1. Abbreviations of Names of Data Processes Abbreviation Process Name Tot Totalize Avg Average Max Ma
Section 9. CR1000 Programming 9-30
10-1 Section 10. CRBASIC Programming Instructions Read more! Parameter listings, application information, and code examples are available in CRBASI
CR1000 Table of Contents xii 16.5-2. LoggerNet Clients (require, but do not include, the LoggerNet Server)...
Section 10. CRBASIC Programming Instructions 10-2 ESSVariables Automatically declares all the variables required for the datalogger when used in an E
Section 10. CRBASIC Programming Instructions 10-3 WebPageBegin / WebPageEnd See Section 11.2 Information Services. 10.2 Data Table Declarations Data
Section 10. CRBASIC Programming Instructions 10-4 TableFile Writes a file from a data table to the datalogger CPU, user drive, or a compact flash car
Section 10. CRBASIC Programming Instructions 10-5 PeakValley Detects maxima and minima in a signal. Syntax PeakValley (DestPV, DestChange, Reps, Sour
Section 10. CRBASIC Programming Instructions 10-6 10.2.4 Histograms Histogram Processes input data as either a standard histogram (frequency distrib
Section 10. CRBASIC Programming Instructions 10-7 10.4 Program Control Instructions 10.4.1 Common Controls BeginProg … EndProg Mark the beginning a
Section 10. CRBASIC Programming Instructions 10-8 For ... Next Repeats a group of instructions a specified number of times. Syntax For counter = sta
Section 10. CRBASIC Programming Instructions 10-9 Slow Sequence Marks the beginning of a section of code that will run concurrently with the main pro
Section 10. CRBASIC Programming Instructions 10-10 Restore Resets the location of the Read pointer back to the first value in the list defined by Dat
Section 10. CRBASIC Programming Instructions 10-11 VoltSe Measures the voltage at a single-ended input with respect to ground. Syntax VoltSe (Dest, R
CR1000 Table of Contents xiii 12.6-5. Run Program from CRD: drive... 12-12 12.6-6. Run Program Alway
Section 10. CRBASIC Programming Instructions 10-12 BrFull6W Measures ratio of Vdiff2 / Vdiff1 of a 6 wire full bridge. Reports 1000 * (Vdiff2 / Vdi
Section 10. CRBASIC Programming Instructions 10-13 PulsePort Toggles the state of a control port, delays the specified amount of time, toggles the po
Section 10. CRBASIC Programming Instructions 10-14 10.5.9 Specific Sensors CS110 Measures electric field by means of a CS110 electric field meter. S
Section 10. CRBASIC Programming Instructions 10-15 10.5.10 Peripheral Device Support Multiple SDM instructions can be used within a program. AM25T C
Section 10. CRBASIC Programming Instructions 10-16 SDMSW8A Controls and reads an SDM-SW8A. Syntax SDMSW8A (Dest, Reps, SDMAddress, FunctOp, SW8AStart
Section 10. CRBASIC Programming Instructions 10-17 > Greater Than < Less Than >= Greater Than or Equal <= Less Than or Equal Bit Shift
Section 10. CRBASIC Programming Instructions 10-18 << Bit shift left Syntax Variable = Numeric Expression >> Amount >> Bit sh
Section 10. CRBASIC Programming Instructions 10-19 TABLE 10.6-1. Derived Trigonometric Functions Function CRBASIC Equivalent Secant Sec = 1 / Cos(
Section 10. CRBASIC Programming Instructions 10-20 COSH Returns the hyperbolic cosine of an expression or value. Syntax x = COSH (source) SIN Returns
Section 10. CRBASIC Programming Instructions 10-21 INT or FIX Return the integer portion of a number. Syntax x = INT (source) x = Fix (source) INTDV
CR1000 Table of Contents xiv
Section 10. CRBASIC Programming Instructions 10-22 RectPolar Converts from rectangular to polar coordinates. Syntax RectPolar (Dest, Source) 10.6.5
Section 10. CRBASIC Programming Instructions 10-23 StdDevSpa Used to find the standard deviation of an array. Syntax StdDevSpa(Dest, Swath, Source) S
Section 10. CRBASIC Programming Instructions 10-24 10.7 String Functions & Concatenates string variables + Concatenates string and numeric vari
Section 10. CRBASIC Programming Instructions 10-25 HEX Returns a hexadecimal string representation of an expression. Syntax Variable = HEX (Expressio
Section 10. CRBASIC Programming Instructions 10-26 Replace Searches a string for a substring, and replace that substring with a different string. Syn
Section 10. CRBASIC Programming Instructions 10-27 DaylightSavingUS Determine if US daylight saving time has begun or ended. Optionally advance or t
Section 10. CRBASIC Programming Instructions 10-28 VoiceHangup Hangs up the voice modem. Syntax VoiceHangup VoiceKey Recognizes the return of charact
Section 10. CRBASIC Programming Instructions 10-29 DisplayMenu … EndMenu Marks the beginning and ending of a custom menu. Syntax DisplayMenu ("
Section 10. CRBASIC Programming Instructions 10-30 SerialIn Sets up a communications port for receiving incoming serial data. Syntax SerialIn (Dest,
Section 10. CRBASIC Programming Instructions 10-31 The ComPort parameter sets a default communications port when a route to the remote node is not kn
1-1 Section 1. Introduction Whether in extreme cold in Antarctica, scorching heat in Death Valley, salt spray from the Pacific, micro-gravity in spa
Section 10. CRBASIC Programming Instructions 10-32 ClockReport Sends the datalogger clock value to a remote datalogger in the PakBus network. Syntax
Section 10. CRBASIC Programming Instructions 10-33 Routes Returns a list of known dynamic routes for a PakBus datalogger that has been configured as
Section 10. CRBASIC Programming Instructions 10-34 10.13 Variable Management FindSpa Searches a source array for a value and returns the value’s pos
Section 10. CRBASIC Programming Instructions 10-35 FileRename Changes the name of file on the CR1000’s CPU:, USR:, or CRD: drives. Syntax FileRename(
Section 10. CRBASIC Programming Instructions 10-36 ResetTable Used to reset a data table under program control. Syntax ResetTable (TableName) SetStat
Section 10. CRBASIC Programming Instructions 10-37 10.16 Information Services Email, IP SMS, and Web Page Services. Read more! See Section 11.2 I
Section 10. CRBASIC Programming Instructions 10-38 TCPOpen Sets up a TCP/IP socket for communication. Syntax TCPOpen (IPAddr, TCPPort, TCPBuffer) TC
Section 10. CRBASIC Programming Instructions 10-39 10.18 SCADA Read more! See Sections 15.1 DNP3 and 15.2 Modbus. ModBusMaster Sets up a datalogger
Section 10. CRBASIC Programming Instructions 10-40 NewFieldCal Triggers storage of FieldCal values when a new FieldCal file has been written. Syntax
Section 10. CRBASIC Programming Instructions 10-41 10.20.2 GOES GOESData Sends data to a CSI GOES satellite data transmitter. Syntax GOESData (Dest,
Section 1. Introduction 1-2 This is a blank page.
Section 10. CRBASIC Programming Instructions 10-42 10.20.4 INMARSAT-C INSATSetup Configures the OMNISAT-I transmitter for sending data over the INSA
11-1 Section 11. Programming Resource Library 11.1 Field Calibration of Linear Sensors (FieldCal) Calibration increases accuracy of a measurement de
Section 11. Programming Resource Library 11-2 11.1.2 CRBASIC Programming Field calibration functionality is utilized through either: FieldCal() -- t
Section 11. Programming Resource Library 11-3 11.1.4.1 Single-point Calibrations (zero or offset) Use the following general procedure to adjust offs
Section 11. Programming Resource Library 11-4 chamber. The following procedure zeros the RH sensor to obtain the calibration report shown. Calibrati
Section 11. Programming Resource Library 11-5 BeginProg Multiplier = .05 Offset = 0 KnownRH = 0 LoadFieldCal(true) 'Load the CAL File, i
Section 11. Programming Resource Library 11-6 EXAMPLE 11.1-2. FieldCal offset demonstration program. 'Jumper EX1 to SE8(4L) to simulate a senso
Section 11. Programming Resource Library 11-7 Calibration Report for Y Flow Meter Initial Calibration 1 Week Calibration (5% Drift) Output @ 30 l/
Section 11. Programming Resource Library 11-8 EXAMPLE 11.1-3. FieldCal multiplier and offset demonstration program. 'Jumper Vx/EX1 to SE8(4L) t
Section 11. Programming Resource Library 11-9 Send the program in EXAMPLE 11.1-4. Start the first step of the simulated calibration by entering: mV
2-1 Section 2. Quickstart Tutorial Quickstart tutorial gives a cursory look at CR1000 data acquisition. 2.1 Primer - CR1000 Data Acquisition Data a
Section 11. Programming Resource Library 11-10 BeginProg Multiplier = 1 Offset = 0 KnownWC = 0 LoadFieldCal(true) 'Load the CAL File, if
Section 11. Programming Resource Library 11-11 FieldCalStrain uses the known value of the shunt resistor to adjust the gain (multiplier / span) to co
Section 11. Programming Resource Library 11-12 EXAMPLE 11.1-5. FieldCalStrain() calibration demonstration. 'Program to measure quarter bridge s
Section 11. Programming Resource Library 11-13 11.1.6.1 Quarter bridge Shunt (Option 13) With EXAMPLE 11.1-5 sent to CR1000, and with strain gage st
Section 11. Programming Resource Library 11-14 FIGURE 11.1-4. Starting zero procedure. FIGURE 11.1-5. Zero procedure finished. 11.2 Information
Section 11. Programming Resource Library 11-15 • Modbus/TCP/IP, Master and Slave. • DHCP Client to obtain an IP address. • DNS Client to query a D
Section 11. Programming Resource Library 11-16 Links will also be created automatically for any HTML, XML, and JPEG files found on the datalogger in
Section 11. Programming Resource Library 11-17 HTTPOut("<p><a href="+ CHR(34) + "command=NewestRecord&table=Public"
Section 11. Programming Resource Library 11-18 FIGURE 11.2-3. Monitor Web Page Generated By Datalogger Program 11.2.3 FTP Server The CR1000 automa
Section 11. Programming Resource Library 11-19 11.2.5 Telnet Telnet can be used to access the same commands as the Terminal Emulator in the LoggerNe
Warranty and Assistance The CR1000 MEASUREMENT AND CONTROL SYSTEM is warranted by CAMPBELL SCIENTIFIC, INC. to be free from defects in materials and w
Section 2. Quickstart Tutorial 2-2 On-site serial communications are preferred if the datalogger is near the PC, and the PC can dedicate a serial (CO
Section 11. Programming Resource Library 11-20 has, then the hostname can be used interchangeably with the IP address in some datalogger instructions
Section 11. Programming Resource Library 11-21 FIGURE 11.3-1. Entering SDI-12 Transparent Mode through LoggerNet Terminal Emulator 11.3.2 SDI-12 C
Section 11. Programming Resource Library 11-22 11.3.3.1 Address Query Command If the address of a particular sensor is unknown, use the Address Quer
Section 11. Programming Resource Library 11-23 nn = the number of values will be returned in one or more subsequent D commands The difference between
Section 11. Programming Resource Library 11-24 every scan, i.e., it will pick up the data from the measurement command issued during the previous sca
Section 11. Programming Resource Library 11-25 TABLE 11.3-1. The SDI-12 basic command / response set. Courtesy SDI-12 Support Group. Name Command1
Section 11. Programming Resource Library 11-26 11.3.6 SDI-12 Power Considerations When a command is sent by the datalogger to an SDI-12 probe, all p
Section 11. Programming Resource Library 11-27 For most applications, total power usage of 318 mA for 15 seconds is not excessive, but if 16 probes w
Section 11. Programming Resource Library 11-28 11.5.2 Wind Vector Processing CR1000 WindVector instruction processes wind speed and direction from e
Section 11. Programming Resource Library 11-29 11.5.2.1 Measured Raw Data Si = horizontal wind speed Θi = horizontal wind direction Uei = east-west
Section 2. Quickstart Tutorial 2-3 G 12V11109SE15 16131412SE12 34 56 78SW-125V12V12V12VGDC ONLYCAUTIONPERIPHERAL PORTC5HLDIFFHEX2HLHLLC4GGGGC1
Section 11. Programming Resource Library 11-30 or, in the case of orthogonal sensors Ux=(Σ(Uei/Ui))/N Uy=(Σ(Uni/Ui))/N where Ui=(Uei2+Uni2)1/2 Standa
Section 11. Programming Resource Library 11-31 The algorithm for σ(θu) is developed by noting (FIGURE 11.5-2) that u' where;/sU)'( Cosiiii
Section 11. Programming Resource Library 11-32 have never been greater than a few degrees. The final form is arrived at by converting from radians to
Section 11. Programming Resource Library 11-33 EXAMPLE 11.7-1. Use of Conditional Compile Instructions #If, #ElseIf, #Else and #EndIf 'Condit
Section 11. Programming Resource Library 11-34 'Main Scan. Scan (ScanRate,Sec,0,0) 'Here we make a measurement using different parame
Section 11. Programming Resource Library 11-35 EXAMPLE 11.10-1 lists CRBASIC code that uses TrigVar() rather than DataInterval() to trigger data stor
Section 11. Programming Resource Library 11-36 11.11 Programming for Control This section is not yet available. 11.12 NSEC Data Type 11.12.1 NSEC
Section 11. Programming Resource Library 11-37 11.12.3 Example NSEC Programming EXAMPLE 11.12-1. CRBASIC Code: Using NSEC data type on a 1 element
Section 11. Programming Resource Library 11-38 BeginProg Scan (1,Sec,0,0) PanelTemp (PTempC,250) MaxVar = FirstTable.PTempC_Max TimeOfMaxVar =
12-1 Section 12. Memory and Data Storage CR1000 memory consists of four storage media: 1. Internal Flash EEPROM 2. Internal Serial Flash 3. Intern
Section 2. Quickstart Tutorial 2-4 2.1.6 Analog Sensors Analog sensors output continuous voltages that vary with the phenomena measured. Analog sens
Section 12. Memory and Data Storage 12-2 TABLE 10-1. CR1000 Memory Allocation NOTE: As of September 2007, all new CR1000s have 4 MB SRAM. Intern
Section 12. Memory and Data Storage 12-3 TABLE 10-2. CR1000 SRAM Memory “Static” Memory used by the operating system regardless of the user’s progr
Section 12. Memory and Data Storage 12-4 12.1 Internal SRAM SRAM (2 or 4 Mbytes) is powered by the internal CR1000 battery when main power is discon
Section 12. Memory and Data Storage 12-5 If the card has adequate space, the tables will be allocated and the CR1000 will start storing data to them.
Section 12. Memory and Data Storage 12-6 Filemanage() command is used within the CRBASIC program to remove files from the USR: drive. Files are man
Section 12. Memory and Data Storage 12-7 TABLE 12.6-1. File Control Functions File Control Functions Accessed Through Sending programs to the CR10
Section 12. Memory and Data Storage 12-8 12.6.1 File Attributes A feature of program files is the file attribute. TABLE 12.6-2 lists available file
Section 12. Memory and Data Storage 12-9 if “keep CF data” keep CF data from overwritten program if current program = overwritten program keep
Section 12. Memory and Data Storage 12-10 “Oh, what a tangled web we weave...” - Sir Walter Scott. Back in the old days of volatile RAM, life was sim
Section 12. Memory and Data Storage 12-11 TABLE 12.6-3. Powerup.ini Commands Command Description 1 Run always, preserve CF data files 2 Run on pow
Section 2. Quickstart Tutorial 2-5 Sensor Wired to Single-Ended Channel #2 HL HL1 212 34DIFFSE+-Sensor Sensor Wired to Differential Channel #1 HL HL
Section 12. Memory and Data Storage 12-12 Program Execution After File is processed, the following rules determine what CR1000 program to run: 1) If
13-1 Section 13. Telecommunications and Data Retrieval Telecommunications, in the context of CR1000 operation, is the movement of information between
Section 13. Telecommunications and Data Retrieval 13-2 13.2 Protocols The primary telecommunication protocol for the CR1000 is PakBus (Section 14 Pa
Section 13. Telecommunications and Data Retrieval 13-3 13.4 Data Retrieval Data tables are transferred to PC files through a telecommunications link
Section 13. Telecommunications and Data Retrieval 13-4 This is a blank page.
14-1 Section 14. PakBus Overview Read more! This section is provided as a primer to PakBus communications. Complete information is available in Cam
Section 14. PakBus Overview 14-2 o Routers can be central routers. Central routers know the entire network. A PC running LoggerNet is typically a
Section 14. PakBus Overview 14-3 14.4 Linking Nodes: Neighbor Discovery To form a network, nodes must establish links with neighbors (adjacent nodes
Section 14. PakBus Overview 14-4 14.4.6 Maintaining Links Links are maintained by means of the CVI (communications verification interval). The CVI
Section 14. PakBus Overview 14-5 Hence, the size of the responses to the file receive commands that the CR1000 sends will be governed by the maxPacke
Section 2. Quickstart Tutorial 2-6 2.1.7 Bridge Sensors Bridge sensors change resistance with respect to environmental change. Resistance is determ
Section 14. PakBus Overview 14-6 14.6 LoggerNet Device Map Configuration As shown in FIGURE 14.6-1 and FIGURE 14.6-2, the essential element of a Pak
15-1 Section 15. Alternate Telecoms Resource Library 15.1 DNP3 The CR1000 is DNP3 SCADA compatible. DNP3 is a SCADA protocol used primarily by util
Section 15. Alternate Telecoms Resource Library 15-2 'Main Program BeginProg 'DNP communication over the RS-232 port at 115.2kbps. Data
Section 15. Alternate Telecoms Resource Library 15-3 serial sensors. Because Modbus uses a common bus and addresses each node, serial sensors are es
Section 15. Alternate Telecoms Resource Library 15-4 Holding Registers 40001 - 49999 Hold values resulting from a programming action. Holding regist
Section 15. Alternate Telecoms Resource Library 15-5 ModbusSlave Sets up a datalogger as a Modbus slave device. Syntax ModbusSlave (ComPort, BaudRat
Section 15. Alternate Telecoms Resource Library 15-6 15.2.4 Troubleshooting Test the Modbus functions on the datalogger with third party software Mo
Section 15. Alternate Telecoms Resource Library 15-7 FIGURE 15.2-1. NL100/NL105 Settings. Verify the correct OS version and enter IP address, net m
Section 15. Alternate Telecoms Resource Library 15-8 FIGURE 15.2-3. RS-485 Settings. This port should be disabled, unless an RS485 connection is be
Section 15. Alternate Telecoms Resource Library 15-9 FIGURE 15.2-5. CS I/O Settings. The CS I/O Configuration should be set to PakBus. The SDC Add
Section 2. Quickstart Tutorial 2-7 2.1.8 Pulse Sensors The CR1000 can measure switch closures, low-lever AC signals (waveform breaks zero volts), or
Section 15. Alternate Telecoms Resource Library 15-10 15.2.6.2 Configuring the CR1000 The CRBASIC program has to include the instruction ModbusSlave
16-1 Section 16. Support Software PC / Windows(R) compatible software products are available from Campbell Scientific to facilitate CR1000 programmin
Section 16. Support Software 16-2 the LoggerNet server. TABLE 16.5-2 lists features of LoggerNet products that require the LoggerNet server as an ad
Section 16. Support Software 16-3 16.6 PDA Software PConnect Software supports PDAs with Palm Operating Systems. PConnectCE supports Windows Mobile
Section 16. Support Software 16-4 This is a blank page.
17-1 Section 17. CR1000KD: Using the Keyboard Display Read more! See Section 11.6 CR1000KD Custom Menus. The CR1000 has an optional keyboard display
Section 17. CR1000KD: Using the Keyboard Display 17-2 CR1000 Display CAMPBELL SCIENTIFIC CR1000 Datalogger 06/18/2000, 18:24:35 CPU:
Section 17. CR1000KD: Using the Keyboard Display 17-3 17.1 Data Display Data Run/Stop Program File PCCard Ports and Status Configure
Section 17. CR1000KD: Using the Keyboard Display 17-4 17.1.1 Real Time Tables Public Table1 Temps Tref : 23.0234 TCTemp(1) : 19.6243 TCTemp(2) :
Section 17. CR1000KD: Using the Keyboard Display 17-5 17.1.2 Real Time Custom The CR1000KD can be configured with a user defined real-time display.
Section 2. Quickstart Tutorial 2-8 Digital I/O Ports Used to Control/Monitor Pump 110 VACPumpACL1LineMonitorC1GC2GCR10 C1 - Used as input to monito
Section 17. CR1000KD: Using the Keyboard Display 17-6 17.1.3 Final Storage Tables TimeStamp Record Tref TC(1) TC(2) TC(3) "2
Section 17. CR1000KD: Using the Keyboard Display 17-7 17.2 Run/Stop Program CPU: ProgramName.CR1 Is Running >* Run on Power Up
Section 17. CR1000KD: Using the Keyboard Display 17-8 17.3 File Display Data Run/Stop Program File PCCard Ports and Status Configure, Sett
Section 17. CR1000KD: Using the Keyboard Display 17-9 17.3.1 File: Edit The CRBASIC Editor is recommended for writing and editing datalogger program
Section 17. CR1000KD: Using the Keyboard Display 17-10 17.4 PCCard Display Data Run/Stop Program File PCCard Ports and Status Configure, S
Section 17. CR1000KD: Using the Keyboard Display 17-11 17.5 Ports and Status Read more! See Appendix A Status Table List of Status
Section 17. CR1000KD: Using the Keyboard Display 17-12 17.6 Settings Set Time/Date Settings Display Routes : xxxx StationName : xxx
Section 17. CR1000KD: Using the Keyboard Display 17-13 17.6.1 Set Time / Date Move the cursor to time element and press Enter to change it. Then mo
Section 17. CR1000KD: Using the Keyboard Display 17-14 This is a blank page.
18-1 Section 18. Care and Maintenance Temperature and humidity can affect the performance of the CR1000. The internal lithium battery must be replac
Section 2. Quickstart Tutorial 2-9 2.2 Hands-on Exercise – Measuring a Thermocouple This tutorial is a stepwise procedure for configuring a CR1000 t
Section 18. Care and Maintenance 18-2 18.4 Replacing the Internal Battery Misuse of the lithium battery or installing it improperly can cause severe
Section 18. Care and Maintenance 18-3 Logan, Utah FIGURE 18.4-1. CR1000 with wiring panel. FIGURE 18.4-2. Loosen thumbscrew to remove CR1000 canis
Section 18. Care and Maintenance 18-4 FIGURE 18.4-3. Pull edge with thumbscrew away from wiring panel. FIGURE 18.4-4. Remove nuts to disassemble
Section 18. Care and Maintenance 18-5 DESI PAKDESI PAKBATTERY FIGURE 18.4-5. Remove and replace battery.
Section 18. Care and Maintenance 18-6 This is a blank page.
19-1 Section 19. Troubleshooting If any component needs to be returned to the factory for repair or recalibration, remember that an RMA number is req
Section 19. Troubleshooting 19-2 SkippedRecord - Increments normally caused by skipped scans, which occur when a table called by the skipped scan
Section 19. Troubleshooting 19-3 experimenting with the InstructionTimes() instruction in the program. Analyzing InstructionTimes() results can be d
Section 19. Troubleshooting 19-4 TABLE 19.1-1. Math Expressions and CRBASIC Results Expression CRBASIC Expression Result 0 / 0 0 / 0 NAN ∞ - ∞
Section 19. Troubleshooting 19-5 19.2 Communications 19.2.1 RS-232 Baud rate mis-match between the CR1000 and LoggerNet is often the root of commun
Section 2. Quickstart Tutorial 2-10 2.2.2 PC200W Software Obtain and install PC200W. PC200W is available on the Campbell Scientific Resource CD or
Section 19. Troubleshooting 19-6 19.4 Power Supply 19.4.1 Overview Power supply systems may include batteries, charger/regulators, and charging sou
Section 19. Troubleshooting 19-7 19.4.3 Diagnosis and Fix Procedures 19.4.3.1 Battery Voltage Test No Yes
Section 19. Troubleshooting 19-8 19.4.3.2 Charging Circuit Test — Solar Panel No No Yes Yes No Yes No Yes No No Yes No Yes Yes No Disconnec
Section 19. Troubleshooting 19-9 19.4.3.3 Charging Circuit Test — Transformer No No Yes Yes Yes Yes No No
Section 19. Troubleshooting 19-10 19.4.3.4 Adjusting Charging Circuit Voltage Campbell Scientific recommends that only a qualified electronic techni
A-1 Appendix A. Glossary A.1 Terms AC see VAC. A/D analog-to-digital conversion. The process that translates analog voltage levels to digital value
Appendix A. Glossary A-2 control I/O Terminals C1 - C8 or processes utilizing these terminals. CVI Communications Verification Interval. The interva
Appendix A. Glossary A-3 DTE data terminal equipment. While the term has much wider meaning, in the limited context of practical use with the CR100
Appendix A. Glossary A-4 high resolution a high resolution data value has 5 significant digits and may range in magnitude from +.00001 to +99999. A
Appendix A. Glossary A-5 modem/terminal any device which: 1) has the ability to raise the CR23X's ring line or be used with the SC32A to raise
Section 2. Quickstart Tutorial 2-11 Historical Note: In the space race era, a field thermocouple measurement was a complicated and cumbersome process
Appendix A. Glossary A-6 output processing instructions process data values and generate Output Arrays. Examples of Output Processing Instructions i
Appendix A. Glossary A-7 Poisson Ratio a ratio used in strain measurements equal to transverse strain divided by extension strain. v = -(εtrans / εa
Appendix A. Glossary A-8 Seebeck Effect induces microvolt level thermal electromotive forces (EMF) across junctions of dissimilar metals in the pres
Appendix A. Glossary A-9 normal operation, all processing called for by an instruction must be completed before moving on the next instruction. The
Appendix A. Glossary A-10 weather tight describes an instrumentation enclosure impenetrable by common environmental conditions. During extraordinary
B-1 Appendix B. Status Table The CR1000 status table contains system operating status information accessible via CR1000KD keypad or PC software DevCo
Appendix B. Status Table B-2 TABLE B-2. Status Fields and Descriptions Status Fieldname Description Variable Type Default Normal Range User can c
Appendix B. Status Table B-3 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type StartUpCode6 A code varia
Appendix B. Status Table B-4 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type FullMemReset A value of 9
Appendix B. Status Table B-5 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type BuffDepth Shows the curre
i CR1000 Table of Contents PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmarks tab
Section 2. Quickstart Tutorial 2-12 Use the Help in conjunction with the steps outlined below: Step 1: Open a new or existing file. The first time Sh
Appendix B. Status Table B-6 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type CommActive15 Array of Boo
Appendix B. Status Table B-7 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type Beacon Array of Beacon in
Appendix B. Status Table B-8 Status Fieldname Description Variable Type Default Normal Range User can change? Info Type pppDial Specifies the dia
Appendix B. Status Table B-9 7 The Variable out of Bounds error occurs when a program tries to write to an array variable outside of its declared si
Appendix B. Status Table B-10 (14) 2500 mV range 1/50 Hz integration, (15) 250 mV range 1/50 Hz integration, (16) 25 mV range 1/50 Hz integration, (1
C-1 Appendix C. Serial Port Pin Outs C.1 CS I/O Communications Port Pin configuration for the CR1000 CS I/O port is listed in TABLE C-1. TABLE C-1
Appendix C. Serial Port Pin Outs C-2 C.2 RS-232 Communications Port Pin configuration for the CR1000 RS-232 9-pin port is listed in TABLE C-2. Info
Appendix C. Serial Port Pin Outs C-3 TABLE C-3. Standard Null Modem Cable or Adapter Pin Connections* DB9 DB9 pin 1 & 6 ---------- pin 4 pin
Appendix C. Serial Port Pin Outs C-4
D-1 Appendix D. ASCII Table American Standard Code for Information Interchange Decimal Values and Characters Dec. Char. Dec. Char. Dec. Char. Dec
Section 2. Quickstart Tutorial 2-13 FIGURE 2.2-4. Short Cut Sensors Page Click on Wiring Diagram to view the sensor wiring diagram, as shown in FIGU
Appendix D. ASCII Table D-2 This is a blank page.
Index1 Index to Sections The index lists page numbers to headings of sections containing desired information. Consequently, sought after information
Index to Sections Index-2 Calibration - Error, B-1 Calibration – Field Calibration Example Programs, 11-3 Calibration – Field Calibration Offset, 11-5
Index to Sections Index-3 Data Fill Days, B-1 Data Format, 13-3 Data Point, A-2 Data Record Size, B-1 Data Retrieval, 2-1, 13-1, 13-3 Data Storage, 3-
Index to Sections Index-4 File Attributes, 12-8 File Control, 12-6 File Display, 17-8 File Management, 10-34 FileClose, 10-34 FileList, 10-34 FileMana
Index to Sections Index-5 IP - Modbus, 15-6 IP Address, A-4 IP Information, B-1 IPTrace, 10-37 Junction Box, 4-29 Keyboard, 3-9 Keyboard Display, 3-9,
Index to Sections Index-6 Numerical Formats, 9-3 Offset, 4-7, 9-21, 9-22 Ohm, A-5 Ohms Law, A-5 OID, 4-4 OMNISAT, 10-41 OmniSatData, 10-41 OmniSatRand
Index to Sections Index-7 Program - Declarations, 9-6, 10-1 Program - Dimensions, 9-7 Program - Documenting, 9-1 Program - Expressions, 9-21, 9-22 Pro
Index to Sections Index-8 RX, C-1 Sample, 10-5 Sample Rate, A-7 SampleFieldCal, 10-5, 10-39 SampleMaxMin, 10-5 Satellite, 10-40 SatVP, 10-22 Saving Me
Index to Sections Index-9 SMTP, 11-20, A-8 SNMP, 11-19 SNP, A-8 Software, 3-11 Software - Beginner, 2-10 Solar Panel, 19-8 SortSpa, 10-23 Span, 9-21,
Section 2. Quickstart Tutorial 2-14 Step 3: Data Storage Output Processing. The Outputs page has a list of Selected Sensors to the left, and data sto
Index to Sections Index-10 Tutorial, 2-1 Tutorial Exercise, 2-9 TVS, 6-1 TX, C-1 UDP, 10-37 UDPDataGram, 10-38 UDPOpen, 10-38 UINT2, 9-7, 9-9 Units, 1
This is a blank page.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com info@campbells
Section 2. Quickstart Tutorial 2-15 Click the Summary tab and / or Print buttons to view and print the summaries. Click the X button to exit the Sho
Section 2. Quickstart Tutorial 2-16 2.2.2.3 Synchronizing the Clocks Click the Set Clock button to synchronize the datalogger’s clock with the compu
Section 2. Quickstart Tutorial 2-17 FIGURE 2.2-10. PC200W Collect Data Tab 2.2.2.7 Viewing Data To view the collected data, click on the View butt
Section 2. Quickstart Tutorial 2-18 FIGURE 2.2-11. PC200W View Data Utility Close the graph and view screens, and close PC200W. Open file Ex
3-1 Section 3. Overview 3.1 CR1000 Overview The CR1000 Datalogger is a precision instrument designed for demanding low-power measurement applicati
Section 3. Overview 3-2 The CR1000 measures analog voltage and pulse signals, representing the magnitudes numerically. Numeric values are scaled to
Section 3. Overview 3-3 Period Average: 16 channels (SE 1 -16) • Input voltage range: -2500 mV to +2500 mV. • Maximum frequency: 200 kHz Technical
CR1000 Table of Contents ii 3.1.7 Security... 3-10 3.1.8 Care and
Section 3. Overview 3-4 The CR1000 can be used as a PLC (programmable logic controller). Utilizing peripheral relays and analog output devices, the
Section 3. Overview 3-5 Power Out Peripheral 12 V Power Source: 2 terminals (12V) and associated grounds (G) supply power to sensors and peripheral d
Section 3. Overview 3-6 3.1.3 Power Requirements Read more! See Section 6 Power Supply. The CR1000 operates from a DC power supply with voltage ran
Section 3. Overview 3-7 Keyboard Display), or through datalogger support software (see Section 13 Support Software).. OS files are sent to the CR1000
Section 3. Overview 3-8 3.1.6 Communications Read more! See Section 13 Telecommunications and Data Retrieval. The CR1000 communicates with external
Section 3. Overview 3-9 3.1.6.3 DNP3 Communication Read more! See Section 15.1 DNP3. The CR1000 supports DNP3 Slave communication for inclusion in
Section 3. Overview 3-10 3.1.7 Security CR1000 applications may include collection of sensitive data, operation of critical systems, or networks acc
Section 3. Overview 3-11 present; hydrogen gas generated by the batteries may build up to an explosive concentration. 3.1.8.2 Protection from Volt
Section 3. Overview 3-12 2. PC400 supports a variety of telecommunication options, manual data collection, and data monitoring displays. Short Cut,
Section 3. Overview 3-13 3.3 Specifications
CR1000 Table of Contents iii 5. Measurement and Control Peripherals ...5-1 5.1 Analog Input Expansion ...
Section 3. Overview 3-14
4-1 Section 4. Sensor Support Several features give the CR1000 the flexibility to measure many sensor types. Contact a Campbell Scientific applicat
Section 4. Sensor Support 4-2 4.1.3 Continuous Unregulated (Nominal 12 Volt) Voltage on the 12 V terminals will change with CR1000 supply voltage. 4
Section 4. Sensor Support 4-3 within the ±5000 mV common-mode input range of the amplifier. The amplifier cannot properly reject common-mode signals
Section 4. Sensor Support 4-4 4.2.2 Voltage Range In general, a voltage measurement should use the smallest fixed input range that will accommodate
Section 4. Sensor Support 4-5 AutoRange is recommended for a signal that occasionally exceeds a particular range, for example, a Type J thermocouple
Section 4. Sensor Support 4-6 CR1000 measurement instructions incorporate techniques to cancel these unwanted offsets. TABLE 4.2-3 lists measurement
Section 4. Sensor Support 4-7 There are four delays per channel measured. The CR1000 processes the four sub-measurements into a single reported val
Section 4. Sensor Support 4-8 4.2.5 Integration Read more! See a white paper entitled “Preventing and Attacking Measurement Noise Problems” availab
Section 4. Sensor Support 4-9 FIGURE 4.2-1. Full and ½ Cycle Integration Methods for AC Power Line Noise Rejection 4.2.5.1.2 AC Noise Rejection on
CR1000 Table of Contents iv 9.3 Writing CR1000 Programs ... 9-1 9.3.1 Short Cut Edit
Section 4. Sensor Support 4-10 TABLE 4.2-6. AC Noise Rejection Integration on Voltage Ranges mV5000 and mV2500 AC Power Line Frequency Measurement
Section 4. Sensor Support 4-11 TABLE 4.2-7. CRBASIC Measurement Settling Times Settling Time Entry Input Voltage Range Integration Code Settling
Section 4. Sensor Support 4-12 Reviewing Section 9 CR1000 Programming may help in understanding the CRBASIC code in the example. EXAMPLE 4.2-1. CRBA
Section 4. Sensor Support 4-13 Settling Time0.0360.0370.0380.0390.040.0410.0420.0430.0441234567891011121314151617181920Time (x100 us)mV/Volt858789919
Section 4. Sensor Support 4-14 The composite transfer function of the instrumentation amplifier, integrator, and analog-to-digital converter of the C
Section 4. Sensor Support 4-15 TABLE 4.2-9. Values Generated by the Calibrate() Instruction Array Element Description Typical Value 1 SE offset fo
Section 4. Sensor Support 4-16 31 SE offset for ±7.5 mV input range with 60 Hz integration. ±10 LSB 32 Differential offset for ±7.5 mV input range
Section 4. Sensor Support 4-17 measurements are appropriate. Program Code EXAMPLE 4.3-1 shows CR1000 code for measuring and processing four wire ful
Section 4. Sensor Support 4-18 Sensor Schematic Base Equation Formulae BrHalf X = result w/mult = 1, offset = 0 fssx1RRRVVX+== ()XX1RRX1XRRsffs−=
Section 4. Sensor Support 4-19 EXAMPLE 4.3-1. CRBASIC Code: 4 Wire Full Bridge Measurement and Processing 'Declare Variables Public X Public X1
CR1000 Table of Contents v 10.4 Program Control Instructions ... 10-7 10.4.1 Common Controls
Section 4. Sensor Support 4-20 TABLE 4.3-1. Strain Equations Code Configuration 1 Quarter bridge strain gage)V21(GFV104rr6+⋅−=με 2 Half bridge str
Section 4. Sensor Support 4-21 4.4 Thermocouple Measurements Thermocouples are easy to use with the CR1000. They are also inexpensive. However, th
Section 4. Sensor Support 4-22 measurement and does not include errors in installation or matching the sensor and thermocouple type to the environmen
Section 4. Sensor Support 4-23 each analog terminal strip measured the temperature of an insulated aluminum bar outside the chamber. The temperature
Section 4. Sensor Support 4-24 Reference Temperature Errors Due to Panel Gradient Chamber Changed from 85 to 25 degrees C-6-5-4-3-2-10121 3 5 7 9 111
Section 4. Sensor Support 4-25 When both junctions of a thermocouple are at the same temperature there is no voltage produced (law of intermediate me
Section 4. Sensor Support 4-26 0.0012 * 52 mV = 62 µV or 1.78 oC (62 / 34.9). The basic resolution on the 250 mV range is 66.7 µV or 1.91 oC. Thus,
Section 4. Sensor Support 4-27 TABLE 4.4-3. Limits of Error on CR1000 Thermocouple Polynomials (Relative to NIST Standards) TC Type Range oC L
Section 4. Sensor Support 4-28 4.4.1.7 Error Summary The magnitude of the errors described in Section 4.4.1 illustrate that the greatest sources of
Section 4. Sensor Support 4-29 K thermocouples, since the upper limit of the reference compensation polynomial fit range is 100 oC and the upper limi
CR1000 Table of Contents vi 11.1.5 FieldCal() Demonstration Programs... 11-3 11.1.5.1 Zero (Option 0) ...
Section 4. Sensor Support 4-30 Sensor Pulse ChannelGround FIGURE 4.5-1. Schematic of a Pulse Sensor on a CR1000 The PulseCount() instruction cannot
Section 4. Sensor Support 4-31 FIGURE 4.5-2. Pulse Input Types Maximum input voltage on pulse channels P1 and P2 is ±20 V. If pulse inputs of high
Section 4. Sensor Support 4-32 When a pulse channel is configured for high-frequency pulse, an internal 100 kΩ pull-up resistor to +5 V on the P1 or
Section 4. Sensor Support 4-33 levels. Software switch debouncing of switch closure is incorporated in the switch-closure mode for digital I/O parts
Section 4. Sensor Support 4-34 Noisy signals with slow transitions through the voltage threshold have the potential for extra counts around the compa
5-1 Section 5. Measurement and Control Peripherals Peripheral devices are available for expanding the CR1000’s on-board input / output capabilities.
Section 5. Measurement and Control Peripherals 5-2 5.4.1 Binary Control 5.4.1.1 Digital I/O Ports Each of eight digital I/O ports (C1 - C8) can be
Section 5. Measurement and Control Peripherals 5-3 FIGURE 5.4-1. Relay Driver Circuit with Relay FIGURE 5.4-2. Power Switching without Relay 5.
Section 5. Measurement and Control Peripherals 5-4 5.6.2 Vibrating Wire Vibrating wire modules interface vibrating wire transducers to the CR1000. 5
6-1 Section 6. CR1000 Power Supply Reliable power is the foundation of a reliable data acquisition system. When designing a power supply, considerat
CR1000 Table of Contents vii 12. Memory and Data Storage ...12-1 12.1 Internal SRAM ...
Section 6. CR1000 Power Supply 6-2 (ground). The CR1000 is internally protected against, but will not function with, reversed external power polarit
7-1 Section 7. Grounding Grounding the CR1000 and its peripheral devices and sensors is critical in all applications. Proper grounding will ensure
Section 7. Grounding 7-2 FIGURE 7.1-1. Schematic of CR1000 Grounds The 9-pin serial I/O ports on the CR1000 are another path for transients.
Section 7. Grounding 7-3 provide an adequate earth ground. For these situations, consult the literature on lightning protection or contact a qualifi
Section 7. Grounding 7-4 7.3 Single-Ended Measurement Reference Low-level single-ended voltage measurements are sensitive to ground potential fluctu
Section 7. Grounding 7-5 7.4.2 External Signal Conditioner External signal conditioners, e.g. an infrared gas analyzer (IRGA), are frequently used t
Section 7. Grounding 7-6 sensor deterioration, the capacitors block any DC component from affecting the measurement.
8-1 Section 8. CR1000 Configuration The CR1000 may require changes to factory default settings depending on the application. Most settings concern
Section 8. CR1000 Configuration 8-2 FIGURE 8.1-1. DevConfig CR1000 Facility When the Connect button is pressed, the device type, serial port, and b
Section 8. CR1000 Configuration 8-3 FIGURE 8.2-1. DevConfig OS download window for CR1000. The text at right gives the instructions for sending the
Commentaires sur ces manuels