Campbell-scientific CR1000 Measurement and Control System Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Instrumentos de medida Campbell-scientific CR1000 Measurement and Control System. Campbell Scientific CR1000 Measurement and Control System User Manual Manual do Utilizador

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

Resumo do Conteúdo

Página 1 - Control System

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

Página 2

Table of Contents 107.7.3.4 Single-Line Declarations... 115 7.7.3.4.1 Variables...

Página 3 - Warranty

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

Página 4

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

Página 5 - Assistance

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

Página 6

Section 7. Installation 103 Figure 42: DevConfig Logger Control tab 7.6.3.2 Settings via CRBasic Some variables in the Status table can be reques

Página 7 - Table of Contents

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

Página 8

Section 7. Installation 105 Figure 44: "Include File" settings via PakBusGraph CRBasicExample1. Usingan"IncludeFile"t

Página 9

Section 7. Installation 106'<<<<<<<<<<<<<<<<<<<<<<<Note: No BeginProg I

Página 10

Section 7. Installation 1076. If there is no default.cr1 file or it cannot be compiled, the CR1000 will not automatically run any program. 7.6.3.

Página 11

Section 7. Installation 108• It does not understand distances or topography; that is, it does not warn the user when broadcast distances are exc

Página 12

Section 7. Installation 1097.7.1 Writing and Editing Programs 7.7.1.1 Short Cut Editor and Program Generator Short Cut is easy-to-use, menu-driven

Página 13

Table of Contents 117.8.2.5 FTP Client... 171 7.8.2.6 Telnet ...

Página 14

Section 7. Installation 1107.7.1.2.1 Inserting Comments into Program Comments are non-executable text placed within the body of a program to docu

Página 15

Section 7. Installation 111Regardless of the program-upload tool used, if any change occurs to data table structures listed in table Data Table Str

Página 16

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

Página 17

Section 7. Installation 113 Table 9. CRBasic Program Structure Declarations Define CR1000 memory usage. Declare constants, variables, aliases, unit

Página 18

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

Página 19 - List of Figures

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

Página 20

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

Página 21 - List of Tables

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

Página 22

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

Página 23

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

Página 24 - List of CRBasic Examples

Table of Contents 127.8.13.4 Inserting String Characters... 239 7.8.13.5 Extracting String Characters ...

Página 25

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

Página 26

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

Página 27 - Section 1. Introduction

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

Página 28

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

Página 29

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

Página 30

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

Página 31

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

Página 32

Section 7. Installation 127 Table 13. Typical Data Table TOA5 CR1000 CR1000 1048 CR1000.Std.13.06 CPU:Data.cr1 35723 OneMin TIMESTAMP RECO

Página 33 - 4.1.1.3 Data Retrieval

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

Página 34 - 4.1.2.1 Wiring Panel

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

Página 35 - 4.1.2.3 Backup Battery

Table of Contents 138.1.2.8.2 Measuring the Necessary Settling Time... 287 8.1.2.9 Self-Calibration...

Página 36 - 4.1.3 Sensors

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

Página 37 - 4.1.3.2 Bridge Sensors

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

Página 38 - 4.1.3.3 Pulse Sensors

Section 7. Installation 1327.7.3.5.2 Subroutines Read More! See Subroutines (p. 187) for more information on programming with subroutines. Subrou

Página 39

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

Página 40 - 4.1.3.4 RS-232 Sensors

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

Página 41 - 4.1.4 Digital I/O Ports

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

Página 42 - 4.1.5 SDM Channels

Section 7. Installation 136Table 17. Program Timing Instructions Instructions General Guidelines Syntax Form SubScan / NextSubScan Use when meas

Página 43 - 4.2.2 Hardware Setup

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

Página 44 - 4.2.3 PC200W Software Setup

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

Página 45

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

Página 46

Table of Contents 148.3.1.1 Data Storage... 332 8.3.1.1.1 Data Table SRAM ...

Página 47

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

Página 48

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

Página 49

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

Página 50

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

Página 51

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

Página 52

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

Página 53

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

Página 54

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

Página 55

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

Página 56

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

Página 57 - Section 5. System Overview

Table of Contents 158.6.2 Modbus... 367 8.6.2.1 Overview...

Página 58 - 5.1 CR1000 Datalogger

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

Página 59 - 5.1.2 Sensor Support

Section 7. Installation 1517.8 Programming Resource Library This library of notes and CRBasic code addresses a narrow selection of CR1000 applicati

Página 60 - 5.1.3 CR1000 Wiring Panel

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

Página 61 - 5.1.3.2 Voltage Outputs

Section 7. Installation 153 Mode Variable Interpretation > 0 and ≠ 6 calibration in progress < 0 calibration encountered an error 2 calibr

Página 62 - 5.1.3.4 Power Terminals

Section 7. Installation 154"offset"="y‐intercept"="zero""multiplier"="slope"="ga

Página 63 - 5.1.3.5 Communications Ports

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

Página 64 - 5.1.5 Power Requirements

Section 7. Installation 156 Table 23. Calibration Report for Salinity Sensor Parameter Parameter at Deployment Parameter at 7-Day Service mV outp

Página 65 - 5.1.6 Programming

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

Página 66 - 5.1.6.2 User Programming

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

Página 67 - 5.1.8 Data Retrieval

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

Página 68 - 5.1.9 Communications

Table of Contents 16Section 10. Troubleshooting...423 10.1 Status Table...

Página 69 - 5.1.9.3 DNP3 Communication

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

Página 70 - 5.1.10 Security

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

Página 71 - 5.1.10.1 Vulnerabilities

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

Página 72 - 5.1.10.2 Pass-code Lockout

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

Página 73

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

Página 74 - 5.1.10.3 Passwords

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

Página 75 - 5.1.10.7 Signatures

Section 7. Installation 166 Figure 52: Starting zero procedure Figure 53: Zero procedure finished 7.8.2 Information Services Support of infor

