“PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC, INC. are
warranted by Campbell Scientific, Inc. (“Campbell”) to be free from defects in
materials and workmanship under normal use and service for twelve (12)
months from date of shipment unless otherwise specified in the corresponding
Campbell pricelist or product manual. Products not manufactured, but that are
re-sold by Campbell, are warranted only to the limits extended by the original
manufacturer. Batteries, fine-wire thermocouples, desiccant, and other
consumables have no warranty. Campbell’s obligation under this warranty is
limited to repairing or replacing (at Campbell’s option) defective products,
which shall be the sole and exclusive remedy under this warranty. The
customer shall assume all costs of removing, reinstalling, and shipping
defective products to Campbell. Campbell will return such products by surface
carrier prepaid within the continental United States of America. To all other
locations, Campbell will return such products best way CIP (Port of Entry)
INCOTERM® 2010, prepaid. This warranty shall not apply to any products
which have been subjected to modification, misuse, neglect, improper service,
accidents of nature, or shipping damage. This warranty is in lieu of all other
warranties, expressed or implied. The warranty for installation services
performed by Campbell such as programming to customer specifications,
electrical connections to products manufactured by Campbell, and product
specific training, is part of Campbell’s product warranty. CAMPBELL
EXPRESSLY DISCLAIMS AND EXCLUDES ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Campbell is not liable for any special, indirect,
incidental, and/or consequential damages.”
Assistance
Products may not be returned without prior authorization. The following
contact information is for US and international customers residing in countries
served by Campbell Scientific, Inc. directly. Affiliate companies handle
repairs for customers within their territories. Please visit
www.campbellsci.com to determine which Campbell Scientific company serves
your country.
To obtain a Returned Materials Authorization (RMA), contact CAMPBELL
SCIENTIFIC, INC., phone (435) 227-9000. After an application engineer
determines the nature of the problem, an RMA number will be issued. Please
write this number clearly on the outside of the shipping container. Campbell
Scientific’s shipping address is:
CAMPBELL SCIENTIFIC, INC.
RMA#_____
815 West 1800 North
Logan, Utah 84321-1784
For all returns, the customer must fill out a “Statement of Product Cleanliness
and Decontamination” form and comply with the requirements specified in it.
The form is available from our web site at www.campbellsci.com/repair. A
completed form must be either emailed to repair@campbellsci.com or faxed to
(435) 227-9106. Campbell Scientific is unable to process any returns until we
receive this form. If the form is not received within three days of product
receipt or is incomplete, the product will be returned to the customer at the
customer’s expense. Campbell Scientific reserves the right to refuse service on
products that were exposed to contaminants that may cause health or safety
concerns for our employees.
CRBASIC EXAMPLE 19. Using TrigVar to Trigger Data Storage ........................ 126
CRBASIC EXAMPLE 20. CRBASIC EXAMPLE. Programming for two data
intervals in one data table ................................................................................... 127
CRBASIC EXAMPLE 21. Using NAN in Expressions ........................................... 153
viii
Section 1. Introduction
Whether in extreme cold in Antarctica, scorching heat in Death Valley, salt
spray from the Pacific, micro-gravity in space, or the harsh environment of your
office, Campbell Scientific dataloggers support research and operations all over
the world. Our customers work a broad spectrum of applications, from those
more complex than any of us imagined, to those simpler than any of us thought
practical. The limits of the CR200(X) are defined by our customers. Our intent
with the CR200(X) manual is to guide you to the tools you need to explore the
limits of your application.
You can take advantage of the CR200(X)'s powerful analog and digital
measurement features by spending a few minutes working through the
Quickstart Tutorial (p. 3) and the Overview (p. 23). For more demanding
applications, the remainder of the manual and other Campbell Scientific
publications are available. If you are programming with CRBASIC, you will
need the extensive Help available with the CRBASIC Editor software.
This manual is organized to take you progressively deeper into the complexity
of CR200(X) functions. You may not find it necessary to progress beyond the
3) gives a cursory view of CR200(X) data acquisition and walks you through a
first attempt at data acquisition. Overview (p. 23) reviews salient topics, which
are covered in-depth in subsequent sections and appendices.
More in-depth study requires other Campbell Scientific publications, most of
which are available on-line at www.campbellsci.com. Generally, if a particular
feature of the CR200(X) requires a peripheral hardware device, more
information is available in the manual written for that device. Manuals for
Campbell Scientific products are available at www.campbellsci.com.
If you are unable to find the information you need, please contact us at 435-7532342 and speak with an applications engineer. Or you can email us at
support@campbellsci.com.
1.1 CR200(X) series Datalogger Models
Models CR200X and CR200 Dataloggers do not have a built-in spread spectrum
radio.
The CR206X, CR211X, and CR216X combine the CR200X datalogger with a
spread spectrum radio for telemetering data. The different model numbers are
for different spread spectrum frequency ranges:
1
Section 1. Introduction
Table 1. CR200 series Dataloggers with Built-In Radio
Model Frequency Where Used
CR206X
CR206 (retired)
CR205 (retired)
CR211X
CR211 (retired)
CR210 (retired)
CR216X
CR216 (retired)
CR215 (retired)
910 to 918 MHz U.S./Canada
920 to 928 MHz Australia/Israel
2.450 to 2.482
GHz
Worldwide
Caution No product using the 24XStream radio, including CR216X, will
be available for sale in Europe after 1/1/2015 due to changes in EU
legislation. Consequently, purchase of the CR216X is not recommended
for use in Europe in new networks that may require future expansion.
The CR295X and CR295 (retired) GOES Dataloggers include an additional
9-pin serial port that allow communications with a TX320, the retired TX312, or
the retired SAT HDR GOES satellite transmitter. While the CR295 required a
special operating system, the CR295X does not.
Note: Throughout this manual CR200(X) will be used to refer to all of the
different models of datalogger in the CR200-series and CR200X-series. In the
cases where information applies only to a specific model or series of datalogger,
that will be clearly specified.
The CR200(X)-series dataloggers have the following enhanced features as
compared to the CR200-series dataloggers:
1. 128 Public variables can be used (CR200-series had 48).
2. 8 Data Tables can be declared (CR200-series had 4).
3. Compiled CRBasic program can be two times larger than for CR200-
series.
4. All CR200(X)-series CRBasic instructions are supported in a single
operating system. See CRBasic and CRBasic Help for a list of
available instructions. No new instructions have been added. If new
instructions are added in the future, they will apply only to the
CR200(X)-series dataloggers.
2
Section 2. Quickstart Tutorial
Quickstart tutorial gives a cursory look at CR200(X) data acquisition.
2.1 Primer - CR200(X) Data Acquisition
Data acquisition with the CR200(X) is the result of a step wise procedure
involving the use of electronic sensor technology, the CR200(X), a
telecommunications link, and PC datalogger support software.
2.1.1 Components of a Data Acquisition System
A typical data acquisition system is conceptualized in FIGURE. Data
Acquisition System Components (p. 3). A CR200(X) is only one part of a data
acquisition system. To acquire good data, suitable sensors and a reliable data
retrieval method are required. A failure in any part of the system can lead to
"bad" data or no data.
2.1.1.1 How Programmed Instructions Are Evaluated
2.1.1.2 Sensors
The CR200(X) evaluates programmed instructions sequentially.
Figure 1: Data Acquisition System Components
Suitable sensors accurately and precisely transduce environmental change into
measurable electrical properties by outputting a voltage, changing resistance,
outputting pulses, or changing states.
Read More! APPENDIX. Accuracy, Precision, and Resolution (Appendix p.
13)
3
Section 2. Quickstart Tutorial
2.1.1.3 Datalogger
2.1.1.4 Data Retrieval
CR200(X)s can measure most sensors with an electrical response. CR200(X)s
measure electrical signals and convert the measurement to engineering units,
perform calculations and reduce data to statistical values. Every measurement
does not need to be stored. The CR200(X) will store data in memory awaiting
transfer to the PC via external storage devices or telecommunications.
The main objective of a data acquisition system is to provide data files on a PC.
Data are copied, not moved, from the CR200(X) to the PC. Multiple users may
have access to the same CR200(X) without compromising data or coordinating
data collection activities.
A RS-232 port is integrated with the CR200(X) wiring panel to facilitate data
collection.
On-site serial communications are preferred if the datalogger is near the PC, and
the PC can dedicate a serial (COM) port for the datalogger or use a USB-toserial converter. On-site methods such as direct serial connection or infrared
link are also used when the user visits a remote site with a laptop or PDA.
In contrast, telecommunications provide remote access and the ability to
discover problems early with minimum data loss. Typically a base station radio
that is compatible with the radio internal to the CR200(X) will be the preferred
method of telecommunication. A variety of devices, such as telephone modems,
satellite transceivers, and TCP/IP network modems may be interfaced with the
base station for the most demanding applications.
2.1.2 CR200(X) Mounting
The CR200(X) module integrates electronics within a compact housing, making
it economical, small, and very rugged.
2.1.3 Wiring Panel
As shown in FIGURE. CR200(X) Wiring Panel p. 5, the CR200(X) provides
terminals for connecting sensors, power and communications devices. Internal
surge protection is incorporated with the input channels.
The CR200(X) uses spring-loaded terminal blocks for connecting sensors and
peripherals. This provides quick, vibration resistant connections. To attach
wires, insert a small flat blade screwdriver into the slot and push back. Insert
the wire and then bring the screwdriver forward.
4
Caution! Opening a terminal by prying the end may cause damage,
particularly at low temperatures.
Figure 2: CR200(X) Wiring Panel
Section 2. Quickstart Tutorial
2.1.4 Battery Backup
A lithium battery backs up the CR200(X) clock, program, and memory if it
loses power.
2.1.5 Power Supply
The CR200(X) is powered by a nominal 12 volt DC source. Acceptable power
range is 7 to 16 VDC.
The CR200(X) does not have an internal power supply but does have
connections for an external battery and a built-in charging regulator for charging
a 12 V lead-acid battery from an external power source. Charging power can
come from a 16-22 VDC input such as a solar panel.
2.1.6 Antenna
For CR200(X) models with a built-in radio, an FCC authorized antenna is a
required component. An SMA male connector is provided on the CR200(X)
wiring panel for antenna connection. Antennas are either 900 MHz or 2.4 GHz
depending on the type of radio installed.
5
Section 2. Quickstart Tutorial
2.1.7 Analog Sensors
Analog sensors output continuous voltages that vary with the phenomena
measured.
Analog sensors connect to analog terminals. Analog terminals are configured as
single-ended, wherein sensor outputs are measured with respect to ground
(FIGURE. Analog Sensor Wired to Single-Ended Channel #1 (p. 6)). The
CR200(X) cannot perform differential voltage measurements.
Figure 3: Analog Sensor Wired to Single-Ended Channel #1
2.1.8 Bridge Sensors
Bridge sensors change resistance with respect to environmental change.
Resistance is determined by measuring the difference between the excitation
voltage supplied to the bridge and the voltage detected by the CR200(X)
returning from the bridge.
2.1.8.1 Voltage Excitation
The CR200(X) supplies a precise excitation voltage via excitation terminals.
Return voltage is measured on single ended analog terminals. Because the
CR200(X) cannot make the differential voltage readings used with full bridge
and some half bridge circuits, only basic half bridge measurements can be made.
A wiring example is illustrated in FIGURE. Half Bridge Wiring Wind Vane
The CR200(X) can measure switch closures, low-level AC signals (waveform
breaks zero volts), or voltage pulses. Compatible signal types are illustrated in
FIGURE. Pulse Input Types (p. 7). A pulse input wiring example is shown in
FIGURE. Pulse Input Wiring -- Anemometer Switch (p. 8).
Note Period averaging sensors are connected to analog channels.
Figure 5: Pulse Input Types
7
Section 2. Quickstart Tutorial
Figure 6: Pulse Input Wiring -- Anemometer Switch
2.1.10 Digital I/O Ports
The CR200(X) has 2 digital I/O ports selectable, under program control, as
binary inputs or control outputs. These are multi-function ports including:
device driven interrupts, switch closure pulse counting, high frequency pulse
counting, and SDI-12 communications. FIGURE. Control and Monitoring with
Digital I/O (p. 9), illustrates a simple application wherein a port is used to
control a device while a second port monitors the state of the device.
8
Section 2. Quickstart Tutorial
Figure 7: Control and Monitoring with Digital I/O
2.1.11 RS-232 Sensors
The CR200(X) has an RS-232 input as shown in FIGURE. Location of RS-232
Port p. 10. As indicated in FIGURE. Use of RS-232 when Reading RS-232
Devices, p. 10 RS-232 sensors can be connected to the RS-232 port. The port
can be set up with various baud rates, parity options, stop bit options, and so
forth as defined in CRBASIC Help.
Note: For the CR200, SerialInput () is a special instruction, which is available
only in the special S operating system.
9
Section 2. Quickstart Tutorial
Figure 8: Location of RS-232 Port
Figure 9: Use of RS-232 when Reading RS-232 Devices
2.2 Hands-on Exercise - Measuring Temperature
This tutorial is designed to illustrate the function of the CR200(X). During the
exercise, the following items will be described.
• Attaching a temperature probe to analog differential terminals
• Creating a program for the CR200(X)
10
• Making a simple temperature measurement
• Sending data from the CR200(X) to a PC
• Viewing the data from the CR200(X)
2.2.1 Hardware Setup
With Reference to FIGURE. Power and RS-232 Connections (p. 11).
1. Connect external power (7 – 16VDC) to the CR200 by inserting the
positive lead into the "Battery +".
2. Insert the negative lead into the "Battery-".
3. Connect the RS-232 cable (PN 10873, provided) between the RS-232
port on the CR200(X) and the RS-232 port on the PC. For computers
that have only a USB port, a USB Serial Adaptor (PN 17394 or
equivalent) is required.
Section 2. Quickstart Tutorial
Figure 10: Power and RS-232 Connections
2.2.2 Configuration
For this exercise, factory default settings will work. To change the PakBus
address or radio settings from their factory defaults, or if you are not sure what
settings are currently stored on the CR200(X), use Device Configuration Utility
or DevConfig software.
Read More! See DevConfig p. 59
2.2.3 PC200W Software Setup
1. Install the PC200W software onto a PC. Follow the on-screen prompts
during the installation process for the Program Folder and Destination
Location.
2. Open the PC200W software (FIGURE. PC200W Main Window (p.
13)). When the software is first run, the EZSetup Wizard will be run
automatically in a new window. This will configure the software to
communicate with the CR200(X). TABLE. PC200W EZSetup Wizard
11
Section 2. Quickstart Tutorial
Example Selections (p. 12) indicates what information needs to be
entered on each screen. Click on Next at the bottom of the screen to
advance to the next screen.
Table 2. PC200W EZSetup Wizard Example Selections.
Start the wizard to follow table entries
Screen Name Information Needed
Introduction Provides and introduction to the EZSetup Wizard along with
Datalogger Type and Name Select the CR200(X) from the scroll window.
COM Port Selection Select the correct COM port for RS-232 connection.
Datalogger Settings Used to configure how the CR200(X) communicates through
Communication Setup
Summary
Communications Test A communications test between the CR200(X) and PC can
instructions on how to navigate through the wizard.
Accept the default name of "CR200(X)."
Typically, this will be COM1. Other COM numbers are
possible, especially when using a USB to serial cable.
Leave the COM Port Communication Delay at "00 seconds."
Note: When using a USB to serial cable, the COM number
may change if the cable is moved to a different USB port.
This will prevent data transfer between the software and
CR200(X). Should this occur, simply move the USB cable
back to the original port. If this is not possible, it will be
necessary to close the PC200W software and open it a
second time to refresh the available COM ports. Click on
"Edit Datalogger Setup" and change the COM port to the
new port number.
the COM port.
For this tutorial, accept the default settings.
Provides a summary of the settings made in previous
screens.
be performed in this screen.
For this tutorial, the test is not required. Press Finish to exit
the Wizard.
12
After exiting the wizard, the main PC200W window becomes visible. The
window has several tabs available. By Default, the Clock/Program tab is visible.
This tab displays information on the currently selected datalogger along with
clock and program functions. The Monitor Data or Collect Data tabs may be
selected at any time.
A number of icons are available across the top of the window. These access
additional functions available to the user.
Section 2. Quickstart Tutorial
Figure 11: PC200W Main Window
2.2.3.1 Programming With Short Cut
2.2.3.1.1 Short Cut Programming Objectives
This portion of the tutorial will use Short Cut to create a program that measures
air temperature (°C) with a 109 Temperature Probe, and rainfall (mm) with a
TE525WS rain gage. The CR200(X) will take samples every ten seconds and
store averages of these values at one minute intervals.
Even if the 109 Temperature Probe and TE525WS Rain Gage sensors are not
available, the programming example can still be followed. Without a 109 probe
connected the measurement result will be NAN; without a TE525WS connected
the measurement result will be 0. A rain gage can be simulated by straightening
a segment of each of two paper clips and inserting the straightened segment of
one paper clip into P_SW and the adjacent ground channel. To simulate a rain
gage tip, squeeze the paper clips together until they touch and then allow them
to spring apart.
2.2.3.1.2 Procedure (Short Cut Steps 1–6)
1. Click on the Short Cut icon in the upper-right corner of the PC200W
window. The icon resembles a clock face.
13
Section 2. Quickstart Tutorial
2. A new window will appear showing the option to create a new program
or open an existing program. Select New Program.
3. A drop-down list will appear showing different dataloggers. Select the
CR200(X) and click OK.
4. The program will now ask for the scan interval. Set the interval to 10
seconds and click OK.
5. A second prompt will ask for a choice of "Sensor Support." Select
"Campbell Scientific, Inc."
6. Under Available Sensors, expand the "Sensors" folder by clicking on
the "+" symbol. This shows several sub-folders. Expand the
"Temperature" folder to view the available sensors.
14
Figure 12: Short Cut Temperature Sensor Folder
2.2.3.1.3 Procedure (Short Cut Steps 7–9)
1. Double-click the 109 Temperature Probe sensor to add it to the
Selected category. Alternatively, highlight the Wiring Panel
Temperature sensor by clicking on it once, and then click on the arrow
between Available Sensors and Selected to add it to the Selected
sensors.
2. Click OK on the next screen to accept T109_C for the measurement
label, the DegC for the units.
3. Double click on the Meteorological application group. Double click
on Precipitation, and double click on the TE525 / TE525WS sensor to
add it to the selected sensors table. Click OK to accept Rain_mm for
the measurement label, and mm for the units.
Figure 13: Short Cut Thermocouple Wiring
2.2.3.1.4 Procedure (Short Cut Step 10)
Section 2. Quickstart Tutorial
1. Click on the Wiring Diagram link to view the sensor wiring diagram.
Attach the 109 Temperature Probe and TE525 Rain Gauge to the
CR200(X) as shown in the diagram. Click on Outputs to advance to the
next step.
Figure 14: Short Cut Wiring Diagram
2.2.3.1.5 Procedure (Short Cut Step 11)
1. The Outputs window displays a list of selected sensors on the left, and
data storage Tables on the right.
15
Section 2. Quickstart Tutorial
Figure 15: Short Cut Outputs Tab
2.2.3.1.6 Procedure (Short Cut Steps 12 –18)
1. By default, there are two Tables initially available. Both Tables have a
Store Every field along with a drop-down box to select the time units.
These are used to set the time interval when data is stored.
2. Only one Table is needed for this tutorial, so Table 2 can be removed.
Select Table 2 by clicking on its tab, and then click on Delete Table.
3. Change the Table Name to OneMin, and then change the interval to 1
minute (Store Every 1 Minutes).
4. Adding a measurement to the table is done by selecting the
measurement under Selected Sensors, and then clicking on one of the
processing buttons in the center of the window.
5. Click the Default sensor (battery voltage) and click the Minimum
button. Click the 109 temperature sensor and click the Average button.
Click the TE525 rain gauge sensor and click the Total button.
6. Click the Default sensor (battery voltage) and double click the
Minimum button. Click the 109 temperature sensor and double click
the Average button. Click the TE525 rain gauge sensor and double
click the Total button.
16
7. Click the Default sensor (battery voltage) and double click the
Minimum button. Do not store the time of minimum. Click the 109
temperature sensor and double click the Average button. Click the
TE525 rain gauge sensor and double click the Total button..
Figure 16: Short Cut Output Table Definition
2.2.3.1.7 Procedure (Short Cut Step 19)
Section 2. Quickstart Tutorial
1. Click on Finish to compile the program. Give the program the name
"QuickStart." A prompt will ask if you want to send the program to the
datalogger. For this exercise choose No. A summary screen will
appear showing the compiler results. Any errors during compiling will
also be displayed.
Figure 17: Short Cut Compile Confirmation
2.2.3.1.8 Procedure (Short Cut Step 20)
1. Close this window by clicking on the "X" in the upper right corner.
17
Section 2. Quickstart Tutorial
2.2.3.2 Programming the CR200(X) and Collecting Data
2.2.3.2.1 Procedure (PC200W Step 1)
1. From the PC200W Clock/Program tab, click on the Connect button to
establish communications with the CR200(X). When communications
have been established, the text on the button will change to Disconnect.
Figure 18: PC200W Connect Button
2.2.3.2.2 Procedure (PC200W Steps 2–4)
1. Click the Set Clock button to synchronize the datalogger's clock with
the computer's clock.
2. Click on the Send Program button. A window will appear warning that
data on the datalogger will be erased. Answer "yes" to the prompt.
Another window will open. Browse to the C:\CampbellSci\SCWin
folder, select the QuickStart.CR2 file, and then click the Open button.
A status bar will appear while the program is sent to the CR200(X)
followed by a confirmation that the transfer was successful. Click OK
to close this window.
3. After sending a program to the CR200(X), a good practice is to
monitor the measurements to ensure they are reasonable. Select the
Monitor Data tab. The window now displays data found in the Public
Table coming from the CR200(X). To view the OneMin table, select an
empty cell in the display area, and then click on the Add button.
18
Loading...
+ 178 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.