Campbell-scientific CR800 and CR850 Measurement and Control Systems Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Měřící nástroje Campbell-scientific CR800 and CR850 Measurement and Control Systems. Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 566
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
CR800 Measurement and
Control System
Revision: 5/13
Copyright © 2000 - 2013
Campbell Scientific, Inc.
Zobrazit stránku 0
1 2 3 4 5 6 ... 565 566

Shrnutí obsahu

Strany 1 - Control System

CR800 Measurement and Control SystemRevision: 5/13 Copyright © 2000 - 2013 Campbell Scientific, Inc.

Strany 2

Table of Contents 107.7.3.5 Declared Sequences ... 125 7.7.3.5.1 Data Tables...

Strany 3 - Warranty

Section 7. Installation 100Selected Port. This control is disabled if the end range value is less than the begin range value. • Remove Range wil

Strany 4

Section 7. Installation 101• USR: Drive Size specifies the size in bytes allocated for the "USR:" ram disk drive. • RS-232 Power/Handsh

Strany 5 - Assistance

Section 7. Installation 102• Current Program displays the current program known to be running in the datalogger. This value is empty if there is

Strany 6

Section 7. Installation 103Careful programming is required when changing settings via CRBasic to ensure users are not inadvertently blocked from co

Strany 7

Section 7. Installation 104 Figure 43: "Include File" settings via DevConfig Figure 44: "Include File" settings via PakBus

Strany 8

Section 7. Installation 105CRBasicExample1. Usingan"IncludeFile"toControlSW12'Assumes that the Include file in CRBasic exa

Strany 9

Section 7. Installation 106CRBasicExample3. SimpleDefault.cr8File'This default.cr8 file controls the SW12 switched power terminal Begi

Strany 10 - 2)... 159

Section 7. Installation 1077.6.3.5 Network Planner Figure 45: Network Planner Setup 7.6.3.5.1 Overview Network Planner allows the user to: • cre

Strany 11

Section 7. Installation 108For more detailed information on Network Planner, please consult the LoggerNet manual, which is available at www.campb

Strany 12

Section 7. Installation 109sensors and external devices. Quickstart Tutorial (p. 33) works through a measurement example using Short Cut. For many

Strany 13

Table of Contents 117.8.2.9 Micro-Serial Server... 173 7.8.2.10 Modbus TCP/IP...

Strany 14

Section 7. Installation 110 CRBasicExample4. InsertingComments'Declaration of variables starts here. Public Start(6)

Strany 15

Section 7. Installation 111 Table 6. Program Send Options that Reset Memory* LoggerNet | Connect | Program Send PC400 | Clock/Program | Send Progr

Strany 16

Section 7. Installation 1127.7.3 Syntax 7.7.3.1 Numerical Formats Four numerical formats are supported by CRBasic. Most common is the use of base

Strany 17

Section 7. Installation 1137.7.3.2 Structure Table CRBasic Program Structure (p. 113) delineates CRBasic program structure. CRBasic example Progra

Strany 18 - List of Figures

Section 7. Installation 114  CRBasicExample6. ProperProgramStructure'Declarations 'Define Constants Const RevDiff = 1 C

Strany 19

Section 7. Installation 1157.7.3.3 Command Line CRBasic programs are made up of a series of statements. Each statement normally occupies one line

Strany 20

Section 7. Installation 1167.7.3.4 Single-Line Declarations Public, Dim, and ReadOnly variables are declared at the beginning of a CRBasic progra

Strany 21 - List of Tables

Section 7. Installation 117simply declare a variable array as shown below: Public TempC(4), This creates in memory the four variables TempC(1), Tem

Strany 22

Section 7. Installation 118 CRBasicExample8. UsingVariableArrayDimensionIndicesDim aaa As Long Dim bbb As Long Dim ccc As Long Public Var

Strany 23

Section 7. Installation 119 Table 10. Data Types Name: Command or Argument Description / Word Size Where Used Notes Resolution / Range FP2 Campb

Strany 24 - ... 1279H142

Table of Contents 127.8.13.8 Formatting String Hexadecimal Variables... 241 7.8.14 Data Tables...

Strany 25

Section 7. Installation 120Table 10. Data Types Name: Command or Argument Description / Word Size Where Used Notes Resolution / Range As Boolea

Strany 26 - Table of Contents

Section 7. Installation 121 DataTable(TableName,True,-1) 'FP2 Data Storage Example Sample(1,Z,FP2) 'IEEE4 / Float Data Storage Exa

Strany 27 - Section 1. Introduction

Section 7. Installation 122Variable Initialization By default, variables are set equal to zero at the time the datalogger program compiles. Vari

Strany 28

Section 7. Installation 123 CRBasicExample12. UsingtheConstDeclarationPublic PTempC, PTempF Const CtoF_Mult = 1.8 Const CtoF_Offset = 32 B

Strany 29

Section 7. Installation 124Table 11. Predefined Constants and Reserved Words mv50cR mv500c mv7_5 mv7_5c mvX10500 mv50R NSEC PROG SCAN mvX1500

Strany 30

Section 7. Installation 125 CRBasicExample13. Foreign‐LanguageSupport‘Declare a constant to concatenate six non-English characters Const PTem

Strany 31

Section 7. Installation 126• name of the CRBasic program running in the datalogger • name of the data table (limited to 20 characters) • alpha

Strany 32

Section 7. Installation 127 Table 13. Typical Data Table TOA5 CR800 CR800 1048 CR800.Std.13.06 CPU:Data.cr8 35723 OneMin TIMESTAMP RECORD

Strany 33 - 4.1.1.3 Data Retrieval

Section 7. Installation 128'Define Data Tables DataTable(OneMin,True,-1) DataInterval(0,1,Min,10) Average(1,Batt_Volt,FP2,False) Avera

Strany 34 - 4.1.2.1 Wiring Panel

Section 7. Installation 129• Size-Table size is the number of records to store in a table before new data begins overwriting old data. If "10

Strany 35 - Figure 2: Wiring panel

Table of Contents 138.1.5.1.1 High-frequency Pulse (P1 - P2)... 300 8.1.5.1.2 Low-Level ac (P1 - P2) ...

Strany 36 - 4.1.3 Sensors

Section 7. Installation 130If a program is planned to experience multiple lapses, and if telecommunications bandwidth is not a consideration, the

Strany 37 - 4.1.3.2 Bridge Sensors

Section 7. Installation 131Consider the Average() instruction as an example of output processing instructions. Average() stores the average of a va

Strany 38 - 4.1.3.3 Pulse Sensors

Section 7. Installation 132the order calls are received. This may cause unexpected pauses in the conflicting program sequences. 7.7.3.5.3 Incide

Strany 39 - (p. 307) )

Section 7. Installation 133datalogger, which is displayed by the support software. The CRBasic Editor pre-compiler returns a similar message. Note

Strany 40 - 4.1.3.4 RS-232 Sensors

Section 7. Installation 134the back of the queue, and the next task in the queue begins running. In this way, all tasks are given equal processin

Strany 41

Section 7. Installation 135A similar concern is the reuse of the same variable in multiple tasks. Without some sort of messaging between the two t

Strany 42 - 4.1.5 SDM Channels

Section 7. Installation 136CR800 clock. Scan() parameters allow modification of the period in 10- ms increments. As shown in CRBasic example Begi

Strany 43 - 4.2.2 Hardware Setup

Section 7. Installation 137splicing, measurements in a slow sequence may span across multiple-scan intervals in the main program. When no measureme

Strany 44 - 4.2.3 PC200W Software Setup

Section 7. Installation 138semaphore before measurements in a calibration or slow-sequence scan. The semaphore is taken by the main scan at its b

Strany 45

Section 7. Installation 139 Figure 47: Sequential-mode scan priority flow diagrams 7.7.3.8 Instructions In addition to BASIC syntax, additional i

Strany 46

Table of Contents 148.4 Telecommunications and Data Retrieval... 332 8.4.1 Hardware and Carrier Signal

Strany 47

Section 7. Installation 140PanelTemp is the keyword. Two parameters follow: Dest, a destination variable name in which the temperature value is s

Strany 48

Section 7. Installation 141Table 18. Rules for Names Name Category1 Maximum Length (number of characters) Allowed characters Data-table name 20

Strany 49