Página 76 - 5.1.11 Maintenance

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

Página 77 - (p. 569)

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

Página 78

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

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

Table of Contents 17A.2.2 Data Destinations... 476 A.2.3 Final Data Storage (Outp

Página 80

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

Página 81 - Section 7. Installation

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

Página 82 - 7.4 Power Sources

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

Página 83 - 7.4.3 Power Supplies

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

Página 84 - (p. 327)

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

Página 85 - to understand

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

Página 86 - 7.5 Grounding

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

Página 87

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

Página 88 - 7.5.1.1 Lightning Protection

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

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

Section 7. Installation 179Table 26. SDI12Recorder() Commands SDIRecorder() Instruction SDICommand Entry Actions Internal to CR1000 and Sensor 2U

Página 90

Table of Contents 18A.21 User Defined Functions... 525 Appendix B. Status Table an

Página 91

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

Página 92 - 7.6 CR1000 Configuration

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

Página 93

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

Página 94 - (p. 95), when the

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

Página 95 - command. Beginning

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

Página 96 - 7.6.3 Settings

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

Página 97

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

Página 98

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

Página 99 - (p. 101), the

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

Página 100

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

Página 101

Table of Contents 19F.10.3 Software Tools ... 571 F.10.4 Software Development K

Página 102

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

Página 103 - 7.6.3.3 Durable Settings

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

Página 104

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

Página 105 - (p. 105)

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

Página 106

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

Página 107 - 7.6.3.5 Network Planner

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

Página 108 - 7.7 Programming

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

Página 109 - 7.7.1.2 CRBasic Editor

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

Página 110 - 7.7.2 Sending Programs

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

Página 111

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

Página 113 - Section 7. Installation

Table of Contents 20Figure 49: Quarter-bridge strain-gage schematic with RC-resistor shunt... 163 Figure 50: Strain-gage shunt calibration started...

Página 114 - 7.7.3.3 Command Line

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

Página 115

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

Página 116 - (p. 117) shows

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

Página 117

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

Página 118 - (p. 236)

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

Página 119 - Table 10. Data Types

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

Página 120

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

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

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

Página 122 - (p. 442) )

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

Página 123

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

Página 124 - (p. 201) )

Table of Contents 21Figure 104: Current limiting resistor in a rain gage circuit ... 325 Figure 105: Control port current sourci

Página 125 - 7.7.3.5 Declared Sequences

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

Página 126 - (p. 127)

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

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

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

Página 128 - (p. 131) )

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

Página 129 - (p.414)).

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

Página 130 - (p. 273)

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

Página 131

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

Página 132

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

Página 133 - (p. 133)

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

Página 134 - 4. Processing tasks

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

Página 135 - 7.7.3.7 Execution Timing

Table of Contents 22Table 19. Binary Conditions of TRUE and FALSE... 146 Table 20. Logical Expression Examples ...

Página 136 - (p. 136):

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

Página 137 - (p. 289)

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

Página 138

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

Página 139 - 7.7.3.8 Instructions

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

Página 140 - (p. 140)

Section 7. Installation 224produce a time stamp that may be accessed from the program after being written to a data table. The time of other even

Página 141

Section 7. Installation 225 CRBasicExample44. NSEC—TwoElementTimeArray'TimeStamp is retrieved into variables TimeOfMaxVar(1) and Tim

Página 142 - 7.7.3.9 Expressions

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

Página 143 - (p. 150) shows

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

Página 144

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

Página 145

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

Página 146 - (p. 146) demonstrate

Table of Contents 23Table 71. Frequency Resolution Comparison... 319 Table 72. Example of Differing Specific

Página 147 - (p. 147) demonstrates

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

Página 148

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

Página 149

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

Página 150 - 7.7.4 Tips

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

Página 151 - 7.8.1.2 CRBasic Programming

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

Página 152

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

Página 153 - (p. 454) menu commands to

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

Página 154 - (p. 155) to the

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

Página 155

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

Página 156 - (p. 156)

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

Página 157

Table of Contents 24Table 125. Standard Null-Modem Cable or Adapter-Pin Connections*... 551 Table 126. FP2 Data-Format Bit Descriptions...

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

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

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

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

Página 160

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

Página 161 - (p. 161) to

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

Página 162

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

Página 163 - (p. 164) as a program to

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

Página 164

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

Página 165 - (p. 166)

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

Página 166 - 7.8.2 Information Services

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

Página 167 - (p. 168), this page

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

Página 168 - (p. 169)

Table of Contents 25CRBasic Example 15. BeginProg / Scan() / NextScan / EndProg Syntax .. 136 CRBasic Example 16. Scan Syntax...

Página 169

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

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

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

Página 171 - 7.8.2.8 Ping

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

Página 172 - 7.8.3 SDI-12 Sensor Support

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

Página 173 - (p. 173)

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

Página 174

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

Página 175

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

Página 176

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

Página 177

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

Página 178 - (p. 178) summarizes CR1000

Section 7. Installation 2590.15°C over the -10 to 40°C temperature range. Because the measurement is ratiometric (RS/Rf), the properties of the 10

Página 179

Table of Contents 26CRBasic Example 68. Using NAN in Expressions... 428 CRBasic Example 69. Using NAN to Filter Dat

Página 180

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

Página 181

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

Página 182

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

Página 183 - (p. 206)

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

Página 184 - (p. 185)

Section 7. Installation 264where XN is the most recent value of the source variable and XN-1 is the previous value (X1 is the oldest value includ

Página 185

Section 7. Installation 265Note N = Number of points in running average) To calculate the delay in time, multiply the result from the above equati

Página 186

Section 7. Installation 266 Figure 84: Running-average signal attenuation 7.8.20 Writing High-Frequency Data to CF An advanced method for writi

Página 187 - 7.8.4 Subroutines

Section 7. Installation 267also be used in applications where the site cannot be accessed for extended periods. However, large CF cards do not eli

