Campbell CR200 Instruction Manual

Manual is about: DATALOGGERS

Summary of CR200

  • Page 1

    Cr200/cr200x series dataloggers revision: 6/11 c o p y r i g h t © 2 0 0 0 - 2 0 1 1 c a m p b e l l s c i e n t i f i c , i n c ..

  • Page 2: Warranty and Assistance

    Warranty and assistance 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 on the correspo...

  • Page 3: Table of Contents

    I table of contents section 1. Introduction ............................................... 1 1.1 cr200(x) series datalogger models ..................................................................... 1 section 2. Quickstart tutorial .................................... 3 2.1 primer - cr200(x) data...

  • Page 4

    Table of contents ii 4.4 pulse count measurement....................................................................................42 4.4.1 pulse input channels...............................................................................43 4.4.2 pulse input on digital i/o channels c1–c2 ............

  • Page 5

    Table of contents iii 9.7 declarations ii - declared sequences ..................................................................77 9.7.1 data tables ............................................................................................. 77 9.7.2 subroutines ......................................

  • Page 6

    Table of contents iv 11.4.3 sdi-12 power considerations...............................................................118 11.5 wind vector .....................................................................................................120 11.5.1 outputopt parameters................................

  • Page 7

    Table of contents v section 16. Support software .................................. 143 16.1 short cut .......................................................................................................... 143 16.2 pc200w .............................................................................

  • Page 8

    Table of contents vi appendix f. Sensors and peripherals.......................29 f.1 sensors .................................................................................................................29 f.2 dataloggers .............................................................................

  • Page 9

    Table of contents vii figure 32: current limiting resistor in a tipping bucket rain gage circuit............46 figure 33: control port current sourcing................................................................... 50 figure 34: relay driver circuit with relay ......................................

  • Page 10

    Table of contents viii table 32. Primary power sources available from campbell scientific...............Ap. 30 table 33. Enclosure available from campbell scientific ....................................Ap. 31 table 34. Relay driver available from campbell scientific................................Ap...

  • Page 11: Section 1.  Introduction

    1 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 broa...

  • Page 12

    Section 1. Introduction 2 table 1. Cr200 series dataloggers with built-in radio model frequency where used cr206x cr206 (retired) cr205 (retired) 915 mhz u.S./canada cr211x cr211 (retired) cr210 (retired) 922 mhz australia/israel cr216x cr216 (retired) cr215 (retired) 2.4 ghz worldwide the cr295x an...

  • Page 13

    3 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 telecommunicatio...

  • Page 14

    Section 2. Quickstart tutorial 4 2.1.1.3 datalogger 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...

  • Page 15

    Section 2. Quickstart tutorial 5 figure 2: cr200(x) wiring panel 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) d...

  • Page 16

    Section 2. Quickstart tutorial 6 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. Ana...

  • Page 17

    Section 2. Quickstart tutorial 7 figure 4: half bridge wiring -- wind vane potentiometer 2.1.9 pulse sensors 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 ...

  • Page 18

    Section 2. Quickstart tutorial 8 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 ...

  • Page 19

    Section 2. Quickstart tutorial 9 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...

  • Page 20

    Section 2. Quickstart tutorial 10 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. • at...

  • Page 21

    Section 2. Quickstart tutorial 11 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 ...

  • Page 22

    Section 2. Quickstart tutorial 12 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...

  • Page 23

    Section 2. Quickstart tutorial 13 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 ...

  • Page 24

    Section 2. Quickstart tutorial 14 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...

  • Page 25

    Section 2. Quickstart tutorial 15 figure 13: short cut thermocoupler wiring 2.2.3.1.4 procedure (short cut step 10) 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 t...

  • Page 26

    Section 2. Quickstart tutorial 16 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 w...

  • Page 27

    Section 2. Quickstart tutorial 17 figure 16: short cut output table definition 2.2.3.1.7 procedure (short cut step 19) 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. ...

  • Page 28

    Section 2. Quickstart tutorial 18 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 butto...

  • Page 29

    Section 2. Quickstart tutorial 19 figure 19: pc200w monitor data tab 2.2.3.2.3 procedure (pc200w step 5) 1. In the add selection window, click on the onemin table, and then click paste. The onemin table is now displayed in the main display. Figure 20: pc200w monitor data tab 2.2.3.2.4 procedure (pc2...

  • Page 30

    Section 2. Quickstart tutorial 20 figure 21: pc200w collect data tab 2.2.3.2.5 procedure (pc200w steps 7–9) 1. Click the onemin box so a check mark appears in the box. Under the "what to collect" heading, select "new data from datalogger." this selects which data will be collected. 2. Click on the c...

  • Page 31

    Section 2. Quickstart tutorial 21 2.2.3.2.6 procedure (pc200w step 10) 1. Click on the open file icon to open a file for viewing. Select the "cr200series_onemin.Dat" file and click on open. The collected data is now shown. Figure 23: pc200w view data table 2.2.3.2.7 procedure (pc200w step 11) 1. Sel...

  • Page 32

    Section 2. Quickstart tutorial 22.

  • Page 33: Section 3.  Overview

    23 section 3. Overview 3.1 cr200(x) overview the cr200(x) datalogger is a precision instrument designed for low-power measurement applications. Cpu, analog inputs, digital outputs, and memory are controlled by the operating system in conjunction with the user program. The user program is written in ...

  • Page 34

    Section 3. Overview 24 figure 25: features of a data acquisition system 3.1.1 programmed instructions are evaluated sequentially the cr200(x) evaluates programmed instructions sequentially..

  • Page 35

    Section 3. Overview 25 3.1.2 sensor support read more! See sensor support (p. 37) the following sensor types are supported by the cr200(x) datalogger. Refer to sensors (appendix p. 29) for information on sensors available from campbell scientific. • analog voltage • analog current (with a shunt resi...

  • Page 36

    Section 3. Overview 26 period average: 4 channels (se 1–4) • maximum input voltage: 4000 mv. • maximum frequency: 150 khz • voltage threshold: counts cycles on transition from 2100 mv. Note both pulse count and period average measurements are used to measure frequency output sensors. Yet pulse count...

  • Page 37

    Section 3. Overview 27 3.1.3.2 voltage outputs read more! See control output (p. 49). • switched analog output (excitation): two channels (vx1/vx2) for precise voltage excitation ranging from +2500 mv or +5000 mv. These channels are regularly used with resistive bridge measurements. Each channel wil...

  • Page 38

    Section 3. Overview 28 3.1.3.4 power terminals read more! See cr200(x) power supply (p. 53). Power in • power supply: external battery is connected to battery+ and battery- terminals. Review power requirements and power supply options in cr200(x) power supply (appendix p. 30 ) before connecting powe...

  • Page 39

    Section 3. Overview 29 3.1.4 power requirements read more! See cr200(x) power supply (p. 53). The cr200(x) operates from a dc power supply with voltage ranging from 7 to 16 v, and is internally protected against accidental polarity reversal. The cr200(x) has modest input power requirements, typicall...

  • Page 40

    Section 3. Overview 30 3.1.5.1 firmware: os and settings read more! See cr200(x) configuration (p. 59). Firmware consists of the operating system (os) and durable configuration settings. Os and settings remain intact when power is cycled. Note the cr200(x) is shipped factory ready with all settings ...

  • Page 41

    Section 3. Overview 31 512 kbytes in newer cr200s and in all cr200(x)s. Cr200s with the increased memory have "512k" on their label. Figure 26: cr200(x) wiring panel 3.1.7 communications overview read more! See telecommunications and data retrieval (p. 131). The cr200(x) communicates with external d...

  • Page 42

    Section 3. Overview 32 advantages of pakbus: • simultaneous communication between the cr200(x) and other devices. • peer-to-peer communication-no pc required. • other pakbus dataloggers can be used as "sensors" to consolidate all data into one cr200(x). • routing - the cr200(x) cannot act as a route...

  • Page 43

    Section 3. Overview 33 3.1.8.2 protection from voltage transients read more! See grounding (p. 55). The cr200(x) must be grounded to minimize the risk of damage by voltage transients associated with power surges and lightning induced transients. Earth grounding is required to form a complete circuit...

  • Page 44: 3.2  Pc Support Software

    Section 3. Overview 34 table 3. Internal lithium battery specifications manufacturer renata model cr2016 (3.6v) capacity 80 mah self-discharge rate 1%/year @ 23°c operating temperature range -40°c to +85°c 3.2 pc support software read more! See support software (p. 143). Several datalogger support s...

  • Page 45: 3.3  Specifications

    Section 3. Overview 35 3.3 specifications.

  • Page 46

    Section 3. Overview 36.

  • Page 47: 4.1  Powering Sensors

    37 section 4. Sensor support several features give the cr200(x) the flexibility to measure many sensor types. Contact a campbell scientific applications engineer if assistance is required to assess sensor compatibility. 4.1 powering sensors read more! See cr200(x) power supply (p. 53). The cr200(x) ...

  • Page 48: 4.2  Voltage Measurement

    Section 4. Sensor support 38 4.1.3 switched unregulated (nominal 12 volt) voltage on the sw battery terminal will change with cr200(x) supply voltage. The crbasic instruction swbatt () controls the sw battery terminal. Table 4. Current sourcing limits terminal limit vx1, vx2 25 ma @ 2.5v 10 ma @ 5v ...

  • Page 49

    Section 4. Sensor support 39 note the accuracy specification includes only the cr200(x)’s contribution to measurement error. It does not include the error of sensors. For example, assume the following (see specifications (p. 35)): • input voltage: +2000 mv • programmed measurement instruction: volts...

  • Page 50

    Section 4. Sensor support 40 figure 27: voltage measurement accuracy (0° to 40° c) 4.2.3 voltage range the cr200(x) has one analog voltage range of 0 to 2.5 volts. The resolution for a single a/d conversion is 0.6 millivolts. 4.2.4 integration integration is used to reduce the noise included in a me...

  • Page 51

    Section 4. Sensor support 41 4.2.5 self-calibration a calibration measurement to measure the ground offset is made at the beginning of each measurement instruction that includes a voltage measurement. This calibration takes about 400 microseconds. Only one calibration measurement is made per instruc...

  • Page 52

    Section 4. Sensor support 42 4.3.1 measurements requiring ac excitation some resistive sensors require ac excitation. These include electrolytic tilt sensors, soil moisture blocks, water conductivity sensors, and wetness sensing grids. The use of dc excitation in these sensors can result in polariza...

  • Page 53

    Section 4. Sensor support 43 note: the pulsecount () instruction should not be used in a conditional statement or subroutine. To ensure all pulses are detected, it must be executed each scan. Execution of pulsecount () within a scan involves determining the accumulated counts in each dedicated 16-bi...

  • Page 54

    Section 4. Sensor support 44 figure. Pulse input types (p. 7) illustrates pulse input types measured by the cr200(x). Dedicated pulse input channel p_sw can be configured to read high- frequency pulses or switch closure, while p_ll can be configured to read a low-level ac signal. With a 100 kohm pul...

  • Page 55

    Section 4. Sensor support 45 when a pulse channel is configured for pulse input mode, an internal 100 kΩ pull-up resistor to +5 volt on the p_sw input is automatically employed. This pull-up resistor accommodates open-collector (open-drain) output devices for high-frequency input. An external 100 kΩ...

  • Page 56: 4.6  Sdi-12 Recording

    Section 4. Sensor support 46 4.6 sdi-12 recording read more! Sdi-12 sensor support p. 112 and serial input / output p. 105. Sdi-12 is a communications protocol developed to transmit digital data from smart sensors to data acquisition units. It is a simple protocol, requiring only a single communicat...

  • Page 57

    Section 4. Sensor support 47 4.7.3 serial sensors 4.7.3.1 sdi-12 sensors the sdi-12 standard allows cable lengths of up to 200 feet. Campbell scientific does not recommend sdi-12 sensor lead lengths greater than 200 feet; however, longer lead lengths can sometimes be accommodated by increasing the w...

  • Page 58

    Section 4. Sensor support 48.

  • Page 59: Peripherals

    49 section 5. Measurement and control peripherals peripheral devices expand the cr200(x) input / output capacity. Classes of peripherals are discussed below according to use. Read more! For complete information on available measurement and control peripherals, go to appendix. Sensors and peripherals...

  • Page 60

    Section 5. Measurement and control peripherals 50 figure 33: control port current sourcing 5.1.1.2 switched 12 v control the sw battery port can be set low (0 v) or high (12 v) using the swbatt () instruction. The port is often used to control low power devices such as sensors that require 12 v duri...

  • Page 61: 5.2  Other Peripherals

    Section 5. Measurement and control peripherals 51 in other applications it may be desirable to simply switch power to a device without going through a relay. Figure. Power switching without relay (p. 51) illustrates a circuit for switching external power to a device without using a relay. If the per...

  • Page 62

    Section 5. Measurement and control peripherals 52.

  • Page 63: 6.1  Power Requirement

    53 section 6. Cr200(x) power supply reliable power is the foundation of a reliable data acquisition system. When designing a power supply, consideration should be made regarding worst-case power requirements and environmental extremes. Contact campbell scientific if assistance in selecting a power s...

  • Page 64

    Section 6. Cr200(x) power supply 54 auxiliary photovoltaic power sources may be used to maintain charge on lead acid batteries. Unregulated solar panels may be connected to charge + and charge – channels on the datalogger wiring panel. When selecting a solar panel, a rule-of-thumb is that on a storm...

  • Page 65: Section 7.  Grounding

    55 section 7. Grounding grounding the cr200(x) and its peripheral devices and sensors is critical in all applications. Proper grounding will ensure the maximum esd (electrostatic discharge) protection and higher measurement accuracy. 7.1 esd protection esd (electrostatic discharge) can originate fro...

  • Page 66

    Section 7. Grounding 56 7.1.1 lightning protection the most common and destructive esds are primary and secondary lightning strikes. Primary lightning strikes hit instrumentation directly. Secondary strikes induce voltage in power lines or wires connected to instrumentation. While elaborate, expensi...

  • Page 67

    Section 7. Grounding 57 figure 36: lightning protection scheme 7.2 single-ended measurement reference low-level single-ended voltage measurements are sensitive to ground potential fluctuations. Although the cr200(x) is not sensitive enough for low-level measurements and ground potential fluctuations...

  • Page 68

    Section 7. Grounding 58 examples: • connect grounds associated with sw battery, vx1 (ex1), vx2 (ex2), c1, and c2 to g terminals. • connect the low side of single-ended sensors to the nearest ( ) terminal on the analog input terminal blocks. • connect shield wires to the nearest ( ) terminal on the a...

  • Page 69: 8.1  Devconfig

    59 section 8. Cr200(x) configuration the cr200(x) may require changes to factory default settings depending on the application. Most settings concern telecommunications between the cr200(x) and a network or pc. Note the cr200(x) is shipped factory ready with all settings and firmware necessary to co...

  • Page 70

    Section 8. Cr200(x) configuration 60 figure 37: devconfig utility 8.2 sending the operating system the cr200(x) is shipped with the operating system pre-loaded. However, os updates are made available at www.Campbellsci.Com and can be sent to the cr200(x). Since sending an os to the cr200(x) resets m...

  • Page 71

    Section 8. Cr200(x) configuration 61 figure 38: devconfig os download window text in the send os tab lists instructions for sending an operating system to the cr200(x). When the start button is clicked, devconfig offers a file open dialog box that prompts for the operating system file (*.Obj file). ...

  • Page 72: 8.3  Settings

    Section 8. Cr200(x) configuration 62 the information in the dialog helps to corroborate the signature of the operating system sent. 8.3 settings 8.3.1 settings via devconfig the cr200(x) has a number of properties, referred to as "settings", some of which are specific to the pakbus® communications p...

  • Page 73

    Section 8. Cr200(x) configuration 63 double clicking on a value cell with the mouse. The grid will not allow read- only settings to be edited. The bottom of the settings editor displays help for the setting that has focus on the top of the screen. Once a setting is changed, click apply or cancel. Th...

  • Page 74

    Section 8. Cr200(x) configuration 64 8.3.1.1 deployment tab figure 42: devconfig deployment tab as shown in figure. Devconfig deployment tab p. 64, the deployment tab allows the user to configure the datalogger prior to deploying it. Deployment tab settings can also be accessed through the setting e...

  • Page 75

    Section 8. Cr200(x) configuration 65 sequence value of the rf400 series base station used to communicate with the cr200(x) so they can contact each other. • network specifies the radio network address of the built-in radio which is combined with the radio address and sent as part of a packet header ...

  • Page 76

    Section 8. Cr200(x) configuration 66 • clocks in the pc and cr200(x) are checked every second and the difference displayed. The system clock setting allows entering what offset, if any, to use with respect to standard time (local daylight time or utc, greenwich mean time). The value selected for thi...

  • Page 77

    Section 8. Cr200(x) configuration 67 the cr200(x) will time out and exit the terminal mode if it does not receive a command within 12 seconds. Enter a command by pressing the command followed by the carriage return. The commands are: commands action (what returns) a trap code 16 information "ok" = m...

  • Page 78

    Section 8. Cr200(x) configuration 68.

  • Page 79: Section 9.  Programming

    69 section 9. Programming 9.1 inserting comments into program comments are non-functioning text placed within the body of a program to document or clarify program algorithms. As shown in crbasic example. Inserting comments (p. 69), comments are inserted into a program by preceding the comment with a...

  • Page 80

    Section 9. Programming 70 in the loggernet / pc400 datalogger support software suites. Programs can be up to 19.6 kbytes in size although typical programs are smaller. 9.3.1 short cut editor and program generator short cut is easy-to-use menu-driven software that presents the user with lists of pred...

  • Page 81: 9.4  Numerical Formats

    Section 9. Programming 71 processing instructions that compress many common calculations used in cr200(x) dataloggers. These four elements must be properly placed within the program structure. 9.4 numerical formats four numerical formats are supported by crbasic. Most common is the use of base 10 nu...

  • Page 82: 9.5  Structure

    Section 9. Programming 72 9.5 structure table. Crbasic program structure (p. 72) delineates crbasic program structure: table 6. Crbasic program structure declarations define datalogger memory usage. Declare constants, variables, aliases, units, and data tables. Declare constants list fixed constants...

  • Page 83

    Section 9. Programming 73 crbasic example 3. Proper program structure 9.6 declarations i - single-line declarations public variables, dim variables, constants, units, aliases, data tables and subroutines are declared at the beginning of a crbasic program. Table. Rules for names (p. 85) lists declara...

  • Page 84

    Section 9. Programming 74 variable names can be up to 16 characters in length, but most variables should be no more than 12 characters long. This allows for the 4 additional characters that are added as a suffix to the variable name when it is output to a data table. Variable names cannot start with...

  • Page 85

    Section 9. Programming 75 crbasic example 4. Using a variable array in calculations public tempc(4) public tempf(4) dim t beginprog scan (1,sec,0,0) therm109 (tempc(),4,1,ex1,1.0,0) for t = 1 to 4 tempf(t) = tempc(t) * 1.8 + 32 next nextscan endprog 9.6.1.2 dimensions the cr200(x) cannot use multi-d...

  • Page 86

    Section 9. Programming 76 crbasic example 5. Flag declaration and use public batt_volt public flag beginprog scan (1,sec) flag = iif (flag=0,0,-1) if flag = true then battery (batt_volt) endif nextscan endprog 9.6.2 constants crbasic example. Using the const declaration (p. 76) shows use of the cons...

  • Page 87

    Section 9. Programming 77 table. Predefined constants and reserved words (p. 77) lists predefined constants. Table 7. Predefined constants and reserved words case day do for false hr if msec min mv2500 mv5000 prog scan select sub sec table true usec until ex1 ex2 while 9.6.3 alias and unit declarati...

  • Page 88

    Section 9. Programming 78 datatable () output trigger condition(s) output processing instructions endtable a data table is essentially a file that resides in cr200(x) memory. The file is written to each time data are directed to that file. The trigger that initiates data storage is tripped either by...

  • Page 89

    Section 9. Programming 79 the second header line reports field names. This line consists of a set of comma-delimited strings that identify the name of individual fields as given in the datalogger program. If the field is an element of an array, the name will be followed by a comma separated list of ...

  • Page 90

    Section 9. Programming 80 crbasic example 8. Definition and use of a data table 'declare variables public batt_volt public t109_c(2) 'define units units batt_volt=volts units t109_c(2)=deg c 'define data tables datatable (onemin,true,-1) datainterval (0,1,min) average (1,batt_volt,false) average (2,...

  • Page 91

    Section 9. Programming 81 • trigvar-controls whether or not data records are written to storage. Data records are written to storage if trigvar is true and if other conditions, such as datainterval (), are met. Default setting is -1 (true). Trigvar may be a variable, expression, or constant. Trigvar...

  • Page 92

    Section 9. Programming 82 consider the average () instruction as an example of output processing instructions. Average () stores the average of a variable over the data storage output interval. Its parameters are: • reps-number of elements in the variable array for which to calculate averages. Reps ...

  • Page 93

    Section 9. Programming 83 if flag = true then disablevar = true end if else disablevar = false endif 'call data tables and store data calltable (oscavgdata) nextscan endprog read more! For a complete list of output processing instructions, see data storage output processing (p. 94). 9.7.2 subroutine...

  • Page 94: 9.9  Instructions

    Section 9. Programming 84 scan () determines how frequently instructions in the program are executed. Scan has two parameters: • interval is the interval between scans. • units is the time unit for the interval. Interval is 1sec crbasic example 11. Beginprog / scan / nextscan / endprog syntax beginp...

  • Page 95

    Section 9. Programming 85 9.9.2 parameter types many instructions have parameters that allow different types of inputs. Common input type prompts are listed below. Allowed input types are specifically identified in the description of each instruction in crbasic editor help. • constant, or expression...

  • Page 96

    Section 9. Programming 86 9.9.4 expressions in parameters read more! See expressions (p. 87) for more information on expressions. Many parameters allow the entry of expressions. If an expression is a comparison, it will return -1 if the comparison is true and 0 if it is false ( logical expressions (...

  • Page 97: 9.10  Expressions

    Section 9. Programming 87 read more! More information is available in crbasic editor help topic "multipliers and offsets with repetitions". 9.10 expressions an expression is a series of words, operators, or numbers that produce a value or result. Expressions are evaluated expression from left to rig...

  • Page 98

    Section 9. Programming 88 crbasic example. Use of variable arrays to conserve code p. 88 shows example code to convert five temperatures in a variable array from c to f: crbasic example 15. Use of variable arrays to conserve code space for i = 1 to 5 tempc(i) = tempc(i) * 1.8 + 32 next i 9.10.3 logi...

  • Page 99

    Section 9. Programming 89 the following commands and logical operators are used to construct logical expressions. Crbasic example. Logical expression examples p. 89 demonstrate some logical expressions. • if • and • or • not • xor • iif table 11. Logical expression examples if x >= 5 then y = 0 sets...

  • Page 100

    Section 9. Programming 90 9.11 program access to data tables crbasic has syntax provisions facilitating access to data in tables or information relating to a table. The syntax is entered directly into the crbasic program through a variable name. The general form is: "tablename.Fieldname_prc (fieldna...

  • Page 101

    Section 9. Programming 91 five special variable names are used to access information about a table: • fieldname • output • record • tablesize • timestamp consult crbasic editor help index topic "datatable access" for complete information..

  • Page 102

    Section 9. Programming 92.

  • Page 103: Instructions

    93 section 10. Crbasic programming instructions read more! Parameter listings, application information, and code examples are available in crbasic editor help. Crbasic editor is part of loggernet / pc400 / rtdaq. Select instructions are explained more fully, some with example code, in programming re...

  • Page 104

    Section 10. Crbasic programming instructions 94 10.2 data table declarations datatable … endtable mark the beginning and end of a data table. Syntax datatable (name, trigvar, size) [data table modifiers] [on-line storage destinations] [output processing instructions] endtable 10.2.1 data table modif...

  • Page 105

    Section 10. Crbasic programming instructions 95 stddev calculates the standard deviation over the output interval. Syntax stddev (reps, source, disablevar) totalize sums the total over the output interval. Syntax totalize (reps, source, disablevar) 10.2.2.2 multiple-source eto stores evapotranspirat...

  • Page 106

    Section 10. Crbasic programming instructions 96 10.4 program control instructions 10.4.1 common controls beginprog … endprog mark the beginning and end of a program. Syntax beginprog program code endprog call transfers program control from the main program to a subroutine. Syntax call subname callta...

  • Page 107

    Section 10. Crbasic programming instructions 97 if ... Then ... Else … elseif ... Endif allows conditional execution, based on the evaluation of an expression. Else is optional. Elseif is optional (endselect and endif call the same function). Syntax if [condition] then [thenstatements] else [elsesta...

  • Page 108

    Section 10. Crbasic programming instructions 98 while…wend execute a series of statements in a loop as long as a given condition is true. Syntax while condition [statementblock] wend 10.5 measurement instructions 10.5.1 diagnostics battery measures input voltage. Syntax battery (dest) 10.5.2 voltage...

  • Page 109

    Section 10. Crbasic programming instructions 99 pulsecount measures number or frequency of voltages pulses on a pulse channel. Syntax pulsecount (dest, pchan, pconfig, poption, mult, offset) 10.5.4 digital i/o analogportget configures an analog port as a digital input and stores the status of the in...

  • Page 110

    Section 10. Crbasic programming instructions 100 sdi12sensorresponse holds the source of the data to send to the sdi12 recorder. Syntax sdi12sensorsetup (repetitions, sdiport, sdiaddress, responsetime) sdi12sensorresponse (sdi12source) 10.6 processing and math instructions 10.6.1 mathematical operat...

  • Page 111

    Section 10. Crbasic programming instructions 101 or used to perform a logical disjunction on two expressions. Syntax result = expr1 or expr2 xor performs a logical exclusion on two expressions. Syntax result = expr1 xor expr2 10.6.3 trigonometric functions 10.6.3.1 derived functions table. Derived t...

  • Page 112

    Section 10. Crbasic programming instructions 102 asin the asin function returns the arc sin of a number. Syntax x = asin(source) atn returns the arctangent of a number. Syntax x = atn(source) atn2 returns the arctangent of y / x. Syntax x = atn(y , x) cos returns the cosine of an angle specified in ...

  • Page 113

    Section 10. Crbasic programming instructions 103 log returns the natural logarithm of a number. Ln and log perform the same function. Syntax x = log(source) x = ln(source) note logn = log(x) / log(n) log10 the log10 function returns the base 10 logarithm of a number. Syntax x = log10 (number) mod di...

  • Page 114: 10.7  Clock Functions

    Section 10. Crbasic programming instructions 104 minspa finds the minimum value in an array. Syntax minspa (dest, swath, source) rmsspa computes the rms (root mean square) value of an array. Syntax rmsspa (dest, swath, source) stddevspa used to find the standard deviation of an array. Syntax stddevs...

  • Page 115

    Section 10. Crbasic programming instructions 105 10.8 serial input / output print sends the values from program variables or other characters out through a communications port. Syntax print (printport, printbaud, printparams) serialinput reads a serial sensor connected to the cr200(x)'s rs232 port. ...

  • Page 116: 10.10

    Section 10. Crbasic programming instructions 106 getvalue retrieves values from a variable in a data table of a pakbus datalogger. Syntax getvariables (resultcode, comport, neighboraddr, pakbusaddr, security, timeout, "tablename", "fieldname", variable, swath) readsendgetinfo returns the interval an...

  • Page 117: 10.11

    Section 10. Crbasic programming instructions 107 tablename.Fieldname accesses a specific field from a record in a table syntax tablename.Fieldname (fieldnameindex, recordsback) tablename.Output determine if data was written to a specific datatable the last time the datatable was called. Syntax table...

  • Page 118: 10.12

    Section 10. Crbasic programming instructions 108 10.12 satellite systems programming instructions for goes. Refer to satellite transmitter manuals available at www.Campbellsci.Com . 10.12.1 goes the cr295 and cr295x dataloggers support communication through campbell scientific’s tx312 or hdr goes sa...

  • Page 119: Library

    109 section 11. Programming resource library 11.1 remote sensor interface the cr200(x) is frequently used as a remote sensor interface for a “host” datalogger. Typically, the host datalogger and the sensor(s) (cr200(x)) will have programs that will enable the sensors to operate with the minimum quie...

  • Page 120

    Section 11. Programming resource library 110 either the output array or the input array or both can be specified as 0 meaning no data flow in the corresponding direction. The hostaddr parameter is the pakbus address of the master of the network, the destination of the sensor’s data. The routeraddr i...

  • Page 121

    Section 11. Programming resource library 111 crbasic example 17. Crbasic example. Radio power minimization program examples ‘pin enabled radio program example program for cr1000 'pakbus address = 2 public rx(6), tx, result alias rx(1)=vwc_1: alias rx(2)=vwc_2 ‘alias used to give meaningful names to ...

  • Page 122

    Section 11. Programming resource library 112 11.3 multiple switch closure measurements pulse channel p_sw detects switch closures but p_ll does not. In order to detect more than one switch closure device, a 100kohm pull-up resistor must be connected between battery+ and p_ll, c1, or c2. With the pul...

  • Page 123

    Section 11. Programming resource library 113 sdi-12 commands and responses are defined by the sdi-12 support group (www.Sdi-12.Org) and are summarized in table. Standard sdi-12 command & response set (p. 113). Sensor manufacturers determine which commands to support. The most common commands are det...

  • Page 124

    Section 11. Programming resource library 114 11.4.1.1 addressing a single probe should be connected to an sdi-12 input when using these commands. 11.4.1.1.1 address query command (?!) command ?! Requests the address of the connected sensor. The sensor replies to the query with the address, a. 11.4.1...

  • Page 125

    Section 11. Programming resource library 115 11.4.1.2.1 start measurement command (amv!) qualifier v is a variable between 1 and 9. If supported by the sensor manufacturer, v requests variant data. Variants may include: • alternate units (e.G. °c or °f) • additional values (e.G., level and temperatu...

  • Page 126

    Section 11. Programming resource library 116 logger issues ad1!, ad2!, etc., until all data are received. The limiting constraint is that the total number of characters that can be returned to a adv! Command is 35 characters (75 characters for acv!). If the number of characters exceed the limit, the...

  • Page 127

    Section 11. Programming resource library 117 appears on the screen as shown in figure. Entering sdi-12 transparent mode (p. 117). Press until the cr200(x) responds with the prompt “cr200(x)>”. Type “sdi12” at the prompt (without the quotes) and press . An “entering sdi12 terminal” response indicates...

  • Page 128

    Section 11. Programming resource library 118 sdirecorder () instruction sdicommand entry actions internal to cr200(x) and sensor mv! Cr200(x) : issues amv! Command sensor : responds with atttnn cr200(x) : waits until ttt 1 seconds. Issues adv! Command(s) sensor : responds with data. Cv! Cr200(x) : i...

  • Page 129

    Section 11. Programming resource library 119 will respond, however, all other probes will remain active until the timeout period expires. Example: probe: water content power usage: • quiescent: 0.25 ma • measurement: 120 ma • measurement time: 15 s • active: 66 ma • timeout: 15 s probes 1, 2, 3, and...

  • Page 130: 11.5  Wind Vector

    Section 11. Programming resource library 120 for most applications, total power usage of 318 ma for 15 seconds is not excessive, but if 16 probes were wired to the same sdi-12 port, the resulting power draw would be excessive. Spreading sensors over several sdi-12 terminals will help reduce power co...

  • Page 131

    Section 11. Programming resource library 121 note cup anemometers typically have a mechanical offset which is added to each measurement. A numeric offset is usually encoded in the crbasic program to compensate for the mechanical offset. When this is done, a measurement will equal the offset only whe...

  • Page 132

    Section 11. Programming resource library 122 scalar mean horizontal wind speed, s: where in the case of orthogonal sensors: unit vector mean wind direction, where or, in the case of orthogonal sensors where standard deviation of wind direction (yamartino algorithm) where, and ux and uy are as define...

  • Page 133

    Section 11. Programming resource library 123 11.5.2.2.2 mean wind vector resultant mean horizontal wind speed, Ū: figure 46: mean wind vector where for polar sensors: or, in the case of orthogonal sensors: resultant mean wind direction, Θu: standard deviation of wind direction, σ (Θu), using campbel...

  • Page 134

    Section 11. Programming resource library 124 where figure 47: standard deviation of direction the taylor series for the cosine function, truncated after 2 terms is: for deviations less than 40 degrees, the error in this approximation is less than 1%. At deviations of 60 degrees, the error is 10%. Th...

  • Page 135: Output and Output Processing

    Section 11. Programming resource library 125 resources laboratory, noaa, idaho falls, id; and merdi, butte, mt. In these tests, the maximum differences in and have never been greater than a few degrees. The final form is arrived at by converting from radians to degrees (57.296 degrees/radian). 11.6 ...

  • Page 136

    Section 11. Programming resource library 126 crbasic example. Using trigvar to trigger data storage (p. 126) lists crbasic code that uses trigvar () rather than datainterval () to trigger data storage. Figure. Data from trigvar program (p. 126) shows data produced by the example code. Crbasic exampl...

  • Page 137

    Section 11. Programming resource library 127 time instructions in the trigvar parameter of the datatable declaration. Since datainterval is not used, the table size cannot be autoallocated and table size should be carefully considered before being set to a specific number of records. Crbasic example...

  • Page 138

    Section 11. Programming resource library 128.

  • Page 139: 12.1  Data Storage

    129 section 12. Memory and data storage 12.1 data storage the cr200(x) can be programmed to store each measurement or, more commonly, to store processed values such as averages, maxima, minima, etc. Data are stored periodically or conditionally in data tables as directed by the crbasic program ( crb...

  • Page 140: 12.2  Memory Conservation

    Section 12. Memory and data storage 130 12.2 memory conservation one or more of the following memory saving techniques can be used on the rare occasions when a program reaches memory limits: • declare variables as dim instead of public. Dim variables do not require buffer memory for data retrieval. ...

  • Page 141: Data Retrieval

    131 section 13. Telecommunications and data retrieval telecommunications, in the context of cr200(x) operation, is the movement of information between the cr200(x) and another computing device, usually a pc. The information can be programs, data, files, or control commands. Telecommunications system...

  • Page 142: 13.2  Protocols

    Section 13. Telecommunications and data retrieval 132 note: the cr200(x) operates at a baud rate of 9600 baud. Attempting to connect at a higher baud rate will result in communications errors. 13.2 protocols the primary telecommunication protocol for the cr200(x) is pakbus ( pakbus overview (p. 133)...

  • Page 143: 14.1  Pakbus Addresses

    133 section 14. Pakbus overview read more! This section is provided as a primer to pakbus ® communications. Complete information is available in campbell scientific's "pakbus networking guide", available at www.Campbellsci.Com . The cr200(x) communicates with computers or other campbell scientific d...

  • Page 144

    Section 14. Pakbus overview 134 • routers are measurement or telecommunications devices that route packets to other linked routers or leaf nodes. • routers can be branch routers. Branch routers only know as neighbors central routers, routers in route to central routers, and routers one level outward...

  • Page 145

    Section 14. Pakbus overview 135 14.4.1 hello-message (two-way exchange) a hello-message is an interchange between two nodes that negotiates a neighbor link. A hello-message is sent out in response to one or both of either a beacon or a hello-request. 14.4.2 beacon (one-way broadcast) a beacon is a b...

  • Page 146: 14.5  Troubleshooting

    Section 14. Pakbus overview 136 14.4.6 maintaining links links are maintained by means of the cvi (communications verification interval). The cvi can be specified in each node with devconfig. The following rules 1 apply: • if verify interval = 0, then cvi = 2.5 x beacon interval* • if verify interva...

  • Page 147

    Section 14. Pakbus overview 137 14.5.1.1 automatic packet size adjustment the bmp5 file receive transaction allows the bmp5 client (loggernet) to specify the size of the next fragment of the file that the cr200(x) sends. Note the file receive transaction is used to get table definitions from the dat...

  • Page 148

    Section 14. Pakbus overview 138 14.5.3 traffic flow keep beacon intervals as long as possible with higher traffic (large numbers of nodes and / or frequent data collection). Long beacon intervals minimize collisions with other packets and resulting retries. The minimum recommended beacon interval is...

  • Page 149: Resource Library

    139 section 15. Alternate telecoms resource library 15.1 modbus 15.1.1 overview modbus is a widely used scada communication protocol that facilitates exchange of information and data between computers / hmi software, instruments (rtus) and modbus compatible sensors. The cr200(x) communicates via mod...

  • Page 150

    Section 15. Alternate telecoms resource library 140 15.1.2.1 glossary of terms coils (00001 to 09999) originally, "coils" referred to relay coils. In cr200(x)s, coils are exclusively ports, flags, or a boolean variable array. Ports are inferred if parameter 5 of the modbusslave instruction is set to...

  • Page 151

    Section 15. Alternate telecoms resource library 141 table 20. Crbasic ports, flags, variables and modbus registers cr200(x) feature example crbasic declaration equivalent example modbus register control port (port) public port(8) 00001 to 00009 flag public flag(17) 00001 to 00018 boolean variable pu...

  • Page 152

    Section 15. Alternate telecoms resource library 142 • 05 force single coil • 15 force multiple coils • 16 force multiple registers 15.1.3.5 reading inverse format registers some modbus devices require reverse byte order words (cdab vs. Abcd). This can be true for either floating point, or integer fo...

  • Page 153: 16.1  Short Cut

    143 section 16. Support software pc / windows ® compatible software products are available from campbell scientific to facilitate cr200(x) programming, maintenance, data retrieval, and data presentation. Short cut, pc200w, and visual weather are designed for novice integrators, but have features use...

  • Page 154: 16.4  Pc400

    Section 16. Support software 144 16.4 pc400 pc400 is a mid-level software suite. It includes crbasic editor, point-to-point communications over several communications protocols, simple real-time digital and graphical monitors, and report generation. It does not support scheduled collection or multi-...

  • Page 155: 16.7  Pda Software

    Section 16. Support software 145 table 22. Loggernet clients these loggernet clients require, but are not sold with, the loggernet server. Baler handles data for third-party application feeds. Rtmcrt rtmc viewer only. Rtmc web server converts rtmc graphics to html. Rtmc pro enhanced version of rtmc....

  • Page 156

    Section 16. Support software 146.

  • Page 157: 17.1  Temperature Range

    147 section 17. Care and maintenance temperature and humidity can affect the performance of the cr200(x). The internal lithium battery must be replaced periodically. Factory replacement is recommended. Contact campbell scientific to obtain an rma prior to shipping the cr200(x). 17.1 temperature rang...

  • Page 158

    Section 17. Care and maintenance 148 figure 52: enclosure 17.4 replacing the internal battery caution fire, explosion, and severe burn hazard! Misuse or improper installation of the lithium battery can cause severe injury. Do not recharge, disassemble, heat above 100°c (212°f), solder directly to th...

  • Page 159

    Section 17. Care and maintenance 149 a replacement lithium battery can be purchased from campbell (part number 15598). Table. Cr200(x) lithium battery specifications p. 33 lists the specifications of the battery. However, campbell scientific recommends that the battery be replaced at the factory. Ta...

  • Page 160

    Section 17. Care and maintenance 150

  • Page 161: 18.1  Programming

    151 section 18. Troubleshooting note if any component needs to be returned to the factory for repair or recalibration, remember that an rma number is required. Contact a campbell scientific applications engineer to receive the rma number. 18.1 programming a properly deployed cr200(x) measures sensor...

  • Page 162

    Section 18. Troubleshooting 152 18.1.1.5 trapcode normally this value is zero. If set to a value of 16, trapcode indicates an eeprom memory failure. When this occurs the datalogger stops running its program and the red led flashes twice per scan interval. The datalogger must be returned to csi to re...

  • Page 163

    Section 18. Troubleshooting 153 18.1.2 nan and ±inf nan (not-a-number) and ±inf (infinite) are data words indicating an exceptional occurrence in cr200(x) function or processing. Nan is a constant that can be used in expressions such as in crbasic example. Using nan in expressions (p. 153) nan can a...

  • Page 164: 18.2  Communications

    Section 18. Troubleshooting 154 table 25. Math expressions and crbasic results expression crbasic expression result 0 / 0 0 / 0 nan ∞ - ∞ (1 / 0) - (1 / 0) nan (-1) ∞ -1 ^ (1 / 0) nan 0 * -∞ 0 * (-1 * (1 / 0)) nan ±∞ / ±∞ (1 / 0) / (1 / 0) nan 1 ∞ 1 ^ (1 / 0) nan 0 * ∞ 0 * (1 / 0) nan x / 0 1 / 0 na...

  • Page 165: 18.3  Power Supply

    Section 18. Troubleshooting 155 18.3 power supply 18.3.1 overview power supply systems may include batteries, charger/regulators, and charging sources such as solar panels or transformers. All of these components may need to be checked if the power supply is not functioning properly. Diagnosis and f...

  • Page 166

    Section 18. Troubleshooting 156 18.3.3 diagnosis and fix procedures 18.3.3.1 battery voltage test.

  • Page 167

    Section 18. Troubleshooting 157 18.3.3.2 charging circuit test - solar panel.

  • Page 168

    Section 18. Troubleshooting 158 18.3.3.3 charging circuit test - transformer.

  • Page 169

    Section 18. Troubleshooting 159 18.3.3.4 adjusting charging circuit voltage.

  • Page 170

    Section 18. Troubleshooting 160

  • Page 171: Appendix A.  Glossary

    1 appendix a. Glossary a.1 terms ac see vac (appendix p. 12). A/d analog-to-digital conversion. The process that translates analog voltage levels to digital values. Accuracy a measure of the correctness of a measurement. See also accuracy, precision, and resolution (appendix p. 13). Amperes (amps) b...

  • Page 172

    Appendix a. Glossary 2 baud rate settings of two pieces of equipment must match each other. The baud rate for cr200(x) communication should be set to 9600. Beacon a signal broadcasted to other devices in a pakbus® network to identify "neighbor" devices. A beacon in a pakbus® network ensures that all...

  • Page 173

    Appendix a. Glossary 3 datalogger support software includes pc200w, pc400, rtdaq, loggernet data point a data value which is sent to final storage as the result of an output processing (data storage) instruction. Strings of data points output at the same time make up a record in a data table. Dc see...

  • Page 174

    Appendix a. Glossary 4 earth ground use of a grounding rod or another suitable device to tie a system or device to the earth. Earth ground is a sink for electrical transients and possibly damaging potentials, such as those produced by a nearby lightning strike. Earth ground is the preferred referenc...

  • Page 175

    Appendix a. Glossary 5 hello exchange the process of verifying a node as a neighbor. Hertz abbreviated hz. Unit of frequency described as cycles or pulses per second. Ieee4 4 byte floating point data type. Inf infinite or undefined. A data word indicating the result of a function is infinite or unde...

  • Page 176

    Appendix a. Glossary 6 modem/terminal any device which: • has the ability to raise the cr200(x) ring line and put the cr200(x) in the telecommunications command state • has an asynchronous serial communication port which can be configured to communicate with the cr200(x). Multi-meter an inexpensive ...

  • Page 177

    Appendix a. Glossary 7 ohms law describes the relationship of current and resistance to voltage. Voltage equals the product of current and resistance (v = i*r). On-line data transfer routine transfer of data to a peripheral left on-site. Transfer is controlled by the program entered in the datalogge...

  • Page 178

    Appendix a. Glossary 8 period average a measurement technique utilizing a high-frequency digital clock to measure time differences between signal transitions. Sensors commonly measured with period average include vibrating wire transducers and water content reflectometers. Peripheral any device desi...

  • Page 179

    Appendix a. Glossary 9 resistance a feature of an electronic circuit that impedes or redirects the flow of electrons through the circuit. Resistor a device that provides a known quantity of resistance. Resolution a measure of the fineness of a measurement. See also accuracy, precision, and resolutio...

  • Page 180

    Appendix a. Glossary 10 the table is executed at midnight and every execution interval thereafter. The table is executed for the first time at the first occurrence of the execution interval after compilation. If the execution interval does not divide evenly into 24 hours, execution will start on the...

  • Page 181

    Appendix a. Glossary 11 state whether a device is on or off. String a datum consisting of alpha-numeric characters. Cr200(x) dataloggers do not support the string variable type. Support software includes pc200w, pc400, rtdaq, loggernet. Synchronous the transmission of data between a transmitting and...

  • Page 182

    Appendix a. Glossary 12 vac volts alternating current. Mains or grid power is high-level vac, usually 110 vac or 220 vac at a fixed frequency of 50 hz or 60 hz. High-level vac is used as a primary power source for campbell scientific power supplies. Do not connect high-level vac directly to the cr20...

  • Page 183: A.2  Concepts

    Appendix a. Glossary 13 a.2 concepts a.2.1 accuracy, precision, and resolution three terms often confused are accuracy, precision, and resolution. Accuracy is a measure of the correctness of a single measurement, or the group of measurements in the aggregate. Precision is a measure of the repeatabil...

  • Page 184

    Appendix a. Glossary 14.

  • Page 185

    15 appendix b. Status table and settings the cr200(x) status table contains system operating status information accessible via pc software devconfig, loggernet, pc400, rtdaq, or pc200w. Table. Common uses of the status table (appendix p. 15) lists some of the more common uses of status table informa...

  • Page 186

    Appendix b. Status table and settings 16 table 26. Status table fields and descriptions status table fieldname description variable type default normal range user can change? Info type recnum increments for successive status table data records _ 0 to 2 ^32 _ _ timestamp time the record was generated...

  • Page 187

    Appendix b. Status table and settings 17 table 26. Status table fields and descriptions rfrxpakbuscnt status varoutofbounds number of times an array was accessed out of bounds 2 integer 0 0 can reset = 0 error skipscan number of skipped scans that have occurred because the datalogger was not finishe...

  • Page 188

    Appendix b. Status table and settings 18 table 27. Cr200(x) settings settings are accessed through campbell scientific's device configuration utility (devconfig) for direct serial connection, or through pakbusgraph for most telecommunications options. Setting description default entry max packet siz...

  • Page 189

    Appendix b. Status table and settings 19 table 27. Cr200(x) settings settings are accessed through campbell scientific's device configuration utility (devconfig) for direct serial connection, or through pakbusgraph for most telecommunications options. Setting description default entry 1 sec indicate...

  • Page 190

    Appendix b. Status table and settings 20

  • Page 191

    21 appendix c. Serial port pin outs c.1 rs-232 communications port c.1.1 pin-out pin configuration for the cr200(x) rs-232 9-pin port is listed in table. Cr200(x) rs-232 pin-out p. 21. The cr200(x) rs-232 port is a dce (data communication equipment) device. A limited version of the rs-232 port is su...

  • Page 192

    Appendix c. Serial port pin outs 22.

  • Page 193

    23 appendix d. Ascii / ansi table american standard code for information interchange (ascii) / american national standards institute (ansi) decimal and hexadecimal codes and characters used with cr200(x) tools dec hex keyboard display char loggernet char hyper- terminal char dec hex keyboard display...

  • Page 194

    Appendix d. Ascii / ansi table 24 dec hex keyboard display char loggernet char hyper- terminal char dec hex keyboard display char loggernet char hyper- terminal char 28 1c ∟ 156 9c œ £ 29 1d ↔ 157 9d ¥ 30 1e ▲ 158 9e ž pt 31 1f ▼ 159 9f Ÿ ƒ 32 20 sp sp 160 a0 á 33 21 ! ! ! 161 a1 ¡ í 34 22 " " " 162...

  • Page 195

    Appendix d. Ascii / ansi table 25 dec hex keyboard display char loggernet char hyper- terminal char dec hex keyboard display char loggernet char hyper- terminal char 63 3f ? ? ? 191 bf ¿ ┐ 64 40 @ @ @ 192 c0 À └ 65 41 a a a 193 c1 Á ┴ 66 42 b b b 194 c2 ┬ 67 43 c c c 195 c3 Ã ├ 68 44 d d d 196 c4 Ä ...

  • Page 196

    Appendix d. Ascii / ansi table 26 dec hex keyboard display char loggernet char hyper- terminal char dec hex keyboard display char loggernet char hyper- terminal char 98 62 b b b 226 e2 â Γ 99 63 c c c 227 e3 ã π 100 64 d d d 228 e4 ä Σ 101 65 e e e 229 e5 å σ 102 66 f f f 230 e6 æ µ 103 67 g g g 231...

  • Page 197: Compliance

    27 appendix e. Antenna usage and compliance e.1 use of antenna with cr200(x) an fcc authorized antenna is required for use with cr200(x) models that have a built-in radio. Several models are available from campbell scientific. These antennas have been tested at an authorized fcc open-field test site...

  • Page 198

    Appendix e. Antenna usage and compliance 28 e.2.1 use of approved antennas fcc oet bulletin no. 63 (october 1993) changing the antenna on a transmitter can significantly increase, or decrease, the strength of the signal that is ultimately transmitted. Except for cable locating equipment, the standar...

  • Page 199: F.1  Sensors

    29 appendix f. Sensors and peripherals campbell scientific sensors, power supplies, and peripherals expand the measurement and control capability of the cr200(x). Consult product literature at www.Campbellsci.Com or a campbell scientific applications engineer to determine what peripherals are most s...

  • Page 200: F.3  Power Supplies

    Appendix f. Sensors and peripherals 30 table 30. Dataloggers available from campbell scientific model description cr200(x) series datalogger cr800 series measurement and control datalogger cr1000 measurement and control system cr3000 micrologger ® f.3 power supplies several power accessories are ava...

  • Page 201: F.4  Enclosures

    Appendix f. Sensors and peripherals 31 f.4 enclosures table 33. Enclosure available from campbell scientific model description enc200 6.7" x 5.5" x 3.9" weather tight enclosure enc10/12 10 inch x 12 inch weather tight enclosure enc12/14 12 inch x 14 inch weather tight enclosure enc14/16 14 inch x 16...

  • Page 202: F.7  Signal Conditioners

    Appendix f. Sensors and peripherals 32 f.7 signal conditioners signal conditioners modify or complete the output of a device to be compatible with the cr200(x). F.7.1 current shunt modules table 36. Current shunt modules available from campbell scientific model description 7977 100 ohm shunt resisto...

  • Page 203

    Appendix f. Sensors and peripherals 33 f.8.2 router and leaf node hardware table 39. Pakbus leaf node and router device configuration network device description pakbus leaf node pakbus router pakbus aware transparent cr200(x) datalogger • cr800 datalogger • • cr1000 datalogger • • cr3000 datalogger ...

  • Page 204

    Appendix f. Sensors and peripherals 34 f.9 voltage transient suppressors table 42. Voltage transient suppressors available from campbell scientific model description 14462 surge suppressor kit for rf401 radio & cr206(x) datalogger 19553 surge suppressor kit for rf450 radio 16982 surge suppressor kit...

  • Page 205: Index

    35 index a abbreviations • 90 ac • 1 ac excitation • 6 ac sine wave • 7 accuracy • 3, 1, 13 address • 16 address -- modbus • 141 address -- sdi-12 • 112 ampers (amps) • 1 analog • 6, 25, 1 analog input range • 35, 40 analog measurement • 153 analog sensor • 46 analog sensors • 6, 35 and operator • 8...

  • Page 206

    Index 36 debugging • 151 declaration • 73, 77, 93 declaration -- data table • 94 declaration -- modbus • 140 desiccant • 32, 3 devconfig • 59, 3 device configuration • 59 device map • 138 diagnosis -- power supply • 156 diagnostics • 98 differential • 3 digital • 3 digital i/o • 8, 25, 37, 45, 49, 9...

  • Page 207

    Index 37 instructions -- do ... Loop • 96 instructions -- exp • 102 instructions -- fieldnames • 94 instructions -- fix • 102 instructions -- for ... Next • 96 instructions -- frac • 102 instructions -- getvalue • 105 instructions -- goesdata • 108 instructions -- goesgps • 108 instructions -- goess...

  • Page 208

    Index 38 o offset • 86 ohm • 6 ohms law • 7 on-line data transfer • 7 operating system • 60 operator • 100 os • 60 os date • 16 os version • 16 output • 7 output array • 7 overview • 23 overview -- modbus • 139 overview -- power supply • 53 p pakbus • 105, 133, 7, 33 pakbus information • 31, 7 pakbu...

  • Page 209

    Index 39 relays • 50, 31 reliable power • 53 requirement -- power • 53 reset • 60 resistance • 3, 6, 7, 9 resistive bridge • 6, 41 resistor • 9 resolution • 9, 13 resolution -- concept • 13 resolution -- data type • 75 resolution -- definition • 9 retrieving data • 131, 132 ring memory • 4, 9 rms • ...

  • Page 210

    Index 40 u ups • 11 user program • 30 utc offset • 66 v vac • 12 variable • 70, 73 variable array • 74 variable declaration • 73 variable modifier • 76 variable out of bounds • 151 vdc • 12 vector • 120 verify interval • 135, 136 viewing data • 20 visual weather • 143 volt meter • 12 voltage measure...

  • Page 212

    Campbell scientific companies campbell scientific, inc. (csi) 815 west 1800 north logan, utah 84321 united states www.Campbellsci.Com • info@campbellsci.Com campbell scientific africa pty. Ltd. (csaf) po box 2450 somerset west 7129 south africa www.Csafrica.Co.Za • cleroux@csafrica.Co.Za campbell sc...