Section 7. Installation 142 CRBasicExample19. UseofArraysasMultipliersandOffsetsPublic Pressure(3), Mult(3), Offset(3) DataTable(AvgP

Strany 50

Section 7. Installation 1437.7.3.9.1 Floating-Point Arithmetic Variables and calculations are performed internally in single precision IEEE four-by

Strany 51

Section 7. Installation 144 CRBasicExample20. ConversionofFLOAT/LONGtoBooleanPublic Fa As Float Public Fb As Float Public L As Long Pu

Strany 52

Section 7. Installation 145Constants Conversion Constants are not declared with a data type, so the CR800 assigns the data type as needed. If a con

Strany 53

Section 7. Installation 146The CR800 is able to translate the conditions listed in table Binary Conditions of TRUE and FALSE (p. 146) to binary f

Strany 54

Section 7. Installation 147 Table 20. Logical Expression Examples If X >= 5 then Y = 0 Sets the variable Y to 0 if the expression "X >=

Strany 55

Section 7. Installation 148 CRBasicExample23. StringandVariableConcatenation'Declare Variables Dim Wrd(8) As String * 10 Public Phra

Strany 56

Section 7. Installation 149• Prc is the abbreviation of the name of the data process used. See table Abbreviations of Names of Data Processes (p.

Strany 57 - Section 5. System Overview

Table of Contents 158.6.3.6 Clock Functions ... 370 8.6.3.6.1 ClockSet Command...

Strany 58 - 5.1 CR800 Datalogger

Section 7. Installation 150Seven special variable names are used to access information about a table: • EventCount • EventEnd • Output • Reco

Strany 59 - 5.1.2 Sensor Support

Section 7. Installation 151 CRBasicExample24. UseofVariableArraystoConserveCodeSpaceFor I = 1 to 20 TCTemp(I) = TCTemp(I) * 1.8 + 32

Strany 60 - 5.1.3 CR800 Wiring Panel

Section 7. Installation 152calibration with new multiplier and offset factors. Only if the user creates a data-storage output table with the Sam

Strany 61 - 5.1.3.2 Voltage Outputs

Section 7. Installation 153topics. The most comprehensive resource to date covering use of FieldCal() and FieldCalStrain() is RTDAQ software docume

Strany 62 - 5.1.3.4 Power Terminals

Section 7. Installation 1548. Set Mode = 4 to start second part of calibration. a. Mode = 5 (automatic) during second point calibration. b

Strany 63 - 5.1.3.5 Communications Ports

Section 7. Installation 1551. Send CRBasic example FieldCal Zeroing Demonstration Program (p. 155) to the CR800. An excitation channel has been p

Strany 64 - 5.1.5 Power Requirements

Section 7. Installation 156 Scan(100,mSec,0,0) 'Simulate measurement by exciting channel VX1/EX1 ExciteV(Vx1,mV,0) 'Make

Strany 65 - 5.1.6 Programming

Section 7. Installation 157CRBasicExample27. FieldCal()OffsetDemoProgram'Jumper VX1/EX1 to SE6(3L) to simulate a sensor Public mV

Strany 66 - (p. 505) )

Section 7. Installation 158K=temperaturecorrectioncoefficient(‐0.04PSI/C°istypical)T0=rtemperatureatthezerostateT1=tempera

Strany 67 - 5.1.8 Data Retrieval

Section 7. Installation 159Public Offset(3) Alias Offset(1) = Digits_Offset Alias Offset(2) = Temp_Offset Alias Offset(3) = BP_Offset Public LoadR

Strany 68 - 5.1.9 Communications

Table of Contents 1610.4.1 RS-232... 411 10.4.2 Communicating w

Strany 69 - 5.1.9.4 Keyboard Display

Section 7. Installation 1601. Send the program in CRBasic example FieldCal Multiplier and Offset Demonstration Program (p. 160) to the CR800. 2.

Strany 70 - 5.1.10 Security

Section 7. Installation 161 Scan(100,mSec,0,0) 'Simulate measurement by exciting channel VX1/EX1 ExciteV(Vx1,SignalmV,0) 'M

Strany 71 - 5.1.10.1 Vulnerabilities

Section 7. Installation 162'Data Storage Output of Calibration Data ─ stored whenever a calibration occurs DataTable(CalHist,NewFieldCal,200

Strany 72 - 5.1.10.2 Pass-code Lockout

Section 7. Installation 163FieldCalStrain() uses the known value of the shunt resistor to adjust the gain (multiplier / span) to compensate. The g

Strany 73 - 5.1.10.3 Passwords

Section 7. Installation 164 Figure 49: Quarter-bridge strain-gage schematic with RC-resistor shunt CRBasicExample31. FieldCalStrain()Calib

Strany 74 - 5.1.10.4 File Encryption

Section 7. Installation 165'//////////////////////////// PROGRAM //////////////////////////// BeginProg 'Set Gage Factors GF_Raw = 2

Strany 75 - 5.1.11 Maintenance

Section 7. Installation 166 Figure 50: Strain-gage shunt calibration started Figure 51: Strain-gage shunt calibration finished 7.8.1.6.2 Quar

Strany 76 - 5.1.11.4 Internal Battery

Section 7. Installation 167 Figure 53: Zero procedure finished 7.8.2 Information Services Support of information services (FTP, HTTP, XML, POP3,

Strany 77

Section 7. Installation 168• DHCP client to obtain an IP address • DNS client to query a DNS server to map a name into an IP address • SMTP to

Strany 78

Section 7. Installation 169 Figure 54: Preconfigured HTML Home Page 7.8.2.3 Custom HTTP Web Server Although the default home page cannot be acces

Strany 79 - formoreinformation.

Table of Contents 17A.6.4 Compound-assignment operators ... 472 A.6.5 Logical Operators ...

Strany 80

Section 7. Installation 170 Figure 55: Home page created using WebPageBegin() instruction Figure 56: Customized numeric-monitor web page 

Strany 81 - Section 7. Installation

Section 7. Installation 171 CRBasicExample32. HTML'NOTE: Lines ending with "+" are wrapped to the next line to fit on the printe

Strany 82 - 7.4 Power Sources

Section 7. Installation 172BeginProg Scan(1,Sec,3,0) PanelTemp(RefTemp,250) RealTime(Time()) Minutes = FormatFloat(Time(5),"%0

Strany 83 - 7.4.3 Power Supplies

Section 7. Installation 173 7.8.2.9 Micro-Serial Server The CR800 can be configured to allow serial communication over a TCP/IP port. This is usefu

Strany 84 - (p. 312)

Section 7. Installation 174• Programmed mode automates much of the SDI-12 protocol and provides for data recording. 7.8.3.1 SDI-12 Transparent

Strany 85 - to understand

Section 7. Installation 175 7.8.3.1.1 SDI-12 Transparent Mode Commands Commands have three components: Sensoraddress(a)–asinglecharacter,and

Strany 86 - 7.5 Grounding

Section 7. Installation 176Table 25. Standard SDI-12 Command and Response Set Command Name Command Syntax1 Response2 Start Concurrent Measurement

Strany 87

Section 7. Installation 177Serial number = 101 Start Measurement Commands (aM! & aC!) A measurement is initiated with M! or C! commands. The

Strany 88 - 7.5.1.1 Lightning Protection

Section 7. Installation 178Send Data Commands (aD0! to aD9!) These commands requests data from the sensor. They are normally issued automaticall

Strany 89 - (p. 89) shows a simple

Section 7. Installation 179instruction parameter), the CR800 issues the aM! AND aD0! commands with proper elapsed time between the two. The CR800

Strany 90

Table of Contents 18F.2.5 Passive Signal Conditioners ... 539 F.2.5.1 Resistive Bridge TIM Mod

Strany 91

Section 7. Installation 180Alternate Start Measurement Command (Cv) The SDIRecorder() aCv (not C!) command facilitates using the SDI-12 standard

Strany 92 - 7.6 CR800 Configuration

Section 7. Installation 181 SDI12Recorder(Temp(3),1,2,"M!",1.0,0) SDI12Recorder(Temp(4),1,3,"M!",1.0,0) NextScan

Strany 93

Section 7. Installation 182 CRBasicExample33. UsingAlternateConcurrentCommand(aC)'Code to use when back to back SDI-12 concurrent m

Strany 94 - (p. 95), when the

Section 7. Installation 183 Else 'C!/C command sequence complete Move(Temp_Meas(X),1,Temp_Tmp(X),1) 'Copy measurements t

Strany 95

Section 7. Installation 184 SlowSequence Do 'Note SDI12SensorSetup / SDI12SensorResponse must be renewed 'after each s

Strany 96 - 7.6.3 Settings

Section 7. Installation 185 CRBasicExample35. UsinganSDI‐12ExtendedCommand'SDI-12 extended command "XT23.61!" sent to CH200

Strany 97

Section 7. Installation 186 CRBasicExample36. SDI‐12SensorSetupPublic PTemp, batt_volt Public Source(10) BeginProg Scan(5,Sec,0,0)

Strany 98

Section 7. Installation 187Example: Probe: Water Content Power Usage: • Quiescent: 0.25 mA • Measurement: 120 mA • Measurement Time: 15 s • Act

Strany 99 - (p. 100), the

Section 7. Installation 188 7.8.4 Subroutines A subroutine is a group of programming instructions that is called by, but runs outside of, the mai

Strany 100

Section 7. Installation 189 CRBasicExample37. SubroutinewithGlobalandLocalVariables'Global variables are those declared anywhere in

Strany 101

Table of Contents 19Figure 19: PC200W Connect button ... 51 Figure 20: PC200W Monitor Data t

Strany 102 - 7.6.3.2 Settings via CRBasic

Section 7. Installation 1907.8.5.1 OutputOpt Parameters In the CR800 WindVector() instruction, the OutputOpt parameter defines the processed data

Strany 103 - 7.6.3.3 Durable Settings

Section 7. Installation 191often included to zero the measurement when it equals the offset so that WindVector() can reject measurements when wind

Strany 104

Section 7. Installation 192 Figure 58: Mean wind-vector graph where for polar sensors: or, in the case of orthogonal sensors: Resultant mea

Strany 105 - (p. 105)

Section 7. Installation 193Standard Deviation of Direction Figure 59: Standard Deviation of Direction The Taylor Series for the Cosine function, t

Strany 106

Section 7. Installation 194and have never been greater than a few degrees. The final form is arrived at by converting from radians to degrees (5

Strany 107 - 7.6.3.5 Network Planner

Section 7. Installation 195SubMenu() / EndSubMenu Definesthebeginningandendofasecond‐levelmenu.Note SubMenu() label must be at least 6 ch

Strany 108 - 7.7 Programming

Section 7. Installation 196 Figure 63: Custom menu example — Predefined-notes pick list Figure 64: Custom menu example — Free-Entry notes wind

Strany 109 - 7.7.1.2 CRBasic Editor

Section 7. Installation 197 Figure 67: Custom menu example — control-LED pick list Figure 68: Custom menu example — control-LED Boolean pick lis

Strany 110 - 7.7.2 Sending Programs

Section 7. Installation 198Const Off = false 'Assign "Off" as Boolean False Public StartFlag As Boolea

Strany 111 - -Number of fields per record

Section 7. Installation 199 'Measure Two Thermocouples TCDiff(TCTemp(),2,mV2500C,1,TypeT,RefT

Strany 113 - 7.7.3.2 Structure

Table of Contents 20Figure 75: Data from TrigVar program... 224 Figure 76: Alarms toggled in bi

Strany 114 - Section 7. Installation

Section 7. Installation 200Note Do not confuse CRBasic files with .DLD extensions with files of .DLD type used by legacy Campbell Scientific dat

Strany 115 - 7.7.3.3 Command Line

Section 7. Installation 201#ElseIf LoggerType = CR800 Const SourcSerialPort = Com1 #Else Const SourcSerialPort = Com1 #EndIf 'Public Vari

Strany 116

Section 7. Installation 2027.8.8.1 Introduction Serial denotes transmission of bits (1s and 0s) sequentially, or "serially." A byte is

Strany 117 - (p. 117) shows

Section 7. Installation 2037.8.8.2 I/O Ports The CR800 supports two-way serial communication with other instruments through ports listed in table C

Strany 118 - (p. 237)

Section 7. Installation 204addressing systems that allow multiplexing of several sensors on a single communications port, which makes for more ef

Strany 119 - Zero Minimum Maximum

Section 7. Installation 205+3to+25with‐3to+3definedasthetransitionrangethatcontainsnoinformation.Amarkisalogic1andnegative

Strany 120 - Table 10. Data Types

Section 7. Installation 206useful when using the CS I/O and RS-232 ports since it allows ports to be simultaneously used for sensor and PC teleco

Strany 121 - (p. 121) shows an example

Section 7. Installation 207SerialOutBlock()1,3 • Binary • Can run in pipeline mode inside the digital measurement task (along with SDM instructio

Strany 122 - (p. 421) )

Section 7. Installation 208• Will the sensor be sending multiple data strings? Multiple strings usually require filtering before parsing. • How

Strany 123 - NextScan

Section 7. Installation 2091. Open a serial port (SerialOpen() command) to configure it for communications. • Parameters are set according to the

Strany 124 - (p. 202) )

Table of Contents 21Figure 130: Accuracy, Precision, and Resolution ... 449 List of Tables Table 1. Single-Ended a

Strany 125 - 7.7.3.5 Declared Sequences

Section 7. Installation 21017889 ppmV pw=17.81 hPa pws 29.43 hPa h= 52.3 kJ/kg dT= 8.1 °C" • Hex Pairs: Bytes are translated to hex pa

Strany 126 - (p. 127)

Section 7. Installation 211the sensor sends multiple strings at once, consider declaring a single string variable and read incoming strings one at

Strany 127 - (p. 127), data

Section 7. Installation 212 Scan(5,Sec, 3, 0) 'Serial Out Code 'Transmits string "*27.435,56.789#" out COM1 Ser

Strany 128 - (p. 130) )

Section 7. Installation 213 Figure 69: HyperTerminal New Connection description Figure 70: HyperTerminal Connect-To settings

Strany 129

Section 7. Installation 214 Figure 71: HyperTerminal COM-Port Settings Tab Click File | Properties | Settings | ASCII Setup... and set as shown.

Strany 130 - (p. 127), three

Section 7. Installation 2157.8.8.6.2 Create Send Text File Create a file from which to send a serial string. The file shown in figure HyperTerminal

Strany 131

Section 7. Installation 216programming to output and accept these same ASCII strings. A similar program can be used to emulate CR10X and CR23X d

Strany 132 - (p. 133)

Section 7. Installation 217'One Minute Data Table DataTable(OneMinTable,true,-1) OpenInterval 'sets interval same as foun

Strany 133

Section 7. Installation 218 'If it is a leap year, use this section. If (LeapYear = True) Then Select Case DOY Case Is < 32

Strany 134 - 4. Processing tasks

Section 7. Installation 219 Case Is < 121 Month = 4 Date = DOY + -90 Case Is < 152 Month = 5 Date

Strany 135 - 7.7.3.7 Execution Timing

Table of Contents 22Table 51. CRBasic Parameters Varying Measurement Sequence and Timing...

Strany 136 - (p. 136), the scan is

Section 7. Installation 220 '///////////////Serial Time Set Input Section/////////////// 'Accept old C command -- [2008:028:10:3

Strany 137 - (p. 285)

Section 7. Installation 2217.8.8.7 Q & A Q: I am writing a CR800 program to transmit a serial command that contains a null character. The stri

Strany 138 - (p. 310)

Section 7. Installation 222then TempData(1,1,2) = "TOP", TempData(1,1,3) = "OP", _ TempData(1,1,1) = "STOP" To ha

Strany 139 - 7.7.3.8 Instructions

Section 7. Installation 223A: A common caution is, “The destination variable should not be used in more than one sequence to avoid using the variab

Strany 140 - (p. 140)

Section 7. Installation 224 Figure 75: Data from TrigVar program CRBasicExample42. UsingTrigVartoTriggerDataStorage'In this exam

Strany 141

Section 7. Installation 225• Placing a time stamp in a second position in a record. • Accessing a time stamp from a data table and subsequently s

Strany 142 - 7.7.3.9 Expressions

Section 7. Installation 226'Program BeginProg Scan(1,Sec,0,0) TimeVar = FirstTable.TimeStamp CallTable FirstTable CallTable Se

Strany 143 - TempF = TempC * 1.8 + 32

Section 7. Installation 227'Declarations Public rTime(9) As Long '(or Float) Public rTime2(7) As Long

Strany 144

Section 7. Installation 228 '3) sample time to three string forms using the TableName.FieldName notation. 'Form 1: "mm/dd/y

Strany 145

Section 7. Installation 229Variable aliasing (p. 124) can be employed in the CRBasic program to make the data more understandable. Figure 76: Al

Strany 146 - (p. 147) demonstrate

Table of Contents 23Table 103. Special Keyboard-Display Key Functions ... 383 Table 104. Typical Gzip File Compression Re

Strany 147 - (p. 148) demonstrates

Section 7. Installation 230 Figure 78: Bool8 data from bit-shift example (PC data file) CRBasicExample47. ProgrammingwithBool8andabit‐

Strany 148

Section 7. Installation 231 'If bit in OR bit in The result 'Flags Is Bin/Hex Is Is '---------- ---------

Strany 149

Section 7. Installation 232 FlagsBool8(1) = Flags AND &HFF 'AND 1st 8 bits of "Flags" & 11111111 FlagsBo

Strany 150 - 7.7.4 Tips

Section 7. Installation 233 Table 32. TABLE. Summary of Analog Voltage Measurement Rates Maximum Rate 100 Hz 600 Hz 2000 Hz Number of Simultane

Strany 151 - 7.8.1.1 CAL Files

Section 7. Installation 234 BeginProg Scan(1,Sec,0,0)'<<<<Measurement rate is determined by Interval and Units VoltSe(Fast

Strany 152 - 7.8.1.2 CRBasic Programming

Section 7. Installation 235Many variations of this 200-Hz measurement program are possible to achieve other burst rates and duty cycles. The SubSca

Strany 153 - (p. 159) and Two Point

Section 7. Installation 236• One more way to view sub-scans is that they are a convenient (and only) way to put a loop around a set of measureme

Strany 154 - (p. 431) menu commands to

Section 7. Installation 237 200 Table 37. Parameters for Analog Burst Mode (601 to 2000 Hz) CRBasic Analog Voltage Input Parameters Description whe

Strany 155 - (p. 155) to the

Section 7. Installation 2387.8.13.1 String Operators The table String Operators (p. 238) list and describes available string operators. String o

Strany 156 - (p. 156)

Section 7. Installation 2397.8.13.2 String Concatenation Concatenation is the building of strings from other strings ("abc123"), characte

Strany 157

Table of Contents 24Table 156. LoggerNet Adjuncts and Clients1,2... 1258H548 286HTable 157. Software Tools

Strany 158 - (p. 158) to the

Section 7. Installation 240Some smart sensors send strings containing NULL characters. To manipulate a string that has NULL characters within it

Strany 159

Section 7. Installation 2417.8.13.7 Formatting Strings Table 43. Formatting Strings Examples Expression Result Str(1)=123e4 Str(2)=FormatFloat(123

Strany 160 - (p. 160) to the CR800

Section 7. Installation 242'Data Tables 'Table output on two intervals depending on condition. 'note the parenthesis around the Tr

Strany 161 - (p. 161) to

Section 7. Installation 243scan times, two separate scans can be used with logic to jump between them. If a PulseCount() is used in both scans, th

Strany 162 - KnownWC = 0

Section 7. Installation 244 'function Scan(1,Sec,0,0) ProgSig = Status.ProgSignature

Strany 163 - (p. 164) as a program to

Section 7. Installation 245'Declare Public (viewable) Variables Public Batt_Volt As FLOAT 'Declared as Float Publi

Strany 164

Section 7. Installation 246 Minimum(1,AirTemp_C,FP2,0,False) 'Stores temperature minimum in low

Strany 165 - (p. 164) sent to the

Section 7. Installation 247 'Count how many times the DataEvent “DeltaT_C>=3” has occurred. The 'TableName.EventCount syntax i

Strany 166 - (p. 167)

Section 7. Installation 248'Main Program BeginProg 'Begin executable section of program Scan(1,Sec

Strany 167 - 7.8.2 Information Services

Section 7. Installation 249'Declare Variables Public PTemp, Batt_Volt, Level, TimeIntoTest Public Counter(10) Public Flag(8) As Boolean &apos

Strany 168 - (p. 169), this page

Table of Contents 25CRBasic Example 49. Formatting Strings ... 241 CRBasic Example 50. Two Data Interva

Strany 169 - (p. 170)

Section 7. Installation 250 '1 Minute Data Interval Scan(1,Min,0,70) Counter(4) = Counter(4) + 1 Battery(Batt_volt)

Strany 170

Section 7. Installation 251 '10 Minute Data Interval Scan(10,Min,0,0) Counter(6) = Counter(6) + 1 Battery(Batt_volt)

Strany 171 - CRBasicExample32. HTML

Section 7. Installation 252'Begin Program BeginProg 'Load scaling array (multipliers and offsets) Mult(1) = 1.8 : Offset(1) = 32

Strany 172 - 7.8.2.8 Ping

Section 7. Installation 253'Declare Units Units PTemp_C = deg C Units AirTemp_C = deg C Units DeltaT_C = deg C 'Declare Output Table --

Strany 173 - 7.8.3 SDI-12 Sensor Support

Section 7. Installation 254'Declare Event Driven Data Table DataTable(Event,True,1000) DataEvent(0,DeltaT_C>=3,DeltaT_C<3,0) Sampl

Strany 174 - (p. 174)

Section 7. Installation 255non-standard types. Measured temperatures are compared against the ITS-90 scale, a temperature instrumentation-calibrati

Strany 175

Section 7. Installation 256Table 45. PRTCalc() Type-Code-1 Sensor IEC 60751:2008 (IEC 751), alpha = 0.00385. Now internationally adopted and wri

Strany 176

Section 7. Installation 257Table 47. PRTCalc() Type-Code-3 Sensor US Industrial Standard, alpha = 0.00391 (Reference: OMIL R84 (2003)) Constant Coe

Strany 177

Section 7. Installation 258 Table 50. PRTCalc() Type-Code-6 Sensor Standard ITS-90 SPRT, alpha = 0.003926 (Reference: Minco / Instrunet) Constant

Strany 178

Section 7. Installation 259Figure PT100 in Four-Wire Half-Bridge (p. 260) shows the circuit used to measure a 100-Ω PRT. The 10-kΩ resistor allows

Strany 179 - (p. 179) summarizes CR800

Table of Contents 26

Strany 180

Section 7. Installation 260A terminal-input module (TIM) can be used to complete the circuit shown in figure PT100 in Four-Wire Half-Bridge (p. 2

Strany 181

Section 7. Installation 261Example PRT specifications: • Alpha = 0.00385 (PRTType 1) The temperature measurement requirements in this example are

Strany 182

Section 7. Installation 262 CRBasicExample60. PT100inThree‐wireHalf‐bridge'See FIGURE. PT100 in Three-Wire Half-Bridge (p. 261) for

Strany 183

Section 7. Installation 263where X'=X/1000+R3/(R2+R3)Thus, to obtain the value RS/R0, (R0 = RS @ 0°C) for the temperature calculating i

Strany 184 - (p. 207)

Section 7. Installation 264 CRBasicExample61. PT100inFour‐WireFull‐Bridge'See FIGURE. PT100 in Four-Wire Full-Bridge (p. 263) for wir

Strany 185 - (p. 186)

Section 7. Installation 265 Figure Running-Average Frequency Response (p. 266) is a graph of signal attenuation plotted against signal frequency no

Strany 186

Section 7. Installation 266Therecordedamplitudeforthisexampleshouldbeabout1/3oftheinput‐signalamplitude.Aprogramwaswrittenwith

Strany 187

Section 7. Installation 267 Figure 84: Running-average signal attenuation

Strany 188 - 7.8.4 Subroutines

Section 7. Installation 268

Strany 189 - 7.8.5 Wind Vector

269Section 8. Operation 8.1 Measurements Several features give the CR800 the flexibility to measure many sensor types. Contact a Campbell Scienti

Strany 190 - 7.8.5.1 OutputOpt Parameters

27Section 1. Introduction 1.1 HELLO Whether in extreme cold in Antarctica, scorching heat in Death Valley, salt spray from the Pacific, micro-grav

Strany 191

Section 8. Operation 270basic code requirements. The DataTime() instruction is a more recent introduction that facilitates time stamping with sys

Strany 192 - (p. 193) ) that

Section 8. Operation 271instructions BrFull(), BrFull6W(), BrHalf4W(), TCDiff(), and VoltDiff () instructions perform DIFF voltage measurements.

Strany 193

Section 8. Operation 272is reduced to ±2.5 Vdc, whereas input limits are always ±5 Vdc. Hence for non-negligible DIFF signals, "input limits

Strany 194 - 7.8.6 Custom Menus

Section 8. Operation 273Sensors with a low signal-to-noise ratio, such as thermocouples, should normally be measured differentially. However, if th

Strany 195 - (p. 197)

Section 8. Operation 274 Table 51. CRBasic Parameters Varying Measurement Sequence and Timing CRBasic Parameter Description MeasOfs Correct gro

Strany 196

Section 8. Operation 275where GainError=±(2500*0.0006)=±1.5mVand OffsetError=1.5•667µV+1µV=1.00mVTherefore, Error=GainEr

Strany 197 - (p. 195) through Custom

Section 8. Operation 2768.1.2.5 Voltage Range In general, a voltage measurement should use the smallest fixed-input range that will accommodate t

Strany 198

Section 8. Operation 2778.1.2.5.2 Fixed Voltage Ranges An approximate 9% range overhead exists on fixed input voltage ranges. For example, over-ran

Strany 199

Section 8. Operation 2788.1.2.6 Offset Voltage Compensation Analog measurement circuitry in the CR800 may introduce a small offset voltage to a m

Strany 200

Section 8. Operation 279When the CR800 reverses differential inputs or excitation polarity, it delays the same settling time after the reversal as

Strany 201 - 7.8.8 Serial I/O

Section 1. Introduction 28Italic — titles of publications, software, sections, tables, figures, and examples. Bold italic — CRBasic instruction p

Strany 202 - 7.8.8.1 Introduction

Section 8. Operation 280duration. Consequently, noise at 1 / (integer multiples) of the integration duration is effectively rejected by an analog

Strany 203 - 7.8.8.3 Protocols

Section 8. Operation 281 Figure 88: Ac power line noise rejection techniques ac Noise Rejection on Large Signals If rejecting ac-line noise when

Strany 204 - 7.8.8.4 Glossary of Terms

Section 8. Operation 282Table 56. ac Noise Rejection on Large Signals 2. During A/D, CR800 turns off excitation for ≈170 µs. 3. Excitation is sw

Strany 205 - 7.8.8.5 CRBasic Programming

Section 8. Operation 283 Table 57. CRBasic Measurement Settling Times Settling Time Entry Input Voltage Range Integration Code Settling Time1 0

Strany 206

Section 8. Operation 284steady-state conditions so changes in measured voltage are attributable to settling time rather than changes in pressure.

Strany 207

Section 8. Operation 285 Figure 90: Settling time for pressure transducer Table 58. First Six Values of Settling-Time Data TIMESTAMP REC PT(1) P

Strany 208

Section 8. Operation 286Unless a Calibrate() instruction is present in the running CRBasic program, the CR800 automatically performs self-calibra

Strany 209 - (p. 207) ). Data may be

Section 8. Operation 287measurements (B) to be determined during CR800 self-calibration (maximum of 54 values). These values can be viewed in the

Strany 210 - Dim SerialInString As Long

Section 8. Operation 288Table 59. Status Table Calibration Entries Descriptions of Status Table Elements Status Table Element Differential (Diff)

Strany 211

Section 8. Operation 289Table 59. Status Table Calibration Entries Descriptions of Status Table Elements Status Table Element Differential (Diff) S

Strany 212 - 7.8.8.6 Testing Applications

29Section 2. Cautionary Statements The CR800 is a rugged instrument and will give years of reliable service if a few precautions are observed: •

Strany 213

Section 8. Operation 290Table 60. Calibrate() Instruction Results Descriptions of Array Elements Array Cal() Element Differential (Diff) Single-E

Strany 214

Section 8. Operation 2911A/D (analog-to-digital) conversion time = 15 µs 2Reps/No Reps -- If Reps > 1 (i.e., multiple measurements by a single i

Strany 215

Section 8. Operation 292 Table 61. Resistive-Bridge Circuits with Voltage Excitation Resistive-Bridge Type and Circuit Diagram CRBasic Instructi

Strany 216 - (p. 382

Section 8. Operation 293Table 61. Resistive-Bridge Circuits with Voltage Excitation Resistive-Bridge Type and Circuit Diagram CRBasic Instruction a

Strany 217

Section 8. Operation 294Other sensors, e.g., LVDTs (linear variable differential transformers), require an ac excitation because they rely on ind

Strany 218

Section 8. Operation 295• Effects due to the following are not included in the specification: o Bridge-resistor errors o Sensor noise o Measure

Strany 219

Section 8. Operation 2968.1.3.3 Strain Calculations Read More! The FieldCalStrain() Demonstration Program (p. 154) section has more information o

Strany 220

Section 8. Operation 297Table 63. StrainCalc() Instruction Equations StrainCalc() BrConfig Code Configuration 6 Full-bridge strain gage. Half the

Strany 221 - 7.8.8.7 Q & A

Section 8. Operation 298instruction. PulseCount() instruction functions include returning counts or frequency on frequency or switch-closure sig

Strany 222

Section 8. Operation 299 Table 64. Pulse-Input Channels and Measurements Pulse-Input Channel Input Type Data Option CRBasic Instruction P1, P2 •

Strany 223 - Processing

Warranty The CR800 Measurement and Control Datalogger is warranted for three (3) years subject to this limited warranty: “PRODUCTS MANUFACTURED BY

Strany 224 - 7.8.10 NSEC Data Type

Section 2. Cautionary Statements 30 

Strany 225 - 7.8.10.1 NSEC Options

Section 8. Operation 300 Figure 94: Pulse-input channels 8.1.5.1.1 High-frequency Pulse (P1 - P2) High-frequency pulse inputs are routed to an

Strany 226

Section 8. Operation 3018.1.5.2 Pulse Input on Digital I/O Channels C1 - C4 Digital I/O channels C1 – C4 can be used to measure pulse inputs betwee

Strany 227

Section 8. Operation 3028.1.5.2.2 Low-Frequency Mode Low-frequency mode enables edge timing and measurement of period (not period averaging) and

Strany 228 - 7.8.11 Bool8 Data Type

Section 8. Operation 303 Figure 95: Connecting switch closures to digital I/O Using a pull-up resistor on digital I/O channels C1 - C4 8.1.5.3.1

Strany 229

Section 8. Operation 304R=TimingresolutionoftheTimerIO()measurement=P=Periodofinputsignal(seconds).Forexample,P=1/1000

Strany 230

Section 8. Operation 305frequency is not varying over the execution interval. The calculation returns the average regardless of how the signal is

Strany 231

Section 8. Operation 306Table 68. Time Constants (τ) Measurement τ Pulse channel, low-level ac mode See table Filter Attenuation of Frequency Si

Strany 232 - (p. 233), summarizes the

Section 8. Operation 3078.1.5.4.3 Switch Bounce and NAN NAN will be the result of a TimerIO() measurement if one of two conditions occurs: 1. timeo

Strany 233

Section 8. Operation 308 Figure 97: Input conditioning circuit for period averaging 8.1.7 SDI-12 Recording Read More! SDI-12 Sensor Support (p.

Strany 234

Section 8. Operation 309 Figure 98: Circuit to limit control port input to 5 Vdc 8.1.9 Field Calibration Read More! Field Calibration of Linear S

Strany 235

31Section 3. Initial Inspection • The CR800 datalogger ship with, o 1 each pn 8125 small, flat-bladed screwdriver o 1 each pn 1113 large, flat-

Strany 236

Section 8. Operation 310 8.1.10.3 RS-232 Sensors RS-232 sensor cable lengths should be limited to 50 feet. 8.1.10.4 SDI-12 Sensors The SDI-12 st

Strany 237 - This is

Section 8. Operation 311which is the resolution used by PakBus clock-sync functions. In networks without routers, repeaters, or retries, the commu

Strany 238 - 7.8.13.1 String Operators

Section 8. Operation 3128.2.1 Analog-Input Expansion Modules Mechanical relay and solid-state relay multiplexers are available to expand the numb

Strany 239

Section 8. Operation 313 Figure 100: Control port current sourcing 8.2.4.2 Relays and Relay Drivers Several relay drivers are manufactured by Cam

Strany 240

Section 8. Operation 314 Figure 101: Relay driver circuit with relay Figure 102: Power switching without relay 8.2.5 Analog Control / Output

Strany 241 - 7.8.14 Data Tables

Section 8. Operation 3158.2.6 TIMs Terminal Input Modules (TIMs) are devices that provide simple measurement-support circuits in a convenient packa

Strany 242 - (p. 60) )

Section 8. Operation 316 Table 70. CR800 Memory Allocation Memory Sector Comments Internal battery-backed SRAM1 4 MB* See table CR800 SRAM

Strany 243 - 7.8.16 Program Signatures

Section 8. Operation 317 Table 71. CR800 SRAM Memory Use Comments Static Memory Operational memory used by the operating system regardless

Strany 244

Section 8. Operation 3188.3.1.1 Data Storage Data-storage drives are listed in table CR800 Memory Drives (p. 318). Data-table SRAM and the CPU:

Strany 245

Section 8. Operation 319size of USR: is the total RAM size less 400 kB; i.e., for a CR800 with 4-MB memory, the maximum size of USR: is about 3.6 M

Strany 246

Section 3. Initial Inspection 32 

Strany 247

Section 8. Operation 320Instruction Data-File Formats (p. 320) lists available formats. For a format to be compatible with datalogger support so

Strany 248 - (p. 248) demonstrates:

Section 8. Operation 321Data-File Format Examples TOB1 TOB1filesmaycontainanASCIIheaderandbinarydata.Thelastlineintheexamplecontai

Strany 249

Section 8. Operation 322CSIJSON CSIJSONfilescontainheaderinformationanddatainaJSONformat.Example:"signature": 38611,"e

Strany 250

Section 8. Operation 323emptystring.TherewillbeonedescriptorforeachfieldnamegivenonHeaderLine2.Record Element 1 – Timestamp Dataw

Strany 251 - 7.8.17.5 Scaling Array

Section 8. Operation 324• Restores settings to default. • Initializes system variables. • Clears communications memory. Operating systems can

Strany 252 - 7.8.17.6 Conditional Output

Section 8. Operation 325Table 74. File-Control Functions File-Control Functions Accessed Through Setting program file attributes. See File Attribu

Strany 253 - 7.8.17.7 Capturing Events

Section 8. Operation 3268.3.4.1 File Attributes A feature of program files is the file attribute. Table CR800 File Attributes (p. 326) lists avai

Strany 254 - 7.8.18 PRT Measurement

Section 8. Operation 327 Table 76. Data-Preserve Options if "Preserve data if no table changed" if current program = overwritten pro

Strany 255

Section 8. Operation 328• Formatting memory drives. • Deleting data files associated with the previously running program. Note Back in the old

Strany 256

Section 8. Operation 329• File = accompanying operating system or user program file. Name can be up to 22 characters long. • Device: the CR800 m

Strany 257

33Section 4. Quickstart Tutorial This tutorial presents an introduction to CR800 data acquisition. 4.1 Primer – CR800 Data-Acquisition Data acqui

Strany 258

Section 8. Operation 330Example Power-up.ini Files Powerup.ini Example 'Code format and syntax 'Command = numeric power-up command &a

Strany 259

Section 8. Operation 3318.3.5 File Names The maximum size of the file name that can be stored, run as a program, or FTP transferred in the CR800 is

Strany 260 - (p. 260) for wiring diagram

Section 8. Operation 332Table 78. File System Error Codes Error Code Description 25 Access to uninitialized ram drive 26 Attempted rename across

Strany 261 - < 2.16 V

Section 8. Operation 3338.4.1 Hardware and Carrier Signal Campbell Scientific supplies or recommends a wide range of telecommunications hardware.

Strany 262

Section 8. Operation 334allows multiple PCs to communicate with the CR800 simultaneously when proper telecommunications networks are installed. T

Strany 263 - BRFull() are 0.001 and

Section 8. Operation 3358.5.1 PakBus Addresses CR800s are assigned PakBus® address 1 as a factory default. Networks with more than a few stations s

Strany 264 - 7.8.19 Running Average

Section 8. Operation 336 Figure 103: PakBus network addressing LoggerNet is configured by default as a router and can route datalogger- to-datal

Strany 265

Section 8. Operation 337Table 80. PakBus Leaf-Node and Router Device Configuration Network Device Description PakBus Leaf Node PakBus Router PakBus

Strany 266

Section 8. Operation 3388.5.3.3 Hello-request (one-way broadcast) All nodes hearing a hello-request broadcast (existing and potential neighbors)

Strany 267

Section 8. Operation 3398.5.4 PakBus Troubleshooting Various tools and methods have been developed to assist in troubleshooting PakBus® networks.

Strany 268

Section 4. Quickstart Tutorial 34modems, radios, satellite transceivers, and TCP/IP network modems are available for the most demanding applicati

Strany 269 - Section 8. Operation

Section 8. Operation 340than one hop away. Table PakBus Link-Performance Gage (p. 340) provides a link-performance gage. Table 81. PakBus Link-

Strany 270 - 8.1.2 Voltage

Section 8. Operation 3418.5.6 PakBus LAN Example To demonstrate PakBus® networking, a small LAN (Local Area Network) of CR800s can be configured as

Strany 271 - 8.1.2.1 Input Limits

Section 8. Operation 3428.5.6.2 LAN Setup Configure CR800s before connecting them to the LAN: 1. Start Device Configuration Utility (DevConfig).

Strany 272 - 8.1.2.2 Reducing Error

Section 8. Operation 343 Figure 108: DevConfig Deployment | ComPorts Settings tab Figure 109: DevConfig Deployment | Advanced tab

Strany 273 - 8.1.2.3 Measurement Sequence

Section 8. Operation 344 Table 82. PakBus-LAN Example Datalogger-Communications Settings Software→ Device Configuration Utility (DevConfig) Tab

Strany 274 - Error,

Section 8. Operation 345 Figure 111: LoggerNet Network-Map Setup: PakBusPort As shown in figure LoggerNet Device Map Setup: PakBusPort (p. 345),

Strany 275 - Error

Section 8. Operation 346 As shown in figure LoggerNet Device-Map Setup: Dataloggers (p. 345), set the PakBus® address for each CR800 as listed in

Strany 276 - 8.1.2.5 Voltage Range

Section 8. Operation 347Note Setting the encryption key for a PakBus port device will force all messages it sends to use encryption. 8.6 Alterna

Strany 277 - (p. 276) )

Section 8. Operation 348 Table 83. DNP3 Implementation — Data Types Required to Store Data in Public Tables for Object Groups Data Type Group D

Strany 278

Section 8. Operation 349SyntaxDNPUpdate (DNPSlaveAddr,DNPMasterAddr) 8.6.1.2.3 Programming for Data-Acquisition As shown in CRBasic example Imple

Strany 279 - 8.1.2.7 Integration

Section 4. Quickstart Tutorial 35 Figure 2: Wiring panel

Strany 280 - (p. 280) and

Section 8. Operation 350 'Object group 30, variation 2 is used to return analog data when the CR800 'is polled. Flag is set to an em

Strany 281 - (p. 281)

Section 8. Operation 3518.6.2.2 Terminology Table Modbus to Campbell Scientific Equivalents (p. 351) lists terminology equivalents to aid in unders

Strany 282 - 8.1.2.8 Signal Settling Time

Section 8. Operation 352RTU/PLCRemoteTelemetryUnits(RTUs)andProgrammableLogicControllers(PLCs)wereatonetimeusedinexclusiveappl

Strany 283

Section 8. Operation 353SyntaxMoveBytes(Dest, DestOffset, Source, SourceOffset, NumBytes) 8.6.2.3.3 Addressing (ModbusAddr) Modbus devices have a

Strany 284 - (p. 108)

Section 8. Operation 3548.6.2.5 Modbus over IP Modbus over IP functionality is an option with the CR800. Contact Campbell Scientific for details.

Strany 285 - (p. 278)

Section 8. Operation 355 Scan(1,Sec,0,0) 'In the case of the CR800 being the ModBus master then the 'ModbusMaster instruction wo

Strany 286 - COUNTS = G * Vin + B

Section 8. Operation 356Four levels of access are available through Basic Access Authentication: • all access denied (Level 0) • all access al

Strany 287 - ±mV Input

Section 8. Operation 357and arguments and the commands wherein they are used. Parameters and arguments for specific commands are listed in the fol

Strany 288 - Section 8. Operation

Section 8. Operation 358p2 DataQuery Specifies ending date and/or time when using date-range argument. time expressed in defined format (see Time

Strany 289

Section 8. Operation 359Table 88. BrowseSymbols API Command Parameters uri Optional. Specifies the URI (p. 447) for the data source. When queryin

Strany 290

Section 4. Quickstart Tutorial 36 4.1.2.2 Power Supply The CR800 is powered by a nominal 12 Vdc source. Acceptable power range is 9.6 to 16 Vdc.

Strany 291 - (p. 539)

Section 8. Operation 360is_read_only Boolean value that is set to true if the symbol is considered to be read-only. A value of false would indica

Strany 292

Section 8. Operation 361 <td>BallastLine</td><td>dl:BallastLine</td><td>6</td><td>true</td><t

Strany 293 - 8.1.3.1 ac Excitation

Section 8. Operation 362 is_read_only="false" can_expand="true"/><symbol name="Public" uri=&qu

Strany 294 - (p. 91)

Section 8. Operation 363 Table 90. DataQuery API Command Parameters uri Optional. Specifies the URI (p. 447) for data to be queried. Syntax: dl:t

Strany 295

Section 8. Operation 364http://192.168.24.106/?command=DataQuery&uri=dl:MainData.Cond41&format=html&mode=most-recent&p1=70 Respon

Strany 296 - 8.1.3.3 Strain Calculations

Section 8. Operation 365<tr valign="middle" align="center"> <td nowrap>2012-08-21 22:41:50.0</td> <td nowr

Strany 297 - 8.1.5 Pulse

Section 8. Operation 366JSON Response When json is entered in the DataQuery format parameter, the response will be formatted as CSIJSON. Followi

Strany 298

Section 8. Operation 367"2012-05-03 19:00:00",2,0,-0.9210536,-0.9679532,-0.9106316,-0.8637322,72.297,0 "2012-05-03 20:00:00",3,

Strany 299

Section 8. Operation 368"SECONDS","NANOSECONDS","RN","","" "","","&quo

Strany 300

Section 8. Operation 369SetValueEx Response The SetValueEx format parameter determines the format of the response.. If a format is not specified,

Strany 301 - (p. 303)

Section 4. Quickstart Tutorial 37 Figure 4: Analog sensor wired to differential channel #1 Table 1. Single-Ended and Differential Input Channels

Strany 302

Section 8. Operation 370 XML Response When xml is entered in the SetValueEx format parameter, the response will be CSIXML with a SetValueExRespon

Strany 303

Section 8. Operation 371ClockSet Response The ClockSet format parameter determines the format of the response. If a format is not specified, the f

Strany 304 - (p. 304) lists

Section 8. Operation 372JSON Response When json is entered in the ClockSet format parameter, the response will be formated as CSIJSON (p. 68). F

Strany 305

Section 8. Operation 373time Specifies the current value of the CR800 real-time clock2. This value will only be valid if the value of outcome is se

Strany 306 - (p. 306) footnote

Section 8. Operation 374 8.6.3.7 Files Management Web API commands allow a web client to manage files on host CR800 memory drives. Camera image

Strany 307 - 8.1.6 Period Averaging

Section 8. Operation 375*Done waiting for 100-continue <HTTP/1.1 200 OK <Date: Fri, 2 Dec 2011 05:31:50 <Server: CR1000.Std.25 <Content

Strany 308 - 8.1.8 RS-232 and TTL

Section 8. Operation 376 Table 98. FileControl API Command Parameters action 1 — Compile and run the file specified by file and mark it as the pr

Strany 309 - 8.1.10 Cabling Effects

Section 8. Operation 377 FileControl Response All output formats contain the following parameters. Any action (for example, 9) that performs a res

Strany 310 - 8.1.10.4 SDI-12 Sensors

Section 8. Operation 378Examples: http://192.168.24.106/?command=ListFiles Response:returnsthedrivestructureofthehostCR800(CPU:,USR:,C

Strany 311 - , www.campbellsci.com, or

Section 8. Operation 379HTML page source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/ht

Strany 312 - 8.2.4 Control Outputs

Section 4. Quickstart Tutorial 38 Figure 5: Half-bridge wiring -- wind vane potentiometer Figure 6: Full-bridge wiring -- pressure transducer

Strany 313 - (p. 314)

Section 8. Operation 380Page source template: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <titl

Strany 314

Section 8. Operation 381 <file is_dir="false" path="CPU:lights-web.cr1" last_write="yyyy-mm-ddThh:mm:ss.xx

Strany 315 - 8.3.1 Storage Media

Section 8. Operation 382 Table 102. NewestFile API Command Parameters expr Specifies the complete path and wildcard expression for the desired se

Strany 316

Section 8. Operation 383 Table 103. Special Keyboard-Display Key Functions Key Special Function [2] and [8] Navigate up and down through the menu

Strany 317 - Table 71. CR800 SRAM Memory

Section 8. Operation 384 Figure 113: Using the keyboard / display

Strany 318 - 8.3.1.1 Data Storage

Section 8. Operation 3858.8.1 Data Display Figure 114: Displaying data with the keyboard / display

Strany 319

Section 8. Operation 3868.8.1.1 Real-Time Tables and Graphs Figure 115: Real-time tables and graphs 8.8.1.2 Real-Time Custom The external keybo

Strany 320

Section 8. Operation 387 Figure 116: Real-time custom

Strany 321 - (p.448)

Section 8. Operation 3888.8.1.3 Final-Storage Tables Figure 117: Final-storage tables

Strany 322 - format.

Section 8. Operation 3898.8.2 Run/Stop Program Figure 118: Run/Stop Program

Strany 323 - 8.3.3 Memory Reset

Section 4. Quickstart Tutorial 39Note A period-averaging sensor has a frequency output, but it is connected to a single-ended analog input channel

Strany 324 - 8.3.4 File Management

Section 8. Operation 3908.8.3 File Display Figure 119: File display

Strany 325

Section 8. Operation 3918.8.3.1 File: Edit The CRBasic Editor is recommended for writing and editing datalogger programs. When making minor changes

Strany 326 - 8.3.4.2 Data Preservation

Section 8. Operation 3928.8.4 Ports and Status Read More! See the appendix Status Table and Settings (p. 505). Figure 121: Ports and status 8.

Strany 327 - (p. 431) feature. The

Section 8. Operation 393 8.8.5.1 Set Time / Date Move the cursor to time element and press Enter to change it. Then move the cursor to Set and pres

Strany 328 - Command,File,Device

Section 8. Operation 394Q: Why compress a program or operating system before sending it to a CR800 datalogger? A: Compressing a file has the pote

Strany 329 - (p. 433) or

Section 8. Operation 395c) When prompted, set the archive format to “Gzip”. d) Select OK. The resultant file names will be of the type “myProgram.

Strany 330

Section 8. Operation 396

Strany 331 - 8.3.6 File System Errors

397Section 9. Maintenance Temperature and humidity can affect the performance of the CR800. The internal lithium battery must be replaced periodic

Strany 332

Section 9. Maintenance 398o Time. Clock will need resetting when the battery is replaced. o Final-storage data tables. A replacement lithium ba

Strany 333 - 8.4.2 Protocols

Section 9. Maintenance 399 Figure 125: Pulling edge away from panel Pull one edge of the canister away from the wiring panel to loosen it from th

Strany 335 - 8.5.1 PakBus Addresses

Section 4. Quickstart Tutorial 404.1.3.3.3 Pulse Sensor Wiring Wiring a pulse sensor to a CR800 is straight forward, as shown in figure Pulse-Inp

Strany 336

Section 9. Maintenance 400 Figure 127: Remove and replace battery Remove the lithium battery by gently prying it out with a small flat point sc

Strany 337 - (p. 335) ):

Section 9. Maintenance 401form must be either emailed to [email protected] or faxed to 435-227-9579. Campbell Scientific is unable to process

Strany 338 - 8.5.3.6 Maintaining Links

Section 9. Maintenance 402 

Strany 339 - 8.5.4 PakBus Troubleshooting

403Section 10. Troubleshooting Some troubleshooting tools, concepts, and hints are provided here. If a Campbell Scientific system is not operatin

Strany 340 - 8.5.4.3 Traffic Flow

Section 10. Troubleshooting 40410.3.1.1 CompileResults Reports messages generated by the CR800 at program upload and compile-time. A message will

Strany 341 - 8.5.6 PakBus LAN Example

Section 10. Troubleshooting 405Table 106. Warning Message Examples Example of Warning Message Meaning calibration. An invalid external sensor sign

Strany 342 - 8.5.6.2 LAN Setup

Section 10. Troubleshooting 406incremented by all events that leave gaps in data, including cycling power to the CR800. 10.3.1.5 ProgErrors If n

Strany 343

Section 10. Troubleshooting 40710.3.1.8.2 Watchdoginfo.txt File A CPU: WatchdogInfo.txt file is created on the CPU: drive when the CR800 experience

Strany 344 - 8.5.6.3 LoggerNet Setup

Section 10. Troubleshooting 408results can be difficult due to the multitasking nature of the logger, but it can be a useful tool for fine tuning

Strany 345 - (p. 345), set the

Section 10. Troubleshooting 40910.3.4.3 Data Types, NAN, and ±INF NAN and ±INF are presented differently depending on the declared-variable data ty

Strany 346 - 8.5.7 PakBus Encryption

Section 4. Quickstart Tutorial 41 Figure 9: Location of RS-232 ports Figure 10: Use of RS-232 and digital I/O when reading RS-232 devices

Strany 347 - 8.6.1 DNP3

Section 10. Troubleshooting 410 0 / 0 NAN NAN NAN 65535 2147483648 NAN TRUE TRUE -2147483648 1 except Average() outputs NAN 2 except Ave

Strany 348 - (p.349),line24.

Section 10. Troubleshooting 411 10.4 Communications 10.4.1 RS-232 Baud rate mis-match between the CR800 and datalogger support software is often th

Strany 349 - (p. 349), program the

Section 10. Troubleshooting 412CommsMemFree(1) is encoded using the following expression: CommsMemFree(1) = tiny + lil*100 + mid*10000 + med*1000

Strany 350 - 8.6.2 Modbus

Section 10. Troubleshooting 413 Table 110. CommsMemFree(1) Defaults and Use Example, TLS Active Example Buffer Category Condition: rese

Strany 351 - 8.6.2.2 Terminology

Section 10. Troubleshooting 414queue, 14 bigfreeq packets are free (one in use), and 28 lilfreeq are free (two in use). These three pieces of in

Strany 352 - (p. 352) shows the

Section 10. Troubleshooting 41510.5.2 Troubleshooting Power at a Glance Symptoms: PossiblesymptomsincludetheCR800programnotexecuting;Low12V

Strany 353 - 8.6.2.4 Troubleshooting

Section 10. Troubleshooting 416 Battery Test If using a rechargeable power supply, disconnect the charging source (i.e., solar panel or

Strany 354 - 8.6.2.6 Modbus tidBytes

Section 10. Troubleshooting 417 Charging Regulator with Solar-Panel Test Disconnect any wires attached to the 12V and G (ground) terminals on the

Strany 355 - 8.6.3 Web Service API

Section 10. Troubleshooting 41810.5.3.3 Charging Regulator with Transformer Test The procedure outlined in this flow chart tests PS100 and CH100

Strany 356 - 8.6.3.2 Command Syntax

Section 10. Troubleshooting 419 Charging Regulator with ac or dc Transformer Test Disconnect any wires attached to the 12V and G (ground) terminal

Strany 357 - (p. 358)

Section 4. Quickstart Tutorial 424.1.4 Digital I/O Ports The CR800 has four digital I/O ports selectable as binary inputs or control outputs. Th

Strany 358 - 8.6.3.4 Data Management

Section 10. Troubleshooting 420 No Adjusting Charging Circuit 1) Place a 5-kΩ resistor between a 12V terminal and a G (ground)

Strany 359 - section

Section 10. Troubleshooting 421 Figure 128: Potentiometer R3 on PS100 and CH100 Charger / Regulator 10.6 Terminal Emulator CR800 terminal mode in

Strany 360

Section 10. Troubleshooting 422As shown in figure DevConfig Terminal Emulator (p. 424), after entering a terminal emulator, press Enter a few tim

Strany 361

Section 10. Troubleshooting 423Table 111. CR800 Terminal Commands Option Description Use REBOOT Program recompile Typing “REBOOT” rapidly will re

Strany 362

Section 10. Troubleshooting 424 Figure 129: DevConfig terminal emulator tab 10.6.1 Serial Talk Through and Sniffer In the P: Serial Talk Throug

Strany 363 - (p. 358) for format

425Section 11. Glossary 11.1 Terms acSeeVac(p.447). accuracyAmeasureofthecorrectnessofameasurement.SeealsotheappendixAccuracy,P

Strany 364

Section 11. Glossary 426 AsynchronousAcceptedabbreviationfor"gauge."AWGistheacceptedunitwhenidentifyingwirediameters.La

Strany 365 - XML Response

Section 11. Glossary 427CacheDataThedatacacheisasetofbinaryfileskeptontheharddiskofthecomputerrunningthedataloggersupportsof

Strany 366

Section 11. Glossary 428connector.Theplugattheendofalamppowercordisthemaleportionoftheconnector.Seeterminal(p.445). consta

Strany 367

Section 11. Glossary 429neighbordoesnotcommunicateforaperiodoftimeequalto2.5xtheCVI,thedevicewillsenduptofourHellos.Ifnore

Strany 368 - 8.6.3.5 Control

Section 4. Quickstart Tutorial 434.2 Hands-On: Measuring a Thermocouple This tutorial is designed to illustrate the function of the CR800. During t

Strany 369

Section 11. Glossary 430DHCPDynamicHostConfigurationProtocol.ATCP/IPapplicationprotocol. differentialAsensorormeasurementterminalw

Strany 370 - 8.6.3.6 Clock Functions

Section 11. Glossary 431EarthGroundAgroundingrodorothersuitabledevicethatelectricallytiesasystemordevicetotheearth.Earthground

Strany 371

Section 11. Glossary 432Format formats the selected CR800 memory device. All files, including data, on the device will be erased. LNCMDsoftwar

Strany 372

Section 11. Glossary 433globalvariableAvariableavailableforusethroughoutaCRBasicprogram.Thetermisusuallyusedinconnectionwithsubr

Strany 373

Section 11. Glossary 434Glossary.IncludefileafiletobeimplicitlyincludedattheendofthecurrentCRBasicprogram,oritcanberunasth

Strany 374 - 8.6.3.7 Files Management

Section 11. Glossary 435 "Keep"MemoryMemorypreservedthroughresetduetopower‐upandprogramstart‐up. keyboarddisplayTheCR850(

Strany 375 - (p. 76) Connect screen

Section 11. Glossary 436ModbusCommunicationprotocolpublishedbyModiconin1979foruseinprogrammablelogiccontrollers(PLCs). modem/termi

Strany 376

Section 11. Glossary 437NeighborDeviceDevicesinaPakBus®networkthatcancommunicatedirectlywithanindividualdevicewithoutbeingroutedt

Strany 377

Section 11. Glossary 438operatingsystemTheoperatingsystem(alsoknownas"firmware")isasetofinstructionsthatcontrolsthebas

Strany 378

Section 11. Glossary 439parameterArgumentorparameter?Thesetermsarefrequentlyinterchanged,buthaveausefuldistinction.Aparameterispa

Strany 379 - HTML page source:

Section 4. Quickstart Tutorial 446. After confirming the correct polarity on the wire connections, insert the green power connector into its rec

Strany 380

Section 11. Glossary 440printdeviceAnydevicecapableofreceivingoutputoverpin6(thePEline)inareceive‐onlymode.Printers,"dumb

Strany 381

Section 11. Glossary 441resistorAdevicethatprovidesaknownquantityofresistance. resolutionAmeasureofthefinenessofameasurement.See

Strany 382 - 8.7 Support Software

Section 11. Glossary 442(86,400seconds),itissynchronizedwiththe24‐hourclock,sothattheprogramisexecutedatmidnightandeveryScan()

Strany 383

Section 11. Glossary 443serialAloosetermdenotingoutputoradevicethatoutputsanelectronicseriesofalphanumericcharacters. ShortCutso

Strany 384

Section 11. Glossary 444stateWhetheradeviceisonoroff. StationStatuscommandAcommandavailableinmostdataloggersupportsoftwareavai

Strany 385 - 8.8.1 Data Display

Section 11. Glossary 445stringAdatumconsistingofalphanumericcharacters. supportsoftwareIncludesPC200W,PC400,RTDAQ,LoggerNet,andLogge

Strany 386 - 8.8.1.2 Real-Time Custom

Section 11. Glossary 446terminalemulatorAcommand‐lineshellthatfacilitatestheissuanceoflow‐levelcommandstoadataloggerorsomeother

Strany 387 - Figure 116: Real-time custom

Section 11. Glossary 447UPSUninterrubtablepowersupply.AUPScanbeconstructedformostdataloggerapplicationsusingaclinepower,anac/aco

Strany 388 - 8.8.1.3 Final-Storage Tables

Section 11. Glossary 448VoltsSIunitforelectricalpotential. watchdogtimerAnerror‐checkingsystemthatexaminestheprocessorstate,softw

Strany 389 - 8.8.2 Run/Stop Program

Section 11. Glossary 44911.2 Concepts 11.2.1 Accuracy, Precision, and Resolution Three terms often confused are accuracy, precision, and resolution

Strany 390 - 8.8.3 File Display

Section 4. Quickstart Tutorial 45 Figure 13: PC200W main window Table 3. PC200W EZSetup Wizard Example Selections Start the wizard to follow tab

Strany 391 - 8.8.3.1 File: Edit

Section 11. Glossary 450

Strany 392 - 8.8.5 Settings

451Appendix A. CRBasic Programming Instructions Read More! Parameter listings, application information, and code examples are available in CRBasic

Strany 393 - 8.8.6 Configure Display

Appendix A. CRBasic Programming Instructions 452SyntaxSub subname (argument list) [statement block] Exit Sub [statement block] End Sub WebP

Strany 394

Appendix A. CRBasic Programming Instructions 453ReadOnlyFlagsacommaseparatedlistofvariables(PublicorAliasname)asread‐only.SyntaxRead

Strany 395 - Large program 32,157 7,085

Appendix A. CRBasic Programming Instructions 454DataIntervalSetsthetimeintervalforanoutputtable.SyntaxDataInterval(TintoInt, Interval,

Strany 396

Appendix A. CRBasic Programming Instructions 455A.2.3 Final Data Storage (Output) Processing Read More! See Data Output Processing Instructions (p.

Strany 397 - Section 9. Maintenance

Appendix A. CRBasic Programming Instructions 456PeakValleyDetectsmaximaandminimainasignal.SyntaxPeakValley(DestPV, DestChange, Reps, Sou

Strany 398 - Capacity 1.2 Ah

Appendix A. CRBasic Programming Instructions 457A.3 Single Execution at Compile Reside between BeginProg and Scan Instructions. ESSInitializePlace

Strany 399

Appendix A. CRBasic Programming Instructions 458SyntaxDo [{While | Until} condition] [statementblock] [ExitDo] [statementblock] Loop -or-

Strany 400 - 9.3 Repair

Appendix A. CRBasic Programming Instructions 459Scan/ExitScan/ContinueScan/NextScanEstablishestheprogramscanrate.ExitScanandContinueS

Strany 401

Section 4. Quickstart Tutorial 46Table 3. PC200W EZSetup Wizard Example Selections Start the wizard to follow table entries. Screen Name Informa

Strany 402 - Section 9. Maintenance

Appendix A. CRBasic Programming Instructions 460WaitDigTrigTriggersameasurementscanfromanexternaldigitaltrigger.SyntaxWaitDigTrig(Cont

Strany 403 - Section 10. Troubleshooting

Appendix A. CRBasic Programming Instructions 461ShutDownBeginBeginscodetoberunintheeventofanormalshutdownsuchaswhensendinganewpr

Strany 404 - 10.3.1.1 CompileResults

Appendix A. CRBasic Programming Instructions 462 A.5.2 Voltage VoltDiffMeasuresthevoltagedifferencebetweenHandLinputsofadifferential

Strany 405 - 10.3.1.4 SkippedRecord

Appendix A. CRBasic Programming Instructions 463BrHalf3WMeasuresratioofRs/Rfofathree‐wirehalf‐bridge.SyntaxBrHalf3W(Dest, Reps, Range,

Strany 406 - 10.3.1.8 WatchdogErrors

Appendix A. CRBasic Programming Instructions 464A.5.7 Digital I/O CheckPortReturnsthestatusofacontrolport.SyntaxX = CheckPort(Port) Port

Strany 407

Appendix A. CRBasic Programming Instructions 465 A.5.8 SDI-12 Read More! See SDI-12 Sensor Support (p. 173). SDI12RecorderRetrievestheresultsfr

Strany 408 - 10.3.4 NAN and ±INF

Appendix A. CRBasic Programming Instructions 466CS7500CommunicateswiththeCS7500open‐pathCO2andH2Osensor.SyntaxCS7500(Dest, Reps, SDMAd

Strany 409

Appendix A. CRBasic Programming Instructions 467Therm107MeasuresaCampbellScientific107thermistor.SyntaxTherm107(Dest, Reps, SEChan, Vx/ExCh

Strany 410

Appendix A. CRBasic Programming Instructions 468A.5.10 Peripheral Device Support Multiple SDM instructions can be used within a program. AM25TCo

Strany 411 - 10.4 Communications

Appendix A. CRBasic Programming Instructions 469SDMAO4SetsoutputvoltagelevelsinanSDM‐AO4analogoutputdevice.SyntaxSDMAO4(Source, Reps, S

Strany 412

Section 4. Quickstart Tutorial 47 Figure 14: Short Cut temperature sensor folder 4.2.4.2 Procedure: (Short Cut Steps 7 to 9) 7. Double-click Wiri

Strany 413 - 10.4.3.3 CommsMemFree(3)

Appendix A. CRBasic Programming Instructions 470SDMSIO4Controlsandtransmits/receivesdatafromanSDM‐SIO4Interface.SyntaxSDMSIO4(Dest, R

Strany 414 - 10.5 Power Supplies

Appendix A. CRBasic Programming Instructions 471A.6.2 Arithmetic Operators Table 112. Arithmetic Operators Symbol Name Notes ^ Raise to power Res

Strany 415 - 10.5.3.1 Battery Test

Appendix A. CRBasic Programming Instructions 472• bits 5-4: value_2 • bits 3-0: value_3 Code to extract these values is shown in CRBasic exampl

Strany 416

Appendix A. CRBasic Programming Instructions 473 CRBasicExample69. UsingBit‐ShiftOperatorsDim input_val As Long Dim value_1 As Long Dim valu

Strany 417 - OFF and allow

Appendix A. CRBasic Programming Instructions 474A.6.6 Trigonometric Functions A.6.6.1 Derived Functions Table Derived Trigonometric Functions (p.

Strany 418 - (p. 3)

Appendix A. CRBasic Programming Instructions 475COSReturnsthecosineofananglespecifiedinradians.Syntaxx = COS(source) COSHReturnsthehy

Strany 419 -

Appendix A. CRBasic Programming Instructions 476FloorRoundsavaluetoalowerinteger.Syntaxvariable = Floor(Number) FRACReturnsthefractio

Strany 420 - Section 10. Troubleshooting

Appendix A. CRBasic Programming Instructions 477RoundRoundsavaluetoahigherorlowernumber.Syntaxvariable = Round (Number, Decimal) SGNFin

Strany 421 - 10.6 Terminal Emulator

Appendix A. CRBasic Programming Instructions 478VaporPressureCalculatesvaporpressurefromtemperatureandrelativehumidity.SyntaxVaporPress

Strany 422 - (p. 422)

Appendix A. CRBasic Programming Instructions 479 A.6.10 Other Functions AddPreciseUsedinconjunctionwithMovePrecise,allowshigh‐precisiontota

Strany 423

Section 4. Quickstart Tutorial 48 Figure 15: Short Cut thermocouple wiring 4.2.4.3 Procedure: (Short Cut Steps 10 to 11) Historical Note In th

Strany 424

Appendix A. CRBasic Programming Instructions 480LevelCrossingProcessesdataintoaone‐ortwo‐dimensionalhistogramusingalevel‐crossingcoun

Strany 425 - Section 11. Glossary

Appendix A. CRBasic Programming Instructions 481String Output Processing TheSample()instructionwillconvertdatatypesifthesourcedatatypei

Strany 426 - (p.436)

Appendix A. CRBasic Programming Instructions 482HexToDecConvertsahexadecimalstringtoafloatorinteger.SyntaxVariable = HexToDec(Expressi

Strany 427

Appendix A. CRBasic Programming Instructions 483StrCompComparestwostringsbysubtractingthecharactersinonestringfromthecharactersinano

Strany 428 - (p.545).

Appendix A. CRBasic Programming Instructions 484DateReturnsaformatteddate/timestringoftypeLongderivedfromsecondssince1990.SyntaxDa

Strany 429 - (p.447).

Appendix A. CRBasic Programming Instructions 485TimerReturnsthevalueofatimer.Syntaxvariable = Timer(TimNo, Units, TimOpt) A.9 Voice-Modem

Strany 430

Appendix A. CRBasic Programming Instructions 486VoiceSpeakDefinesthevoicestringthatshouldbespokenbythevoicemodem.SyntaxVoiceSpeak(&

Strany 431 - (p. 76)

Appendix A. CRBasic Programming Instructions 487MenuPickCreatesalistofselectableoptionsthatcanbeusedwheneditingaMenuItemvalue.Synta

Strany 432

Appendix A. CRBasic Programming Instructions 488SerialInBlockStoresincomingserialdata.Thisfunctionreturnsthenumberofbytesreceived.Sy

Strany 433

Appendix A. CRBasic Programming Instructions 489• Com310 • ComSDC7 • ComSDC8 • ComSDC10 • ComSDC11 • Com1 (C1,C2) • Com2 (C3,C4) • • •

Strany 434 - (p.167)and

Section 4. Quickstart Tutorial 4911. Outputs displays the list Selected Sensors on the left and data storage tables, under Selected Outputs, on the

Strany 435

Appendix A. CRBasic Programming Instructions 490ClockReportSendsthedataloggerclockvaluetoaremotedataloggerinthePakBusnetwork.Syntax

Strany 436 - (p. 545) ) to

Appendix A. CRBasic Programming Instructions 491RouteReturnstheneighboraddressof(ortherouteto)aPakBusdatalogger.Syntaxvariable = Rout

Strany 437 - (p.438).

Appendix A. CRBasic Programming Instructions 492TimeUntilTransmitTheTimeUntilTransmitinstructionreturnsthetimeremaining,inseconds,befor

Strany 438

Appendix A. CRBasic Programming Instructions 493FindSpaSearchesasourcearrayforavalueandreturnsthevalue'spositioninthearray.Syn

Strany 439 - Battery(BattV)

Appendix A. CRBasic Programming Instructions 494FileManageManagesprogramfilesfromwithinarunningdataloggerprogram.SyntaxFileManage(&quo

Strany 440 - (p.439).

Appendix A. CRBasic Programming Instructions 495NewFileDeterminesifafilestoredonthedataloggerhasbeenupdatedsincetheinstructionwasla

Strany 441 - (p.449).

Appendix A. CRBasic Programming Instructions 496TableName.OutputDetermineifdatawaswrittentoaspecificdatatablethelasttimethedatata

Strany 442 - inCR800measurement

Appendix A. CRBasic Programming Instructions 497EMailRecvPollsanSMTPserverforemailmessagesandstoresthemessageportionoftheemailina

Strany 443

Appendix A. CRBasic Programming Instructions 498IPNetPowerControlspowerstateofindividualEthernetdevices.SyntaxIPNetPower( IPInterface, S

Strany 444

Appendix A. CRBasic Programming Instructions 499UDPOpenOpensaportfortransferringUDPpackets.SyntaxUDPOpen(IPAddr, UDPPort, UDPBuffsize) Web

Strany 445 - (p.427).

Assistance Products may not be returned without prior authorization. The following contact information is for US and International customers resi

Strany 446

Section 4. Quickstart Tutorial 50 Figure 17: Short Cut output table definition 4.2.4.5 Procedure: (Short Cut Step 17 to 18) 17. Click Finish to

Strany 447

Appendix A. CRBasic Programming Instructions 500DNPSetsupaCR800asaDNPslave(outstation/server)device.Thirdparameterisoptional.Synt

Strany 448 - ,formore

Appendix A. CRBasic Programming Instructions 501LoadFieldCalLoadsvaluesfromtheFieldCalfileintovariablesinthedatalogger.SyntaxLoadField

Strany 449 - 11.2 Concepts

Appendix A. CRBasic Programming Instructions 502ArgosTransmitInitiatesasingletransmissiontoanArgossatellitewhentheinstructionisexecu

Strany 450 - Section 11. Glossary

Appendix A. CRBasic Programming Instructions 503OmniSatSTSetupSetsuptheOMNISATtransmittertosenddataovertheGOESorMETEOSATsatelliteat

Strany 451 - Instructions

Appendix A. CRBasic Programming Instructions 504

Strany 452 - (p.167).

505Appendix B. Status Table and Settings The CR800 Status table contains system operating-status information accessible via the external keyboard

Strany 453 - A.2 Data-Table Declarations

Appendix B. Status Table and Settings 506Table 116. Common Uses of the Status Table Feature or Suspect Constituent Status Field(s) to Consult RS

Strany 454 - A.2.2 Data Destinations

Appendix B. Status Table and Settings 507Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In

Strany 455 - A.2.3.1 Single-Source

Appendix B. Status Table and Settings 508Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?

Strany 456 - A.2.3.2 Multiple-Source

Appendix B. Status Table and Settings 509Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In

Strany 457

Section 4. Quickstart Tutorial 51 18. Close this window by clicking on X in the upper right corner. 4.2.5 Send Program and Collect Data PC200W Sup

Strany 458

Appendix B. Status Table and Settings 510Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?

Strany 459

Appendix B. Status Table and Settings 511Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In

Strany 460

Appendix B. Status Table and Settings 512Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?

Strany 461 - A.5 Measurement Instructions

Appendix B. Status Table and Settings 513Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In

Strany 462 - A.5.3 Thermocouples

Appendix B. Status Table and Settings 514Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?

Strany 463 - PulseCount

Appendix B. Status Table and Settings 515Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit? In

Strany 464 - A.5.7 Digital I/O

Appendix B. Status Table and Settings 516Table 117. Status-Table Fields and Descriptions Fieldname Description Variable Type Default Range Edit?

Strany 465 - SDI12SensorSetup

Appendix B. Status Table and Settings 517instruction (ModBus, DNP3, generic protocols), CommsActive will remain TRUE as long as characters are rece

Strany 466

Appendix B. Status Table and Settings 518 Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration U

Strany 467 - Therm109

Appendix B. Status Table and Settings 519Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Utili

Strany 468

Section 4. Quickstart Tutorial 52CR800. To view the OneMin table, select an empty cell in the display area, then click Add. Figure 20: PC200W

Strany 469

Appendix B. Status Table and Settings 520Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Uti

Strany 470 - SDMTrigger

Appendix B. Status Table and Settings 521Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Utili

Strany 471 - A.6.3 Bitwise Operators

Appendix B. Status Table and Settings 522Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Uti

Strany 472 - (p. 473)

Appendix B. Status Table and Settings 523Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Utili

Strany 473 - A.6.5 Logical Operators

Appendix B. Status Table and Settings 524Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Uti

Strany 474 - A.6.6.2 Intrinsic Functions

Appendix B. Status Table and Settings 525Table 118. CR800 Settings Settings are accessed through the Campbell Scientific Device Configuration Utili

Strany 475 - A.6.7 Arithmetic Functions

Appendix B. Status Table and Settings 526

Strany 476

527Appendix C. Serial Port Pinouts C.1 CS I/O Communications Port Pin configuration for the CR800 CS I/O port is listed in table CS I/O Pin Descri

Strany 477 - A.6.8 Integrated Processing

Appendix C. Serial Port Pinouts 528connect the computer DTE device to the CR800 DCE device. The following table describes RS-232 pin function wit

Strany 478 - A.6.9 Spatial Processing

Appendix C. Serial Port Pinouts 529 Table 121. Standard Null-Modem Cable or Adapter-Pin Connections* DB9 DB9 pin 1 & 6 ---------- pin 4 pin

Strany 479 - A.6.10 Other Functions

Section 4. Quickstart Tutorial 534.2.5.3 Procedure: (PC200W Step 5) 5. In the Add Selection window Tables field, click on OneMin, then click Paste.

Strany 480 - A.7 String Functions

Appendix C. Serial Port Pinouts 530

Strany 481 - A.7.2 String Commands

531Appendix D. ASCII / ANSI Table American Standard Code for Information Interchange (ASCII) / American National Standards Institute (ANSI) Decima

Strany 482

Appendix D. ASCII / ANSI Table 532Dec Hex Keyboard Display Char LoggerNet Char Hyper- TerminalChar Dec Hex Keyboard Display Char LoggerNetChar Hy

Strany 483 - A.8 Clock Functions

Appendix D. ASCII / ANSI Table 533Dec Hex Keyboard Display Char LoggerNet Char Hyper- TerminalChar Dec Hex Keyboard Display Char LoggerNetChar Hype

Strany 484

Appendix D. ASCII / ANSI Table 534Dec Hex Keyboard Display Char LoggerNet Char Hyper- TerminalChar Dec Hex Keyboard Display Char LoggerNetChar Hy

Strany 485 - A.9 Voice-Modem Instructions

535Appendix E. FP2 Data Format FP2 data are two-byte big-endian values. Representing bits in each byte pair as ABCDEFGH IJKLMNOP, bits are descri

Strany 486

Appendix E. FP2 Data Format 536

Strany 487 - NumBytes)

537Appendix F. Other Campbell Scientific Products Campbell Scientific products expand the measurement and control capability of the CR800. Consul

Strany 488

Appendix F. Other Campbell Scientific Products 538F.1.2 Wireless Sensor Network Wireless sensors use the Campbell wireless sensor (CWS) spread-sp

Strany 489 - Broadcast(ComPort, Message)

Appendix F. Other Campbell Scientific Products 539F.2.2 Pulse / Frequency Input Expansion Modules These modules expand and enhance pulse- and frequ

Strany 490

Section 4. Quickstart Tutorial 544.2.5.4 Procedure: (PC200W Step 6) 6. Click on the Collect Data tab. From this window, data are chosen to be co

Strany 491

Appendix F. Other Campbell Scientific Products 5404WHB10K 10-kΩ, four-wire, half-bridge TIM module 4WPB100 100-Ω, four-wire, PRT-bridge TIM modul

Strany 492 - A.13 Variable Management

Appendix F. Other Campbell Scientific Products 541F.4 Control Output Modules F.4.1 Digital I/O (Control Port) Expansion Digital I/O expansion modul

Strany 493 - A.14 File Management

Appendix F. Other Campbell Scientific Products 542PakBus®, Modbus, DNP3, RS-232, SDI-12, or CANbus using the SDM-CAN module. Table 139. Measureme

Strany 494

Appendix F. Other Campbell Scientific Products 543F.6.2 Batteries Table 141. Batteries Model Description BPALK D-cell, 12-Vdc alkaline battery pa

Strany 495

Appendix F. Other Campbell Scientific Products 544F.6.5 Primary Power Sources Table 144. Primary Power Sources Model Description 9591 18-Vac, 1.

Strany 496 - A.16 Information Services

Appendix F. Other Campbell Scientific Products 545F.8 Telecommunications Products Many telecommunications devices are available for use with the CR

Strany 497

Appendix F. Other Campbell Scientific Products 546F.8.5 Private Network Radios m Table 151. Private Network Radios Model Description RF400 Serie

Strany 498 - NTPMaxMSec)

Appendix F. Other Campbell Scientific Products 547Table 154. Starter Software Model Description VisualWeather Easy-to use datalogger support softwa

Strany 499 - A.18 SCADA

Appendix F. Other Campbell Scientific Products 548F.10.2.1 LoggerNet Suite The LoggerNet suite features a client-server architecture that facilit

Strany 500 - Mode, KnownVar, Index, Avg)

Appendix F. Other Campbell Scientific Products 549Table 157. Software Tools Software Compatibility Description Device Configuration Utility (DevCon

Strany 501 - A.20 Satellite Systems

Section 4. Quickstart Tutorial 55 Figure 24: PC200W View data utility

Strany 502 - RInterval)

Appendix F. Other Campbell Scientific Products 550

Strany 503 - A.21 User Defined Functions

551Index 1 12VTerminal...6212‐VoltSupply ...865 5V‐

Strany 504

Index 552Backup... 36,76BackupBattery... 36,

Strany 505 - (p. 92)

Index 553Concatenation ...239ConditionalCompile ...199,200Conditio

Strany 506 - (p. 413) )

Index 554Desiccant... 75,81,429DevConfig...

Strany 507

Index 555Field‐Zero...154FieldCalibration...151,152,

Strany 508

Index 556HTTPOut... 496Humidity ... 75,8

Strany 509

Index 557Lightning ...34,75,86,431LightningProtection ...

Strany 510

Index 558Network ... 489NetworkTimeProtocol... 496NewFieldCa

Strany 511

Index 559PolarityReversal ...278PolarizedSensor ...293 Port ...

Strany 512

Section 4. Quickstart Tutorial 564.2.5.6 Procedure: (PC200W Steps 10 to 11) 10. Click on to open a file for viewing. In the dialog box, select

Strany 513 - (p. 413)

Index 560Quarter‐BridgeShunt... 165Quarter‐BridgeZero... 166QuickstartTuto

Strany 514

Index 561SDMIO16...468SDMSIO4...468SDMSpe

Strany 515

Index 562StartTime... 506StartUpCode... 506Sta

Strany 516 - Each integration / range

Index 563Totalize ...455Transducer...33,59

Strany 517

Index 564WriteIO ... 464WritingProgram ... 108X XM

Strany 519 - Table 118. CR800 Settings

Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbel

Strany 520

57Section 5. System Overview A Campbell Scientific data-acquisition system is made up of the following basic components: • Sensors • Datalogger

Strany 521

Section 5. System Overview 58 Figure 27: Features of a data-acquisition system 5.1 CR800 Datalogger The CR800 datalogger is one part of a data

Strany 522

Section 5. System Overview 59Sensors transduce phenomena into measurable electrical forms, outputting voltage, current, resistance, pulses, or stat

Strany 524

Section 5. System Overview 60A library of sensor manuals and application notes are available at www.campbellsci.com to assist in measuring many s

Strany 525

Section 5. System Overview 61as compared to pulse-count measurements. The frequency resolution of pulse-count measurements can be improved by exten

Strany 526

Section 5. System Overview 625.1.3.3 Grounding Terminals Read More! See Grounding (p. 86). Proper grounding will lend stability and protection to

Strany 527 - C.2.1 Pin-Out

Section 5. System Overview 635.1.3.5 Communications Ports Read More! See sections RS-232 and TTL Recording (p. 308), Telecommunications and Data Re

Strany 528 - C.2.2 Power States

Section 5. System Overview 64panel temperature at each scan, and the one-minute sample of panel temperature. TCTemps displays two thermocouple te

Strany 529 - Connections*

Section 5. System Overview 65• Charge sources o Solar panels o Wind generators o Vac / Vac or Vac / Vdc wall adapters Refer to the appendix Pow

Strany 530

Section 5. System Overview 66program is active at a given time. Two Campbell Scientific software applications, Short Cut and CRBasic Editor, are

Strany 531

Section 5. System Overview 67o CRBasic variables o Final Storage o Communications memory o USR: drive  User allocated  FAT32 RAM drive  P

Strany 532

Section 5. System Overview 68 5.1.8.4 Data Format on Computer CR800 data stored on a PC via support software is formatted as either ASCII or Bina

Strany 533

Section 5. System Overview 695.1.9.2 Modbus Read More! See Modbus (p. 350). The CR800 supports Modbus master and Modbus slave communication for inc

Strany 534

7Table of Contents Section 1. Introduction...27 1.1 HELLO ...

Strany 535 - Appendix E. FP2 Data Format

Section 5. System Overview 70 Figure 28: Custom menu example 5.1.10 Security CR800 applications may include the collection of sensitive data, o

Strany 536

Section 5. System Overview 715.1.10.1 Vulnerabilities While "security through obscurity" may have provided sufficient protection in the p

Strany 537 - Products

Section 5. System Overview 72• Get historical records or other files present on the datalogger drive spaces. • More access is given when a .csi

Strany 538 - F.2 Sensor Input Modules

Section 5. System Overview 73greater than it will also be unlocked, so unlocking level 1 (entering the Level 1 security code) also unlocks levels 2

Strany 539

Section 5. System Overview 745.1.10.3.2 PakBus Instructions The following CRBasic PakBus instructions have provisions for password protection: •

Strany 540 - F.3 Cameras

Section 5. System Overview 75One use of file encryption may be to secure proprietary code but make it available for copying. 5.1.10.5 Communicatio

Strany 541 - F.5 Dataloggers

Section 5. System Overview 765.1.11.3 Calibration Read More! See Self-Calibration (p. 285). The CR800 uses an internal voltage reference to routi

Strany 542 - F.6 Power Supplies

Section 5. System Overview 77applications in LoggerNet Remote are run on a separate computer, and are used to manage the LoggerNet Linux server. •

Strany 543 - F.6.4 Regulators

Section 5. System Overview 78 

Strany 544 - F.7 Enclosures

79Section 6. CR800 Specifications 1.1CR800specificationsarevalidfrom─25°to50°Cinnon‐condensingenvironmentsunlessotherwisespecified.

Strany 545 - F.8.4 Telephone

Table of Contents 8Section 5. System Overview ...57 5.1 CR800 Datalogger...

Strany 546 - F.9 Data Storage Devices

Section 6. CR800 Specifications 80

Strany 547

81Section 7. Installation 7.1 Moisture Protection When humidity tolerances are exceeded and condensation occurs, damage to CR800 electronics can r

Strany 548 - F.10.3 Software Tools

Section 7. Installation 82 Figure 29: Enclosure 7.4 Power Sources Note Reliable power is the foundation of a reliable data-acquisition system.

Strany 549 - Table 157. Software Tools

Section 7. Installation 83Power supplies available from Campbell Scientific can be reviewed in the appendix Power Supplies (p. 542), or at www.camp

Strany 550

Section 7. Installation 84should be connected to the CR800. The diode OR connection causes the supply with the largest voltage to power the CR800

Strany 551

Section 7. Installation 85Table 4. Current Source and Sink Limits Terminal Limit1 < 1.80 A @ 70°C < 1.50 A @ 85°C 5V + CS I/O (combined)5

Strany 552

Section 7. Installation 86Note Table Current Source and Sink Limits (p. 84) has more information on excitation load capacity. 7.4.5.3 Continuou

Strany 553

Section 7. Installation 87products, so it should always be requested when ordering. Spark gaps for these devices must be connected to either the ea

Strany 554

Section 7. Installation 88 Figure 31: Schematic of grounds 7.5.1.1 Lightning Protection The most common and destructive ESDs are primary and se

Strany 555

Section 7. Installation 89In addition to protections discussed in ESD Protection (p. 86), use of a simple lightning rod and low-resistance path to

Strany 556

Table of Contents 97.2 Temperature Range... 81 7.3 Enclosures...

Strany 557

Section 7. Installation 907.5.2 Single-Ended Measurement Reference Low-level, single-ended voltage measurements are sensitive to ground potential

Strany 558

Section 7. Installation 91lead resistance result in different ground potential at the two instruments. For this reason, a differential measurement

Strany 559

Section 7. Installation 92 Figure 33: Model of a ground loop with a resistive sensor 7.6 CR800 Configuration The CR800 ships from Campbell Scie

Strany 560

Section 7. Installation 93• Provide a terminal emulator useful in configuring devices not directly supported by DevConfig graphical user interface

Strany 561

Section 7. Installation 947.6.2 Sending the Operating System The CR800 is shipped with the operating system pre-loaded. However, OS updates are m

Strany 562

Section 7. Installation 95 Figure 35: DevConfig OS download window Figure 36: Dialog box confirming OS download

Strany 563

Section 7. Installation 967.6.2.2 Sending OS with Program Send Operating system files can be sent using the Program Send command. Beginning with

Strany 564

Section 7. Installation 97Configuration (p. 98) ) that gives the user a chance to save and print the settings for the device. Clicking the Factory

Strany 565

Section 7. Installation 98 Figure 38: Summary of CR800 configuration 7.6.3.1.1 Deployment Tab Illustrated in figure DevConfig Deployment Tab (p

Strany 566

Section 7. Installation 99 Datalogger Sub-Tab • Serial Number displays the CR800 serial number. This setting is set at the factory and cannot be e

Komentáře k této Příručce

Žádné komentáře