Página 188 - 7.8.5 Wind Vector

Section 7. Installation 268 CRBasicExample62. UsingTableFile()withOption64withCFCards'The following CRBasic program shows how th

Página 189

Section 7. Installation 269CFM100 modules. The card must only be ejected after the status light shows a solid green. Q: Why are individual files l

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 - (p. 192) ) that

Section 7. Installation 270• better vibration and shock resistance • longer life spans (more read/write cycles) Note More CF card recommendati

Página 192

Section 7. Installation 2712 "rings": the datalogger has a ring memory. In other words, once filled, rather than stopping when full, old

Página 193 - 7.8.6 Custom Menus

Section 7. Installation 272

Página 194 - (p. 196)

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

Página 195

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

Página 196 - (p. 194) through Custom

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

Página 197

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

Página 198

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

Página 199

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

Página 200 - 7.8.8 Serial I/O

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

Página 201 - 7.8.8.1 Introduction

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

Página 202 - 7.8.8.3 Protocols

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

Página 203 - 7.8.8.4 Glossary of Terms

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

Página 204 - 7.8.8.5 CRBasic Programming

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

Página 205

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

Página 206

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

Página 207

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

Página 208 - (p. 206) ). Data may be

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

Página 209

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

Página 210

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

Página 211 - 7.8.8.6 Testing Applications

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

Página 212

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

Página 213

Section 8. Operation 290Unless a Calibrate() instruction is present in the running CRBasic program, the CR1000 automatically performs self-calibr

Página 214

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

Página 215 - (p. 399

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

Página 216

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

Página 217

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

Página 218

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

Página 219

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

Página 220 - 7.8.8.7 Q & A

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

Página 221

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

Página 222 - Processing

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

Página 223 - 7.8.10 NSEC Data Type

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

Página 224 - 7.8.10.1 NSEC Options

Section 2. Cautionary Statements 30 

Página 225

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

Página 226

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

Página 227 - 7.8.11 Bool8 Data Type

Section 8. Operation 302reference junction and 0°C. This compensation voltage, combined with the measured thermocouple voltage, can be used to co

Página 228

Section 8. Operation 303outside the chamber. The temperature of this bar was also measured by another datalogger. Differences between the temperatu

Página 229

Section 8. Operation 304 Figure 93: Panel-temperature gradients (low temperature to high) Figure 94: Panel-temperature gradients (high tempera

Página 230

Section 8. Operation 305Standards and Technology) Monograph 175 (1993). ANSI (American National Standards Institute) has established limits of erro

Página 231 - (p. 232), summarizes the

Section 8. Operation 306Resolution (p. 306) lists high resolution ranges available for various thermocouple types and temperature ranges. The fo

Página 232

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

Página 233

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

Página 234

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

Página 235

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

Página 236 - 7.8.13 String Operations

Section 8. Operation 310Table 66. Limits of Error on CR1000 Thermocouple Polynomials TC Type Range °C Limits of Error °C Relative to NIST Stan

Página 237 - 7.8.13.1 String Operators

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

Página 238

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

Página 239

Section 8. Operation 313 Figure 97: Pulse-sensor output signal types Figure 98: Switch-closure pulse sensor Table 69. Pulse-Input Channels and

Página 240 - 7.8.14 Data Tables

Section 8. Operation 3148.1.5.1 Pulse-Input Channels (P1 - P2) Read More! Review pulse counter specifications at CR1000 Specifications. Review p

Página 241 - (p. 60) )

Section 8. Operation 3158.1.5.1.1 High-frequency Pulse (P1 - P2) High-frequency pulse inputs are routed to an inverting CMOS input buffer with inpu

Página 242 - 7.8.16 Program Signatures

Section 8. Operation 3168.1.5.2.1 High Frequency Mode Digital I/O channels have a small 25-ns input RC-filter time constant between the terminal

Página 243

