“Products manufactured by CSI are warranted by CSI to be free from defects in
materials and workmanship under normal use and service for twelve months
from the date of shipment unless otherwise specified in the corresponding
product manual. (Product manuals are available for review online at
www.campbellsci.com.) Products not manufactured by CSI, but that are resold
by CSI, are warranted only to the limits extended by the original manufacturer.
Batteries, fine-wire thermocouples, desiccant, and other consumables have no
warranty. CSI’s obligation under this warranty is limited to repairing or
replacing (at CSI’s option) defective Products, which shall be the sole and
exclusive remedy under this warranty. The Customer assumes all costs of
removing, reinstalling, and shipping defective Products to CSI. CSI will return
such Products by surface carrier prepaid within the continental United States of
America. To all other locations, CSI will return such Products best way CIP
(port of entry) per Incoterms ® 2010. 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 CSI such as programming to customer specifications, electrical
connections to Products manufactured by CSI, and Product specific training, is
part of CSI's product warranty. CSI EXPRESSLY DISCLAIMS AND
EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE. CSI hereby disclaims,
to the fullest extent allowed by applicable law, any and all warranties and
conditions with respect to the Products, whether express, implied or
statutory, other than those expressly provided herein.”
Page 4
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.
Page 5
Table of Contents
PDF viewers: These page numbers refer to the printed version of this document. Use the
PDF reader bookmarks tab for links to specific sections.
8-2. 109SS Temperature Calculation ........................................................ 10
C-1. Voltage Ratio, Resistance, and Temperature ................................... C-1
ii
Page 7
Model 109SS Temperature Probe
1. Introduction
The 109SS Temperature Probe uses a thermistor to measure temperature in soil
and water. It is compatible with all CRBasic and Edlog dataloggers except the
CR9000(X). See Section 6, Specifications, for a complete list of compatible
dataloggers.
2. Cautionary Statements
Santoprene® rubber, which composes the black outer jacket of the 109SS cable,
will support combustion in air. It is used because of its resistance to
temperature extremes, moisture, and UV degradation. It is rated as slow
burning when tested according to U.L. 94 H.B. and passes FMVSS302.
However, local fire codes may preclude its use inside buildings.
3. Initial Inspection
•Check the packaging and contents of the shipment. If damage occurred
during transport, immediately file a claim with the carrier. Contact
Campbell Scientific to facilitate repair or replacement.
4. Quickstart
•Check model information against the shipping documents to ensure the
expected products and the correct lengths of cable are received. Model
numbers are found on each product. On cables and cabled items, the
model number is usually found at the connection end of the cable. Report
any shortages immediately to Campbell Scientific.
Short Cut is an easy way to program your datalogger to measure the 109SS
probe and assign datalogger wiring terminals. Use the following procedure to
get started.
1. Install Short Cut by clicking on the install file icon. Get the install file
from either www.campbellsci.com, the ResourceDVD, or find it in
installations of LoggerNet, PC200W, PC400, or RTDAQ software.
2. The Short Cut installation should place a shortcut icon on the desktop of
your computer. To open Short Cut, click on this icon.
1
Page 8
Model 109SS Temperature Probe
3. When Short Cut opens, select New Program.
4. Select Datalogger Model and Scan Interval (default of 5 or 10 seconds is
OK for most applications). Click Next.
2
Page 9
Model 109SS Temperature Probe
5.Under the Available Sensors and Devices list, select the Sensors |
Temperature folder. Select 109 Temperature Probe. Click to
move the selection to the Selected device window. Data defaults to degree
Celsius. This can be changed by clicking the Deg C box and selecting
Deg F, for degrees Fahrenheit, or K, for Kelvin.
6. After selecting the sensor, click at the left of the screen on Wiring
Diagram to see how the sensor is to be wired to the datalogger. The
wiring diagram can be printed out now or after more sensors are added.
7. Select any other sensors you have, and then finish the remaining Short Cut
steps to complete the program. The remaining steps are outlined in Short
Cut Help, which is accessed by clicking on Help | Contents |
Programming Steps.
3
Page 10
Model 109SS Temperature Probe
8. If LoggerNet, PC400, RTDAQ, or PC200W is running on your PC, and the
PC to datalogger connection is active, you can click Finish in Short Cut
and you will be prompted to send the program just created to the
datalogger.
9. If the sensor is connected to the datalogger, as shown in the wiring
diagram in step 6, check the output of the sensor in the datalogger support
software data display to make sure it is making reasonable measurements.
5. Overview
The 109SS is a rugged probe that accurately measures soil or water
temperature in a variety of applications. The sensor consists of a thermistor
encased in a stainless-steel sheath. This design protects the thermistor,
allowing the 109SS to be buried or submerged in harsh, corrosive
environments. It can be submerged in water to 45 m (150 ft) or 63 psi. See
Specifications for a complete list of compatible dataloggers.
6. Specifications
Features:
• Measures soil or water temperature
• Compatible with AM16/32-series multiplexers
• Easy to install or remove
• Durable
• Compatible with Campbell Scientific CRBasic dataloggers CR200(X)
series, CR800 series, CR1000, CR3000, and CR5000. Also
compatible with Edlog dataloggers CR10(X), CR500, CR510,
CR23X, 21X, and CR7(X)
Sensor Element: Measurement Specialties Micro-BetaCHIP
Thermistor Probe (MCD) 10K3MCD1
Survival Range: –50 to 100 °C (thermistor)
–50 to 70 °C (overmolded joint
and cable)
Measurement
Range: –40 to 70 °C
Time Constant: 31 s in still air
7.5 s in a wind speed of 3 m/s
0.5 s in rolling water or antifreeze
Maximum Cable Length: 1000 ft
1
Accuracy
Worst case: ±0.6 °C over –40 to 70 °C ±0.49°C over –20 to 70 °C (FIGURE 6-1)
Interchangeability
Error: ±0.60 °C at –40 °C±0.38 °C at 0 °C ±0.10 °C at 25 °C ±0.30 °C at 50 °C ±0.45 °C at 70 °C
4
Page 11
Model 109SS Temperature Probe
Maximum
Steinhart-Hart
Linearization Error: 0.02 °C at –40 °C
FIGURE 6-1. Worst-case probe and measurement errors
Steinhart & Hart - Tabulated values
0.03
0.025
0.02
0.015
0.01
Error Degrees C
0.005
0
-50-40-30-20-10010203040506070
-0.005
Temperature Degrees C
FIGURE 6-2. Steinhart-Hart linearization error
1
The overall probe accuracy is a combination of the thermistor interchangeability specification and the
accuracy of the bridge resistor. The Steinhart-Hart equation used in CRBasic instruction Therm109()
(CRBasic dataloggers) has negligible error. The major error component is the interchangeability
specification of the thermistor. The bridge resistor has a 0.1% tolerance with a 10 ppm temperature
coefficient.
5
Page 12
Model 109SS Temperature Probe
TABLE 7-1. Wire Color, Function, and Datalogger Connection
Stainless-Steel Sheath
Diameter: 0.16 cm (0.063 in)
Length: 5.84 cm (2.3 in)
Overmolded Joint
Diameter: 1.02 cm (0.40 in) Length: 4.24 cm (1.67 in)
Cable: Santoprene
Cable/Probe Connection: ATUM
Macromelt
Weight: 0.2 lb per 10.5 ft cable
7. Installation
If you are programming your datalogger with Short Cut, skip Section 7.1,
Wiring to Datalogger, and Section 7.2, Datalogger Programming. Short Cut
does this work for you. See Section 4, Quickstart, for a Short Cut tutorial.
7.1 Wiring to Datalogger
®
, 0.220 in diameter
TM
heat shrink
®
overmolded joint
Wire Color Wire Function
Black Voltage-excitation input
Red Analog-voltage output
Purple Bridge-resistor lead
Clear EMF shield
7.2 Datalogger Programming
Short Cut is the best source for up-to-date datalogger programming code.
Programming code is needed when:
• Creating a program for a new datalogger installation.
• Adding sensors to an existing datalogger program.
If your data acquisition requirements are simple, you can probably create and
maintain a datalogger program exclusively with Short Cut. If your data
acquisition needs are more complex, the files that Short Cut creates are a great
source for programming code to start a new program or add to an existing
custom program.
Datalogger Connection
Terminal
EX, VX
(voltage excitation)
SE
(single-ended,
analog-voltage input)
AG or
(analog ground)
G
(power ground)
6
Page 13
7.2.1 CRBasic
NOTE
Model 109SS Temperature Probe
Short Cut cannot edit programs after they are imported and edited
in CRBasic Editor.
A Short Cut tutorial is available in Section 4, Quickstart. If you wish to import
Short Cut code into either Edlog or CRBasic Editor to create or add to a
customized program, follow the procedure in Appendix A.1, Importing Short Cut Code into a Program Editor. Programming basics for CRBasic and Edlog
dataloggers are provided in the following sections. Complete program
examples for select dataloggers can be found in Appendix B, Example Programs.
If the 109SS probe is to be used with long cable lengths or in electrically noisy
environments, consider employing the measurement programming techniques
outlined in Section 8.3, Electrically Noisy Environments, and Section 8.4, Long Cable Lengths.
Details of 109SS probe measurement and linearization of the thermistor output
are provided in Section 8.2, Measurement and Output Linearization.
The Therm109() measurement instruction programs most CRBasic
dataloggers (CR200(X) series, CR800 series, CR1000, CR3000, CR5000) to
measure the 109SS probe. It makes a half-bridge resistance measurement and
converts the result to temperature using the Steinhart-Hart equation (see
Section 8.2, Measurement and Output Linearization, for more information):
The instruction for CR200(X) series dataloggers excludes the Settling Time
and Integration parameters.
Variations:
• Temperature reported as °C — set Mult to 1 and Offset to 0
• Temperature reported as °F — set Mult to 1.8 and Offset to 32
• Ac mains noise filtering — set Integ to _60Hz or _50Hz (see Section
8.3, Electrically Noisy Environments)
•Compensate for long cable lengths — Set SettlingTime to 20000 (see
Section 8.4, Long Cable Lengths)
The AC Half Bridge (P5) instruction programs Edlog dataloggers (CR10(X),
CR510, CR500, CR23X, 21X, and CR7(X)) to measure the 109SS probe in a
half-bridge configuration. Polynomial (P55) applies the Steinhart-Hart
equation using a fifth-order polynomial to convert the measurement to
temperature (see Section 8.2, Measurement and Output Linearization, for more
information):
7
Page 14
Model 109SS Temperature Probe
1: AC Half Bridge (P5)
1: 1 Reps
2: 25 2500 mV 60 Hz Rejection Range
3: 1 SE Channel
4: 1 Excite all reps w/Exchan 1
5: 2500 mV Excitation
6: 1 Loc [ V_Vx ]
7: 1 Multiplier
8: 0 Offset
2: Z=1/X (P42)
1: 1 X Loc [ V_Vx ]
2: 2 Z Loc [ Vx_V ]
3: Z=X+F (P34)
1: 2 X Loc [ Vx_V ]
2: -1 F
3: 3 Z Loc [ Vx_V_1 ]
4: Z=X*F (P37)
1: 3 X Loc [ Vx_V_1 ]
2: 24900 F
3: 4 Z Loc [ Rs ]
5: Z=LN(X) (P40)
1: 4 X Loc [ Rs ]
2: 5 Z Loc [ lnRs ]
6: Z=X*F (P37)
1: 5 X Loc [ lnRs ]
2: 0.001 F
3: 6 Z Loc [ Scal_lnRs ]
8: Z=1/X (P42)
1: 7 X Loc [ 1_Tk ]
2: 8 Z Loc [ Tk ]
9: Z=X+F (P34)
1: 8 X Loc [ Tk ]
2: -273.15 F
3: 9 Z Loc [ T109_C ]
8
Variations:
•Temperature reported as °F — add a multiplier 1.8 using the Z=X*F
(P37) instruction, and an offset of 32 using the Z=X+F (P34) instruction.
•Ac mains noise filtering — see Section 8.3, Electrically Noisy
Environments
•Compensate for long cable lengths — see Section 8.4, Long Cable
Lengths
Page 15
7.3 Water Temperature Installation
109SS probes can be submerged to 45 m (150 ft) or 63 psi. The 109SS is not
weighted, so a weighting system should be added, or the probe secured to a
fixed submerged object such as a piling.
7.4 Soil Temperature Installation
The 109SS tends to measure the average temperature over its length, so it
should generally be buried such that the measurement tip is horizontal to the
soil surface at the desired depth.
One or two coils of cable should also be buried in a shallow installation. Burial
of some cable mitigates the effect of solar heating of the above ground cable on
the temperature measurement.
Placement of the cable inside a rugged conduit may be necessary for long cable
runs, especially in locations subject to digging, mowing, traffic, use of power
tools, or lightning strikes.
The maximum burial depth for soil that could become saturated with water is
dictated by the maximum water pressure allowed for the sensor, which is 21
psi.
Model 109SS Temperature Probe
8. Operation
8.1 Sensor Schematic
8.2 Measurement and Output Linearization
FIGURE 8-1. 109SS thermistor probe schematic
Campbell Scientific dataloggers measure the 109SS probe thermistor and
convert the result to temperature. With reference to the previous FIGURE 8-1,
109SS thermistor probe schematic, a precise excitation voltage is applied at the
Vx line and the voltage drop across the 24.9 kΩ resistor is measured at the Vs
line.
9
Page 16
Model 109SS Temperature Probe
TABLE 8-1. 109SS-Measurement Details
Voltage
TABLE 8-2. 109SS Temperature Calculation
The ratio of measured voltage (Vs) to excitation voltage (Vx) is related to
thermistor resistance (Rs) and the 24.9 kΩ fixed resistor as described in the
following equation:
Solving for Rs:
Vs/Vx = 24900 / (Rs + 24900)
Rs + 24900 = 24900 • (Vx/Vs)
Rs = 24900 • ((Vx/Vs) - 1)
TABLE 8-1, 109SS Measurement Details, and
TABLE 8-2, 109SS Temperature
Calculation, describe how measurement results Vs/Vx and Rs are converted to
temperature by Campbell Scientific dataloggers.
Datalogger
Model
CR200(X)
Series
CR800
CR1000
CR3000
CR5000
CR500
CR510
CR10
CR10X
21X
CR7(X)
CR23X
Measurement
Instruction
CRBasic
Therm109()
Edlog
AC Half
Bridge (P5)
Edlog
AC Half
Bridge (P5)
Excite
mV
2500 2500 mV Vs/Vx
5000 5000 mV Vs/Vx
Input
Range Result Scaling
ln(Rs)
by 1E–3
ln(Rs)
by 1E–3
Equation
Applied to
Scaled Result
Steinhart-Hart
(automatically
applied)
Steinhart-Hart
(use
Polynomial
(P55))
Steinhart-Hart
(use
Polynomial
(P55))
CRBasic Dataloggers
Therm109() instruction measures the ratio Vs/Vx, calculates the thermistor resistance
Rs, and converts Rs to temperature using the Steinhart-Hart equation
T = 1 / (A + (B • ln(Rs))) + (C • ((ln(Rs))) ^ 3) – 273.15
where:
T = temperature in degrees Celsius
A = 1.129241E–3
B = 2.341077E–4
C = 8.775468E–8
Edlog Dataloggers
AC Half Bridge (P5) instruction measures the ratio Vs/Vx. Mathematical instructions
calculate and pre-scale ln(Rs) by 1E–3. This creates adequate resolution for
Polynomial (P55) instruction to apply the Steinhart-Hart equation with a fifth-order
polynomial. The inverse of the result, Tk, is found with the Z=1/X (P42) instruction:
CRBasic dataloggers are CR800, CR1000, CR3000, and CR5000.
Edlog dataloggers are CR10(X), CR510, CR500, CR23X, 21X, and CR7.
NOTE
Tk = temperature in Kelvin
X = 0.001 • ln(Rs)
C0 = A = 0.001129
C1 = B • 1E3 = 0.234108
C2 = 0
C3 = C • 1E9 = 87.7547
C4 = 0
C5 = 0
See Appendix C, Thermistor Resistance Table.
2
Coefficients provided by the thermistor manufacturer.
3
8.3 Electrically Noisy Environments
EMF noise emanating from the ac mains power grid can be a significant source
of measurement error. 60 Hz noise is common in the United States. 50 Hz
noise is common in Europe and other regions. Depending on the datalogger
model, this noise can usually be filtered out.
The following code examples filter 60 Hz noise. The key parameters are in
bold type.
CRBasic
Therm109(T109_C,1,1,1,20000,_60Hz,1.0,0.0)
Filtering parameter options are not available for CR200(X) series
dataloggers.
Edlog
1: AC Half Bridge (P5)
1: 1 Reps
2: 25 2500 mV 60 Hz Rejection Range ;CR23X:5000 mV; 21X,CR7:5000 mV slow
3: 1 SE Channel
4: 1 Excite all reps w/Exchan 1
5: 2500 mV Excitation ;CR23X,21X,CR7: 5000 mV
6: 1 Loc [ V_Vx ]
7: 1.0 Mult
8: 0.0 Offset
8.4 Long Cable Lengths
Long cable lengths may require longer than normal analog measurement
settling times. Settling times are increased by adding a measurement delay to a
datalogger program.
CRBasic
For CRBasic loggers, the 60 Hz and 50 Hz integration options include a 3 ms
settling time; longer settling times also can be entered into the Settling Time
parameter. The following example uses a 20000 µs settling time:
11
Page 18
Model 109SS Temperature Probe
NOTE
NOTE
Therm109(T109_C,1,1,1,20000,_60Hz,1.0,0.0)
Integration options and the settling time parameter are not
available for CR200(X) series dataloggers.
Edlog
In place of the AC Half Bridge (P5), use the Excite-Delay (SE) (P4)
instruction with a 20 ms delay to measure the probe, as shown in the following
example:
All factory repairs and recalibrations require a returned material
authorization (RMA) and completion of the “Declaration of
Hazardous Material and Decontamination” form. Refer to the
Assistance page at the beginning of this manual for more
information.
9.1 Troubleshooting
Symptom: Temperature is reported as NAN, -INF, -9999, or -273.
Recheck wiring. Verify the red wire is connected to the correct singleended analog input channel as specified by the measurement instruction,
the black wire is connected to the switched excitation channel as specified
by the measurement instruction, and the purple wire is connected to
datalogger ground.
Symptom: Incorrect temperature is reported.
Verify the multiplier and offset arguments in the measurement instruction
are correct for the desired units (Section 7.2, Datalogger Programming).
Check the cable for signs of damage and possible moisture intrusion.
Symptom: Unstable temperature is reported.
12
Most likely a result of electromagnetic interference. Try using the 60 or
50 Hz integration options, and/or increasing the settling time as described
in Section 8.3, Electrically Noisy Environments, and Section 8.4, Long Cable Lengths. Make sure the clear shield wire is connected to datalogger
ground, and the datalogger is properly grounded.
Page 19
9.2 Maintenance
The 109SS probe requires minimal maintenance. Periodically check cabling
for signs of damage and possible moisture intrusion.
9.3 Calibration
Calibration of the 109SS probe is not necessary unless the application requires
removal of the thermistor interchangeability offset described in Section 6,
Specifications. If performing the one point calibration with an Edlog
datalogger, be aware of this precaution:
The value of the offset must be chosen so that the probe outputs the
temperature calculated by the polynomial, not the actual calibration
temperature. For example, a 109SS probe placed in a calibration chamber at 0
°C outputs 0.1 °C. An Offset argument of –0.08 is required for Edlog
dataloggers because at 0 °C, the polynomial calculates a temperature of 0.02 °C
(Appendix C, Conversion of Thermistor Resistance or Voltage Ratio to Temperature).
10. Attributions and References
Model 109SS Temperature Probe
Santoprene® is a registered trademark of Exxon Mobile Corporation.
ATUM is a trademark of Tyco Electronics Corporation.
Macromelt
®
is a trademark of Henkel Corporation.
13
Page 20
Model 109SS Temperature Probe
14
Page 21
NOTE
Appendix A. Importing Short Cut Code
This tutorial shows:
•How to import a Short Cut program into a program editor for
additional refinement.
•How to import a wiring diagram from Short Cut into the comments of
a custom program.
A.1 Importing Short Cut Code into a Program Editor
Short Cut creates files that can be imported into either CRBasic Editor or
Edlog program editor. These files normally reside in the
C:\campbellsci\SCWin folder and have the following extensions:
• .DEF (wiring and memory usage information)
• .CR1 (CR1000 datalogger code)
• .CR8 (CR800 datalogger code)
• .CR3 (CR3000 datalogger code)
• .CR5 (CR5000 datalogger code)
• .DLD (contain code for CR10(X), CR23X, CR500, CR510, 21X, or
CR7(X) dataloggers)
The following procedures show how to import these files for editing.
A.1.1 CRBasic Datalogger
Use the following procedure to import Short Cut code into CRBasic Editor
(CR1000, CR800, CR3000, CR5000 dataloggers).
1. Create the Short Cut program following the procedure in Section 4,
Quickstart. Finish the program and exit Short Cut. Make note of the file
name used when saving the Short Cut program.
2. Open CRBasic Editor.
3. Click File | Open. Assuming the default paths were used when Short Cut
was installed, navigate to C:\CampbellSci\SCWin folder. The file of
interest has a “.CR1”, “.CR8”, “.CR3”, or “.CR5” extension, for CR1000,
CR800, CR3000, or CR5000 dataloggers, respectively. Select the file and
click Open.
4. Immediately save the file in a folder different from \Campbellsci\SCWin,
or save the file with a different file name.
Once the file is edited with CRBasic Editor, Short Cut can no
longer be used to edit the datalogger program. Change the name
of the program file or move it, or Short Cut may overwrite it next
time it is used.
5. The program can now be edited, saved, and sent to the datalogger.
A-1
Page 22
Appendix A. Importing Short Cut Code
NOTE
6. Import wiring information to the program by opening the associated .DEF
file. Copy and paste the section beginning with heading “-Wiring for
CRXXX–” into the CRBasic program, usually at the head of the file.
After pasting, edit the information such that a ' character (single quotation
mark) begins each line. This character instructs the datalogger compiler to
ignore the line when compiling the datalogger code.
A.1.2 Edlog
Use the following procedure to import Short Cut code into the Edlog program
editor (CR10(X), CR500, CR510, CR23X, 21X, and CR7(X) dataloggers).
1. Create the Short Cut program following the procedure in Section 4,
Quickstart. Finish the program and exit Short Cut. Make note of the file
name used when saving the Short Cut program.
2. Open Edlog.
3. Click File | Document DLD File. Assuming the default paths were used
when Short Cut was installed, navigate to C:\CampbellSci\SCWin folder.
The file of interest has a “.DLD” extension. Select the file and click
Open. The .dld file, which is a type of ASCII machine code, is imported,
documented, and, when saved, given a “.CSI” extension.
4. Immediately save the file in a folder different from \Campbellsci\SCWin,
or save the file with a different file name.
Once the file is edited with Edlog, Short Cut can no longer be used
to edit the program. Change the name of the program file or move
it, or Short Cut may overwrite it.
5. The program can now be edited, saved, and sent to the datalogger.
6. Import wiring information to the program by opening the associated .DEF
file. Copy and paste the section beginning with heading “-Wiring for
CRXXX–” into the Edlog program, usually at the head of the file. After
pasting, edit the information such that a ; (semicolon) begins each line,
which instructs the datalogger compiler to ignore the line when compiling
the datalogger code.
A-2
Page 23
Appendix B. Example Programs
B.1 Example CRBasic Programs
B.1.1 Example 1 — Sample program for CR200(X) series
dataloggers
'Program measures one 109SS temperature probe once a second and
'stores the average temperature every 60 minutes.
'Wiring Diagram
'==============
'109SS Probe
' Wire
' Color Function CR200(X)
' ----- -------- -----' Black Voltage-excitation input VX1 or EX1
' Red Analog-voltage output SE1
' Purple Bridge-resistor ground AG*
' Clear Shield G*
'*AG = Analog Ground (represented by ground symbol on CR200 wiring panel
‘Declare the variable for the temperature measurement
PublicT109_C
‘Define a data table for 60 minute averages
DataTable (Table1,True,-1)
DataInterval (0,60,min)
Average (1,T109_C,False)
EndTable
BeginProg
Scan (1,sec)
'Measure the temperature
Therm109 (T109_C,1,1,Ex1,1.0,0)
'Call Data Table
CallTable Table1
NextScan
EndProg
B.1.2. Example 2 — Sample program for CR800 series, CR1000,
CR3000, and CR5000 dataloggers
'Program measures one 109SS temperature probe once a second and
'stores the average temperature every 60 minutes.
'Wiring Diagram
'==============
'109SS Probe
'
' Wire
' Color Function CR1000
' ----- -------- -----' Black Voltage-excitation input VX1 or EX1
' Red Analog-voltage output SE1
' Purple Bridge-resistor ground AG*
' Clear Shield G*
B-1
Page 24
Appendix B. Example Programs
'*AG = Analog Ground (represented by ground symbol on CR1000 wiring panel
'Declare the variables for the temperature measurement
This example can be used directly with CR10X dataloggers. With minor
adaptations, it can also be used with CR10, CR500, CR510, CR23X, and
CR7X dataloggers. More adaptation will be needed with the 21X and CR7
dataloggers. Contact a Campbell Scientific application engineer for help with
any datalogger program.
;{CR10X}
;Program measures one 109 temperature probe once a second
;and stores the average temperature every 60 minutes.
;Wiring Diagram
;==============
;109SS Probe
;
; Wire
; Color Function CR10X
; ----- -------- -----; Black Voltage-excitation input E1
; Red Analog-voltage output SE1
; Purple Bridge-resistor ground AG
; Clear Shield G
*Table 1 Program
01: 1 Execution Interval (seconds)
1: AC Half Bridge (P5)
1: 1 Reps
2: 25 2500 mV 60 Hz Rejection Range
3: 1 SE Channel
4: 1 Excite all reps w/Exchan 1
5: 2500 mV Excitation
6: 1 Loc [ V_Vx ]
7: 1.0 Mult
8: 0.0 Offset
2: Z=1/X (P42)
1: 1 X Loc [ V_Vx ]
2: 2 Z Loc [ Vx_V ]
3: Z=X+F (P34)
1: 2 X Loc [ Vx_V ]
2: -1 F
3: 3 Z Loc [ Vx_V_1 ]
4: Z=X*F (P37)
1: 3 X Loc [ Vx_V_1 ]
2: 24900 F
3: 4 Z Loc [ Rtherm ]
5: Z=LN(X) (P40)
1: 4 X Loc [ Rtherm ]
2: 5 Z Loc [ lnRt ]
6: Z=X*F (P37)
1: 5 X Loc [ lnRt ]
2: .001 F
3: 6 Z Loc [ Scal_lnRt ]