Campbell-scientific CR3000 Micrologger Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Instrumentos de medida Campbell-scientific CR3000 Micrologger. Campbell Scientific CR3000 Micrologger User Manual [es] Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 0
CR3000 Measurement and
Control System
Revision: 5/13
Copyright © 2000 - 2013
Campbell Scientific, Inc.
Vista de página 0
1 2 3 4 5 6 ... 589 590

Resumo do Conteúdo

Página 1 - Control System

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

Página 2

Table of Contents 107.7.3.1 Numerical Formats... 117 7.7.3.2 Structure...

Página 3 - Warranty

Section 7. Installation 100 Figure 37: DevConfig OS download window Figure 38: Dialog box confirming OS download 7.6.2.2 Sending OS with Prog

Página 4

Section 7. Installation 101Program Send (p. 101), this has the benefit of usually (but not always) preserving CR3000 settings. Table 7. Operating

Página 5 - Assistance

Section 7. Installation 102Clicking the Factory Defaults button on the settings editor will send a command to the device to revert to its factory

Página 6

Section 7. Installation 103 Figure 40: Summary of CR3000 configuration 7.6.3.1.1 Deployment Tab Illustrated in figure DevConfig Deployment Tab (p

Página 7 - Table of Contents

Section 7. Installation 104 Figure 41: DevConfig Deployment tab Datalogger Sub-Tab • Serial Number displays the CR3000 serial number. This set

Página 8

Section 7. Installation 105• Beacon Interval sets the interval (in seconds) on which the datalogger will broadcast beacon messages on the port spe

Página 9

Section 7. Installation 106 Figure 42: DevConfig Deployment | ComPorts Settings tab Advanced Sub-Tab • Is Router allows the datalogger to act

Página 10

Section 7. Installation 107• Files Manager Setting specifies the number of files with the specified extension that will be saved when received fro

Página 11

Section 7. Installation 108 Figure 44: DevConfig Logger Control tab 7.6.3.2 Settings via CRBasic Some variables in the Status table can be requ

Página 12

Section 7. Installation 109Campbell Scientific recommends implementing one or both of the provisions described in "Include" File (p. 109)

Página 13

Table of Contents 117.8.2 Information Services... 171 7.8.2.1 PakBus Over TCP/IP and

Página 14

Section 7. Installation 110 Figure 46: "Include File" settings via PakBusGraph CRBasicExample1. Usingan"IncludeFile"

Página 15

Section 7. Installation 111 CRBasicExample2. "IncludeFile"toControlSW12V‐1.'"Include File" "Add-on" Pr

Página 16

Section 7. Installation 112the BeginProg statement. This allows the "Include" file to act both as an "Include" file and as t

Página 17

Section 7. Installation 113Caveats • Network Planner aids in, but does not replace, the design process • It aids development of PakBus networks o

Página 18

Section 7. Installation 1147.7 Programming Programs are created with either Short Cut (p. 467) or CRBasic Editor (p. 114). Programs can be up to

Página 19 - List of Figures

Section 7. Installation 115channels, and processing instructions that compress many common calculations used in CR3000 dataloggers. These four elem

Página 20

Section 7. Installation 116Note To retain data, Preserve data if no table changed must be selected whether or not CF card (CRD: drive) or Campbe

Página 21 - List of Tables

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

Página 22

Section 7. Installation 118 Table 11. CRBasic Program Structure Declarations Define CR3000 memory usage. Declare constants, variables, aliases, u

Página 23

Section 7. Installation 119'Define public variables Public RefTemp Public TC(6) 'Define Units Units RefTemp = degC Units TC = Deg

Página 24 - List of CRBasic Examples

Table of Contents 127.8.12.3 Measurement Rate: 601 to 2000 Hz... 240 7.8.13 String Operations...

Página 25

Section 7. Installation 120operator is located in the Help files of CRBasic Editor, which is included with LoggerNet, PC400, and RTDAQ datalogger

Página 26

Section 7. Installation 121variables can be viewed through the integrated keyboard / display or software numeric monitors. Dim variables cannot. Al

Página 27 - Section 1. Introduction

Section 7. Installation 122In this example, a For/Next structure with a changing variable is used to specify which elements of the array will hav

Página 28

Section 7. Installation 123BeginProg Scan() aaa = 3 bbb = 2 ccc = 4 VariableName(aaa,bbb,ccc) = 2.718 NextScan EndProg  Dimens

Página 29

Section 7. Installation 124 Table 12. Data Types Name: Command or Argument Description / Word Size Where Used Notes Resolution / Range FP2 Cam

Página 30

Section 7. Installation 125Table 12. Data Types Name: Command or Argument Description / Word Size Where Used Notes Resolution / Range As Boolean

Página 31

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

Página 32

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

Página 33 - 4.1.1.3 Data Retrieval

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

Página 34 - 4.1.2.1 Wiring Panel

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

Página 35 - 4.1.2.3 Backup Battery

Table of Contents 138.1.2.6.2 Ground Reference Offset Voltage ... 289 8.1.2.6.3 Background Calibration...

Página 36 - 4.1.3 Sensors

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

Página 37 - 4.1.3.2 Bridge Sensors

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

Página 38

Section 7. Installation 132 Table 15. Typical Data Table TOA5 CR3000 CR3000 1048 CR3000.Std.13.06 CPU:Data.cr3 35723 OneMin TIMESTAMP RE

Página 39 - 4.1.3.3 Pulse Sensors

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

Página 40

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

Página 41 - 4.1.3.4 RS-232 Sensors

Section 7. Installation 135lapse occurs, the SkippedRecords status entry is incremented, and a 16-byte sub-header with time stamp and record number

Página 42 - 4.1.4 Digital I/O Ports

Section 7. Installation 136Data Output-Processing Instructions Final data storage processing instructions (aka "output processing" inst

Página 43 - 4.2.1 What You Will Need

Section 7. Installation 1377.7.3.5.2 Subroutines Read More! See Subroutines (p. 192) for more information on programming with subroutines. Subrouti

Página 44 - 4.2.2 Hardware Setup

Section 7. Installation 138Instructions or commands that are handled by each sequencer are listed in table Task Processes (p. 138). The measureme

Página 45 - 4.2.3 PC200W Software Setup

Section 7. Installation 139the sequence in which the instructions are executed may not be in the order in which they appear in the program. Therefo

Página 46

Table of Contents 148.2.4.3 Component-Built Relays... 334 8.2.5 Analog Control / Output Devices ..

Página 47

Section 7. Installation 140Note Measurement tasks have priority over other tasks such as processing and communication to allow accurate timing n

Página 48

Section 7. Installation 141Table 19. Program Timing Instructions Instructions General Guidelines Syntax Form SubScan / NextSubScan Use when measur

Página 49

Section 7. Installation 142allows the processing in the scan to lag behind measurements at times without affecting measurement timing. Use of the

Página 50

Section 7. Installation 143measurement hardware until the main scan, including measurements and processing, is complete. Main Scans Execution of t

Página 51

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

Página 52

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

Página 53

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

Página 54

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

Página 55

Section 7. Installation 148Note Single-precision float has 24 bits of mantissa. Double precision has a 32-bit extension of the mantissa, resulti

Página 56

Section 7. Installation 149BeginProg Fa = 0 Fb = 0.125 L = 126 Ba = Fa 'This will set Ba = False (0) Bb = Fb

Página 57 - Section 5. System Overview

Table of Contents 158.6.1 DNP3... 369 8.6.1.1 Overview...

Página 58 - 5.1 CR3000 Datalogger

Section 7. Installation 150 CRBasicExample22. ConstantstoLONGsorFLOATsPublic I As Long Public A1, A2 Const ID = 10 BeginProg A1 = A2 +

Página 59 - 5.1.2 Sensor Support

Section 7. Installation 151TRUE is safe, it may not always be the best programming technique. Consider the expression If Condition(1) then... Sinc

Página 60 - 5.1.3 CR3000 Wiring Panel

Section 7. Installation 152Table 22. Logical Expression Examples If X >= 5 AND Z = 2 then Y = 0 Sets Y = 0 only if both X >= 5 and Z = 2 ar

Página 61

Section 7. Installation 153'Program BeginProg Scan(1,Sec,0,0) 'Assign strings to String variables Wrd(1) = " ":Wrd(2

Página 62 - 5.1.3.4 Power Terminals

Section 7. Installation 154Table 23. Abbreviations of Names of Data Processes Abbreviation Process Name Max Maximum Min Minimum SMM Sample at Max

Página 63 - 5.1.3.5 Communications Ports

Section 7. Installation 1557.7.3.11 System Signatures Signatures help assure system integrity and security. The following resources provide inform

Página 64 - 5.1.4 Power Requirements

Section 7. Installation 1567.8 Programming Resource Library This library of notes and CRBasic code addresses a narrow selection of CR3000 applica

Página 65 - 5.1.5 Programming

Section 7. Installation 157each with two supporting instructions: • LoadFieldCal() — an optional instruction that evaluates the validity of, and l

Página 66 - (p. 564) )

Section 7. Installation 158 Mode Variable Interpretation > 0 and  6 calibration in progress < 0 calibration encountered an error 2 cali

Página 67 - 5.1.7 Data Retrieval

Section 7. Installation 159"offset"="y‐intercept"="zero""multiplier"="slope"="gain

Página 68 - 5.1.8 Communications

Table of Contents 16Section 9. Maintenance ...421 9.1 Moisture Protection...

Página 69 - 5.1.8.4 Keyboard Display

Section 7. Installation 1605. To simulate conditions for a 30-day, service-calibration, again with desiccated chamber conditions, set variable K

Página 70 - 5.1.9 Security

Section 7. Installation 161 Table 25. Calibration Report for Salinity Sensor Parameter Parameter at Deployment Parameter at 7-Day Service mV output

Página 71 - 5.1.9.1 Vulnerabilities

Section 7. Installation 162BeginProg Multiplier = .05 Offset = 0 LoadFieldCal(true) 'Load the CAL File, if po

Página 72 - 5.1.9.2 Pass-code Lockout

Section 7. Installation 163 Calibration Report for Pressure Transducer Parameter Measurement Before Zero Measurement After Zero Piezometer Output

Página 73 - 5.1.9.3 Passwords

Section 7. Installation 164 'AVW200(AVWRC,Com1,0,200,VW(1,1),1,1,1,1000,4000,1,_60Hz,1,0) '<<actual measurement 'inst

Página 74 - 5.1.9.4 File Encryption

Section 7. Installation 1654. When variable CalMode increments to 6, the deployment calibration is complete. Calibrated multiplier is -0.08. Calib

Página 75 - 5.1.10 Maintenance

Section 7. Installation 1667.8.1.5.5 Two-Point Slope Only (Option 3) Some measurement applications do not require determination of offset. Wave f

Página 76 - 5.1.10.4 Internal Battery

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

Página 77

Section 7. Installation 1684. The zero function of FieldCalStrain() allows the user to set a particular strain as an arbitrary zero, if desired.

Página 78

Section 7. Installation 169 CRBasicExample31. FieldCalStrain()CalibrationDemonstration'Program to measure quarter bridge strain gage &a

Página 79 - formoreinformation.

Table of Contents 17Appendix A. CRBasic Programming Instructions ...475 A.1 Program Declarations...

Página 80

Section 7. Installation 1707.8.1.6.1 Quarter-Bridge Shunt (Option 13) With CRBasic example FieldCalStrain() Calibration Demo (p. 169) sent to the

Página 81 - Section 7. Installation

Section 7. Installation 171 Figure 54: Starting zero procedure Figure 55: Zero procedure finished 7.8.2 Information Services Support of informa

Página 82 - 7.4 Power Sources

Section 7. Installation 172• PakBus communication over TCP/IP. • Callback (datalogger-initiated communication) using the CRBasic TCPOpen() inst

Página 83 - 7.4.3 Power Supplies

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

Página 84 - 7.4.3.2 Internal Batteries

Section 7. Installation 174 Figure 57: Home page created using WebPageBegin() instruction Figure 58: Customized numeric-monitor web page

Página 85 - (p. 567)

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

Página 86 - (p. 87)

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

Página 87

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

Página 88 - (p. 567) ) will

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

Página 89 - (p. 333)

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

Página 90 - to understand

Table of Contents 18A.17 Modem Control ... 524 A.18 SCADA ...

Página 91 - (p. 89). Voltage on a

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

Página 92 - 7.5 Grounding

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

Página 93 - 7.5.1.1 Lightning Protection

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

Página 94 - (p. 94) shows a simple

Section 7. Installation 183is programmed with the M! command (note that the SDI-12 address is a separate instruction parameter), the CR3000 issues

Página 95

Section 7. Installation 184Table 28. SDI12Recorder() Commands SDIRecorder() Instruction SDICommand Entry Actions Internal to CR3000 and Sensor

Página 96

Section 7. Installation 185 Scan(5,Sec,0,0) 'Non-SDI-12 measurements here NextScan SlowSequence Scan(5,Min,0,0) SDI12Recor

Página 97 - 7.6 CR3000 Configuration

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

Página 98

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

Página 99 - (p. 100), when the

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

Página 100 - command. Beginning

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

Página 101 - 7.6.3 Settings

Table of Contents 19F.8.4 Telephone... 570 F.8.5 Private Network Radi

Página 102

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

Página 103

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

Página 104 - (p. 106), the

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

Página 105

Section 7. Installation 193'Global variables (Used only outside subroutine by choice) 'Declare Counter in the Main Scan. Public counter(2

Página 106

Section 7. Installation 194 Table 31. OutputOpt Options Option Description (WVc() is the Output Array) 0 WVc(1): Mean horizontal wind speed (S)

Página 107

Section 7. Installation 195Standard deviation of horizontal wind fluctuations from sub-intervals is calculated as follows: where: is the standard

Página 108 - 7.6.3.3 Durable Settings

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

Página 109

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

Página 110 - Section 7. Installation

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

Página 111

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

Página 113

Table of Contents 20Figure 41: DevConfig Deployment tab ... 104 Figure 42: DevConfig Deployment

Página 114 - 7.7 Programming

Section 7. Installation 200 Figure 65: Custom menu example — Predefined-notes pick list Figure 66: Custom menu example — Free-Entry notes wind

Página 115 - 7.7.2 Sending Programs

Section 7. Installation 201 Figure 69: Custom menu example — control-LED pick list Figure 70: Custom menu example — control-LED Boolean pick lis

Página 116

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

Página 117 - 7.7.3 Syntax

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

Página 118

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

Página 119 - 7.7.3.3 Command Line

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

Página 120

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

Página 121 - (p. 122) shows

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

Página 122

Section 7. Installation 208Note If an instrument or sensor optionally supports SDI-12, Modbus, or DNP3, consider using these protocols before pr

Página 123 - (p. 241)

Section 7. Installation 209MarksandSpacesRS‐232signallevelsareinvertedlogiccomparedtoTTL.Thedifferentlevelsarecalledmarksandspac

Página 124 - Table 12. Data Types

Table of Contents 21Figure 97: Panel-temperature gradients (high temperature to low)... 310 Figure 98: Input error calculation...

Página 125

Section 7. Installation 210• BaudRrate — Baud rate mismatch is frequently a problem when developing a new application. Check for matching baud r

Página 126 - (p. 126) shows an example

Section 7. Installation 211• Buffer-size margin (one extra record + one byte). SerialOutBlock()1,3 • Binary • Can run in pipeline mode inside th

Página 127 - (p. 445) )

Section 7. Installation 212• Does the record have a delimiter character, e.g. ",", spaces, or tabs? These delimiters are useful for pa

Página 128

Section 7. Installation 2137.8.8.5.3 Output Programming Basics Applications with the purpose of transmitting data to another device usually include

Página 129 - (p. 206) )

