background image

TB4, TB4MM, CS700, and CS700H Tipping Bucket Rain Gages 

 

 

FIGURE 7-2.  Phoenix Contact Power Supply 

7.2  Data Logger Programming 

Short Cut

 is the best source for up-to-date data logger programming code.  

If your data acquisition requirements are simple, you can probably create and 

maintain a data logger 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. 

Short Cut

 cannot edit programs after they are imported and edited 

in 

CRBasic Editor

Short Cut

 tutorial is available in Section 

4

QuickStart

 

(p. 2)

If you wish to 

import 

Short Cut

 code into 

CRBasic Editor

 to create or add to a customized 

program, follow the procedure in Appendix 

A

Importing Short Cut Code Into 

CRBasic Editor

 

(p. A-1)

Programming basics for CRBasic data loggers are in the following sections. 

Complete program examples for select CRBasic data loggers can be found in 

Appendix 

B

Example Programs

 

(p. B-1)

Programming basics and programming 

NOTE 

Power Out: 

Connects to CS700H 

Power In: 

Connects to 

110 VAC Adapter 

Summary of Contents for TB4

Page 1: ...TB4 TB4MM CS700 CS700H Tipping Bucket Rain Gages Revision 8 19 Copyright 1995 2019 Campbell Scientific Inc...

Page 2: ...ucts 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...

Page 3: ...ing 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 co...

Page 4: ...beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit cl...

Page 5: ...nnections 7 7 1 2 CS700H Heated Rain Gage Connections 7 7 2 Data Logger Programming 9 7 2 1 PulseCount Instruction 10 7 2 2 SDI12Recorder Instruction 10 7 3 Siting 10 7 4 Mounting 10 7 4 1 Mounting to...

Page 6: ...hange Address Command aAb C 8 C 6 2 6 Start Measurement Commands aM C 9 C 6 2 7 Start Concurrent Measurement Commands aC C 9 C 6 28 Start Measurement Commands with Cyclic Redundancy Check aMC and aCC...

Page 7: ...lor Wire Function and Data Logger Connection 8 7 3 CS700H Power Cable Wire Color Wire Function and Power Supply Connection 8 C 1 CS700H Default Values C 1 C 2 Status LEDs C 4 C 3 Snow Sensor Power Opt...

Page 8: ...tent of snow FIGURE 1 1 TB4 or TB4MM left CS700 center and CS700H right Tipping Bucket Rain Gages This manual provides information only for CRBasic data loggers For retired Edlog data logger support s...

Page 9: ...mber and cable length are printed on a label at the connection end of the cable Check this information against the shipping documents to ensure the expected product and cable length are received 3 1 S...

Page 10: ...the Rain box and selecting one of the other options The default rainfall per tip value of 0 01 inches should be used if the sensor is a TB4 or CS700 purchased at Campbell Scientific U S office Select...

Page 11: ...s connected to the data logger check the output of the sensor in LoggerNet PC400 RTDAQ or PC200W to make sure it is making reasonable measurements 5 Overview The TB4 TB4MM CS700 and CS700H tipping buc...

Page 12: ...less of rainfall intensity The siphon reduces typical rain bucket errors and produces accurate measurements for up to 50 cm per hour FIGURE 5 1 CS700 Bucket Mechanism housing not shown The CS700H has...

Page 13: ...ll Scientific CRBasic data loggers CR200 X series except CS700H CR300 series except CS700H CR6 series CR800 series CR1000 CR1000X CR3000 CR5000 and CR9000 X except CS700H Orifice Diameter 200 mm 7 87...

Page 14: ...ction 7 2 Data Logger Programming p 9 Short Cut does this work for you See Section 4 QuickStart p 2 for a Short Cut tutorial 7 1 Wiring 7 1 1 TB4 TB4M or CS700 Connections TABLE 7 1 TB4 TB4MM or CS700...

Page 15: ...ured for SDI 12 Odd numbered C or U1 configured for SDI 12 Red SDI 12 Power 12V 12V Blue SDI 12 Power Ground G G Black Rain Signal P or U1 Pulse Terminal C2 Control Terminal White Rain Signal Referenc...

Page 16: ...w program or add to an existing custom program Short Cut cannot edit programs after they are imported and edited in CRBasic Editor A Short Cut tutorial is available in Section 4 QuickStart p 2 If you...

Page 17: ...eal time status information stored in the CS700H microprocessor SDI12Recorder Dest SDIPort SDIAddress SDICommand Multiplier Offset FillNAN WaitonTimeout The Destination parameter must be an array of l...

Page 18: ...in IPS 1 9 in OD unthreaded pipe The pole or pipe can be placed directly into a concrete foundation FIGURE 7 3 or attached to a concrete foundation using J bolts or self supporting with legs FIGURE 7...

Page 19: ...nting to the CM240 and Leveling 1 Remove the housing assembly from the base by loosening the three housing screws and lifting the housing upward FIGURE 7 5 FIGURE 7 5 Transparent View of the TB4 CS700...

Page 20: ...cilitate leveling FIGURE 7 5 7 Remove the rubber band and cardboard securing the tipping bucket assembly Tip the bucket several times to ensure the tipping mechanism is moving freely 8 Replace the hou...

Page 21: ...ops below 4 C If the snow sensor detects snow in the catch area funnel the heating elements automatically turn on and keep the funnel temperature at 10 C The heater goes into a wait mode when snow has...

Page 22: ...econds 2 seconds based on the sensor internal clock If measurements are requested at 2 seconds or faster the sensor will increase its measurement rate to approximately every 5 seconds This instruction...

Page 23: ...bucket assembly Verify the tipping bucket assembly moves freely and that the data logger records each bucket tip 9 2 1 Dismantling for Cleaning Regularly check the following items for cleanliness Cat...