Section 8. Operation 3178.1.5.3 Pulse Measurement Tips • The PulseCount() instruction, whether measuring pulse inputs on pulse channels (P1 throug

Página 244

Section 8. Operation 318 Using a pull-up resistor on digital I/O channels C1 - C8 8.1.5.3.1 Frequency Resolution Frequency resolution of a Puls

Página 245

Section 8. Operation 319 Table 70. Example. E for a 10 Hz input signal Scan Rising Edge / Scan E 5.0 50 50 0.5 5 5 0.05 0.5 1 TimerIO() instruc

Página 246

Section 3. Initial Inspection 32 

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

Section 8. Operation 3208.1.5.4 Pulse Measurement Problems 8.1.5.4.1 Pay Attention to Specifications The table Example of Differing Specification

Página 248

Section 8. Operation 321 Table 73. Time Constants (τ) Measurement τ Pulse channel, high-frequency mode 1.2 Pulse channel, switch-closure mode 3

Página 249

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

Página 250 - 7.8.17.5 Scaling Array

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

Página 251 - 7.8.17.6 Conditional Output

Section 8. Operation 324 Figure 103: Circuit to limit control port input to 5 Vdc 8.1.9 Field Calibration Read More! Field Calibration of Linea

Página 252 - 7.8.17.7 Capturing Events

Section 8. Operation 325 Figure 104: Current limiting resistor in a rain gage circuit 8.1.10.3 RS-232 Sensors RS-232 sensor cable lengths should b

Página 253 - 7.8.18 PRT Measurement

Section 8. Operation 326each CR1000 can catch the rising edge of a digital pulse from the Master CR1000 and synchronize measurements or other fun

Página 254

Section 8. Operation 327over a proprietary, three-wire serial communications link utilizing channels C1, C2 and C3. Read More! For complete informa

Página 255

Section 8. Operation 328 Figure 105: Control port current sourcing 8.2.4.2 Relays and Relay Drivers Several relay drivers are manufactured by C

Página 256

Section 8. Operation 329 Figure 106: Relay driver circuit with relay Figure 107: Power switching without relay 8.2.5 Analog Control / Output De

Página 257

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

Página 258

Section 8. Operation 330cutting the output voltage of sensors to voltage levels compatible with the CR1000, modules for completion of resistive b

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

Section 8. Operation 331 Internal Serial Flash3 12 kB: Device Settings 500 kB: CPU: drive Device Settings — A backup of settings such as Pa

Página 260 - < 2.16 V

Section 8. Operation 332Table 76. CR1000 SRAM Memory Use Comments ---------------------------------- Variables & Constants Stores va

Página 261

Section 8. Operation 333CRD: Principal use is to expand Final Storage (p. 454), but it is also used to store .JPG, cr1, and .DAT files. 1The CPU:

Página 262

Section 8. Operation 334Note Placing an optional USR: size setting in the user program over-rides manual changes to USR: size. When USR: size is

Página 263 - 7.8.19 Running Average

Section 8. Operation 335Campbell Scientific CF card modules connect to the CR1000 peripheral port. Each has a slot for Type I or Type II CF cards.

Página 264

Section 8. Operation 336 Table 78. TableFile()-Instruction Data-File Formats Elements Included TableFile() Format Option Base File Format Head

Página 265

Section 8. Operation 337Example:"TOB1","11467","CR1000","11467","CR1000.Std.20","CPU:file f

Página 266

Section 8. Operation 338Example:"signature": 38611,"environment": {"stationfiname": "11467","tabl

Página 267 - EndTable

Section 8. Operation 339Record Element 1 – Timestamp Datawithouttimestampsareusuallymeaningless.Nevertheless,theTableFile()instructionop

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• Initializes system variables. • Clears communications memory. Full memory reset does not affect the CRD: drive direc

Página 270

Section 8. Operation 341 Table 79. File-Control Functions File-Control Functions Accessed Through Sending programs to the CR1000 Program Send1, F

Página 271

Section 8. Operation 342Table 79. File-Control Functions File-Control Functions Accessed Through 1Datalogger support software (p. 77) Program Se

Página 272

Section 8. Operation 343Table 80. CR1000 File Attributes Attribute Function Attribute for Programs Sent to CR1000 with: 1Support software program

Página 273 - Section 8. Operation

Section 8. Operation 344Power-up functions include • Sending programs to the CR1000. • Optionally setting run attributes of CR1000 program file

Página 274 - 8.1.2 Voltage

Section 8. Operation 345Syntax Syntax for the powerup.ini file is: Command,File,Device where, • Command = one of the numeric commands in table Pow

Página 275 - 8.1.2.1 Input Limits

Section 8. Operation 346• Command 13 Copies the specified program to the designated drive and sets the run attribute of the program to Run Alwa

Página 276 - 8.1.2.2 Reducing Error

Section 8. Operation 3478.3.4.4 File Management Q & A Q: How do I hide a program file on the CR1000 without using the CRBasic FileManage() inst

Página 277 - 8.1.2.3 Measurement Sequence

Section 8. Operation 348Table 82. File System Error Codes Error Code Description 19 Bad function argument supplied 20 Seek out-of-file bounds 21

Página 278 - 8.1.2.4 Measurement Accuracy

Section 8. Operation 349hardware are the PC COM port, the CR1000 RS-232 port, and a serial cable. The carrier signal is RS-232, and the protocol is

Página 279 - (p.279)illustrates

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

Página 280 - 8.1.2.5 Voltage Range

Section 8. Operation 350Digital Display Direct Connect CS I/O Serial Comms external keyboard / display Direct Connect Serial Comms  8.4.2 Pr

Página 281 - (p. 280) )

Section 8. Operation 351of the query can be seen in the DevConfig and PakBusGraph settings tables. SDC queries occur whether or not an SDC device i

Página 282

Section 8. Operation 352o Routers can be branch routers. Branch routers only know as neighbors central routers, routers in route to central rout

Página 283 - 8.1.2.7 Integration

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

Página 284 - (p. 284) and

Section 8. Operation 354Discovery occurs when nodes exchange hellos. A hello-exchange occurs during a hello-message between two nodes. 8.5.3.1 H

Página 285 - (p. 285)

Section 8. Operation 355• If Verify Interval = 0, then CVI = 2.5 x Beacon Interval* • If Verify Interval = 60, then CVI = 60 seconds* • If Beaco

Página 286 - 8.1.2.8 Signal Settling Time

Section 8. Operation 3568.5.4.2 Ping Link integrity can be verified with the following procedure by using PakBusGraph Ping Node. Nodes can be pin

Página 287

Section 8. Operation 357 Figure 110: Tree Map 8.5.6 PakBus LAN Example To demonstrate PakBus® networking, a small LAN (Local Area Network) of CR1

Página 288 - (p. 108)

Section 8. Operation 358 Figure 111: Configuration and wiring of PakBus LAN 8.5.6.2 LAN Setup Configure CR1000s before connecting them to the L

Página 289 - 8.1.2.9 Self-Calibration

Section 8. Operation 359 Figure 112: DevConfig Deployment | Datalogger tab Figure 113: DevConfig Deployment | ComPorts Settings tab

Página 290 - COUNTS = G * Vin + B

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 - (p. 291)

Section 8. Operation 360 Figure 114: DevConfig Deployment | Advanced tab Table 86. PakBus-LAN Example Datalogger-Communications Settings Softw

Página 292 - Section 8. Operation

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

Página 293

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

Página 294

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

Página 295 - (p. 561)

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

Página 296

Section 8. Operation 365 Table 87. DNP3 Implementation — Data Types Required to Store Data in Public Tables for Object Groups Data Type Group Des

Página 297 - 8.1.3.1 ac Excitation

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

Página 298 - (p. 91)

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

Página 299

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

Página 300 - 8.1.3.3 Strain Calculations

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

Página 301 - 8.1.4 Thermocouple

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 - 8.1.4.1 Error Analysis

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

Página 303 - (p. 304)

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

Página 304

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

Página 305

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

Página 306 - (p. 307)

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

Página 307

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

Página 308

Section 8. Operation 376Table 92. BrowseSymbols API Command Parameters uri Optional. Specifies the URI (p. 470) for the data source. When query

Página 309

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

Página 310 - (p. 309) and Reference

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

Página 311 - (p. 302) show that the

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

Página 312 - 8.1.5 Pulse

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

Página 313

Section 8. Operation 380 Table 94. DataQuery API Command Parameters uri Optional. Specifies the URI (p. 470) for data to be queried. Syntax: dl

Página 314

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

Página 315 - (p. 560) for information

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

Página 316 - (p. 322)

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

Página 317 - (p. 318), digital

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

Página 318

Section 8. Operation 385"SECONDS","NANOSECONDS","RN","","" "","",""

Página 319 - (p. 319) lists

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

Página 320

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

Página 321 - (p. 321) footnote

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

Página 322 - 8.1.6 Period Averaging

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

Página 323 - 8.1.8 RS-232 and TTL

Section 4. Quickstart Tutorial 394.1.3.3.1 Pulses Measured Figure Pulse Sensor Output Signal Types (p. 39) illustrates three pulse sensor output si

Página 324 - 8.1.10 Cabling Effects

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

Página 325 - 8.1.10.4 SDI-12 Sensors

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

Página 326

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

Página 327 - 8.2.4 Control Outputs

Section 8. Operation 393 Table 102. FileControl API Command Parameters action 1 — Compile and run the file specified by file and mark it as the pro

Página 328 - (p. 329)

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

Página 329 - 8.2.6 TIMs

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

Página 330 - 8.3.1 Storage Media

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

Página 331 - Table 76. CR1000 SRAM Memory

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

Página 332 - 8.3.1.1 Data Storage

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

Página 333

Section 8. Operation 399 Table 106. NewestFile API Command Parameters expr Specifies the complete path and wildcard expression for the desired set

Página 335

Section 4. Quickstart Tutorial 40channel. Connect the other wire to a pulse channel. Sometimes the sensor will require power from the CR1000, s

Página 336

Section 8. Operation 400 Table 107. Special Keyboard-Display Key Functions Key Special Function [2] and [8] Navigate up and down through the men

Página 337 - format.

Section 8. Operation 401 Figure 118: Using the keyboard / display

Página 338

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

Página 339 - 8.3.3 Memory Reset

Section 8. Operation 4038.8.1.1 Real-Time Tables and Graphs Figure 120: Real-time tables and graphs 8.8.1.2 Real-Time Custom The external keyboar

Página 340 - 8.3.4 File Management

Section 8. Operation 404 Figure 121: Real-time custom

Página 341

Section 8. Operation 4058.8.1.3 Final-Storage Tables Figure 122: Final-storage tables

Página 342 - 8.3.4.1 File Attributes

Section 8. Operation 4068.8.2 Run/Stop Program Figure 123: Run/Stop Program

Página 343 - 8.3.4.2 Data Preservation

Section 8. Operation 4078.8.3 File Display Figure 124: File display 8.8.3.1 File: Edit The CRBasic Editor is recommended for writing and editing

Página 344 - (p. 454) command

Section 8. Operation 408 Figure 125: File: edit

Página 345 - (p. 456) or

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

Página 346

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

Página 347 - 8.3.6 File System Errors

Section 8. Operation 410 Figure 127: Ports and status 8.8.6 Settings Figure 128: Settings

Página 348 - 8.3.7 Memory Q & A

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

Página 349 - (p. 349) lists

Section 8. Operation 412A: Compressing a file has the potential of significantly reducing its size. Actual reduction depends primarily on the num

Página 350 - 8.4.2 Protocols

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

Página 351 - 8.5 PakBus Overview

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

Página 352 - for a table of available

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

Página 354

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

Página 355 - 8.5.4 PakBus Troubleshooting

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

Página 356 - 8.5.4.3 Traffic Flow

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

Página 357 - 8.5.6 PakBus LAN Example

Section 4. Quickstart Tutorial 42 Figure 11: Control and monitoring with digital I/O 4.1.5 SDM Channels SDM (Serial Device for Measurement) dev

Página 358 - 8.5.6.2 LAN Setup

Section 9. Maintenance 420 Remove six nuts, then open the clam shell. Figure 133: Remove and replace battery Remove the lithium battery by gen

Página 359

Section 9. Maintenance 421For all returns, the customer must fill out a "Statement of Product Cleanliness and Decontamination" form and c

Página 360

Section 9. Maintenance 422 

Página 361 - 8.5.6.3 LoggerNet Setup

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

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

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

Página 363 - 8.5.7 PakBus Encryption

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

Página 364 - 8.6.1 DNP3

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

Página 365 - (p.366),line24.

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

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

Section 10. Troubleshooting 428the measurement and processing times in the Status table (MeasureTime, ProcessTime, MaxProcTime) for all scans, th

Página 367 - 8.6.2 Modbus

Section 10. Troubleshooting 42910.3.4.2 Floating-Point Math, NAN, and ±INF Table Math Expressions and CRBasic Results (p. 429) lists math expressio

Página 368 - 8.6.2.2 Terminology

Section 4. Quickstart Tutorial 434.2.1 What You Will Need The following items are needed to complete this exercise: • Campbell Scientific CR1000 d

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

Section 10. Troubleshooting 430 0 / 0 -2,147,483,648 -7999 -2.147484E09 0 2147483648 -2147483648 TRUE TRUE -2,147,483,648 As Boolean 1 / 0

Página 370 - 8.6.2.4 Troubleshooting

Section 10. Troubleshooting 431 CRBasicExample69. UsingNANtoFilterData'Declare Variables and Units Public TC_RefC Public TC_TempC Pub

Página 371 - 8.6.2.6 Modbus tidBytes

Section 10. Troubleshooting 43210.4.2 Communicating with Multiple PCs The CR1000 can communicate with multiple PCs simultaneously. For example,

Página 372 - 8.6.3 Web Service API

Section 10. Troubleshooting 433mid = (CommsMemFree(1) / 10000) % 100 med = (CommsMemFree(1) / 1000000) % 100 lrg = (CommsMemFree(1) / 100000000) %

Página 373 - 8.6.3.2 Command Syntax

Section 10. Troubleshooting 434CommsMemFree(2) number will be. A PakBusNodes setting of 50 is normally enough, and can probably be reduced in sm

Página 374 - (p. 375)

Section 10. Troubleshooting 43510.5 Power Supplies 10.5.1 Overview Power-supply systems may include batteries, charging regulators, and a primary p

Página 375 - 8.6.3.4 Data Management

Section 10. Troubleshooting 43610.5.3 Diagnosis and Fix Procedures 10.5.3.1 Battery Test The procedure outlined in this flow chart tests sealed-r

Página 376 - section

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

Página 377

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

Página 378

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

Página 379

Section 4. Quickstart Tutorial 44 Figure 12: Power and RS-232 connections 4.2.3 PC200W Software Setup 1. Install the PC200W software onto a PC.

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

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

Página 381

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

Página 382 - XML Response

Section 10. Troubleshooting 442 Figure 134: Potentiometer R3 on PS100 and CH100 Charger / Regulator 10.6 Terminal Emulator CR1000 terminal mode

Página 383

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

Página 384

Section 10. Troubleshooting 444Table 115. CR1000 Terminal Commands Option Description Use REBOOT Program recompile Typing “REBOOT” rapidly will

Página 385 - 8.6.3.5 Control

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

Página 386

Section 10. Troubleshooting 446 

Página 387 - 8.6.3.6 Clock Functions

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

Página 388

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

Página 389

Section 11. Glossary 449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 390

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

Página 391 - 8.6.3.7 Files Management

Section 11. Glossary 450ComportCOMisagenericnamegiventophysicalandvirtualserialcommunicationsports. CompactFlashCompactFlash®(CF

Página 392 - (p. 77) Connect screen

Section 11. Glossary 451CR10XOldergenerationCampbellScientificdataloggerreplacedbytheCR1000. crCarriagereturn CRBasicEditorCompile,

Página 393

Section 11. Glossary 452datapointAdatavaluewhichissenttofinalstorage(p.454)astheresultofanoutputprocessing(datastorage)inst

Página 394

Section 11. Glossary 453dimensionTocodeforavariablearray.DIMexample(3)createsthethreevariablesexample(1),example(2),andexample(3).

Página 395

Section 11. Glossary 454ESSEnvironmentalSensorStation excitationApplicationofaprecisevoltage,usuallytoaresistivebridgecircuit. ex

Página 396 - HTML page source:

Section 11. Glossary 455FLOATFour‐bytefloating‐pointdatatype.DefaultCR1000datatypeforPublicorDimvariables.SameformatasIEEE4.IEEE4

Página 397

Section 11. Glossary 456line,theCLK/HS(pin7)lineinthedataloggerCSI/Oportisprimarilyusedtodetectthepresenceorabsenceofperiph

Página 398

Section 11. Glossary 457integerAnumberwrittenwithoutafractionalordecimalcomponent.15and7956areintegers;1.5and79.56arenot. inter

Página 399 - 8.7 Support Software

Section 11. Glossary 458 LONGDatatypeusedwhendeclaringintegers. loopAseriesofinstructionsinaprogramthatarerepeatedaprescribed

Página 400

Section 11. Glossary 459MSBMostsignificantbit(theleadingbit). multi‐meterAninexpensiveandreadilyavailabledeviceusefulintroubleshoot

Página 401

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

Página 402 - 8.8.1 Data Display

Section 11. Glossary 460Null‐modemAdevice,usuallyamulti‐conductorcable,whichconvertsanRS‐232portfromDCEtoDTEorfromDTEtoDCE.

Página 403 - 8.8.1.2 Real-Time Custom

Section 11. Glossary 461outputintervalThetimeintervalbetweeninitiationsofaparticulardata‐tablerecord. outputprocessinginstructionsPr

Página 404 - Figure 121: Real-time custom

Section 11. Glossary 462peripheralAnydevicedesignedforusewith,andrequiring,theCR1000(oranotherCampbellScientificdatalogger)toope

Página 405 - 8.8.1.3 Final-Storage Tables

Section 11. Glossary 463PublicACRBasiccommandfordeclaringanddimensioningvariables.VariablesdeclaredwithPubliccanbemonitoredduringd

Página 406 - 8.8.2 Run/Stop Program

Section 11. Glossary 464RMSRoot‐meansquare,orquadraticmean.Ameasureofthemagnitudeofwaveorothervaryingquantitiesaroundzero. RS‐

Página 407 - 8.8.3 File Display

Section 11. Glossary 465 SeebeckEffectInducesmicro‐Voltlevelthermalelectromotiveforces(EMF)acrossjunctionsofdissimilarmetalsinthepr

Página 408 - Figure 125: File: edit

Section 11. Glossary 466single‐endedDenotesasensorormeasurementterminalwhereintheanalogvoltagesignaliscarriedonasinglelead,whic

Página 409 - 8.8.5 Ports and Status

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

Página 410 - 8.8.6 Settings

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

Página 411 - 8.8.7 Configure Display

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

Página 412

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

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

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

Página 414 - (p. 77), the

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

Página 415

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

Página 416

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

Página 417 - Section 9. Maintenance

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

Página 418 - Capacity 1.2 Ah

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

Página 419

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

Página 420 - 9.3 Repair

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

Página 421

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

Página 422

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

Página 423 - Section 10. Troubleshooting

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

Página 424 - 10.3.1.1 CompileResults

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

Página 425 - 10.3.1.4 SkippedRecord

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

Página 426 - 10.3.1.8 WatchdogErrors

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

Página 427

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

Página 428 - 10.3.4 NAN and ±INF

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

Página 429

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

Página 430

Appendix A. CRBasic Programming Instructions 486PulseCountMeasuresnumberorfrequencyofvoltagespulsesonapulsechannel.SyntaxPulseCount(

Página 431 - 10.4 Communications

Appendix A. CRBasic Programming Instructions 487 A.5.7.2 Measurement PWMPerformsapulse‐widthmodulationonacontrolI/Oport.SyntaxPWM(Source

Página 432 - 10.4.3 Comms Memory Errors

Appendix A. CRBasic Programming Instructions 488CS110ShutterControlstheshutterofaCS110electric‐fieldmeter.SyntaxCS110Shutter(Status, Mo

Página 433 - 10.4.3.2 CommsMemFree(2)

Appendix A. CRBasic Programming Instructions 489LI7700CommunicateswiththeLI7700openpathCO2andH2Osensor.SyntaxLI7200(Dest, Reps, SDMAddr

Página 434 - 10.4.3.3 CommsMemFree(3)

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

Página 435 - 10.5 Power Supplies

Appendix A. CRBasic Programming Instructions 490CWB100RSSIPollswirelesssensorsinawireless‐sensornetworkforradiosignalstrength.Syntax

Página 436 - 10.5.3.1 Battery Test

Appendix A. CRBasic Programming Instructions 491MuxSelectSelectsthespecifiedchannelonamultiplexer.SyntaxMuxSelect(ClkPort, ResPort, ClkPul

Página 437

Appendix A. CRBasic Programming Instructions 492SDMIO16SetsupandmeasuresanSDM‐IO16control‐portexpansiondevice.SyntaxSDMIO16(Dest, Stat

Página 438 - OFF and allow

Appendix A. CRBasic Programming Instructions 493A.6 Processing and Math Instructions A.6.1 Mathematical Operators Note Program declaration AngleDe

Página 439 - (p. 3)

Appendix A. CRBasic Programming Instructions 494The result of these operators is the value of the left hand operand with all of its bits moved by

Página 440 -

Appendix A. CRBasic Programming Instructions 495CRBasicExample70. UsingBit‐ShiftOperatorsDim input_val As Long Dim value_1 As Long Dim value_

Página 441 - Section 10. Troubleshooting

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

Página 442 - 10.6 Terminal Emulator

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

Página 443 - (p. 443)

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

Página 444

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

Página 445

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

Página 446

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

Página 447 - Section 11. Glossary

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

Página 448 - (p.459)

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

Página 449 - (p.450).

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

Página 450 - (p.567).

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

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

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

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

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

Página 453

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

Página 454 - (p. 77)

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

Página 455

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

Página 456 - (p.540).

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

Página 457 - (p.166)and

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

Página 458 - (p. 567) ) to

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

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

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

Página 460 - (p.92)software.Themost

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

Página 461 - Battery(BattV)

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

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

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

Página 463

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

Página 464

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

Página 465 - (p.77).TheSend

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

Página 466

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

Página 467

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

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

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

Página 469

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

Página 470

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

Página 471 - 11.2 Concepts

Appendix A. CRBasic Programming Instructions 522DNPSetsupaCR1000asaDNPslave(outstation/server)device.Thirdparameterisoptional.Syn

Página 472 - (p. 471) shows

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

Página 473 - Instructions

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

Página 474 - (p.166).

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

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

Appendix A. CRBasic Programming Instructions 526

Página 476 - A.2.2 Data Destinations

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

Página 477 - A.2.3.1 Single-Source

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

Página 478 - A.2.3.2 Multiple-Source

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

Página 479 - (p. 188)

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

Página 480

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

Página 481

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

Página 482

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

Página 483 - A.5 Measurement Instructions

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

Página 484 - A.5.3 Thermocouples

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

Página 485 - A.5.6 Pulse and Frequency

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

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

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

Página 487 - A.5.9 Specific Sensors

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

Página 488

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

Página 489

Appendix B. Status Table and Settings 53913 Displays 0 until a SlowSequence scan runs. 14 Security can be changed via DeviceConfig, external keyboa

Página 490

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

Página 491

Appendix B. Status Table and Settings 540 Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration

Página 492 - (p.563).

Appendix B. Status Table and Settings 541Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Util

Página 493 - A.6.3 Bitwise Operators

Appendix B. Status Table and Settings 542Table 122. CR1000 Settings Settings are accessed through the Campbell Scientific Device Configuration Ut

Página 494 - (p. 494)

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

Página 495 - A.6.5 Logical Operators

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

Página 496 - A.6.6.2 Intrinsic Functions

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

Página 497 - A.6.7 Arithmetic Functions

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

Página 498

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

Página 499 - A.6.8 Integrated Processing

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

Página 500 - A.6.9 Spatial Processing

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

Página 501 - A.6.10 Other Functions

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

Página 502 - A.7 String Functions

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

Página 503 - A.7.2 String Commands

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

Página 504

Appendix C. Serial Port Pinouts 552

Página 505 - A.8 Clock Functions

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

Página 506

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

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

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

Página 508

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

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

557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 510

Appendix E. FP2 Data Format 558

Página 511 - Broadcast(ComPort, Message)

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

Página 512

Section 4. Quickstart Tutorial 5613. Close the Graph and View windows, and then close the PC200W program. 

Página 513

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

Página 514 - A.13 Variable Management

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

Página 515 - A.14 File Management

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

Página 516

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

Página 517

Appendix F. Other Campbell Scientific Products 564via PakBus®, Modbus, DNP3, RS-232, SDI-12, or CANbus using the SDM-CAN module. Table 143. Measu

Página 518 - A.16 Information Services

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

Página 519

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

Página 520

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

Página 521 - A.18 SCADA

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

Página 522 - A.19 Calibration Functions

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

Página 523 - A.20 Satellite Systems

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.20.3 OMNISAT

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

Página 525 - A.21 User Defined Functions

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

Página 526

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

Página 527 - (p. 92)

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

Página 528 - (p. 433) )

Index 574B BackgroundCalibration... 134,282,283,289,528Backup...

Página 529

Index 575CommunicationsMemoryErrors ...432,528CommunicationsMemoryFree...432,528CommunicationsPorts ...

Página 530

Index 576DataTable/EndTable... 128,475DataTable()Instruction ... 128Date...

Página 531

Index 577Expression...141,142,143,144,146,454Expression‐Logical...

Página 532

Index 578GypsumBlock ... 297H HalfBridge ... 37,29

Página 533

Index 579IPInformation...540IPRoute ...518IPTr

Página 534

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

Página 535 - (p. 433)

Index 580MonitoringData... 44,51Mounting ... 34,81

Página 536

Index 581PanelTemp...483Parameter...461Paramet

Página 537

Index 582ProgramGenerator... 46,109ProgramName... 140,528Progr

Página 538

Index 583RuntimeErrors...424,426,427RuntimeSignatures ...528RX.

Página 539

Index 584Signature... 70,94,242,465,483,528SignaturedPacket ...

Página 540 - Table 122. CR1000 Settings

Index 585TCDiff ...484TCP...

Página 541

Index 586VariableModifier ... 474VariableOutofBounds... 528Vdc ...

Página 543

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

Página 544

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

Página 546

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 547

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 548

Section 5. System Overview 62• Continuous Analog Output — available by adding a peripheral analog output device available from Campbell Scientif

Página 549 - C.2.1 Pin-Out

Section 5. System Overview 63• Peripheral 5-Vdc Power Source — 1 terminal (5V) and associated ground (G) supply power to sensors and peripheral de

Página 550 - C.2.2 Power States

Section 5. System Overview 64CRBasic programming in the CR1000 facilitates creation of custom menus for the external keyboard / display. Figure C

Página 551 - Connections*

Section 5. System Overview 65Common power devices are: • Batteries o Alkaline D-cell — 1.5 Vdc / cell o Rechargeable lead-acid battery • Charge

Página 552

Section 5. System Overview 665.1.6.2 User Programming Read More! See sections Programming (p. 108) and CRBasic Programming Instructions (p. 473),

Página 553

Section 5. System Overview 67• Main Memory o 4-MB SRAM o Battery backed o OS variables o CRBasic compiled program binary structure (490 kB max

Página 554

Section 5. System Overview 68Data stored on Campbell Scientific mass storage devices are retrieved through a telecommunication link to the CR1000

Página 555

Section 5. System Overview 69The CR1000 communicates with external devices to receive programs, send data, or act in concert with a network. The pr

Página 556

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

Página 557 - Appendix E. FP2 Data Format

Section 5. System Overview 70The CR1000 supports DNP3 slave communication for inclusion in DNP3 SCADA networks. 5.1.9.4 Keyboard Display Read Mo

Página 558

Section 5. System Overview 71supplied void of active security measures. By default, RS-232, Telnet, FTP and HTTP services, all of which give high l

Página 559 - Products

Section 5. System Overview 72LoggerNet: • All datalogger functions and data are easily accessed via RS-232 and Ethernet using Campbell Scientifi

Página 560 - F.2 Sensor Input Modules

Section 5. System Overview 73Up to three levels of lockout can be set. Valid pass codes are 1 through 65535 (0 is no security). Note If a pass co

Página 561

Section 5. System Overview 745.1.10.2.1 Security By-Pass Security can be bypassed at the datalogger using a external keyboard / displaykeyboard d

Página 562 - F.3 Cameras

Section 5. System Overview 755.1.10.3.4 Settings Several CR1000 settings accessible with DevConfig enable the entry of various passwords. See Sett

Página 563 - F.5 Dataloggers

Section 5. System Overview 765.1.11 Maintenance Read More! See Maintenance (p. 417). With reasonable care, the CR1000 should give many years of r

Página 564 - F.6 Power Supplies

Section 5. System Overview 775.2 Datalogger Support Software Read More! For a complete listing of available datalogger support software, see the a

Página 565 - F.6.4 Regulators

Section 5. System Overview 78 

Página 566 - F.7 Enclosures

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

Página 567 - F.8.3 Ethernet Link Devices

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

Página 568 - F.9 Data Storage Devices

Section 6. CR1000 Specifications 80

Página 569 - F.10.1 Starter Software

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

Página 570 - 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 571 - F.10.3 Software Tools

Section 7. Installation 83Scientific application engineer if assistance in selecting a power supply is needed, particularly with applications in ex

Página 572

Section 7. Installation 84with the largest voltage to power the CR1000 and prevents the second backup supply from attempting to power the vehicle

Página 573

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

Página 574

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

Página 575

Section 7. Installation 87protection at installation. Spark-gap protection is usually an option with these products, so it should always be request

Página 576

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

Página 577

Section 7. Installation 89lightning strike. Figure Lightning-Protection Scheme (p. 89) shows a simple lightning-protection scheme utilizing a light

Página 578

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

Página 579

Section 7. Installation 90grounds ( ) and power grounds (G). To take advantage of this design, observe the following grounding rule: Note Always

Página 580

Section 7. Installation 917.5.4 Ground Looping in Ionic Measurements When measuring soil-moisture with a resistance block, or water conductivity wi

Página 581

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

Página 582

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

Página 583

Section 7. Installation 94Note Beginning with OS 25, the OS has become large enough that a CR1000 with serial number ≤ 11831, which has only 2 M

Página 584

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

Página 585

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

Página 586

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

Página 587

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

Página 588

Section 7. Installation 99 Figure 39: DevConfig Deployment tab Datalogger Sub-Tab • Serial Number displays the CR1000 serial number. This settin

Comentários a estes Manuais

Sem comentários