Section 7. Installation 214Example (humidity, temperature, and pressure sensor): SerialInString = "RH= 60.5 %RH T= 23.7 °C Tdf= 15.6 °C Td=

Página 130 - 7.7.3.5 Declared Sequences

Section 7. Installation 215• String declarations: String variables are memory intensive. Determine how large strings are and declare variables jus

Página 131 - (p. 132)

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

Página 132 - (p. 132), data

Section 7. Installation 217 Figure 71: HyperTerminal New Connection description Figure 72: HyperTerminal Connect-To settings

Página 133 - (p. 136) )

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

Página 134 - (p.419)).

Section 7. Installation 219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

Página 135 - (p. 279)

Table of Contents 22Table 10. Formats for Entering Numbers in CRBasic... 117 Table 11. CRBasic Program Structure ...

Página 136

Section 7. Installation 220recognize the C command. CR3000 dataloggers, however, require custom programming to output and accept these same ASCII

Página 137

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

Página 138 - (p. 138)

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

Página 139 - 4. Processing tasks

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

Página 140 - 7.7.3.7 Execution Timing

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

Página 141 - (p. 141):

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

Página 142 - (p. 295)

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

Página 143

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

Página 144 - 7.7.3.8 Instructions

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

Página 145 - (p. 145)

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

Página 146

Table of Contents 23Table 64. Resistive-Bridge Circuits with Current Excitation1... 302 Table 65. Analog Input-Voltage Range and Basi

Página 147 - 7.7.3.9 Expressions

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

Página 148 - (p. 155) shows

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

Página 149

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

Página 150

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

Página 151 - (p. 151) demonstrate

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

Página 152 - (p. 152) demonstrates

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

Página 153

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

Página 154

Section 7. Installation 237 Table 34. TABLE. Summary of Analog Voltage Measurement Rates Maximum Rate 100 Hz 600 Hz 2000 Hz Number of Simultaneo

Página 155 - 7.7.4 Tips

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

Página 156 - 7.8.1.2 CRBasic Programming

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

Página 157

Table of Contents 24Table 117. CommsMemFree(1) Defaults and Use Example, TLS Active.. 437 Table 118. CR3000 Terminal Commands...

Página 158 - (p. 456) menu commands to

Section 7. Installation 240• 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

Página 159 - (p. 160) to the

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

Página 160

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

Página 161 - (p. 161)

Section 7. Installation 243 Table 41. String Concatenation Examples Expression Comments Result Str(1) = 5.4 + 3 + " Volts" Add floats,

Página 162

Section 7. Installation 2447.8.13.4 Inserting String Characters CRBasicExample48. InsertingStringCharactersObjective: Use MoveBytes() to c

Página 163 - (p. 163) to the

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

Página 164 - (p. 165) to the CR3000

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

Página 165

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

Página 166 - (p. 166) to

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

Página 167

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

Página 168 - (p. 169) as a program to

Table of Contents 25CRBasic Example 4. Inserting Comments... 115 CRBasic Example 5. Load binary informa

Página 169

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

Página 170 - (p. 171)

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

Página 171 - 7.8.2 Information Services

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

Página 172 - (p. 173), this page

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

Página 173 - (p. 174)

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

Página 174

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

Página 175 - CRBasicExample32. HTML

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

Página 176 - 7.8.2.8 Ping

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

Página 177 - 7.8.3 SDI-12 Sensor Support

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

Página 178 - (p. 178)

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

Página 179

Table of Contents 26CRBasic Example 58. BeginProg / Scan / NextScan / EndProg Syntax ... 257 CRBasic Example 59. PT100 in Four-Wire Half-Bridge..

Página 180

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

Página 181

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

Página 182

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

Página 183 - (p. 183) summarizes CR3000

Section 7. Installation 263the measurement range is -10 to 40°C. The length of the cable from the CR3000 and the bridge resistors to the PRT is 50

Página 184

Section 7. Installation 264calibrated multiplier. The 10 ppm/°C temperature coefficient of the fixed resistor will limit the error due to its ch

Página 185

Section 7. Installation 2657.8.18.2.3 PT100 in Three-Wire Half-Bridge Example shows: • How to measure a PRT in a three-wire half-bridge configurat

Página 186

Section 7. Installation 266 Figure 82: PT100 in three-wire half-bridge CRBasicExample60. PT100inThree‐wireHalf‐bridge'See FIGURE.

Página 187

Section 7. Installation 267where, VS=measuredbridge‐outputvoltageVX=excitationvoltageor, X=1000(RS/(RS+R1)‐R3/(R2+R3)).With reference

Página 188 - (p. 211)

Section 7. Installation 268 Figure 83: PT100 in four-wire full-bridge CRBasicExample61. PT100inFour‐WireFull‐Bridge'See FIGURE. PT

Página 189 - (p. 190)

Section 7. Installation 269Example PRT Specifications: • Alpha = 0.00392 (PRTType 2) Excitation Current Excitation current should be optimized su

Página 190

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

Página 191

Section 7. Installation 270Conclusion:LimitisimposedbytheresistanceofthePRT.Ifresistanceof5PRTsisexpectedtosumbelow5000Ω(b

Página 192 - 7.8.4 Subroutines

Section 7. Installation 2717.8.19 Running Average The AvgRun() instruction calculates a running average of a measurement or calculated value. A ru

Página 193 - 7.8.5 Wind Vector

Section 7. Installation 272Inputfrequencytorunningaverage(normalizedfrequency)=100/250=0.4Sin(0.4π)/(0.4π)=0.757(orreadfromf

Página 194

Section 7. Installation 273 Figure 86: Running-average frequency response Figure 87: Running-average signal attenuation 7.8.20 Writing High-Fre

Página 195

Section 7. Installation 2747.8.20.1 TableFile() with Option 64 Option 64 has been added as a format option for the CRBasic instruction TableFile(

Página 196 - (p. 197) ) that

Section 7. Installation 275DataTable(TableName,TriggerVariable,Size) TableFile(FileName...LastFileName) 'Output processing instructions go

Página 197

Section 7. Installation 276data to be continuously and more quickly written to the card in 1 KB blocks. TOB3 binary format copies data directly

Página 198 - 7.8.6 Custom Menus

Section 7. Installation 277Q: Which CF memory card should I use? A: Campbell Scientific recommends and supports only the use of FMJ brand CF cards.

Página 199 - (p. 201)

Section 7. Installation 278card must be inserted before the data table in datalogger CPU memory rings2, or data will be overwritten and lost. Fo

Página 200

279Section 8. Operation 8.1 Measurements Several features give the CR3000 the flexibility to measure many sensor types. Contact a Campbell Scient

Página 201 - (p. 199) through Custom

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

Página 202

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

Página 203

Section 8. Operation 281instructions BrFull(), BrFull6W(), BrHalf4W(), TCDiff(), VoltDiff () and Resistance () instructions instructions perform DI

Página 204

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

Página 205 - 7.8.8 Serial I/O

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

Página 206 - 7.8.8.1 Introduction

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

Página 207 - 7.8.8.3 Protocols

Section 8. Operation 285=±2mVand OffsetError=1.5•Differential(DF)Resolution+1µV=(1.5•167µV)+1µV=2515µV=0.252mVTherefore

Página 208 - 7.8.8.4 Glossary of Terms

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

Página 209 - 7.8.8.5 CRBasic Programming

Section 8. Operation 287mV and -1090 mV. The CR3000 indicates a measurement over-range by returning a NAN (not a number) for the measurement. 8.1.

Página 210

Section 8. Operation 288 Table 55. Analog Measurements and Offset Voltage Compensation CRBasic Voltage Measurement Instruction Input Reversa

Página 211

Section 8. Operation 289excitation "on time" for each polarity is exactly the same to ensure that ionic sensors do not polarize with repe

Página 212

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

Página 213 - (p. 211) ). Data may be

Section 8. Operation 2908.1.2.7.1 ac Power Line Noise Rejection Grid or mains power (50 or 60 Hz, 230 or 120 Vac) can induce electrical noise at

Página 214

Section 8. Operation 291approximately 170 µs, leaving a maximum input-settling time of approximately 8160 µs (8333 µs - 170 µs). If the maximum in

Página 215

Section 8. Operation 292The CR3000 delays after switching to a channel to allow the input to settle before initiating the measurement. The Settl

Página 216 - 7.8.8.6 Testing Applications

Section 8. Operation 293• When relatively large resistances are measured (> 1000 ohms), or relatively long cable lengths are used (> 50 foot

Página 217

Section 8. Operation 294 BrFull(PT(7),1,mV20,1,Vx1,1,2500,True,True,700,250,1.0,0) BrFull(PT(8),1,mV20,1,Vx1,1,2500,True,True,800,250,1.0,

Página 218

Section 8. Operation 2958.1.2.9 Self-Calibration Read More! Related topics can be found in Offset Voltage Compensation (p. 287). The CR3000 self-ca

Página 219

Section 8. Operation 296If this rate of update for measurement channels is too slow, the Calibrate() instruction can be used. The Calibrate() ins

Página 220 - (p. 404

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

Página 221

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

Página 222

Section 8. Operation 299Table 62. Calibrate() Instruction Results Descriptions of Array Elements Array Cal() Element Differential (Diff) Single-End

Página 223

Warranty The CR3000 Micrologger(R) is warranted for three (3) years subject to this limited warranty: “PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC

Página 224

Section 2. Cautionary Statements 30 

Página 225 - 7.8.8.7 Q & A

Section 8. Operation 3008.1.3 Resistance Measurements Many sensors detect phenomena by way of change in a resistive circuit. Thermistors, strain

Página 226

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

Página 227 - Processing

Section 8. Operation 302Table 63. Resistive-Bridge Circuits with Voltage Excitation Resistive-Bridge Type and Circuit Diagram CRBasic Instruction

Página 228 - 7.8.10 NSEC Data Type

Section 8. Operation 303'Main Program BeginProg R2 = 1000 'Resistance of R2 R3 = 1000

Página 229 - 7.8.10.1 NSEC Options

Section 8. Operation 304• Offset = 3 x Basic Resolution + 5.0 µV if the measurement is of a single-ended input channel Thefollowingtablelists

Página 230

Section 8. Operation 305 Figure 94: Deriving ∆V1 8.1.3.3 Strain Calculations Read More! The FieldCalStrain() Demonstration Program (p. 158) sect

Página 231

Section 8. Operation 306Table 66. StrainCalc() Instruction Equations StrainCalc() BrConfig Code Configuration 3 Half-bridge strain gage. One g

Página 232 - 7.8.11 Bool8 Data Type

Section 8. Operation 307Scientific strongly encourages any user of thermocouples to carefully evaluate Error Analysis (p. 307). An introduction to

Página 233

Section 8. Operation 308specification of 0.1°C for temperatures between 0 and 70°C. Below freezing and at higher temperatures, this specification

Página 234

Section 8. Operation 309 Figure 95: Panel-temperature error summary

Página 235

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

Página 236 - (p. 458) ). The CR3000

Section 8. Operation 310 Figure 96: Panel-temperature gradients (low temperature to high) Figure 97: Panel-temperature gradients (high tempera

Página 237

Section 8. Operation 311 8.1.4.1.2 Thermocouple Limits of Error The standard reference that lists thermocouple output voltage as a function of temp

Página 238

Section 8. Operation 3128.1.4.1.3 Thermocouple Voltage Measurement Error Thermocouple outputs are extremely small — 10 to 70 µV per °C. Unless h

Página 239

Section 8. Operation 313 Figure 98: Input error calculation Input Error Examples: Type T Thermocouple @ 45°C These examples demonstrate that in t

Página 240

Section 8. Operation 314Error Calculations with Input Reversal = True µVerror=gainterm+offsetterm=(830.7µV*0.07%)+(1.5*0.67µV+

Página 241 - 7.8.13 String Operations

Section 8. Operation 315Error Calculations with Input Reversal = False µVerror=gainterm+offsetterm=(44500µV*0.07%)+(3*6.67µV+2.0

Página 242 - 7.8.13.1 String Operators

Section 8. Operation 316Table 69. Limits of Error on CR3000 Thermocouple Polynomials TC Type Range °C Limits of Error °C Relative to NIST Stan

Página 243

Section 8. Operation 317The magnitude of the errors discussed in Error Analysis (p. 307) show that the greatest sources of error in a thermocouple

Página 244

Section 8. Operation 318greater than the extension-wire range. In any case, errors can arise if temperature gradients exist within the junction b

Página 245 - 7.8.14 Data Tables

Section 8. Operation 319 Figure 100: Pulse-sensor output signal types Figure 101: Switch-closure pulse sensor Table 72. Pulse-Input Channels a

Página 246 - (p. 60) )

Section 3. Initial Inspection 32 

Página 247 - 7.8.16 Program Signatures

Section 8. Operation 3208.1.5.1 Pulse-Input Channels (P1 - P4) Read More! Review pulse counter specifications at CR3000 Specifications. Review p

Página 248

Section 8. Operation 3218.1.5.1.2 Low-Level ac (P1 - P4) Rotating magnetic-pickup sensors commonly generate ac output voltages ranging from thousan

Página 249

Section 8. Operation 322Edge Counting (C1 - C8) Rising edges (transitions from <1.5 Vdc to >3.5 Vdc) or falling edges (transitions from >

Página 250

Section 8. Operation 323calibrated in terms of frequency (Hz (p. 458) ) so are usually measured using the PulseCount() frequency option. • Accurac

Página 251

Section 8. Operation 3248.1.5.3.1 Frequency Resolution Frequency resolution of a PulseCount() frequency measurement is calculated as where: FR

Página 252 - (p. 252) demonstrates:

Section 8. Operation 325 Table 74. Frequency Resolution Comparison 0.5 s Scan 5.0 s Scan PulseCount(), POption=1 FR = 2 Hz FR = 0.2 Hz TimerIO

Página 253

Section 8. Operation 326Input filters, however, attenuate the amplitude (voltage) of the signal. The amount of attenuation is a function of the

Página 254

Section 8. Operation 327 Figure 104: Amplitude reduction of pulse-count waveform (before and after 1-µs time constant filter) 8.1.5.4.3 Switch Bo

Página 255 - 7.8.17.5 Scaling Array

Section 8. Operation 328input conditioning circuitry. The threshold allows direct connection of standard digital signals, but it is not recommend

Página 256 - 7.8.17.6 Conditional Output

Section 8. Operation 3298.1.8 RS-232 and TTL Read More! Serial Input / Output Instructions (p. 512) and Serial I/O (p. 205). The CR3000 can usually

Página 257 - 7.8.17.7 Capturing Events

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

Página 258 - 7.8.18 PRT Measurement

Section 8. Operation 3308.1.10.1 Analog Sensor Cables Cable length in analog sensors is most likely to affect the signal settling time. For more

Página 259

Section 8. Operation 331multiple CR3000s. Techniques outlined below enable network administrators to synchronize CR3000 clocks and measurements in

Página 260

Section 8. Operation 332With any synching method, care should be taken as to when and how things are executed. Nudging the clock can cause skippe

Página 261

Section 8. Operation 3338.2.4 Control Outputs Controlling power to an external device is a common function of the CR3000. On-board control termina

Página 262

Section 8. Operation 3348.2.4.3 Component-Built Relays Figure Relay Driver Circuit with Relay (p. 334) shows a typical relay driver circuit in co

Página 263

Section 8. Operation 3358.2.5 Analog Control / Output Devices The CR3000 can scale measured or processed values and transfer these values in digita

Página 264 - (p. 264) for wiring diagram

Section 8. Operation 336 Table 78. CR3000 Memory Allocation Memory Sector Comments Internal battery-backed SRAM1 4 MB* See table CR3000 SRAM

Página 265 - < 4.33 V

Section 8. Operation 337 Table 79. CR3000 SRAM Memory Use Comments Static Memory Operational memory used by the operating system regardles

Página 266

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

Página 267

Section 8. Operation 339configured using DevConfig settings or SetStatus() instruction in a CRBasic program. Partition USR: drive to at least 11264

Página 268

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

Página 269

Section 8. Operation 3408.3.1.1.5 CRD: Drive CRD: drive uses CompactFlash® (CF) memory cards exclusively. Its primary purpose is the storage of b

Página 270

Section 8. Operation 341then copy a small file to the card, and then delete the file (while still in the PC). Copying the file to the freshly form

Página 271 - 7.8.19 Running Average

Section 8. Operation 342Table 81. TableFile()-Instruction Data-File Formats Elements Included TableFile() Format Option Base File Format Heade

Página 272

Section 8. Operation 343<os-version>CR1000.Std.20</os-version> <dld-name>CPU:file format.CR1</dld-name> </environment>

Página 273

Section 8. Operation 344willberepresentedbyfourfieldnames:“values(1,1)”,“values(1,2)”,“values(2,1)”,and“values(2,2)”.Scalar(non‐arr

Página 274

Section 8. Operation 345Read More! More information on string variable-memory use and conservation is available in String Operations (p. 241). 8.3

Página 275

Section 8. Operation 346associated with the program are erased. Drive formatting is performed through datalogger support software (p. 571) Format

Página 276

Section 8. Operation 347Table 82. File-Control Functions File-Control Functions Accessed Through Create a data file from a data table TableFile()6

Página 277

Section 8. Operation 348Table 83. CR3000 File Attributes Attribute Function Attribute for Programs Sent to CR3000 with: Run Now Runs only when

Página 278

Section 8. Operation 349in the file automatically uploading to the CR3000 and running. Powerup.ini options also allow final-data storage managemen

Página 279 - Section 8. Operation

Section 4. Quickstart Tutorial 35 Figure 2: Wiring panel 4.1.2.2 Power Supply The CR3000 is powered by a nominal 12 Vdc source. Acceptable power

Página 280 - 8.1.2 Voltage

Section 8. Operation 350powerup.ini file in the CR3000 with the integrated keyboard / display to see what the CR3000 actually sees. Comments can

Página 281 - 8.1.2.1 Input Limits

Section 8. Operation 351• Command 6 Copies the specified program to the designated drive and sets the run attribute of the program to Run Now. Da

Página 282 - 8.1.2.2 Reducing Error

Section 8. Operation 352 Powerup.ini Example 'Run a program file now, erase data now. 14,run.cr1,cpu:  8.3.4.4 File Management Q & A Q:

Página 283 - 8.1.2.3 Measurement Sequence

Section 8. Operation 353Table 85. File System Error Codes Error Code Description 16 Root directory is full 17 Bad file ptr (pointer) or device not

Página 284 - 8.1.2.4 Measurement Accuracy

Section 8. Operation 3548.4 Telecommunications and Data Retrieval Telecommunications, in the context of CR3000 operation, is the movement of info

Página 285

Section 8. Operation 355Satellite System Satellite Transceiver RF CompactFlash® (CF) card Direct connect through CF module connected to periphera

Página 286 - 8.1.2.5 Voltage Range

Section 8. Operation 356Though usually unnoticed, a short burst of SDC communication occurs at power-up and other times when the datalogger is re

Página 287 - (p. 286) )

Section 8. Operation 357• Leaf nodes are measurement devices at the end of a branch of the PakBus® web. o Leaf nodes can be linked to any router.

Página 288

Section 8. Operation 358Table 87. PakBus Leaf-Node and Router Device Configuration Network Device Description PakBus Leaf Node PakBus Router PakB

Página 289 - 8.1.2.7 Integration

Section 8. Operation 359• hello-request • CVI • beacon To form a network, nodes must establish links with neighbors (neighbors are adjacent node

Página 290 - (p. 290)

Section 4. Quickstart Tutorial 364.1.3 Sensors Most electronic sensors, whether or not manufactured or sold by Campbell Scientific, can be interf

Página 291 - 8.1.2.8 Signal Settling Time

Section 8. Operation 3608.5.3.6 Maintaining Links Links are maintained by means of the CVI (communications verification interval). The CVI can be

Página 292 - (p. 292), and are

Section 8. Operation 361Hence, the size of the responses to the file-receive commands that the CR3000 sends is governed by the Max Packet Size sett

Página 293 - (p. 114)

Section 8. Operation 362 Figure 112: Flat Map Figure 113: Tree Map 8.5.6 PakBus LAN Example To demonstrate PakBus® networking, a small LAN (L

Página 294 - Section 8. Operation

Section 8. Operation 363 Figure 114: Configuration and wiring of PakBus LAN 8.5.6.2 LAN Setup Configure CR3000s before connecting them to the LAN

Página 295 - 8.1.2.9 Self-Calibration

Section 8. Operation 364 Figure 115: DevConfig Deployment | Datalogger tab Figure 116: DevConfig Deployment | ComPorts Settings tab

Página 296 - (p. 296)

Section 8. Operation 365 Figure 117: DevConfig Deployment | Advanced tab Table 89. PakBus-LAN Example Datalogger-Communications Settings Softwar

Página 297

Section 8. Operation 3668.5.6.3 LoggerNet Setup Figure 118: LoggerNet Network-Map Setup: COM port In LoggerNet Setup, click Add Root and add a

Página 298

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

Página 299

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

Página 300 - (p. 300) and Resistive

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

Página 301

Section 4. Quickstart Tutorial 37 Table 1. Single-Ended and Differential Input Channels Differential Channel Single-Ended Channel 1H 1 1L 2 2H

Página 302

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

Página 303 - 8.1.3.1 ac Excitation

Section 8. Operation 3718.6.1.2.3 Programming for Data-Acquisition As shown in CRBasic example Implementation of DNP3 (p. 371), program the CR3000

Página 304

Section 8. Operation 372 Scan(1,Sec,1,0) 'Wind Speed & Direction Sensor measurements WS_ms and WindDir: PulseCount(WindSpd,1,1,

Página 305 - 8.1.3.3 Strain Calculations

Section 8. Operation 373 Table 91. Modbus to Campbell Scientific Equivalents Modbus Domain Data Form Campbell Scientific Domain Coils Single Bi

Página 306 - 8.1.4 Thermocouple

Section 8. Operation 374 8.6.2.3 Programming for Modbus 8.6.2.3.1 Declarations Table CRBasic Ports, Flags, Variables, and Modbus Registers (p. 37

Página 307 - 8.1.4.1 Error Analysis

Section 8. Operation 3758.6.2.3.3 Addressing (ModbusAddr) Modbus devices have a unique address in each network. Addresses range from 1 to 247. Addr

Página 308 - (p. 310)

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

Página 309

Section 8. Operation 377 Scan(1,Sec,0,0) 'In the case of the CR3000 being the ModBus master then the 'ModbusMaster instruction w

Página 310

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

Página 311

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

Página 312 - (p. 313)

Section 4. Quickstart Tutorial 38• A specific resistance in a pressure transducer strain gage correlates to a specific water pressure. • A chan

Página 313

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

Página 314

Section 8. Operation 381Table 95. BrowseSymbols API Command Parameters uri Optional. Specifies the URI (p. 472) for the data source. When queryin

Página 315

Section 8. Operation 382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

Página 316 - (p. 315) and Reference

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

Página 317 - (p. 307) show that the

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

Página 318 - 8.1.5 Pulse

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

Página 319

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

Página 320

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

Página 321 - (p. 562) for information

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

Página 322 - (p. 327)

Section 8. Operation 389"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,

Página 323 - (p. 323), digital

Section 4. Quickstart Tutorial 39 4.1.3.2.2 Current Excitation Resistance can be determined by supplying a precise current and measuring the return

Página 324 - 0.05 0.5 1

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

Página 325 - (p. 325)

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

Página 326 - (p. 326) footnote

Section 8. Operation 392 </tr> </table> </body> </html> XML Response When xml is entered in the SetValueEx format par

Página 327 - 8.1.6 Period Averaging

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

Página 328 - 8.1.7 SDI-12 Recording

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

Página 329 - 8.1.10 Cabling Effects

Section 8. Operation 395time Specifies the current value of the CR3000 real-time clock2. This value will only be valid if the value of outcome is s

Página 330 - 8.1.10.5 SDI-12 Sensors

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

Página 331

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

Página 332 - , www.campbellsci.com, or

Section 8. Operation 398 Table 105. FileControl API Command Parameters action 1 — Compile and run the file specified by file and mark it as the p

Página 333 - 8.2.4 Control Outputs

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

Página 335 - 8.3.1 Storage Media

Section 4. Quickstart Tutorial 40 Figure 8: Pulse-sensor output signal types 4.1.3.3.2 Pulse-Input Channels Table Pulse-Input Channels and Meas

Página 336

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

Página 337 - Table 79. CR3000 SRAM Memory

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

Página 338 - 8.3.1.1 Data Storage

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

Página 339

Section 8. Operation 403 path="CPU:lights-web.cr1" last_write="yyyy-mm-ddThh:mm:ss.xxx" size="16994" r

Página 340 - (p. 352) for

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

Página 341

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

Página 342 - (p.473)

Section 8. Operation 406 Figure 121: Using the keyboard / display

Página 343 - format.

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

Página 344 - 8.3.2 Memory Conservation

Section 8. Operation 4088.8.1.1 Real-Time Tables and Graphs Figure 123: Real-time tables and graphs 8.8.1.2 Real-Time Custom The integrated key

Página 345 - 8.3.3 Memory Reset

Section 8. Operation 409 Figure 124: Real-time custom

Página 346 - 8.3.4 File Management

Section 4. Quickstart Tutorial 41result. Some switch-closure sensors may require a pull-up resistor. Consult figure Connecting Switch Closures to

Página 347 - 8.3.4.1 File Attributes

Section 8. Operation 4108.8.1.3 Final-Storage Tables Figure 125: Final-storage tables

Página 348 - 8.3.4.2 Data Preservation

Section 8. Operation 4118.8.2 Run/Stop Program Figure 126: Run/Stop Program

Página 349 - (p. 456) command

Section 8. Operation 4128.8.3 File Display Figure 127: File display 8.8.3.1 File: Edit The CRBasic Editor is recommended for writing and editin

Página 350 - (p. 458) or

Section 8. Operation 413 Figure 128: File: edit

Página 351

Section 8. Operation 4148.8.4 PCCard (CF Card) Display Figure 129: PCCard (CF Card) display 8.8.5 Ports and Status Read More! See the appendix

Página 352 - 8.3.6 File System Errors

Section 8. Operation 415 8.8.6 Settings Figure 131: Settings 8.8.6.1 Set Time / Date Move the cursor to time element and press Enter to change it

Página 353 - 8.3.7 Memory Q & A

Section 8. Operation 4168.8.7 Configure Display Figure 132: Configure display 8.9 Program and OS File Compression Q: What is Gzip? A: Gzip is t

Página 354 - (p. 354) lists

Section 8. Operation 417Q: Does my CR3000 support Gzip? A: Version 25 of the standard CR3000 operating system supports receipt of Gzip compressed p

Página 355 - 8.4.2 Protocols

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

Página 356 - 8.5 PakBus Overview

Section 8. Operation 4198.10 CF Cards & Records Number The number of records in a data table when CardOut() or TableFile() with Option 64 is us

Página 357 - for a table of available

Section 4. Quickstart Tutorial 42 Figure 11: Use of RS-232 and digital I/O when reading RS-232 devices 4.1.4 Digital I/O Ports The CR3000 has e

Página 358 - (p. 356) ):

Section 8. Operation 420the CPU buffer before final-data storage stops altogether, resulting in a few more records than advertised able to be col

Página 359 - 8.5.3.5 Adjusting Links

421Section 9. Maintenance Temperature and humidity can affect the performance of the CR3000. The internal lithium battery must be replaced periodi

Página 360 - 8.5.4 PakBus Troubleshooting

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

Página 361 - 8.5.4.3 Traffic Flow

Section 9. Maintenance 423 Figure 134: Remove back cover retainer screw Invert the module onto a non-abrasive surface. Remove the five cover ret

Página 362 - 8.5.6 PakBus LAN Example

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

Página 363 - 8.5.6.2 LAN Setup

Section 9. Maintenance 425write this number clearly on the outside of the shipping container. Campbell Scientific's shipping address is: CAMP

Página 364

Section 9. Maintenance 426 

Página 365

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

Página 366 - 8.5.6.3 LoggerNet Setup

Section 10. Troubleshooting 42810.3.1.1 CompileResults Reports messages generated by the CR3000 at program upload and compile-time. A message wil

Página 367 - (p. 367), set the

Section 10. Troubleshooting 429Table 113. Warning Message Examples Example of Warning Message Meaning Warning: Machine self-calibration failed. I

Página 368 - 8.5.7 PakBus Encryption

Section 4. Quickstart Tutorial 43 4.1.5 SDM Channels SDM (Serial Device for Measurement) devices expand the input and output capacity of the CR3000

Página 369 - 8.6.1 DNP3

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

Página 370 - (p.371),line24.

Section 10. Troubleshooting 43110.3.1.8.2 Watchdoginfo.txt File A CPU: WatchdogInfo.txt file is created on the CPU: drive when the CR3000 experienc

Página 371 - (p. 371), program the

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

Página 372 - 8.6.2 Modbus

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

Página 373

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

Página 374 - (p. 374) shows the

Section 10. Troubleshooting 435 10.4 Communications 10.4.1 RS-232 Baud rate mis-match between the CR3000 and datalogger support software is often t

Página 375 - 8.6.2.4 Troubleshooting

Section 10. Troubleshooting 436CommsMemFree(1) = tiny + lil*100 + mid*10000 + med*1000000 + lrg*100000000 where, tiny=numberof16‐bytepackets

Página 376 - 8.6.2.6 Modbus tidBytes

Section 10. Troubleshooting 437 Table 117. CommsMemFree(1) Defaults and Use Example, TLS Active Example Buffer Category Condition: res

Página 377 - 8.6.3 Web Service API

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

Página 378 - 8.6.3.2 Command Syntax

Section 10. Troubleshooting 43910.5.2 Troubleshooting Power at a Glance Symptoms: PossiblesymptomsincludetheCR3000programnotexecuting;Low12

Página 379 - (p. 380)

Section 4. Quickstart Tutorial 444.2.2 Hardware Setup Note The thermocouple is attached to the CR3000 later. 4.2.2.1 Internal Power Supply With

Página 380 - 8.6.3.4 Data Management

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

Página 381 - section

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

Página 382

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

Página 383

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

Página 384

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

Página 385 - (p. 380) for format

Section 10. Troubleshooting 445 Figure 136: Potentiometer R3 on PS100 and CH100 Charger / Regulator 10.6 Terminal Emulator CR3000 terminal mode i

Página 386

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

Página 387 - XML Response

Section 10. Troubleshooting 447Table 118. CR3000 Terminal Commands Option Description Use REBOOT Program recompile Typing “REBOOT” rapidly will r

Página 388

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

Página 389

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

Página 390 - 8.6.3.5 Control

Section 4. Quickstart Tutorial 455. Attach the black wire from the PS100 to the terminal labeled G on the green connector. 6. After confirming th

Página 391

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

Página 392 - 8.6.3.6 Clock Functions

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

Página 393

Section 11. Glossary 452CompactFlashCompactFlash®(CF)isamemory‐cardtechnologyutilizedbyCampbellScientificcard‐storagemodules.Compac

Página 394

Section 11. Glossary 453CRBasicEditorCompile,SaveandSendCRBasicEditormenucommandthatcompiles,saves,andsendstheprogramtothedatalo

Página 395

Section 11. Glossary 454DCEDatacommunicationsequipment.Whilethetermhasmuchwidermeaning,inthelimitedcontextofpracticalusewithth

Página 396 - 8.6.3.7 Files Management

Section 11. Glossary 455DTEDataterminalequipment.Whilethetermhasmuchwidermeaning,inthelimitedcontextofpracticalusewiththeCR300

Página 397 - (p. 76) Connect screen

Section 11. Glossary 456executiontimeTimerequiredtoexecuteaninstructionorgroupofinstructions.Iftheexecutiontimeofaprogramexcee

Página 398

Section 11. Glossary 457FP2Two‐bytefloating‐pointdatatype.DefaultCR3000datatypeforstoreddata.WhileIEEEfour‐bytefloatingpointisuse

Página 399

Section 11. Glossary 458HertzAbbreviated"Hz."Unitoffrequencydescribedascyclesorpulsespersecond. HTMLHypertextMarkupLang

Página 400

Section 11. Glossary 459intermediatestorageTheportionofmemoryallocatedforthestorageofresultsofintermediatecalculationsnecessaryfor

Página 401 - HTML page source:

Section 4. Quickstart Tutorial 46 Figure 15: PC200W main window Table 3. PC200W EZSetup Wizard Example Selections Start the wizard to follow t

Página 402

Section 11. Glossary 460loopAseriesofinstructionsinaprogramthatarerepeatedaprescribednumberoftimesandfollowedbyan"end&qu

Página 403

Section 11. Glossary 461multi‐meterAninexpensiveandreadilyavailabledeviceusefulintroubleshootingdata‐acquisitionsystemfaults. multiple

Página 404 - 8.7 Support Software

Section 11. Glossary 462offsetaterm,oftenaparameterinaCRBasicmeasurementinstruction,todesignatethey‐intercept,shiftingfactor,or

Página 405

Section 11. Glossary 463outputprocessinginstructionsProcessdatavaluesandgenerateoutputarrays.Examplesofoutputprocessinginstructionsi

Página 406

Section 11. Glossary 464PingAsoftwareutilitythatattemptstocontactanotherspecificdeviceinanetwork. PoissonRatioAratiousedinstr

Página 407 - 8.8.1 Data Display

Section 11. Glossary 465pulseAnelectricalsignalcharacterizedbyasuddenincreaseinvoltagefollowbyashortplateauandasuddenvoltagedec

Página 408 - 8.8.1.2 Real-Time Custom

Section 11. Glossary 466RS‐232RecommendedStandard232.Aloosestandarddefininghowtwocomputingdevicescancommunicatewitheachother.The

Página 409 - Figure 124: Real-time custom

Section 11. Glossary 467Thisistheprinciplebehindthermocoupletemperaturemeasurement.Italsocausessmall,correctablevoltageoffsetsinCR3

Página 410 - 8.8.1.3 Final-Storage Tables

Section 11. Glossary 468skippedscansOccurswhentheCR3000programistoolongforthescaninterval.Skippedscanscancauseerrorsinpulsem

Página 411 - 8.8.2 Run/Stop Program

Section 11. Glossary 469StationStatuscommandAcommandavailableinmostdataloggersupportsoftwareavailablefromCampbellScientific.Thefol

Página 412 - 8.8.3 File Display

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

Página 413 - Figure 128: File: edit

Section 11. Glossary 470supportsoftwareIncludesPC200W,PC400,RTDAQ,LoggerNet,andLoggerNetclients.BriefdescriptionsarefoundinDatalo

Página 414 - 8.8.5 Ports and Status

Section 11. Glossary 471terminalemulatorisavailableinmostdataloggersupportsoftwareavailablefromCampbellScientific. thermistorAthermi

Página 415 - 8.8.6 Settings

Section 11. Glossary 472UserProgramTheCRBasicprogramwrittenbytheCR3000userintheCRBasicEditorortheShortCutprogramgenerator. US

Página 416 - 8.8.7 Configure Display

Section 11. Glossary 473watchdogtimerAnerror‐checkingsystemthatexaminestheprocessorstate,softwaretimers,andprogram‐relatedcounterswh

Página 417

Section 11. Glossary 474group of measurements. Resolution is a measure of the fineness of a measurement. Together, the three define how well a da

Página 418 - Large program 32,157 7,085

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

Página 419 - (p. 76), the

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

Página 420

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

Página 421 - Section 9. Maintenance

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

Página 422 - Capacity 1.2 Ah

Appendix A. CRBasic Programming Instructions 479TableFileWritesafilefromadatatabletoaCR3000memorydrive.SyntaxTableFile("FileName

Página 423

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

Página 424 - 9.3 Repair

Appendix A. CRBasic Programming Instructions 480MomentStoresthemathematicalmomentofavalueovertheoutputinterval.SyntaxMoment(Reps, So

Página 425

Appendix A. CRBasic Programming Instructions 481WindVectorProcesseswindspeedanddirectionfromeitherpolarororthogonalsensors.Tosaveproc

Página 426

Appendix A. CRBasic Programming Instructions 482CallTableCallsadatatable,typicallyforoutputprocessing.SyntaxCallTable [TableName] Delay

Página 427 - Section 10. Troubleshooting

Appendix A. CRBasic Programming Instructions 483 -or- If [condition 1] Then [then statements] ElseIf [condition 2] Then [elseif then statement

Página 428 - 10.3.1.1 CompileResults

Appendix A. CRBasic Programming Instructions 484TriggerSequenceUsedwithWaitTriggerSequencetocontroltheexecutionofcodewithinaslowsequ

Página 429 - 10.3.1.4 SkippedRecord

Appendix A. CRBasic Programming Instructions 485SemaphoreGetAcquiressemaphore(p.467)1‐3toavoidresourceconflicts.SyntaxSemaphoreGet() Sem

Página 430 - 10.3.1.8 WatchdogErrors

Appendix A. CRBasic Programming Instructions 486PanelTempThisinstructionmeasuresthepaneltemperaturein°C.SyntaxPanelTemp(Dest, Integ) Si

Página 431

Appendix A. CRBasic Programming Instructions 487BrFull6WMeasuresratioofVdiff2/Vdiff1ofasix‐wirefull‐bridge.Reports1000*(Vdiff2/Vdif

Página 432 - 10.3.4 NAN and ±INF

Appendix A. CRBasic Programming Instructions 488SW12Setsaswitched12‐Vdcterminalhighorlow.SyntaxSW12(State) A.5.6 Pulse and Frequency R

Página 433

Appendix A. CRBasic Programming Instructions 489 A.5.7.1 Control PortSetSetsthespecifiedporthighorlow.SyntaxPortSet(Port, State) PulsePort

Página 434

Section 4. Quickstart Tutorial 49 Figure 17: Short Cut thermocouple wiring 4.2.4.3 Procedure: (Short Cut Steps 10 to 11) Historical Note In the

Página 435 - 10.4 Communications

Appendix A. CRBasic Programming Instructions 490A.5.9 Specific Sensors ACPowerMeasuresrealacpowerandpower‐qualityparametersforsingle‐,s

Página 436

Appendix A. CRBasic Programming Instructions 491GPSUsedwithaGPSdevicetokeeptheCR3000clockcorrectorprovideotherinformationfromtheG

Página 437 - 10.4.3.3 CommsMemFree(3)

Appendix A. CRBasic Programming Instructions 492A.5.9.1 Wireless Sensor Network ArrayIndexReturnstheindexofanamedelementinanarray.Synt

Página 438 - 10.5 Power Supplies

Appendix A. CRBasic Programming Instructions 493CDM_VW300ConfigConfigurestheCDM_VW300DynamicVibratingWireModule.SyntaxCDM_VW300Config(Devi

Página 439 - 10.5.3.1 Battery Test

Appendix A. CRBasic Programming Instructions 494SDMCD16ACControlsanSDM‐CD16AC,SDM‐CD16,orSDM‐CD16Dcontroldevice.SyntaxSDMCD16AC(Source,

Página 440

Appendix A. CRBasic Programming Instructions 495SDMTriggerSynchronizewhenSDMmeasurementsonallSDMdevicesaremade.SyntaxSDMTrigger SDMX50

Página 441 - OFF and allow

Appendix A. CRBasic Programming Instructions 496+ Add - Subtract = Equal to <> Not equal to > Greater than < Less than >

Página 442 - (p. 3)

Appendix A. CRBasic Programming Instructions 497>>BitwiserightshiftSyntaxVariable = Numeric Expression >> Amount &BitwiseAND

Página 443 -

Appendix A. CRBasic Programming Instructions 498EQVPerformsalogicalequivalenceontwoexpressions.Syntaxresult = expr1 EQV expr2 NOTPerfor

Página 444 - Section 10. Troubleshooting

Appendix A. CRBasic Programming Instructions 499Table 121. Derived Trigonometric Functions Function CRBasic Equivalent Hyperbolic Cotangent HCotan

Página 445 - 10.6 Terminal Emulator

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

Página 446 - (p. 446)

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

Página 447

Appendix A. CRBasic Programming Instructions 500SINHReturnsthehyperbolicsineofanexpressionorvalue.Syntaxx = SINH(Expr) TANReturnsthe

Página 448

Appendix A. CRBasic Programming Instructions 501 INTDVPerformsanintegerdivisionoftwonumbers.SyntaxX INTDV Y LNorLOGReturnsthenatural

Página 449 - Section 11. Glossary

Appendix A. CRBasic Programming Instructions 502A.6.8 Integrated Processing DewPointCalculatesdewpointtemperaturefromdrybulbandrelative

Página 450 - (p.461)

Appendix A. CRBasic Programming Instructions 503CovSpaComputesthespatialcovarianceofsetsofdata.SyntaxCovSpa(Dest, NumOfCov, SizeOfSets, C

Página 451 - (p.451).

Appendix A. CRBasic Programming Instructions 504of the array. The results will be a running aerage of a spatial average on the various source ar

Página 452 - (p.470).

Appendix A. CRBasic Programming Instructions 505A.7 String Functions Read More! See String Operations (p. 241) & Concatenates string variables

Página 453

Appendix A. CRBasic Programming Instructions 506CheckSumReturnsachecksumsignatureforthecharactersinastring.SyntaxVariable = CheckSum(

Página 454

Appendix A. CRBasic Programming Instructions 507LenReturnsthenumberofbytesinastring.SyntaxVariable = Len(StringVar) LowerCaseConvertsa

Página 455

Appendix A. CRBasic Programming Instructions 508TrimReturnsacopyofastringwithnoleadingortrailingspaces.Syntaxvariable = Trim(TrimSt

Página 456 - (p. 76)

Appendix A. CRBasic Programming Instructions 509IfTimeReturnsanumberindicatingTrue(‐1)orFalse(0)basedonthedatalogger'sreal‐time

Página 457

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

Página 458 - (p.542).

Appendix A. CRBasic Programming Instructions 510VoiceBeg,EndVoiceMarksthebeginningandendingofvoicecodeexecutedwhentheCR3000detects

Página 459 - (p.171)and

Appendix A. CRBasic Programming Instructions 511Figure Custom Menu Example (p. 70) shows windows from a simple custom menu named DataView. DataView

Página 460 - (p. 569) ) to

Appendix A. CRBasic Programming Instructions 512SubMenu/EndSubMenuDefinethebeginningandendingofasecond‐levelmenuforacustommenu.Sy

Página 461 - (p.463).

Appendix A. CRBasic Programming Instructions 513SerialInRecordReadsincomingserialdataonaCOMportandstoresthedatainadestinationvariab

Página 462 - (p.97)software.Themost

Appendix A. CRBasic Programming Instructions 514• Com2 (C3,C4) • Com3 (C5,C6) • Com4 (C7,C8) • Com32 – Com46 (available when using a single-c

Página 463 - Battery(BattV)

Appendix A. CRBasic Programming Instructions 515DialSequence/EndDialSequenceDefinesthecodenecessarytoroutepacketstoaPakBusdevice.Synt

Página 464 - (p.464).

Appendix A. CRBasic Programming Instructions 516RoutesReturnsalistofknowndynamicroutesforaPakBusdataloggerthathasbeenconfiguredas

Página 465

Appendix A. CRBasic Programming Instructions 517 Table 122. Asynchronous-Port Baud Rates -nnnn (autobaud1 starting at nnnn) 0 (autobaud starting a

Página 466

Appendix A. CRBasic Programming Instructions 518MoveMovesthevaluesinarangeofvariablesintodifferentvariablesorfillsarangeofvariab

Página 467 - (p.76).TheSend

Appendix A. CRBasic Programming Instructions 519FileOpenOpensanASCIItextfileorabinaryfileforwritingorreading.SyntaxFileHandle = File

Página 468

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

Página 469

Appendix A. CRBasic Programming Instructions 520RunProgramRunsadataloggerprogramfilefromtheactiveprogramfile.SyntaxRunProgram("D

Página 470 - (p.452).

Appendix A. CRBasic Programming Instructions 521TableName.RecordDeterminestherecordnumberofaspecificdatatablerecord.SyntaxTableName.Rec

Página 471

Appendix A. CRBasic Programming Instructions 522EMailSendSendsanemailmessagetooneormoreemailaddressesviaanSMTPserver.Syntaxvariab

Página 472

Appendix A. CRBasic Programming Instructions 523IPTraceWritesIPdebugmessagestoastringvariable.SyntaxIPTrace(Dest) NetworkTimeProtocolSyn

Página 473 - 11.2 Concepts

Appendix A. CRBasic Programming Instructions 524 HTTPOut("<p>html string to output " + variable + " additional string to ou

Página 474 - (p. 473) shows

Appendix A. CRBasic Programming Instructions 525DNPUpdateDetermineswhentheDNPslavewillupdatearraysofDNPelements.Specifiestheaddresso

Página 475 - Instructions

Appendix A. CRBasic Programming Instructions 526NewFieldCalTriggersstorageofFieldCalvalueswhenanewFieldCalfilehasbeenwritten.Syntax

Página 476 - (p.171).

Appendix A. CRBasic Programming Instructions 527A.20.2 GOES GOESDataSendsdatatoaCampbellScientificGOESsatellitedatatransmitter.SyntaxGO

Página 477 - A.2 Data-Table Declarations

Appendix A. CRBasic Programming Instructions 528A.20.4 INMARSAT-C INSATDataSendsatableofdatatotheOMNISAT‐Itransmitterfortransmissionv

Página 478 - A.2.2 Data Destinations

529Appendix B. Status Table and Settings The CR3000 Status table contains system operating-status information accessible via the integrated keyboa

Página 479 - A.2.3.1 Single-Source

Section 4. Quickstart Tutorial 53CR3000. To view the OneMin table, select an empty cell in the display area, then click Add. 4.2.5.3 Procedure:

Página 480 - A.2.3.2 Multiple-Source

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

Página 481 - (p. 193)

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

Página 482

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

Página 483

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

Página 484

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

Página 485 - A.5 Measurement Instructions

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

Página 486 - A.5.3 Thermocouples

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

Página 487 - A.5.5 Excitation

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

Página 488 - A.5.7 Digital I/O

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

Página 489 - A.5.8 SDI-12

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

Página 490 - A.5.9 Specific Sensors

Section 4. Quickstart Tutorial 54 Figure 23: PC200W Collect Data tab 4.2.5.5 Procedure: (PC200W Steps 7 to 9) 7. Click the OneMin box so a chec

Página 491

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

Página 492

Appendix B. Status Table and Settings 5419 If no user-entered SlowSequence scans are programmed, this variable is not listed in the table. If multi

Página 493

Appendix B. Status Table and Settings 542 Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration U

Página 494

Appendix B. Status Table and Settings 543Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util

Página 495 - A.6.2 Arithmetic Operators

Appendix B. Status Table and Settings 544Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut

Página 496 - A.6.3 Bitwise Operators

Appendix B. Status Table and Settings 545Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util

Página 497 - A.6.5 Logical Operators

Appendix B. Status Table and Settings 546Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut

Página 498 - A.6.6.1 Derived Functions

Appendix B. Status Table and Settings 547Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util

Página 499 - A.6.6.2 Intrinsic Functions

Appendix B. Status Table and Settings 548Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut

Página 500 - A.6.7 Arithmetic Functions

Appendix B. Status Table and Settings 549Table 125. CR3000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util

Página 501

Section 4. Quickstart Tutorial 55 Figure 24: PC200W View data utility 4.2.5.6 Procedure: (PC200W Steps 10 to 11) 10. Click on to open a file fo

Página 502 - A.6.9 Spatial Processing

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

Página 503 - A.6.10 Other Functions

551Appendix C. Serial Port Pinouts C.1 CS I/O Communications Port Pin configuration for the CR3000 CS I/O port is listed in table CS I/O Pin Descr

Página 504 - A.6.10.1 Histograms

Appendix C. Serial Port Pinouts 552as a connection to a computer DTE device. A standard DB9-to-DB9 cable can connect the computer DTE device to t

Página 505 - A.7 String Functions

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

Página 506

Appendix C. Serial Port Pinouts 554

Página 507

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

Página 508 - A.8 Clock Functions

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

Página 509 - A.9 Voice-Modem Instructions

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

Página 510

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

Página 511

559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

Página 512 - A.11 Serial Input / Output

Section 4. Quickstart Tutorial 56 Figure 25: PC200W View data table 4.2.5.7 Procedure: (PC200W Steps 12 to 13) 12. Click on any data column. T

Página 513

Appendix E. FP2 Data Format 560

Página 514 - Broadcast(ComPort, Message)

561Appendix F. Other Campbell Scientific Products Campbell Scientific products expand the measurement and control capability of the CR3000. Consu

Página 515

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

Página 516

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

Página 517 - A.13 Variable Management

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

Página 518 - A.14 File Management

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

Página 519

Appendix F. Other Campbell Scientific Products 566CR3000 acting as a master, peer, or slave. Dataloggers communicate in a network via PakBus®, Mo

Página 520

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

Página 521 - A.16 Information Services

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

Página 522

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

Página 523

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

Página 524 - A.18 SCADA

Appendix F. Other Campbell Scientific Products 570F.8.4 Telephone m Table 157. Telephone Modems Model Description COM220 9600 baud COM320 9600

Página 525 - A.19 Calibration Functions

Appendix F. Other Campbell Scientific Products 571 Table 161. CF-Card Storage Module Model Description CFM100 CF card slot only NL115 Network lin

Página 526 - A.20 Satellite Systems

Appendix F. Other Campbell Scientific Products 572Table 163. Datalogger Support Software Software Compatibility Description RTDAQ PC, Windows Dat

Página 527 - A.20.3 OMNISAT

Appendix F. Other Campbell Scientific Products 573Table 164. LoggerNet Adjuncts and Clients1,2 Software Description RTMCRT Allows viewing and prin

Página 528 - A.21 User Defined Functions

Appendix F. Other Campbell Scientific Products 574Table 166. Software Development Kits Software Compatibility Description JAVA-SDK PC, Windows Al

Página 529 - (p. 97)

575Index 112VTerminal...6412‐VoltSupply ...935 5V‐

Página 530 - (p. 437) )

Index 576B BackgroundCalibration... 141,289,291,297,532Backup...

Página 531

Index 577CommunicationsMemoryFree...437,532CommunicationsPorts ...532CompactFlash ...

Página 532

Index 578DaylightSavingUS ... 510dc ... 455

Página 533

Index 579Expression‐String ...154ExtendedCommands‐‐SDI‐12 ...190ExternalPowerSupply

Página 534

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

Página 535

Index 580HelloRequest... 361Hertz ... 460

Página 536

Index 581J JunctionBox...320K KeyboardDisplay ...71,72,2

Página 537 - (p. 437)

Index 582Move ... 519MoveBytes ... 376,

Página 538

Index 583PCSupportSoftware...78PC200W ...45PDM ...

Página 539

Index 584Protection ... 77PRT ... 2

Página 540

Index 585SampleRate...468SampleFieldCal ...481,527Samp

Página 541

Index 586SkippedScan ... 136,429,470,532SkippedSlowScan...

Página 542 - Table 125. CR3000 Settings

Index 587TelnetSettings...544TemperatureRange...83TerminalEmulat

Página 543

Index 588VoiceSpeak... 511VoltMeter... 474Vol

Página 545

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

Página 546

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

Página 548

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

Página 549

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

Página 550

Section 5. System Overview 62The number of CAO terminals can be expanded with peripheral CAO devices available from Campbell Scientific. Refer t

Página 551 - C.2.1 Pin-Out

Section 5. System Overview 63• Peripheral 12 Vdc Power Source — 2 terminals (12V) and associated grounds (G) supply power to sensors and periphera

Página 552 - C.2.2 Power States

Section 5. System Overview 64the use of the keyboard display is available in the sections Read More! To implement custom menus, see CRBasic Edito

Página 553 - Connections*

Section 5. System Overview 65with an upper input voltage limit of 15 Vdc may be damaged if connected to a CR3000 that is powered by 16 Vdc. 5.1.5

Página 554

Section 5. System Overview 66Note Once a Short Cut generated program has been edited with CRBasic Editor, it can no longer be modified with Shor

Página 555

Section 5. System Overview 67 Data files from TableFile() instruction (TOA5, TOB1, CSIXML and CSIJSON) o Keep memory (OS variables not initializ

Página 556

Section 5. System Overview 68data this way, stop the CR3000 program to ensure data are not written to the card while data are retrieved; otherwis

Página 557

Section 5. System Overview 69• Routing — the CR3000 can act as a router, passing on messages intended for another logger. PakBus supports automati

Página 558

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

Página 559 - Appendix E. FP2 Data Format

Section 5. System Overview 70displays two values from CR3000 memory. PanelTemps shows the CR3000 wiring-panel temperature at each scan, and the o

Página 560

Section 5. System Overview 71Note All security features can be subverted through physical access to the CR3000. If absolute security is a require

Página 561 - Products

Section 5. System Overview 72HTTP: • Send datalogger programs. • View table data. • Get historical records or other files present on the datal

Página 562 - F.2 Sensor Input Modules

Section 5. System Overview 73Level 1 must be set before Level 2. Level 2 must be set before Level 3. If a level is set to 0, any level greater tha

Página 563

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

Página 564 - 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.9.5 Communication

Página 565 - F.5 Dataloggers

Section 5. System Overview 765.1.10.3 Calibration Read More! See Self-Calibration (p. 295). The CR3000 uses an internal voltage reference to rout

Página 566 - 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. •

Página 567 - F.6.4 Regulators

Section 5. System Overview 78 

Página 568 - F.7 Enclosures

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

Página 569 - F.8.3 Ethernet Link Devices

Table of Contents 84.2.5.6 Procedure: (PC200W Steps 10 to 11)... 55 4.2.5.7 Procedure: (PC200W Steps 12 to 13)...

Página 570 - F.9 Data Storage Devices

Section 6. CR3000 Specifications 80

Página 571 - F.10.1 Starter Software

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

Página 572 - F.10.2.1 LoggerNet Suite

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

Página 573 - F.10.3 Software Tools

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

Página 574

Section 7. Installation 847.4.3.2 Internal Batteries Internal-power supplies have a thermal fuse that limits source current and minimizes the nee

Página 575

Section 7. Installation 858. Check for normal datalogging function before leaving the site. Table 4. Alkaline Battery Service and Temperatures

Página 576

Section 7. Installation 86The charging source powers the CR3000 while float charging the batteries. The batteries power the CR3000 if the chargi

Página 577

Section 7. Installation 87Sealed Rechargeable-Battery Safety There are inherent hazards associated with the use of sealed rechargeable batteries.

Página 578

Section 7. Installation 88 Figure 31: Sealed rechargeable battery wiring 7.4.3.2.3 Low Profile (No Battery) Base A CR3000 with the low-profile

Página 579

Section 7. Installation 89 Figure 32: Connecting to vehicle power supply 7.4.5 Powering Sensors and Devices Read More! See Power Sources (p. 82).

Página 580

Table of Contents 9Section 7. Installation...81 7.1 Moisture Protection...

Página 581

Section 7. Installation 90Table 6. Current Source and Sink Limits Terminal Limit1 5V + CS I/O (combined)5 < 200 mA 1 "Source" is pos

Página 582

Section 7. Installation 91See Sensors Requiring Current Excitation (p. 330) for precautions when measuring resistances > 1000  or sensors with

Página 583

Section 7. Installation 92PortSet() is a measurement task instruction. Use it when powering analog input sensors that need to be powered just pri

Página 584

Section 7. Installation 93In laboratory applications, locating a stable earth ground is challenging, but still necessary. In older buildings, new a

Página 585

Section 7. Installation 94Note Lightning strikes may damage or destroy the CR3000 and associated sensors and power supplies. In addition to prot

Página 586

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

Página 587

Section 7. Installation 96CR3000. Despite being tied to the same ground, differences in current drain and lead resistance result in different gro

Página 588

Section 7. Installation 97 Figure 35: Model of a ground loop with a resistive sensor 7.6 CR3000 Configuration The CR3000 ships from Campbell Scie

Página 589

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

Página 590

Section 7. Installation 99 If problems are encountered with a 2 MB CR3000, sending the OS over a direct RS-232 connection is usually successful. S

Comentários a estes Manuais

Sem comentários