Page 24: ...n FIGURE 9 3 Do not twist the filter siphon assembly while pushing and pulling FIGURE 9 3 Dismantling the Filter Siphon Assembly CAUTION Do not twist while pushing and pulling Push Filter Pull Siphon...

Page 25: ...stem pops out of siphon body c Remove stem from siphon body d Unscrew cap e Clean all items FIGURE 9 4 Filter Siphon Assembly 9 2 2 Reassembling the Rain Bucket 1 Screw cap on stem finger tighten onl...

Page 26: ...2 months 1 Remove the housing assembly from the base by removing the three screws and lifting upward on the housing 2 Check the bubble level to verify the rain gage is level 3 Pour water through the i...

Page 27: ...Basic program This program can now be edited for additional refinement Once the file is edited with CRBasic Editor Short Cut can no longer be used to edit the program it created 2 To add the Short Cut...

Page 28: ...ol Declare Variables and Units Public BattV Public PTemp_C Public Rain_in Units BattV Volts Units PTemp_C Deg C Units Rain_in inch Define Data Tables DataTable OneMin True 1 DataInterval 0 1 Min 10 To...

Page 29: ...White Rain signal ground Ground Symbol Clear Shield Ground Symbol Declare Variables and Units Public BattV Public PTemp_C Public Rain_in Units BattV Volts Units PTemp_C Deg C Units Rain_in inch Define...

Page 30: ...minal Wiring Diagram Wire Color Function Terminal Black Rain signal C1 White Rain signal ground 5V Clear Shield Ground Symbol Declare Public Variables and Units Public Rain_mm Units Rain_mm mm DataTab...

Page 31: ...Rain signal ground Ground Symbol Clear Shield Ground Symbol Declare Variables and Units Public BattV Public PTemp_C Public Rain_in Units BattV Volts Units PTemp_C Deg C Units Rain_in inch Define Data...

Page 32: ...c PTemp_C Public Rain_in Units BattV Volts Units PTemp_C Deg C Units Rain_in inch Define Data Tables DataTable OneMin True 1 DataInterval 0 1 Min 10 Totalize 1 Rain_in FP2 False EndTable DataTable One...

Page 33: ...ual heater control Alias Info 8 CS700H_Cycle_Dis_Ena Heater cycle disabled or enabled Alias Info 9 CS700H_HTimeLeft Heater cycle time left in minutes Units BattV Volts Units PTemp_C Deg C Units Rain_i...

Page 34: ...Appendix B Example Programs B 7 Call Data Tables and Store Data CallTable OneMin CallTable OneDay NextScan EndProg...

Page 35: ...uring cold precipitation Additionally the default setting for the SDI 12 address is zero TABLE C 1 CS700H Default Values External Control Off Auto aX20 Command 0 Snow Sensor Enabled aX22 Command 1 Act...

Page 36: ...the proximity sensor detects snow for 5 s continuously the heater elements are turned on and the block temperature sensor is monitored The heaters are controlled so that the temperature inside the fu...

Page 37: ...The CS700H is set to by default to Automatic control where the CS700H monitors the ambient temperature and the snow sensor and operates the heater automatically Data loggers in weather stations that...

Page 38: ...ned off Waiting for snow to be present before turning on heaters Fast Flash 8 flashes per second Within a heating cycle and the heating elements are presently turned on C 4 Snow Sensor The snow sensor...

Page 39: ...es TABLE C 4 describes how the modes are entered and the operation of the modes TABLE C 4 Operating Modes Auto Manual X20 Cycle Enable X29 Heater On Off X21 Snow Enabled X22 Snow Description 0 X X 1 0...

Page 40: ...is 1 the heaters are on Note that the heaters must be cycled by the controlling system in order to control the funnel temperature This mode must be used with caution X Don t Care C 6 SDI 12 Sensor Sup...

Page 41: ...mpbell Scientific Sensor SDI 12 Command and Response Set Name Command Response1 Acknowledge Active a a CR LF Send Identification aI allccccccccmmmmmmvvvxxx xx CR LF Start Verification aV atttn CR LF A...

Page 42: ...or a serial number or other specific sensor information that is not relevant for operation of the data logger CR LF Terminates the response Source SDI 12 A Serial Digital Interface Standard for Microp...

Page 43: ...sponse time of the sensor this may cause skipped scans to occur In this case make sure your scan interval is longer than the longest measurement time ttt TABLE C 6 Example aM Sequence 0M The data logg...

Page 44: ...next 30 030 seconds YC The data logger makes a request to sensor Y to start a concurrent measurement Y04006 CR LF Sensor Y immediately indicates that it will have 6 06 values ready for collection with...

Page 45: ...Measurement Command A measurement command M is stopped if it detects a break signal A break signal is sent by the data logger before most commands A concurrent measurement command C is aborted when an...

Page 46: ...int Response a optional values CR LF The response will start with the sensor address and end with a carriage return line feed C 6 3 SDI 12 Transparent Mode System operators can manually interrogate an...

Page 47: ...sor is connected and press Enter The response Entering SDI12 Terminal indicates that the sensor is ready to accept SDI 12 commands 9 To query the sensor for its current SDI 12 address type and press E...

Page 48: ...capacity Output current 10 A 25 to 60 C UOUT 24 VDC 15 A with POWER BOOST 25 to 40 C permanently UOUT 24 VDC Derating From 60 to 70 C 2 5 per Kelvin Connection in parallel Yes for redundancy and incr...

Page 49: ...cc Website www campbellsci cc France Location Vincennes France Phone 0033 0 1 56 45 15 20 Email info campbellsci fr Website www campbellsci fr Germany Location Bremen Germany Phone 49 0 421 460974 0...

Reviews: