CR510 DATALOGGER OPERATOR'S MANUAL REVISION: 2/03 COPYRIGHT (c) 1986-2003 CAMPBELL SCIENTIFIC, INC.
This is a blank page.
WARRANTY AND ASSISTANCE The CR510 DATALOGGER is warranted by CAMPBELL SCIENTIFIC, INC. to be free from defects in materials and workmanship under normal use and service for thirty-six (36) months from date of shipment unless specified otherwise. Batteries have no warranty. CAMPBELL SCIENTIFIC, INC.'s obligation under this warranty is limited to repairing or replacing (at CAMPBELL SCIENTIFIC, INC.'s option) defective products.
This is a blank page.
CR510 MEASUREMENT AND CONTROL MODULE TABLE OF CONTENTS PAGE OV1. PHYSICAL DESCRIPTION OV1.1 OV1.2 OV1.3 OV1.4 OV1.5 OV1.6 OV1.7 OV1.8 OV1.9 Analog Inputs ...................................................................................................................... OV-1 Excitation Outputs ............................................................................................................... OV-2 Pulse Inputs ...................................................................................
CR510 TABLE OF CONTENTS 2. 2.1 2.2 2.3 3. 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 INTERNAL DATA STORAGE Final Storage Areas, Output Arrays, and Memory Pointers ................................................... 2-1 Data Output Format and Range Limits .................................................................................. 2-3 Displaying Stored Data on Keyboard/Display - ∗7 Mode........................................................ 2-3 INSTRUCTION SET BASICS Parameter Data Types ...........
CR510 TABLE OF CONTENTS 7.8 7.9 7.10 7.11 7.12 7.13 7.14 8. 8.1 8.2 8.3 8.4 8.5 8.6 8.7 100 ohm PRT in 4 Wire Full Bridge ........................................................................................7-7 Pressure Transducer - 4 Wire Full Bridge ..............................................................................7-8 Lysimeter - 6 Wire Full Bridge.................................................................................................7-9 227 Gypsum Soil Moisture Block ..........
CR510 TABLE OF CONTENTS APPENDICES A. GLOSSARY.............................................................................................................................. A-1 B. ADDITIONAL TELECOMMUNICATIONS INFORMATION B.1 B.2 B.3 B.4 Telecommunications Command with Binary Responses....................................................... B-1 Final Storage Format ............................................................................................................. B-3 Generation of Signature .
FEATURES OF CR510 The CR510 is programmed in the same way as the CR500 and executes existing CR500 programs. The CR510 has a clock and memory backed by an internal battery. This keeps the time and data while the CR510 is not connected to external power. GENERAL INTERNAL FLASH PROGRAM STORAGE Several programs can be stored in the CR510 Flash Memory and later recalled and run using the ∗D Mode. (Section 1.
This is a blank page.
SELECTED OPERATING DETAILS 1. Storing Data - Data are stored in Final Storage only by Output Processing Instructions and only when the Output Flag (Flag 0) is set. (Sections OV4.1.1 and 3.7.1) 5. Floating Point Format - The computations performed in the CR510 use floating point arithmetic. CSI's 4 byte floating point numbers contain a 23 bit binary mantissa and a 6 bit binary exponent. The largest and smallest numbers that can be stored 18 -19 and processed are 9 x 10 and 1 x 10 , respectively. (Section 2.
CAUTIONARY NOTES 1. Damage will occur to the analog input circuitry if voltages in excess of ±16 V are applied for a sustained period. Voltages in excess of ±5 V will cause errors and possible overranging on other analog input channels. 5. Voltage pulses can be counted by CR510 Pulse Counters configured for High Frequency Pulses. However, when the pulse is actually a low frequency signal (below about 10 Hz) AND the positive voltage excursion exceeds 5.
CR510 DATALOGGER OVERVIEW The CR510 is a fully programmable datalogger/controller with non-volatile memory and a battery backed clock in a small, rugged module. The combination of reliability, versatility, and telecommunications support make it a favorite choice for networks and single logger applications. Campbell Scientific Inc. provides four aids to operating the CR510: 1. 2. 3. 4.
CR510 OVERVIEW OV1.2 EXCITATION OUTPUTS The terminals labeled E1, and E2 are precision, switched excitation outputs used to supply programmable excitation voltages for resistive bridge measurements. DC or AC excitation voltages between -2500 mV and +2500 mV are user programmable (Section 9). OV1.3 PULSE INPUTS The terminals labeled P1, P2, and P3 are the pulse counter inputs for the CR510. P1 and P2 are programmable for high frequency pulse, low level AC, or switch closure (Section 9, Instruction 3).
CR510 OVERVIEW time when power is disconnected. The clock and Static Random Access Memory (SRAM) are powered by an internal lithium battery. OV2. MEMORY AND PROGRAMMING CONCEPTS OV2.1 INTERNAL MEMORY The standard CR510 has 128 K of Flash Electrically Erasable Programmable Read Only Memory (EEPROM) and 128 K Static Random Access Memory (SRAM). The Flash EEPROM stores the operating system and user programs. RAM is used for data and running the program.
CR510 OVERVIEW Flash Memory (EEPROM) Total 128 Kbytes Operating System (96 Kbytes) How it works: The Operating System is loaded into Flash Memory at the factory. System Memory is used while the CR510 is running calculations, buffering data and for general operating tasks. Any time a user loads a program into the CR510, the program is compiled in SRAM and stored in the Active Program areas. If the CR510 is powered off and then on, the Active Program is loaded from Flash and run.
CR510 OVERVIEW OV2.2 PROGRAM TABLES, EXECUTION INTERVAL AND OUTPUT INTERVALS The CR510 must be programmed before it will make any measurements. A program consists of a group of instructions entered into a program table. The program table is given an execution interval which determines how frequently that table is executed. When the table is executed, the instructions are executed in sequence from beginning to end.
CR510 OVERVIEW Each instruction in the table requires a finite time to execute. If the execution interval is less than the time required to process the table, an execution interval overrun occurs; the CR510 finishes processing the table and waits for the next execution interval before initiating the table. When an overrun occurs, decimal points are shown on either side of the G on the display in the LOG mode (∗0). Overruns and table priority are discussed in Section 1.1. OV2.2.2.
CR510 OVERVIEW INPUT/OUTPUT INSTRUCTIONS Specify the conversion of a sensor signal to a data value and store it in Input Storage. Programmable entries specify: (1) the measurement type (2) the number of channels to measure (3) the input voltage range (4) the Input Storage Location (5) the sensor calibration constants used to convert the sensor output to engineering units I/O Instructions also control analog outputs and digital control ports.
CR510 OVERVIEW OV3. COMMUNICATING WITH CR510 An external device must be connected to the CR510's Serial I/O port to communicate with the CR510. This may be either Campbell Scientific's CR10KD Keyboard Display or a computer/terminal. The CR10KD is powered by the CR510 and connects directly to the serial port via the SC12 cable (supplied with the CR10KD). No interfacing software is required. Computer communication and program editing is accomplished using Campbell Scientific's datalogger support software.
CR510 OVERVIEW TABLE OV3.
CR510 OVERVIEW OV4.1 PROGRAMMING SEQUENCE In routine applications, the CR510 measures sensor output signals, processes the measurements over some time interval and stores the processed results. A generalized programming sequence is: 1. Enter the execution interval. In most cases, the execution interval is determined by the desired sensor scan rate. 2. Enter the Input/Output instructions required to measure the sensors. 3.
CR510 OVERVIEW OV4.3 ENTERING A PROGRAM Programs are entered into the CR510 in one of three ways: 1. Keyed in using the CR10KD keyboard. 2. Loaded from a pre-recorded listing using the ∗D Mode. There are 2 types of storage/input: a. Stored on disk/sent from computer. b. Stored/loaded from Storage Module. 3. Loaded from internal Flash Memory or Storage Module upon power-up.
CR510 OVERVIEW there will be a 128 second delay before compiling and running the program. This can be used to edit or change the program before it starts running. To raise the ring line, press any key on the CR10KD keyboard display or call the CR510 with the computer during the power up sequence (i.e., while “HELLO” is displayed on the CR10KD).
CR510 OVERVIEW Wait a few seconds: 01:21.423 ∗ 2 8 1 A 6 A 1 0 A 7 A 0 01:0000 The CR510 has read the sensor and stored the result again. The internal temp is now 21.423 oC. The value is updated every 5 seconds when the table is executed. At this point the CR510 is measuring the temperature every 5 seconds and sending the value to Input Storage. No data are being saved. The next step is to have the CR510 send each reading to Final Storage. (Remember, the Output Flag must be set first.
CR510 OVERVIEW OV5.2 EDITING AN EXISTING PROGRAM When editing an existing program in the CR510, entering a new instruction inserts the instruction; entering a new parameter replaces the previous value. To insert an instruction, enter the program table and advance to the position where the instruction is to be inserted (i.e., P in the data portion of the display) key in the instruction number, and then key A.
CR510 OVERVIEW Instruction # (Loc.:Entry) Parameter (Par.#:Entry) 07: P73 01:1 02:10 03:2 08: P74 01:1 02:10 03:1 Description Maximize instruction One repetition Output time of daily maximum in hours and minutes Data source is Input Storage Location 1. Minimize instruction One repetition Output the time of the daily minimum in hours and minutes Data source is Input Storage Location 1. The program to make the measurements and to send the desired data to Final Storage has been entered.
CR510 OVERVIEW OV6. DATA RETRIEVAL OPTIONS There are several options for data storage and retrieval. These options are covered in detail in Sections 2, 4, and 5. Figure OV6.1-1 summarizes the various possible methods. Regardless of the method used, there are three general approaches to retrieving data from a datalogger. 1) On-line output of Final Storage data to a peripheral storage device.
CR510 OVERVIEW DATALOGGER SC12 CABLES DSP4 HEADS UP DISPLAY CSM1 SM192/716 STORAGE MODULES STORAGE MODULE OR CARD BROUGHT FROM THE FIELD TO THE COMPUTER CSM1 SM192/716 STORAGE MODULES MD9 MULTIDROP INTERFACE RF95 RF RF MODEM MODEM RF RF100/RF200 TRANSCEIVER TRANSCEIVER W/ANTENNA W/ ANTENNA & CABLE COAXIAL CABLE MD9 MULTIDROP INTERFACE RF RF100/RF200 TRANSCEIVER TRANSCEIVER W/ANTENNA W/ ANTENNA & &CABLE CABLE SC12 CABLE SC532 RS-232 INTERFACE COMPUTER SC932 INTERFACE SC32A RS-232 INTERFACE COM
CR510 OVERVIEW OV7. SPECIFICATIONS Electrical specifications are valid over a -25° to +50°C range unless otherwise specified; non-condensing environment required. To maintain electrical specifications, yearly calibrations are recommended. PROGRAM EXECUTION RATE PERIOD AVERAGING MEASUREMENTS SDI-12 INTERFACE STANDARD System tasks initiated in sync with real-time up to 64 Hz. One measurement with data transfer is possible at this rate without interruption.
SECTION 1. FUNCTIONAL MODES 1.1 DATALOGGER PROGRAMS - ∗1, ∗2, ∗3, AND ∗4 MODES Data acquisition and processing functions are controlled by user-entered instructions contained in program tables. Programming can be separated into 2 tables, each having its own user-entered execution interval. A third table is available for programming subroutines which may be called by instructions in Tables 1 or 2 or by a special interrupt. The ∗1 and ∗2 Modes are used to access Tables 1 and 2.
SECTION 1. FUNCTIONAL MODES 1.1.2 SUBROUTINES Table 3 is used to enter subroutines which may be called with Program Control Instructions in Tables 1 and 2 or other subroutines. The group of instructions which form a subroutine starts with Instruction 85, Label Subroutine, and ends with Instruction 95, End (Section 12). Subroutine 98 has the unique capability of being executed when port 2 goes high. This subroutine will interrupt Tables 1 and 2 (Section 1.1.3) when port 2 goes high.
SECTION 1. FUNCTIONAL MODES PROGRAM * 01: 01: Table 1 Program 0.0 Execution Interval (seconds) @@0 To enter a value in a ∗4 location, advance to the desired location, key in the number and enter it by pressing the "A" key. The value is not entered if the "A" key is not pressed. Volts (SE) (P1) 1: 1 Reps 2: 1 ±2.5 mV Slow Range 3: 1 SE Channel 4: 1 Loc [ _________ ] 5: 1 Mult @@1 6: 0 Offset @@2 Entering a new value causes the datalogger to stop logging. Logging resumes when the program is compiled.
SECTION 1. FUNCTIONAL MODES modes will return to the mode without recompiling. When the ∗0 or ∗B Mode is used to compile, all output ports and flags are set low, the timer is reset, and data values contained in Input and Intermediate Storage are reset to zero. When the ∗6 Mode is used to compile data values contained in Input Storage, the state of flags, control ports, and the timer (Instruction 26) are unaltered. Compiling always zeros Intermediate Storage. 1.
SECTION 1. FUNCTIONAL MODES Storage location 20, key in "*6 20 A". The ID portion of the display shows the last 2 digits of the location number. If the value stored in the location being monitored is the result of a program instruction, the value on the keyboard/display will be the result of the most recent scan and will be updated each time the instruction is executed. When using the ∗6 Mode from a remote terminal, a number (any number) must be sent before the value shown will be updated.
SECTION 1. FUNCTIONAL MODES memory is then displayed in K bytes. The size of memory can be displayed in the ∗B mode. histograms, etc. Intermediate Storage is not accessible by the user. Input Storage is used to store the results of Input/Output and Processing Instructions. The values stored in input locations may be displayed using the ∗6 Mode (Section 1.3). Each Input or Intermediate Storage location requires 4 bytes of memory. Each Final Storage location requires 2 bytes of memory.
SECTION 1. FUNCTIONAL MODES Flash Memory (EEPROM) Total 128 Kbytes Operating System (96 Kbytes) How it works: The Operating System is loaded into Flash Memory at the factory. System Memory is used while the CR510 is running for calculations, buffering data and general operating tasks. Any time a user loads a program into the CR510, the program is compiled in SRAM and stored in the Active Program areas. If the CR510 is powered off and then on, the Active Program is loaded from Flash and run.
SECTION 1. FUNCTIONAL MODES 1.5.2 ∗A MODE The ∗A Mode is used to 1) determine the number of locations allocated to Input Storage, Intermediate Storage, Final Storage Area 2, Final Storage Area 1, and Program Memory; 2) repartition this memory; 3) check the number of bytes remaining in Program memory; 4) erase Final Storage; and 5) to completely reset the datalogger. A second Final Storage area (Storage Area 2) can be allocated in the ∗A Mode.
SECTION 1. FUNCTIONAL MODES After repartitioning memory, the program must be recompiled. Compiling erases Intermediate Storage. Compiling with ∗0 erases Input Storage; compiling with ∗6 leaves Input Storage unaltered. If Intermediate Storage size is too small to accommodate the programs or instructions entered, the "E:04" ERROR CODE will be displayed in the ∗0, ∗6, and ∗B Modes. The user may remove this error code by entering a larger value for Intermediate Storage size.
SECTION 1. FUNCTIONAL MODES TABLE 1.6-1. Description of ∗B Mode Data Keyboard Entry ∗ B A Display ID: Data 01: XXXXX 02: XXXXX 03: XXXXX 04: XX 05: XX 06: X.XXXX 07: XXXX. 08: X.XXXX 09: XX 10: XX 11: X.XXXX A A A A A A A A A Description of Data Program memory Signature. The value is dependent upon the programming entered and memory allotment. If the program has not been previously compiled, it will be compiled and run.
SECTION 1. FUNCTIONAL MODES 1.7 ∗C MODE -- SECURITY The ∗C Mode is used to block access to the user's program information and certain CR510 functions. There are 3 levels of security, each with its own 4 digit password. Setting a password to a non-zero value "locks" the functions secured at that level. The password must subsequently be entered to temporarily unlock security through that level. Passwords are part of the program.
SECTION 1. FUNCTIONAL MODES program will be automatically loaded and run when the CR510 is powered up. (If a Storage Module with a program 8 is connected when the CR510 powers-up, the Storage Module program 8 will be loaded into the CR510 and become the active program.) Scrolling through the program names begins with the oldest program. "A" advances to the next newer program, "B" backs up to the next older program.
SECTION 1. FUNCTIONAL MODES TABLE 1.8-5 Transferring a Program using a Storage Module Key entry ∗D 7NA Display 13:00 7N:00 (N is Storage Module address 1-8) 1.8.4 SET DATALOGGER ID Command 8 is used to set the datalogger ID. The ID can be moved to an input location with Instruction 117 and can then be sampled as part of the data. TABLE 1.
SECTION 1. FUNCTIONAL MODES This is a blank page.
SECTION 2. INTERNAL DATA STORAGE 2.1 FINAL STORAGE AREAS, OUTPUT ARRAYS, AND MEMORY POINTERS Final Storage is the memory where final processed data are stored. Final Storage data are transferred to your computer or external storage peripheral. The size of Final Storage is expressed in terms of memory locations; one memory location is two bytes.
SECTION 2. INTERNAL DATA STORAGE Output Processing Instructions store data into Final Storage only when the Output Flag is set. The string of data stored each time the Output Flag is set is called an OUTPUT ARRAY. The first data point in the output array is a 3 digit OUTPUT ARRAY ID. This ID number is set in one of two ways: 1.
SECTION 2. INTERNAL DATA STORAGE seventh digit. For example, the resolution of 97,386,924 is better than 10. The resolution of 0.0086731924 is better than 0.000000001. 2.2 DATA OUTPUT FORMAT AND RANGE LIMITS Data are stored internally in Campbell Scientific's Binary Final Storage Format (Appendix B.2). Data may be sent to Final Storage in either LOW RESOLUTION or HIGH RESOLUTION format.
SECTION 2. INTERNAL DATA STORAGE another memory location may be entered, followed by the "A" key to jump to the start of the Output Array equal to or just ahead of the location entered. Whenever a location number is displayed by using the "#" key, the corresponding data point can be displayed by pressing the "C" key. TABLE 2.3-1. ∗7 Mode Command Summary Key A B # The same element in the next Output Array with the same ID can be displayed by hitting #A.
SECTION 3. INSTRUCTION SET BASICS The instructions used to program the CR510 are divided into four types: Input/Output (I/O), Processing, Output Processing, and Program Control. I/O Instructions are used to make measurements and store the readings in input locations or to initiate analog or digital port output. Processing Instructions perform mathematical operations using data from Input Storage locations and place the results back into specified Input Storage locations.
SECTION 3. INSTRUCTION SET BASICS Loop Index, allows the increment step to be changed. See Instructions 87 and 90, Section 12, for more details. To index an input location (4 digit integer), C or "-" is pressed after keying the value but before entering the parameter. Two minus signs (--) will be displayed to the right of the parameter. Voltages greater than 16 volts may permanently damage the CR510. NOTE: Voltages in excess of 5.5 volts applied to a control port can cause the CR510 to malfunction. 3.
SECTION 3. INSTRUCTION SET BASICS The instructions to output the average temperature every 10 minutes are in Table 2 which has an execution interval of 10 seconds. The temperature will be measured 600 times in the 10 minute period, but the average will be the result of only 60 of those measurements because the instruction to average is executed only one tenth as often as the instruction to make the measurement.
SECTION 3. INSTRUCTION SET BASICS TABLE 3.7-2. Example of the Use of Flag 9 1: If time is (P92) 1: 0 2: 10 3: 10 Minutes (Seconds --) into a Interval (same units as above) Set Ouptut Flag High (Flag 0) 2: If (X!F) (P89) 1: 14 2: 4 3: 4.5 4: 19 X Loc [ Wind_spd ] < F Set Intermed. Proc. Disable Flag High (Flag 9) 3: Histogram (P75) ; See Section 11 for details of this intruction. 4: Do (P86) ; Required when additional output processing follows 1: 29 Set Intermed. Proc.
SECTION 3. INSTRUCTION SET BASICS 3.8.1 IF THEN/ELSE COMPARISONS Program Control Instructions can be used for If then/else comparisons. When Command 30 (Then do) is used with Instructions 83 or 88-92, the If Instruction is followed immediately by instructions to execute if the comparison is true. The Else Instruction (94) is optional and is followed by the instructions to execute if the comparison is false.
SECTION 3. INSTRUCTION SET BASICS ;Logical OR construction example: ;CASE Logic construction example: 11: If (X!F) (P89) 1: 1 2: 4 3: 3.5 4: 30 X Loc [ DO_ppm ] < F Then Do 18: CASE (P93) 1: 3 12: Do (P86) 1: 41 Set Port 1 High Case Loc [ Reading ] 19: If Case Location < F (P83) 1: 1.
SECTION 3. INSTRUCTION SET BASICS Any number of groups of nested instructions may be used in any of the three Programming Tables. The number of groups is only restricted by the program memory available. 3.9 INSTRUCTION MEMORY AND EXECUTION TIME Each instruction requires program memory and uses varying numbers of Input, Intermediate, and Final Storage locations. Tables 3.9-1 to 3.9-4 list the memory used by each instruction and the approximate time required to execute it.
SECTION 3.
SECTION 3. INSTRUCTION SET BASICS TABLE 3.9-2. Processing Instruction Memory and Execution Times R = No. of Reps. INSTRUCTION INPUT LOC. 30 Z=F 1 31 Z=X 1 32 Z=Z+1 1 33 Z=X+Y 1 34 Z=X+F 1 35 Z=X-Y 1 36 Z=X∗Y 1 37 Z=X∗F 1 38 Z=X/Y 1 39 Z=SQRT(X) 1 40 Z=LN(X) 1 41 Z=EXP(X) 1 42 Z=1/X 1 43 Z=ABS(X) 1 44 Z=FRAC(X) 1 45 Z=INT(X) 1 46 Z=X MOD F 1 Y 1 47 Z=X 48 Z=SIN(X) 1 49 SPA. MAX 1 or 2 50 SPA. MIN 1 or 2 51 SPA. AVG 1 52 RUNNING AVG 1 53 A∗X+B 4 54 BLOCK MOVE R 55 POLYNOMIAL R 56 SAT.
SECTION 3. INSTRUCTION SET BASICS TABLE 3.9-3. Output Instruction Memory and Execution Times R = No. of Reps. INSTRUCTION INTER. LOC. MEM. FINAL VALUES1 69 WIND VECTOR 2+9R (2, 3, or 4)R 12 Options 00, 01, 02 Options 10, 11, 12 R 6 R 7 R 7 (1,2, or 3)R 8 (1,2, or 3)R 8 bins∗R 24 1 to 4 4 0 3 R 7 0 7 R 7 70 SAMPLE 71 AVERAGE 72 TOTALIZE 73 MAXIMIZE 74 MINIMIZE 75 HISTOGRAM 77 REAL TIME 78 RESOLUTION 79 SMPL ON MM 80 STORE AREA1 82 STD. DEV.
SECTION 3. INSTRUCTION SET BASICS 3.10 ERROR CODES There are four types of errors flagged by the CR510: Compile, Run Time, Editor, and ∗D Mode. Compile errors are errors in programming which are detected once the program is entered and compiled for the first time (∗0, ∗6, or ∗B Mode entered). If a programming error is detected during compilation, an E is displayed with the 2 digit error code.
SECTION 3.
SECTION 4. EXTERNAL STORAGE PERIPHERALS External data storage devices are used to provide a data transfer medium that the user can carry from the test site to the lab and to supplement the internal storage capacity of the CR510, allowing longer periods between visits to the site. The standard data storage peripheral for the CR510 is the Storage Module (Section 4.4). Output to a printer or related device is also possible (Section 4.3).
SECTION 4. EXTERNAL STORAGE PERIPHERALS Instruction 96 has a single parameter which specifies the peripheral to send output to. Table 4.1-1 lists the output device codes. connector becomes available, each device in the queue gets its turn. Code Device An output request is not put in the queue if the same device is already in the queue. The data contained in the queue (and which determine a unique entry) are the device, baud rate (if applicable), and the Final Storage Area.
SECTION 4. EXTERNAL STORAGE PERIPHERALS 4.2 MANUALLY INITIATED DATA OUTPUT - ∗8 MODE Data transfer to a peripheral device can be manually initiated in the ∗8 Mode. This process requires that the user have access to the CR510 through a terminal or the CR10KD. The ∗8 Mode allows the user to retrieve a specific block of data, on demand, regardless of whether or not the CR510 is programmed for on-line data output.
SECTION 4. EXTERNAL STORAGE PERIPHERALS FIGURE 4.3-1. Example of CR510 Printable ASCII Output Format 4.3.2 COMMA SEPARATED ASCII Comma Separated ASCII strips all IDs, leading zeros, unnecessary decimal points and trailing zeros, and plus signs. Data points are separated by commas. Arrays are separated by Carriage Return Line Feed. Comma Separated ASCII requires approximately 6 bytes per data point. Example: 1,234,1145,23.65,-12.26,625.9 1,234,1200,24.1,-10.98,650.3 4.
SECTION 4. EXTERNAL STORAGE PERIPHERALS Storage Module with the lowest address that is not full (fill and stop configuration only) and addresses it. In other words, if a single Storage Module is connected, and it is not full, address 1 will address that Storage Module regardless of the address that is assigned to the Module. Address 1 would be used with Instruction 96 if several Storage Modules with different addresses were connected to the CR510 and were to be filled sequentially.
SECTION 4. EXTERNAL STORAGE PERIPHERALS TABLE 4.5-1. ∗9 Commands for Storage Module COMMAND DISPLAY DESCRIPTION 1 01: 0000 3 01: XX 03: 01 4 04: XX RESET, enter 248 to erase all data and programs. While erasing, the SM checks memory. The number of good chips is then displayed (6 for SM192, 22 SM716). INSERT FILE MARK, 1 indicates that the mark was inserted, 0 that it was not.
SECTION 5. TELECOMMUNICATIONS Telecommunications is used to retrieve data from Final Storage directly to a computer/terminal and to program the CR510. Any user communication with the CR510 that makes use of a computer or terminal instead of the CR10KD is through Telecommunications.
SECTION 5. TELECOMMUNICATIONS 4. An illegal character increments a counter and zeros the command buffer, returning a ∗. 5. CR to datalogger means "execute". 6. CRLF from datalogger means "executing command". 7. ANY character besides a CR sent to the datalogger with a legal command in its buffer causes the datalogger to abort the command sequence with CRLF∗ ∗ and to zero the command buffer. 8. All commands return a response code, usually at least a checksum. 9.
SECTION 5. TELECOMMUNICATIONS TABLE 5.1-1. Telecommunications Commands Command [F.S. Area]A Description SELECT AREA/STATUS - If 1 or 2 does not precede the A to select the Final Storage Area, the CR510 will default to Area 1. All subsequent commands other than A will address the area selected.
SECTION 5. TELECOMMUNICATIONS 3142J K TOGGLE FLAGS AND SET UP FOR K COMMAND - Used in the Monitor Mode and with the Heads Up Display. See Appendix C for details. CURRENT INFORMATION - In response to the K command, the CR510 sends datalogger time, user flag status, the data at the input locations requested in the J command, and Final Storage Data if requested by the J command. Used in the Monitor Mode and with Heads Up Display. See Appendix B.
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT 6.1 PIN DESCRIPTION All external communication peripherals connect to the CR510 through the 9-pin subminiature Dtype socket connector located on the front of the Terminal Strip (Figure 6.1-1). Table 6.1-1 shows the I/O pin configuration, and gives a brief description of the function of each pin. FIGURE 6.1-1. 9-pin Female Connector TABLE 6.1-1. Pin Description ABR = Abbreviation for the function name. PIN = Pin number. O = Signal Out of the CR510 to a peripheral.
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT (ME) MODEM (COM200 RF95 SC32A) FIGURE 6.2-1. Hardware Enabled and Synchronously Addressed Peripherals 6.2 ENABLING AND ADDRESSING PERIPHERALS While several peripherals may be connected in parallel to the 9-pin port, the CR510 has only one transmit line (pin 9) and one receive line (pin 4, Table 6.1-1).
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT Synchronously addressed peripherals include the CR10KD Keyboard Display, Storage Modules, SDC99 Synchronous Device Interface (SDC99), and RF95 RF Modem when configured as a synchronous device. The SDC99 interface is used to address peripherals which are normally pin enabled (Figure 6.2-1). 6.
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT 6.5 MODEM/TERMINAL PERIPHERALS The CR510 considers any device with an asynchronous serial communications port which raises the Ring line (and holds it high until the ME line is raised) to be a modem peripheral. Modem/terminals include Campbell Scientific phone modems, and most computers, terminals, and modems using the SC32A Optically Isolated RS232 Interface or the SC932 RS232 DCE Interface. When a modem raises the Ring line, the CR510 responds by raising the ME line.
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT State 2 requires all SDs to drop the Ring line and prepare for addressing. The CR510 then synchronously clocks 8 bits onto TXD using CLK/HS as a clock. The least significant bit is transmitted first and is always logic high. Each bit transmitted is stable on the rising edge of CLK/HS. The SDs shift in bits from TXD on the rising edge of CLK/HS provided by the CR510. The CR510 can only address one device per State 2 cycle.
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT TABLE 6.7-1. SC32A Pin Description PIN = O = I = Pin number Signal Out of the SC32A to a peripheral Signal Into the SC32A from peripheral satisfy hardware handshake requirements of the computer/terminal. Table 6.7-2 lists the most common RS232 configuration for Data Terminal Equipment. TABLE 6.7-2.
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT FIGURE 6.7-1. Transmitting the ASCII Character 1 6.7.3 COMMUNICATION PROTOCOL/TROUBLE SHOOTING The ASCII standard defines an alphabet consisting of 128 different characters where each character corresponds to a number, letter, symbol, or control code. An ASCII character is a binary digital code composed of a combination of seven "bits", each bit having a binary state of 1 (one) or 0 (zero).
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT IF NOTHING HAPPENS If the CR510 is connected to the SC32A RS232 interface and a modem/terminal, and an "∗" is not received after sending carriage returns: 1. Verify that the CR510 has power AT THE 12V AND GROUND INPUTS, and that the cables connecting the devices are securely connected. 2. Verify that the port of the modem/terminal is an asynchronous serial communications port configured as DTE (see Table 6.7-2).
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES This section gives some examples of Input Programming for common sensors used with the CR510. These examples detail only the connections, Input, Program Control, and Processing Instructions necessary to perform measurements and store the data in engineering units in Input Storage. Output Processing Instructions are omitted (see Section 8 for some processing and program control examples).
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 FIGURE 7.2-1. Typical Connection for Active Sensor with External Battery Ground at the LI-6262 is 0.065 V higher than ground at the CR510. The LI-6262 can be programmed to output a linear voltage (0 to 100 mV) that is proportional to differential CO2, 100 µmol/mol full scale, or 1 µmol/mol/mV. If the output is measured with a single-ended voltage measurement, it is 0.065 V or 65 µmol/mol high.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES 02: 03: 04: 05: Do (P86) 1: 41 Set Port 1 High Excitation with Delay (P22) 1: 2 Ex Channel 2: 0 Delay w/Ex (units = 0.01 sec) 3: 15 Delay after Ex (units = 0.01 sec) 4: 0 mV Excitation Volts (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 2 SE Channel 4: 2 Loc [ RH ] 5: .1 Mult 6: 0 Offset Do (P86) 1: 51 Set Port 1 Low 7.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 FIGURE 7.5-1. Wiring Diagram for Rain Gage with Long Leads 7.5 TIPPING BUCKET RAIN GAGE WITH LONG LEADS A tipping bucket rain gage is measured with the Pulse Count Instruction configured for Switch Closure. Counts from long intervals will be used, as the final output desired is total rainfall (obtained with Instruction 72, Totalize).
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES Next solve for Vx: Vx = I(R1+Rs+Rf) = 2.21 V If the actual resistances were the nominal values, the CR510 would not over range with Vx = 2.2 V. To allow for the tolerances in the actual resistances, it is decided to set Vx equal to 2.1 volts (e.g., if the 10 kohms resistor is 5% low, then Rs/(R1+Rs+Rf)=115.54/9715.54, and Vx must be 2.102 V to keep Vs less than 25 mV). The result of Instruction 9 when the first differential measurement (V1) is not made on the 2.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES 7.7 100 OHM PRT IN 3 WIRE HALF BRIDGE The temperature measurement requirements in this example are the same as in Section 7.8. In this case, a three wire half bridge, Instruction 7, is used to measure the resistance of the PRT. The diagram of the PRT circuit is shown in Fig. 7.7-1. As in the example in Section 7.8, the excitation voltage is calculated to be the maximum possible, yet allow the +25 mV measurement range.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES E1 CR510 H1 L1 AG FIGURE 7.8-1. Full Bridge Schematic for 100 ohm PRT PROGRAM 01: 02: 3W Half Bridge (P7) 1: 1 Reps 2: 23 ±25 mV 60 Hz Rejection Range 3: 1 SE Channel 4: 1 Excite all reps w/Exchan 1 5: 2100 mV Excitation 6: 1 Loc [ Rs_Ro ] 7: 100.93 Mult 8: 0 Offset Temperature RTD (P16) 1: 1 Reps 2: 1 R/Ro Loc [ Rs_Ro 3: 2 Loc [ Temp_C ] 4: 1 Mult 5: 0 Offset ] 7.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES Even with an excitation voltage (Vx) equal to 2500 mV, Vs can be measured on the +2.5 mV scale (40°C = 115.8 ohms = -2.006 mV, 60°C = 123.6 ohms = 1.714 mV). There is a change of approximately 2 mV from the output at 40°C to the output at 51°C, or 181 µV/°C. With a resolution of 0.33 µV on the 2.5 mV range, this means that the temperature resolution is 0.0018°C. The 5 ppm per °C temperature coefficient of the fixed resistors was chosen so that their 0.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 FIGURE 7.9-1. Wiring Diagram for Full Bridge Pressure Transducer FIGURE 7.10-1. Lysimeter Weighing Mechanism 7.10 LYSIMETER - 6 WIRE FULL BRIDGE When a long cable is required between a load cell and the CR510, the resistance of the wire can create a substantial error in the measurement if the 4 wire full bridge (Instruction 6) is used to excite and measure the load cell.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES of the bridge in the load cell is 350 ohms. The voltage drop across the load cell is equal to the voltage at the CR510 multiplied by the ratio of the load cell resistance, Rs, to the total resistance, RT, of the circuit. If Instruction 6 were used to measure the load cell, the excitation voltage actually applied to the load cell, V1, would be: V1 = Vx Rs/RT = Vx 350/(350+33) = 0.91 Vx Where Vx is the excitation voltage.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES When the experiment is started, the water content of the soil in the lysimeter is approximately 25% on a volume basis. It is decided to use this as the reference (i.e., 0.25 x 1500 mm = 375 mm). The experiment is started at the beginning of what is expected to be a period during which evapotranspiration exceeds precipitation. Instruction 9 is programmed with the correct multiplier and no offset.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 FIGURE 7.11-1. 6 227 Gypsum Blocks Connected to the CR510 PROGRAM 01: 02: 03: AC Half Bridge (P5) 1: 4 Reps 2: 15 ±2500 mV Fast Range 3: 1 SE Channel 4: 1 Ex Channel Option 5: 2500 mV Excitation 6: 1 Loc [ H2O_bar_1 ] 7: 1 Mult 8: 0 Offset BR Transform 1: 4 2: 1 3: .1 Rf[X/(1-X)] (P59) Reps Loc [ H2O_bar_1 ] Multiplier (Rf) Polynomial (P55) 1: 4 Reps 2: 1 X Loc [ H2O_bar_1 ] 3: 1 F(X) Loc [ H2O_bar_1 ] 4: .15836 C0 5: 6.1445 C1 6: -8.4189 C2 7: 9.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 FIGURE 7.12-1. Nonlinear Thermistor Probes Connected to CR510 PROGRAM 01: Excite-Delay (SE) (P4) 1: 4 Reps 2: 25 ±2500 mV 60 Hz Rejection Range 3: 1 SE Channel 4: 1 Excite all reps w/Exchan 1 5: 10 Delay (units 0.01 sec) 6: 2000 mV Excitation 7: 1 Loc [ Temp_C_1 ] 8: .001 Mult 9: 0 Offset 02: Polynomial (P55) 1: 4 Reps 2: 1 X Loc [ Temp_C_1 ] 3: 1 F(X) Loc [ Temp_C_1 ] 4: -53.784 C0 5: 147.97 C1 6: -218.76 C2 7: 219.05 C3 8: -111.34 C4 9: 23.365 C5 7.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES FIGURE 7.13-1. A Vibrating Wire Sensor The following calculations are based on using a Geokon model 4500 Vibrating Wire sensor. An individual multiplier and offset must be calculated for each sensor used in a system. MULTIPLIER The fundamental equation relating frequency to pressure is P = -FxG + B where P = pressure, PSI G = the Gage Factor obtained from the sensors calibration sheet in PSI/digit. The units of a digit are Hz2(10-3).
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES The multiplier, m, is calculated to convert the reading to feet of water. m = 0.0151 (psi/digit) ∗ 2.3067 (ft of water/psi) ∗ 2 2 -1000 digits/kHz = -34.831 ft of water/kHz After the probe reaches thermal equilibrium, the initial temperature, t0, is measured to be 24°C. The water column above the sensor is referred to as the "Reading".
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 Ch E1 12 V or 5 V FIGURE 7.13-3. Hook up to AVW1 PROGRAM 02: AVW1 & CR510 USED TO MEASURE 1 GEOKON VIBRATING WIRE SENSOR. * Table 1 Program 01: 60 01: 7-16 Execution Interval (seconds) Excite-Delay (SE) (P4) 1: 1 Reps 2: 15 ±2500 mV Fast Range 3: 1 SE Channel 4: 1 Excite all reps w/Exchan 1 5: 1 Delay (units 0.01 sec) 6: 2500 mV Excitation 7: 1 Loc [ Temp ] 8: .
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES 04: 05: Z=X+F (P34) 1: 1 2: -24 3: 3 X Loc [ Temp ] F Z Loc [ Temp_Comp ] Z=X*F (P37) 1: 3 2: -.0698 3: 3 X Loc [ Temp_Comp ] F Z Loc [ Temp_Comp ] 06: Z=X+Y (P33) 1: 3 X Loc [ Temp_Comp ] 2: 2 Y Loc [ Pressure ] 3: 2 Z Loc [ Pressure ] 07: IF (X<=>F) (P89) 1: 5 X Loc [ Cmpile_Ck ] 2: 1 = 3: 0 F 4: 30 Then Do 08: 09: Z=X+F (P34) 1: 2 2: 47.
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR510 CR10X H 4H 1H 1L 4L 100 Ω ±0.01% L 4 to 20 mA Sensor GND AG AG CURS100 G 12V G FIGURE 7.14-1 Wiring Diagram for CURS100 Terminal Input Module and 4 to 20 mA Sensor.
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES The following examples are intended to illustrate the use of Processing and Program Control Instructions, flags, dual Final Storage, and the capability to direct the results of Output Processing Instructions to Input Storage. The specific examples may not be as important as some of the techniques employed, for example: Directing Output Processing to Input Storage is used in the Running Average and Rainfall Intensity examples (8.1 and 8.2).
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES In the above example, all samples for the average are stored in input locations. This is necessary when an average must be output with each new sample. In most cases, averages are desired less frequently than sampling. For example, it may be necessary to sample some parameter every 5 seconds and output every hour an average of the previous three hours' readings. If all samples were saved, this would require 2160 input locations.
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 02: If time is (P92) 1: 0 Minutes (Seconds --) into a 2: 15 Interval (same units as above) 3: 10 Set Output Flag High 03: Set Active Storage Area (P80) 1: 3 Input Storage Area 2: 2 Array ID or Loc [ 15min_tot ] In this example a temperature (107 Temperature Probe) is measured every 0.5 seconds and the average output every 30 seconds. PROGRAM 04: 05: 06: Totalize (P72) 1: 1 2: 1 * 01: Table 1 Program 0.
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES PROGRAM * 01: 01: 02: Table 1 Program 10.0 Execution Interval (seconds) Pulse (P3) 1: 1 2: 1 3: 2 4: 10 5: .254 6: 0 Reps Pulse Input Channel Switch Closure Loc [ Precip_1 ] Mult Offset Pulse (P3) 1: 1 2: 3 3: 2 4: 11 5: .
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 12: End (P95) 13: End (P95) PROGRAM * 01: 14: Table 1 Program 1 Execution Interval (seconds) End (P95) 01: INPUT LOCATIONS 2 0_360_WD 6 0_540_out 10 0_540_WD 8.6 USE OF 2 FINAL STORAGE AREAS - SAVING DATA PRIOR TO EVENT One of the uses of 2 Final Storage Areas is to save a fixed amount of data before and after some event. In this example, a load cell is measured every second.
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 13: If Flag/Port (P91) 1: 11 Do if Flag 1 is High 2: 30 Then Do means the instructions in the loop, in this case measure and output water level, are executed every 10 seconds for 10 minutes. 14: Serial Out (P96) 1: 81 All Data to other FS Area 15: Do (P86) 1: 21 The drawdown portion of the test is completed at some time greater than 1000 minutes, at which time the operator sets Flag 1 low.
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES ;Loop 2, Output every 30 seconds for 20 minutes. ; 05: Beginning of Loop (P87) 1: 3 Delay 2: 40 Loop Count 19: If Flag/Port (P91) 1: 21 Do if Flag 1 is Low 2: 31 Exit Loop if True 20: End (P95) 06: * Table 3 Subroutines 01: Beginning of Subroutine (P85) 1: 1 Subroutine 1 02: Full Bridge (P6) 1: 1 2: 22 3: 1 4: 1 5: 1500 6: 1 7: .46199 8: 102 Reps ±7.
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES This is a blank page.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS TABLE 9-1. Input Voltage Ranges and Codes Slow 2.72ms Integ. Range Code Fast 250µs 60 Hz Reject Integ. 1 2 3 4 5 11 12 13 14 15 21 22 23 24 25 50 Hz Reject 31 32 33 34 35 Full Scale Range Resolution* ±2.5mV ±7.5mV ±25 mV ±250 mV ±2500 mV 0.33 1. 3.33 33.3 333. µV µV µV µV µV * Differential measurement; resolution for single-ended measurement is twice value shown.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS volts to above 3.5 volts. The maximum input voltage is +20 volts. A problem, however, arises when the pulse is actually a low frequency signal (below about 10 Hz) and the positive voltage excursion exceeds 5.6 VDC. When this happens, the excess voltage is shunted to the CR510 5 VDC supply, with the current limited by an internal 10 Kohm resistor. When this extra current source exceeds the quiescent current needs of the CR510 (about 0.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS Every 0.125 seconds, the CR510 processor transfers the values from the 8 (or 16) bit pulse counters into 16 bit accumulators (max count is 65,535) and the counters are hardware reset to zero. The pulses accumulate in these 16 bit accumulators until the program table containing the Pulse Count Instruction is executed.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS PARAM.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS resulting value, which is the ratio of the voltage across the sensor to the voltage across the reference resistor. A 1 before the excitation channel number (1X) causes the channel to be incremented with each repetition. PARAM.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS PARAM. NUMBER DATA TYPE 01: 02: 2 2 03: 04: 2 2 05: 06: 2 4 07: 4 08: 09: FP FP TABLE 9-3.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS CAUTION: Never excite the 207 probe with DC excitation because the RH chip will be damaged. A 1 before the excitation channel number (1X) causes the channel to be incremented. The maximum RH polynomial error is given here: PARAM.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS *** 19 MOVE SIGNATURE INTO INPUT *** LOCATION FUNCTION This instruction stores the signature of the Read Only Memory (ROM) and user program memory (SRAM) into an input location. The signature is a result of the CR510 PROM, the size of SRAM, and the entries in the ∗1, ∗2, ∗3, ∗4, ∗A, and ∗C Modes. This signature is not the same as the signatures given in the ∗B Mode. Recording the signature allows detection of any program change or ROM failure. PARAM.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS *** 22 EXCITATION WITH DELAY *** FUNCTION This instruction is used in conjunction with others for measuring a response to a timed excitation using the switched analog outputs. It sets the selected excitation output to a specific value, waits for the specified time, then turns off the excitation and waits an additional specified time before continuing execution of the following instruction. Analog power is turned off during delay after excitation to drop power to 3 mA.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS in Table 2, a subsequent instruction in Table 1 to read the timer will store the elapsed time since the timer was reset in Table 2). within this time, -99999 will be loaded into the input location. TABLE 9-5. Input Frequency Codes Elapsed time is tracked in 0.125 second increments. The maximum interval that can be timed is 8191.875 seconds. The timer is also reset in response to certain keyboard entries: 1.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS PARAM. NUMBER DATA TYPE 01: 2 02: 2 03: 04: 2 2 05: 2 06: 4 07: 4 08: 4 09: 10: DESCRIPTION Repetitions Hit C (--) to skip repeat of excitation Single-ended channel for first measurement Excitation Channel Start frequency of sweep (100'S of Hz) End frequency of sweep (100'S of Hz) # Cycles to measure (0 means none) Delay before excitation applied (0.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS PARAMETER 1. ADDRESS Enter the address of the SDI-12 sensor (0-9). †Extended addresses (A through Z and a through z) may be used by entering the decimal equivalent for the appropriate ASCII character (see Appendix C). For example, address ‘A’ would be entered as 65, and address ‘z’ would be entered as 122. PARAMETER 2. COMMAND Enter a number to select the command to be sent to the SDI-12 sensor. Usually 0 is entered to select the M command.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS 01: SDI-12 Recorder (P105) 1: 1 SDI-12 Address 2: 0 Start Measurement (aM0!) 3: 1 Port 4: 5 Loc [ SendVal_1 ] 5: 1 Mult 6: 0 Offset 02: Extended Parameters 4 Digit (P68) 1: 65 Option ;ASCII character A 2: 48 Option ;ASCII character 0 3: 128 Option ;Send first value 4: 128 Option ;Send second value 5: 0 Option ;End of command string 6: 0 Option 7: 0 Option 8: 0 Option PARAMETER 3. PORT Enter the CR510 control port (C1, C2) connected to the SDI-12 sensor data line.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS SDI-12 data line attached to Port 2, but if the Break and the specified address are not received by Instruction 106, the remainder of the subroutine is not executed. Two programming techniques exist for obtaining measurement values to be transferred by the sensor Instruction 106. The first technique makes the requested measurements "on demand" in response to the recorders request.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS PARAMETER 3. LOCATION 1 This parameter determines the starting input location for the 'nn' values to be returned to the recorder. The 'M' or 'M1-M9' command issued by the SDI-12 recorder determines if the starting location is actually that specified in Parameter 3 or a multiple of 'nn' past Parameter 3. 02: Starting input location = Parameter 3 + (nn∗x), where nn is specified in Parameter 2, and, x is the number following the 'M' sent by the SDI-12 recorder (1-9).
SECTION 9. INPUT/OUTPUT INSTRUCTIONS *** 131 Enhanced Vibrating Wire Measurement *** FUNCTION Excites a vibrating wire sensor with a swept frequency (from low frequency to high), then measures the response period and calculates 2 1/T , where T is the period in ms. Excitation is normally provided for each repetition. As an option, a single excitation can be made prior to all repetitions of the measurement.
SECTION 10. PROCESSING INSTRUCTIONS To facilitate cross referencing, parameter descriptions are keyed [ ] to the values given on the PROMPT SHEET. These values are defined as follows: [Z] = Destination input location for result [X] = Input location of X [Y] = Input location of Y [F] = Fixed Data (user specified floating point number) PARAM.
SECTION 10. PROCESSING INSTRUCTIONS PARAM. NUMBER *** 36 X * Y *** FUNCTION Multiply X by Y and place the result in an input location (Z). PARAM. NUMBER DATA TYPE DESCRIPTION 01: 4 Input location of X 02: 4 Dest. input location for 1/2 [Z] X Input locations altered: DESCRIPTION 01: 4 Input location of X [X] 02: 4 Input location of Y [Y] 03: 4 Dest.
SECTION 10. PROCESSING INSTRUCTIONS PARAM. NUMBER *** 43 ABS(X) *** FUNCTION Take the absolute (ABS) value of X and place the result in an input location. PARAM. NUMBER DATA TYPE 4 Input location of X [X] 02: 4 Dest. input location for ABS(X) [Z] FUNCTION Take the fractional (FRAC) value (i.e., the noninteger portion) of X and place the result in an input location, e.g, FRAC (1.5) = 0.5. DATA TYPE 4 Input location of X 02: 4 Dest.
SECTION 10. PROCESSING INSTRUCTIONS Parameter 3 cannot be entered as an indexed location within a loop (Instruction 87). To use Instruction 49 within a loop, enter Parameter 3 as a fixed location and follow 49 with the Instruction 31 (Move Data). In Instruction 31, enter the location in which 49 stores its result as the source (fixed) and enter the destination as an indexed location. PARAM. NUMBER DATA TYPE DESCRIPTION 01: 4 Swath 02: 4 Starting input location [1ST LOC] 03: 4 Dest.
SECTION 10. PROCESSING INSTRUCTIONS 05: FP Offset 2 [B2] 06: FP Multiplier 3 [A3] 07: FP Offset 3 [B3] 08: FP Multiplier 4 [A4] 09: FP Offset 4 [B4] PARAM. NUMBER DATA TYPE DESCRIPTION 01: 2 Repetitions 02: 4 Starting input location for X [X] 03: 4 Dest. input location for F(X) [F(X) or Z] *** 54 BLOCK MOVE *** 04: FP C0 coefficient [C0] FUNCTION Executes a "block move" of data in input locations.
SECTION 10. PROCESSING INSTRUCTIONS PARAM. NUMBER *** 58 LOW PASS FILTER *** FUNCTION Apply a numerical approximation to an analog resistor capacitor (RC) low pass (LP) filter using the following algorithm. F(Xi) = W*Xi + F(Xi-1) * (1-W) DATA TYPE 01: 2 Repetitions 02: 4 Starting input location & result destination [X] 03: FP Multiplier (Rf) Input locations altered: Where X = input sample, W = user entered weighting function (O< W <1).
SECTION 10. PROCESSING INSTRUCTIONS and 13 To END. Following Instruction 98 (255 character limit) Base 10 value of ASCII character (Appendix E) 00 TO END. Input locations altered: 0 +y -x +x 270 90 0 -y *** 65 BULK LOAD *** FUNCTION Instruction 65 inputs given values in up to eight Input Storage locations. The Bulk Load instruction has 9 parameters. The first eight are the values to be entered in input storage locations.
SECTION 10. PROCESSING INSTRUCTIONS This is a blank page.
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS *** 69 WIND VECTOR *** FUNCTION Instruction 69 processes the primary variables of wind speed and direction from either polar (wind speed and direction) or orthogonal (fixed East and North propellers) sensors. It uses the raw data to generate the mean wind speed, the mean wind vector magnitude, and the mean wind vector direction over an output interval.
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS There are three Output Options that specify the values calculated. where Ux=(Σsin Θi)/N Option 0: Mean horizontal wind speed, S. Unit vector mean wind direction, Θ1. Standard deviation of wind direction, σ(Θ1). Standard deviation is calculated using the Yamartino algorithm. This option complies with EPA guidelines for use with straightline Gaussian dispersion models to model plume transport.
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS *** 71 AVERAGE *** FUNCTION This instruction stores the average value over the given output interval for each input location specified. PARAM. NUMBER DATA TYPE DESCRIPTION *** 74 MINIMIZE *** FUNCTION Operating in the same manner as Program 73, this instruction is used for storing the MINIMUM value (for each input location specified) over a given output interval. 01: 2 Repetitions PARAM. NUMBER 02: 4 Starting input location no.
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS while the bin select value was within a particular sub-range, the value output to Final Storage must be divided by the fraction of time that the bin select value was within that particular subrange (i.e., a standard histogram of the bin select value must also be output).
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS Code Result xxx1 xx1x xx2x x1xx x2xx SECONDS (with resolution of 0.125 sec.) HOUR-MINUTE HOUR-MINUTE, 2400 instead of 0000 JULIAN DAY JULIAN DAY, previous day during first minute of new day YEAR 1xxx Any combination of Year, Day, HR-MIN, and seconds is possible (e.g., 1011: YEAR, HRMIN, SEC).
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS PARAM. NUMBER 01: 02: DATA TYPE 2 4 Outputs Generated: 11-6 DESCRIPTION Repetitions Starting input location no.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS TABLE 12-1. Flag Description Flag 0 Flag 1 to 8 Flag 9 Output Flag User Flags Intermediate Processing Disable Flag TABLE 12-2.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS *** 86 DO *** FUNCTION This Instruction unconditionally executes the specified command. PARAM. NUMBER 01: DATA TYPE 2 DESCRIPTION Command (Table 12-2) *** 87 LOOP *** FUNCTION Instructions included between the Loop Instruction and the End Instruction (95) are repeated the number of times specified by the iteration count (Parameter 2), or until an Exit Loop command (31,32) is executed by a Program Control Instruction within the Loop.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS current values (samples at the time of output) of locations 2-10. Loops can be nested. Indexed locations within nested loops are indexed to the inner most loop that they are within. The maximum nesting level in the CR510 is 11 deep. This applies to If Then/Else comparisons and Loops or any combination thereof. An If Then/Else comparison which uses the Else Instruction (94) counts as being nested 2 deep. PARAM.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS *** 92 IF TIME *** FUNCTION The user specifies the number of minutes or seconds into an interval, the duration of the interval, and a command. The command is executed each time the real time is the specified time into the interval. The "If" condition will always be false if 0000 is entered as the time interval.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS *** 95 END *** FUNCTION Instruction 95 is used to indicate the end/return of a subroutine (Instruction 85), the end of a loop (Instruction 87), the end of an If Then/Else sequence (Instructions 88-92 when used with command 30), or the end of a Case sequence (Instruction 93). The End Instruction has no parameters.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS ADDRESSED PRINT DEVICE, y = Baud code 1y = Printable ASCII 2y = Comma Separated ASCII 3y = Binary Final Storage Format 7N = Storage Module N (N=1-8; Section 4.4.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS Parameter 2: When the instruction is executed and the interrupt disable flag (Parameter 2) is low, the CR510 initiates the call. The datalogger will continue to attempt communications until the interrupt disable flag has been set high. As soon as the flag is set high, the datalogger quits trying to initiate the call. After a successful call has ended, the flag is automatically set high. (After a voice callback, the flag is not automatically set high.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS an “F” (70). Indicate a switch from RF to phone with a space (32) followed by a “T” (84). A Carriage Return (13) is used to end the series of characters to be used to initiate the call. Instruction 97 will never make a valid call if a 13 is not the last parameter of the last Instruction 63 or 68. Any unused parameters after the 13 command should be left as 0. TABLE 12-5.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS *** 121 ARGOS *** FUNCTION This instruction is used to transmit data from CR510 Final Storage via an ARGOS satellite. See the ARGOS Interface Notes for information on Instruction 121. *** 123 Automatic Programming of a TGT1 *** FUNCTION Instruction 123 performs Automatic Programming of TGT1 GOES Transmitter. See the TGT1 manual for information on Instruction 123.
SECTION 12. PROGRAM CONTROL INSTRUCTIONS This is a blank page.
SECTION 13. CR510 MEASUREMENTS 13.1 FAST AND SLOW MEASUREMENT SEQUENCE The CR510 makes voltage measurements by integrating the input signal for a fixed time and then holding the integrated value for the analog to digital (A/D) conversion. The A/D conversion is made with a 13 bit successive approximation technique which resolves the signal voltage to approximately one part in 7500 of the full scale range on a differential measurement (e.g., 1/7500 x 2.5 V = 333 uV).
SECTION 13. CR510 MEASUREMENTS FIGURE 13.2-1. Timing of Single-Ended Measurement FIGURE 13.2-2. Differential Voltage Measurement Sequence 13.2 SINGLE-ENDED AND DIFFERENTIAL VOLTAGE MEASUREMENTS NOTE: Either the high or low side of a differential channel can be used for singleended measurements. Each side must be counted when numbering single-ended channels; e.g., the high and low sides of differential channel 1 are single-ended channels 1 and 2, respectively.
SECTION 13. CR510 MEASUREMENTS which both inputs of a differential measurement must lie in order for the differential measurement to be made. For example, if the high side of a differential input is at 2 V and the low side is at 1 V relative to CR510 ground, there is no problem; a measurement made on the +2.5 V range would indicate a signal of 1 V. However, if the high input is at 2.8 V and the low input is at 2 V, the measurement cannot be made because the high input is outside of the common mode range.
SECTION 13. CR510 MEASUREMENTS FIGURE 13.3-1. Input Voltage Rise and Transient Decay 13.3.1 THE INPUT SETTLING TIME CONSTANT The rate at which an input voltage rises to its full value or that a transient decays to the correct input level are both determined by the input settling time constant. In both cases the waveform is an exponential. Figure 13.3-1 shows both a rising and decaying waveform settling to the signal level, Vso. The rising input voltage is described by Equation 13.
SECTION 13. CR510 MEASUREMENTS CR510 FIGURE 13.3-2. Typical Resistive Half Bridge CR510 HI OR LO INPUT FIGURE 13.3-3. Source Resistance Model for Half Bridge Connected to the CR510 DETERMINING SOURCE RESISTANCE The source resistance used to estimate the settling time constant is the resistance the CR510 input "sees" looking out at the sensor. For our purposes the source resistance can be defined as the resistance from the CR510 input through all external paths back to the CR510. Figure 13.
SECTION 13. CR510 MEASUREMENTS FIGURE 13.3-4. Wire Manufacturers Capacitance Specifications, Cw CR510 FIGURE 13.3-5. Model 024A Wind Direction Sensor TABLE 13.3-2. Properties of Three Belden Lead Wires Used by Campbell Scientific Belden Wire # 8641 8771 8723 Conductors 1 shld. pair 1 shld. 3 cond. 2 shld.
SECTION 13. CR510 MEASUREMENTS CR510 FIGURE 13.3-6. Resistive Half Bridge Connected to Single-Ended CR510 Input Ro, the source resistance, is not constant because Rb varies from 0 to 10 kohms over the 0 to 360 degree wind direction range. The source resistance is given by: Wind Direction Ro = Rd+(Rb(Rs-Rb+Rf)/(Rs+Rf)) = Rd+(Rb(20k-Rb)/20k) [13.3-12] Note that at 360 degrees, Ro is at a maximum of 6k (Rb=10k) and at 0 degrees, Ro is 1k (Rb=0).
SECTION 13. CR510 MEASUREMENTS TABLE 13.3-4. Measured Peak Excitation Transients for 1000 Foot Lengths of Three Belden Lead Wires Used by Campbell Scientific Vx(mV) # 8641 2000 1000 50 25 -----------------------Veo(mV) ----------------------Rf=1 kohm Rf=10 kohm # # # # 8771 8723 8641 8771 100 65 NOTE: Excitation transients are eliminated if excitation leads are contained in a shield independent from the signal leads.
SECTION 13. CR510 MEASUREMENTS TABLE 13.3-5. Summary of Input Settling Data For Campbell Scientific Resistive Sensors Sensor Model # Belden Wire # 107 207(RH) WVU-7 227 237 024A 8641 8771 8723 8641 8641 8771 * ** Ro Cw τ* (kohms) (pfd/ft.) (us) 1 1 1 0.1-1 1 1-6 42 41 62 42 42 41 Input Range(mV) 45 44 65 5-45 45 1-222 Vx(mV) Veo(mV)** 2000 1500 2000 250 2500 500 50 85 0 0 65 0-90 7.5 250 7.5 250 25 250 Estimated time constants are for 1000 foot lead lengths and include 3.
SECTION 13. CR510 MEASUREMENTS source resistance at point P (column 5) is essentially the same as the input source resistance of configuration A. Moving Rf' out to the thermistor as shown in Figure 13.3-7C optimizes the signal settling time because it becomes a function of Rf and Cw only. Columns 4 and 7 list the signal voltages as a function of temperature using a 2000 mV excitation for configurations A and C, respectively.
SECTION 13. CR510 MEASUREMENTS FIGURE 13.3-7.
SECTION 13. CR510 MEASUREMENTS CR510 FIGURE 13.3-8. Measuring Input Settling Error with the CR510 CR510 FIGURE 13.3-9. Incorrect Lead Wire Extension on Model 107 Temperature Sensor 13.4 BRIDGE RESISTANCE MEASUREMENTS There are 6 bridge measurement instructions included in the CR510 software. Figure 13.4-1 shows the circuits that would typically be measured with these instructions.
SECTION 13. CR510 MEASUREMENTS integration as is normally the case (Section 13.2). The result stored is the voltage measured. Instruction 8 does not have as good resolution or common mode rejection as the ratiometric bridge measurement instructions. It does provide a very rapid means of making bridge measurements as well as supplying excitation to circuitry requiring differential measurements. This instruction does not reverse excitation.
SECTION 13. CR510 MEASUREMENTS FIGURE 13.4-2. Excitation and Measurement Sequence for 4 Wire Full Bridge TABLE 13.4-1. Comparison of Bridge Measurement Instructions Instr. # Circuit Description 4 DC Half Bridge The delay parameter allows the user entered settling time compensate for capacitance in long lead lengths. No polarity reversal. One single-ended measurement. Measured voltage output. 5 AC Half Bridge Rapid reversal of excitation polarity for ion depolarization.
SECTION 13. CR510 MEASUREMENTS Calculating the actual resistance of a sensor which is one of the legs of a resistive bridge usually requires the use of one or two Processing Instructions in addition to the bridge measurement instruction. Instruction 59 takes a value, X, in a specified input location and computes the value MX/(1-X), where M is the multiplier and stores the result in the original location. Instruction 42 computes the reciprocal of a value in an input location. Table 13.
SECTION 13. CR510 MEASUREMENTS 13.5 RESISTANCE MEASUREMENTS REQUIRING AC EXCITATION Some resistive sensors require AC excitation. These include the 207 Relative Humidity Probe, soil moisture blocks, water conductivity sensors, and wetness sensing grids. The use of DC excitation with these sensors can result in polarization, which will cause an erroneous measurement, and may shift the calibration of the sensor and/or lead to its rapid decay.
SECTION 13. CR510 MEASUREMENTS In Figure 13.5-2, Vx is the excitation voltage, Rf is a fixed resistor, Rs is the sensor resistance, and RG is the resistance between the excited electrode and CR510 earth ground. With RG in the network, the measured signal is: Rs V1 = Vx __________________ (Rs+Rf) + RsRf/RG adjusting the calibration coefficients the accuracy of the voltage measurements is maintained over the -25 to +50°C operating range of the CR510. Calibration is executed under four conditions: 1.
SECTION 13. CR510 MEASUREMENTS table WILL be overrun by the automatic calibration. If an overrun occurs every time calibration is executed, then 1 execution is skipped for every 512 times that the program table is executed. If the measurements are being averaged, the effect of the overrun is negligible. Program table overruns are indicated by the appearance of two decimals on either side of the sixth digit on the CR10KD and are also stored in memory (Section 1.7).
SECTION 14. INSTALLATION AND MAINTENANCE 14.1 PROTECTION FROM THE ENVIRONMENT The normal environmental variables of concern are temperature and moisture. The standard CR510 is designed to operate reliably from -25° to +50°C (-55° to +85°C, optional). Internal moisture damage is reduced with a water resistant conformal coating on the current board. Extra desiccant should also be placed in the enclosure to prevent corrosion. Campbell Scientific offers fiberglass enclosures for housing a CR510 and peripherals.
SECTION 14. INSTALLATION AND MAINTENANCE System operating time for the batteries can be determined by dividing the battery capacity (amp-hours) by the average system current drain. The CR510 draws <1 mA in the quiescent state, 13 mA while processing, and 46 mA during an analog measurement; the length of operating time for each datalogger instruction is listed in the programming section. Typical current requirements for common CR510 peripherals are given in Table 14.2-1. 14.
SECTION 14. INSTALLATION AND MAINTENANCE ic ason A ic Pan A -3 AM 1.5V P s cino A P 1.5V ana -MA V5.1 3 aso nic ana -MA V5.1 3 A s cino ason A -3 AM A nic aso -MA V5.1 3 Pan Pan -MA V5.1 3 Pan Logan, K LK E BATTERY PAC A P B KALIN Y TTER L BA ERNA INT 12V AL TEMP ORAR Y BAT Utah IN USA MADE TERY FIGURE 14.3-1. BPALK Power Supply TABLE 14.3-1.
SECTION 14. INSTALLATION AND MAINTENANCE TABLE 14.3-2. PS12LA, Battery, and AC Transformer Specifications PS12LA Input Voltage WARNING: PS12 POWER SUPPLY PERMANENT DAMAGE TO RECHARGEABLE CELLS MAY RESULT IF DISCHARGED BELOW 10.
SECTION 14. INSTALLATION AND MAINTENANCE PS12LA. A common use for the PS512M is in radiotelemetry networks. The PS12LA cannot be modified to a PS512M. The maximum current drain on the 5 volt supply of the PS512M is 150 milliamps. 14.4 SOLAR PANELS Auxiliary photovoltaic power sources may be used to maintain charge on lead acid batteries.
SECTION 14. INSTALLATION AND MAINTENANCE 14.7 GROUNDING 14.7.1 PROTECTION FROM LIGHTNING Primary lightning strikes are those where lightning hits the datalogger or sensors directly. Secondary strikes occur when the lightning strikes somewhere near the system and induces a voltage in the wires. The purpose of an earth ground is to minimize damage to the system by providing a low resistance path around the system to a point of low potential.
SECTION 14. INSTALLATION AND MAINTENANCE In the field, an earth ground may be created through a grounding rod. A 12 AWG or larger wire should be run between a Terminal Strip power ground (G) terminal and the earth ground. Campbell Scientific's CM10 and CM6 Tripods and UT3 Tower come complete with ground and lightning rods, grounding wires, and appropriate ground wire clamps. 14.7.
SECTION 14. INSTALLATION AND MAINTENANCE CONTROL PORT C1 FIGURE 14.9-1. Relay Driver Circuit with Relay CONTROL PORT C1 FIGURE 14.9-2.
SECTION 14. INSTALLATION AND MAINTENANCE 14.10 MAINTENANCE The CR510 Terminal Strip and power supplies require a minimum of routine maintenance. When not in use, the PS12LA should be stored in a cool, dry environment with the AC charging circuit activated. The BPALK alkaline supply should not drop below 9.6 V before replacement. When not in use, remove the eight cells to eliminate potential corrosion of contact points and store in a cool dry place. store (e.g., Radio Shack). Table 14.
SECTION 14. INSTALLATION AND MAINTENANCE This is a blank page.
APPENDIX A. GLOSSARY ASCII: Abbreviation for American Standard Code for Information Interchange (pronounced "askee"). A specific binary code of 128 characters represented by 7 bit binary numbers. If the execution time of a Program Table exceeds the table's Execution Interval, the Program Table will be executed less frequently than programmed (Section OV4.3.1 and 8.9). ASYNCHRONOUS: The transmission of data between a transmitting and a receiving device occurs as a series of zeros and ones.
APPENDIX A. GLOSSARY INPUT STORAGE: That portion of memory allocated for the storage of results of Input and Processing Instructions. The values in Input Storage can be displayed and altered in the ∗6 Mode. ON-LINE DATA TRANSFER: Routine transfer of data to a peripheral left on-site. Transfer is controlled by the program entered in the datalogger. INSTRUCTION LOCATION NUMBER: As instructions are entered in a Program Table, they are numbered sequentially.
APPENDIX A. GLOSSARY PRINT PERIPHERAL: See Print Device. PROCESSING INSTRUCTIONS: These Instructions allow the user to further process input data values and return the result to Input Storage where it can be accessed for output processing. Arithmetic and transcendental functions are included in these Instructions. PROGRAM CONTROL INSTRUCTIONS: Used to modify the sequence of execution of Instructions contained in Program Tables; also used to set or clear flags.
APPENDIX A. GLOSSARY This is a blank page.
APPENDIX B. ADDITIONAL TELECOMMUNICATIONS INFORMATION B.1 TELECOMMUNICATIONS COMMAND WITH BINARY RESPONSES Command Description [no. of loc.]F BINARY DUMP - CR510 sends, in Final Storage Format (binary, the number of Final Storage locations specified (from current MPTR locations), then Signature (no prompt). DATALOGGER J AND K COMMANDS 3142J The 3142J command is used to toggle datalogger user flags, request final storage data, and to establish the input locations returned by the K command.
APPENDIX B. BINARY TELECOMMUNICATIONS User Enters K CR Datalogger Echo K CR LF Time Minutes byte 1 Time Minutes byte 2 Time Tenths byte 1 Time Tenths byte 2 Flags byte Ports byte (if requested) Data1 byte 1 Data1 byte 2 Data1 byte 3 Data1 byte 4 Data2 byte 1 Data2 byte 2 Data2 byte 3 Data2 byte 4 DataN byte 1 DataN byte 2 DataN byte 3 DataN byte 4 Final Storage Data bytes 01111111 binary byte 00000000 binary byte Signature byte 1 Signature byte 2 Time Minutes byte 1 is most significant.
APPENDIX B. BINARY TELECOMMUNICATIONS As an example of a negative value, the datalogger returns BF 82 0C 49 HEX. Converting the binary to hexadecimal, 1000100 BINARY = 44 HEX (or 68 decimal). Data byte 1 = BF HEX. 44 - 40 HEX = 4 HEX. Or in decimal: 68 - 64 = 4. Data byte 2 to 4 = 82 0C 49 HEX (or 8522825 decimal). Exponent is 4 decimal. Data byte 1 is converted to binary to find the Sign. BF HEX = 10111111 BINARY. The binary equivalent of Data bytes 2 to 4 is: 11011001 10011001 10011010.
APPENDIX B. BINARY TELECOMMUNICATIONS LO RESOLUTION FORMAT - D,E,F, NOT ALL ONES Bits Description A B, C D-H plus second Polarity, 0 = +, 1 = -. Decimal locators as defined below. 13 bit binary value (D=MSB). Largest possible number without D, E, and F all 1 is 7167, but CSI defines the largest allowable range as 6999. byte B C Decimal Location 0 0 1 1 0 1 0 1 XXXX. XXX.X XX.XX X.
APPENDIX B. BINARY TELECOMMUNICATIONS CSI defines the largest allowable range of a high resolution number to be 99999. Interpretation of the decimal locator for a 4 byte data value is given below. The decimal equivalent of bits GH is the negative exponent to the base 10. BITS GHA DECIMAL FORMAT 5 digits 000 001 010 011 100 101 XXXXX. XXXX.X XXX.XX XX.XXX X.XXXX .XXXXX 3.
APPENDIX B. BINARY TELECOMMUNICATIONS SENDING ASCII PROGRAM INFORMATION Program listings are sent in ASCII. At the end of the listing, the CR510 sends control E (5 hex or decimal) twice. Table 1.8-4 is an example of the program listing sent in response to command. Your numbers may be different. Note that the listing uses numbers for each mode: The numbers for ∗A, ∗B, and ∗C modes are 10, 11, and 12, respectively. TABLE B.4-2. Example Program Listing From ∗D Command 1 MODE 1 SCAN RATE 5 1:P17 1:1 1.
APPENDIX C. ASCII TABLE American Standard Code for Information Interchange Decimal Values and Characters (X3.4-1968) Dec. Char.
This is a blank page.
APPENDIX D. DATALOGGER INITIATED COMMUNICATIONS Datalogger initiated communications, commonly referred to as “callback," is when the datalogger initiates a call back to a computer. A CR510 uses Instruction 97 to initiate a call. For complete information on Instruction 97 and its parameters, refer to section 12. D.1 INTRODUCTION In most applications, the datalogger initiates a call to the computer to notify the user that a specific condition has occurred.
APPENDIX D.
APPENDIX D. DATALOGGER INITIATED COMMUNICATIONS Telecommunication Parameters For Station: Datalogger Type: Security Code: Use Asynchronous Communications Adapter: Communications Baud Rate: Data File Format: Final Storage Collection Area: Interface Device: Number: 115 CR510 0 COM2 9600 Comma separated ASCII Area 1 #1: Hayes Modem 18017509563 FIGURE D.3-1 Example Station File Settings for 115.STN Next, create a schedule (for PC208E) or a script (for TELCOM) file.
APPENDIX D. DATALOGGER INITIATED COMMUNICATIONS This is a blank page.
APPENDIX E. CALL ANOTHER DATALOGGER VIA PHONE OR RF E.1 INTRODUCTION Instructions 97, Initiate Telecommunications, and 63, Extended Parameters can be used to call another datalogger and collect data in input locations. This function can only be accomplished via phone or radio modems. E.2 PROGRAMMING Instruction 97 initiates the call and Instruction 63 specifies the dialing path and special options. More than one Instruction 63 may be required.
APPENDIX E. CALL ANOTHER DATALOGGER VIA PHONE OR RF interval of the remote datalogger), make the appropriate measurements, lower the flag, and allow for the input location to be transferred. Parameters 4, 5, 6, and 8 These parameters don’t apply when calling a datalogger. Leave these options as 0. Parameter 7 This parameter specifies the location to store the number of times the call fails.
APPENDIX E. CALL ANOTHER DATALOGGER VIA PHONE OR RF 4: Extended Parameters (P63) 1: 13 Terminate character 2: 00 3: 00 4: 00 5: 00 6: 00 7: 00 8: 00 Programming Example 2.2: Calling CR510 using RF modems Program: This program fragment calls a datalogger every 2 minutes at using the RF Path of “4 10F” (that is from the calling CR510 to RF ID# 4 to RF ID# 10 at the remote site). The CR510 toggles Flag 1 in the remote datalogger to trigger measuring and data collection.
APPENDIX E.
APPENDIX F. MODBUS ON THE CR10(X) AND CR510 Modbus communication capability is available as a Library Special on the CR10(X) and CR510 dataloggers. The implementation of MODBUS on the CR10(X) and CR510 allows input locations, ports, and flags to be read or to be set. Not supported are historical data retrieval, program downloads, setting the clock, and other functions of PC208. Modbus on the CR10(X) and CR510 does not preclude interfacing with PC208 as long as the communications system (radios, modems, etc.
APPENDIX F. MODBUS ON THE CR10(X) AND CR510 F.2.1 RF COMMUNICATIONS The Campbell Scientific UHF/VHF radio package is of course compatible with PC208. To also do Modbus on SCADA packages using the Campbell Scientific radio package, a special operation system PROM for the RF95 radio modem is needed. The RF95 PROMs will facilitate an auto route to the correct RF95. The RF95 address (dip switch) is set to the Modbus address of the CR510 at each specific site in this case.
APPENDIX F. MODBUS ON THE CR10(X) AND CR510 The register data is returned as two bytes per register and two registers per input location.
APPENDIX F. MODBUS ON THE CR10(X) AND CR510 This is a blank page.
APPENDIX G.
This is a blank page.
TD OPERATING SYSTEM ADDENDUM FOR CR510, CR10X, AND CR23X MANUALS REVISION: 1/03 COPYRIGHT 2002-2003 CAMPBELL SCIENTIFIC, INC.
This is a blank page.
TABLE DATA ADDENDUM TD and PakBus Operating System Addendum for CR510, CR10X, and CR23X Manuals AD1 Major Differences Table Data (TD) operating systems have two major differences from the standard operating systems: First - the namesake - in the way data are stored internally and second, in the options available for transferring that data to external devices. The standard operating systems support both on site external storage (i.e., storage modules) that may be manually retrieved and telecommunications.
TABLE DATA ADDENDUM AD2 Overview of Data Storage Tables Within a data table, data is organized in records and fields. Each row in a table represents a record and each column represents a field. To understand the concept of tables it may be helpful to consider an example. A CR10-TD is to be used to monitor 3 thermocouples (TC). Each hour a temperature for each of the three TC is to be stored. The table has 4 fields : "DATE_TIME TEMP1 TEMP2 TEMP3". Each hour a new "record" would be added.
TABLE DATA ADDENDDUM • Check the Maximum and Minimum Instructions (Instructions 73 and 74) as there is only one option to store time with the value. • Edit Input Location labels removing all spaces and special characters. Only letters, numbers, and the “_” characters are allowed. Labels should start with a letter. • Add labels for the Final Storage values. Use the same character as are allowed for Input Location labels. See Section 2.1 AD3.
TABLE DATA ADDENDUM AD4 Summary of Differences from the Datalogger Manual: Section Overview Differences Section 1 Section 1.5 A Mode is replaced by addendum – the TD loggers allocate memory differently. Section 1.8 - *D Mode is replaced by TD Addendum – TD loggers do not support storeing multiple programs or Storage Modules. PakBus Settings are added to the *D Mode. Replaced entirely by TD Addendum. Section 3.7.1 does not apply to the TD operating system which does not use Output Flag 0. Table 3.
TABLE DATA ADDENDDUM Section 12 The TD operating system does not use the output Flag 0. Commands dealing with it are not valid. Instruction 92 – There is no option for minutes, time is in seconds only.
TABLE DATA ADDENDUM This is a blank page.
MEASUREMENT AND CONTROL MODULE OVERVIEW While this section of the addendum references the CR10X, everything but the measurement instructions in the example programs applies to the other dataloggers as well. Table OV3.2-1 in the CR10X Manual is incorrect for the TD operating system. See Table OV4.1-1 below. The following sections OV4, OV5, and OV6 replace those in the CR10X Manual. OV4.
TD ADDENDUM—OVERVIEW TABLE OV4.2-2. Additional Keys Allowed in Telecommunications Key Action - Change Sign, Index (same as C) CR Enter/advance (same as A) OV4.3 PROGRAMMING SEQUENCE In routine applications, the CR10X measures sensor output signals, processes the measurements over some time interval and stores the processed results. A generalized programming sequence is: 1. Enter the execution interval. In most cases, the execution interval is determined by the desired sensor scan rate. 2.
TD ADDENDUM—OVERVIEW location 5, the temperature from channel 2 in input location 6, etc. Detailed descriptions of the instructions are given in Sections 9-12. Entering an instruction into a program table is described in OV5. OV4.5 ENTERING A PROGRAM Programs are entered into the CR10X in one of two ways: 1. Keyed in using the CR10X keyboard 2. Stored on disk/seat from computer A program is created by keying it directly into the datalogger as described in Section OV5, or on a PC using EDLOG.
TD ADDENDUM—OVERVIEW Key (ID:Data) Explanation *0 LOG 1 *6 A 06:0000 01:21.234 Exit Table 1, enter *0 Mode, compile table and begin logging. Enter *6 Mode (to view Input Storage). Advance to first storage location. Panel temperature is 21.234°C (the display will show the actual temperature). Wait a few seconds: 01:21.423 *1 2A 01:00 02:P00 84 A 02:P84 01:0.0000 0 01:0 A 0 02:0.000 02:0 A 1000 03:0.0000 03:1000.
TD ADDENDUM—OVERVIEW OV5.2 SAMPLE PROGRAM 2 This second example is more representative of a real-life data collection situation. Once again the internal temperature is measured, but it is used as a reference temperature for the differential voltage measurement of a type T (copperconstantan) thermocouple; the CR10X should have arrived with a short type T thermocouple connected to differential channel 5.
TD ADDENDUM—OVERVIEW SAMPLE PROGRAM 2 Instruction # (Loc:Entry) Parameter (Par#:Entry) Description *1 Enter Program Table 1 01:60 60 second (1 minute) execution interval Key "#D" repeatedly until is displayed 01:P00 Erase previous Program before continuing. 01:1 Measure internal temperature Store temp in Location 1 01:1 02:1 03:5 04:1 05:1 06:2 07:1 08:0 Measure thermocouple temperature (differential) 1 repetition Range code (2.
TD ADDENDUM—OVERVIEW The program to make the measurements and send the desired data to Final Storage has been entered. The program is complete. The clock must now be set so that the date and time tags are correct. (Here the example reverts back to the key by key format.) Key Display Explanation *5 A 00:21:32 05:01.01 Enter *5 Mode. Clock running but not set correctly. Advance to month-day (MMDD). 1004 05:1004 Key in MMDD (Oct 4 in this example). A 05:1990 Enter and advance to location for year.
TD ADDENDUM—OVERVIEW DATALOGGER MD9 MULTIDROP INTERFACE COAXIAL CABLE MD9 MULTIDROP INTERFACE SC12 CABLE RF95 RF MODEM COM210 PHONE MODEM SC932 INTERFACE RF100/RF200 TRANSCIEVER W/ ANTENNA & CABLE SRM-6A RAD SHORTHAUL MODEM SC32A RS-232 INTERFACE 2 TWISTED PAIR WIRES UP TO 5 MI.
SECTION 1. FUNCTIONAL MODES Sections 1.5 and 1.8 are replaced by the following sections. 1.5 MEMORY ALLOCATION - ∗A 1.5.1 INTERNAL MEMORY When powered up with the keyboard display attached, the CR10KD displays HELLO while performing a self check. The total system memory is then displayed in K bytes. The size of memory can be displayed in the ∗B mode. Input Storage is used to store the results of Input/Output and Processing Instructions.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES Flash Memory (EEPROM) Operating System (96 Kbytes-CR10X) (128 Kbytes-CR23X) How it works: The Operating System is loaded into Flash Memory at the factory. System Memory is used while the CR10X is running for calculations, buffering data and general operating tasks. Any time a user loads a program into the datalogger, the program is compiled in SRAM and stored in the Active Program areas.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES TABLE 1.5-2. Description of ∗A Mode Data Keyboard Entry ∗ A Display ID: Data 01: XXXX A 02: XXXX A 03: XXXXX A 04: XXXXX A 05: A A A 06: 07: 06: Description of Data Input Storage Locations (minimum of 28, maximum of 6655, but the usable maximum is less than this because intermediate and program storage require some of this memory). This value can be changed by keying in the desired number.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES to which memory is cleared on powerup, to set the PakBus ID, and to set communication to full or half duplex. CSI datalogger support software makes use of the ∗D Mode to upload and download programs from a computer. Appendix C gives some additional information on Commands 1 and 2 that are used for these operations. When "∗D" is keyed in, the CR10X will display "13:00". A command (Table 1.8-1) is entered by keying the command number and "A". TABLE 1.8-1.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES 1.8.6 SET INITIAL BAUD Table 1.8-10 shows the option codes available for setting the initial baud rate. Setting the initial baud rate forces the CR10X to try the selected baud rate first when connecting with a device. TABLE 1.8-9. Set Initial Baud Rate / Set RS232 Power Key Entry Display Comments *D 13:00 Enter Command 12A 12:00 Connect Baud Rate Enter Baud Rate Code X (Table 1.8-11). TABLE 1.8-10. Baud Rate Codes X=0 X=1 X=2 X=3 TABLE 1.8-11.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES The *D15 entries are sent when the program is retrieved. They can also be set like other *D settings via the DLD file. 1.8.11 SET PAKBUS ROUTER BEACON INTERVAL TABLE 1.8-13. Set Beacon interval 1.8.9 ALLOCATE MEMORY FOR GENERAL PURPOSE FILES *D16:xx ;allocate xx 64K byte chunks of memory for general purpose files. The area comes out of final storage space. Files are stored in a circular buffer (ring memory) in this space. 1.8.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES TABLE 1.8-14. Set PakBus Neighbors Key Entry Display Comments *D 13:00 Enter Command 19A 19:00 Port (17- SDC7, 18 – SDC8, 02 – CSI/O, 02—CR23X RS232 port, 9600 baud A 19:0000 Interval in seconds of the expected rate of communication. A neighbor is aged after 2.5 times this interval and the Hello attempt will be reinitiated. A A 01:xxxx 01:xx PakBus Address of neighbor Swath of neighbors with sequential addresses starting with above address.
TD ADDENDUM SECTION 1. FUNCTIONAL MODES This is a blank page.
THIS SECTION ENTIRELY REPLACES THE DATALOGGER MANUAL SECTION 2. SECTION 2. INTERNAL DATA STORAGE 2.1 FINAL STORAGE AND DATA TABLES Final Storage is that portion of memory where final processed data are stored. It is from Final Storage that data is transferred to your computer. With the TD datalogger, Final Storage is organized into Data Storage Tables. These data tables should not be confused with the program tables *1, *2, and *3 that contain the datalogger program.
TD ADDENDUM—SECTION 2. INTERNAL DATA STORAGE • The output interval is not an even multiple of the scan rate (table execution interval). • Table execution is such that Instruction 84 is not executed each scan. • Table overruns occur. • Watchdog errors (E08) occur. 2.1.2 RECORD NUMBERS In addition to a timestamp, each record has record number. The record numbers are unique within a data table. Record numbers are 4 byte unsigned numbers ranging from 0 to 4,294,967,296.
TD ADDENDUM—SECTION 2. INTERNAL DATA STORAGE The Timestamp and record number labels are added automatically. 2.2 DATA OUTPUT FORMAT AND RANGE LIMITS Data is stored internally in Campbell Scientific's Binary Final Storage Format (Appendix C.2). Data may be sent to Final Storage in either LOW RESOLUTION or HIGH RESOLUTION format. 2.2.1 RESOLUTION AND RANGE LIMITS Low resolution data is a 2 byte format with 4 significant digits and a maximum magnitude of +7999.
TD ADDENDUM—SECTION 2. INTERNAL DATA STORAGE TABLE 2.3-1. *7 Mode Command Summary KEY A ACTION "Advances" along a record, when the end of the record is reached the 'cursor' advances to the first field in the next record. B "Backs" up along a record, wraps to the last element in the previous record C "Climbs" up the table, toward the oldest data, stops on oldest record. D "Drops" down the table, toward the newest data, stops on newest record. # Enter Time Mode to display timestamp.
SECTION 3. INSTRUCTION SET BASICS Section 3.7.1 does not apply to the TD operating system which does not use Output Flag 0. Table 3.8-1 Valid Flag Commands are 11 – 19 to set high and 21- 29 to set low. Because the TD operating system does not use Flag 0, Commands 10 and 20 are not valid with the TD operating system. The following table replaces Table 3.10-1 for the TD operating system. TABLE 3.10-1.
TD ADDENDUM—SECTION 3.
THIS SECTION ENTIRELY REPLACES THE CR10X MANUAL SECTION 8. SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES This section contains examples for the CR10X. The appropriate voltage range codes would have to be selected for the CR23X (see CR23X Manual Section 8 for the measurement instructions). The CR510TD may not support all the examples.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 05: 01: 02: 03: P84 0 0 0 Data Table Seconds into interval Every time Records (0=auto; -=redirect) 06: 01: 02: P70 1 2 Sample Reps Loc smpl10avg 07: P 02: 03: End Table 1 In the above example, all samples for the average are stored in input locations. This is necessary when an average must be output with each new sample. In most cases, averages are desired less frequently than sampling.
TD ADDENDUM—SECTION 8.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES FIGURE 8.3-1. AM416 Wiring Diagram For Thermocouple and Soil Moisture Block Measurements EXAMPLE PROGRAM MULTIPLEXING THERMOCOUPLES AND SOIL MOISTURE BLOCK * 01: 1 600 01: 01: 02: 03: 04: 05: 06: P11 1 4 1 1 1 0 02: 01: P86 41 Do Set high Port 1 03: 01: 02: P87 0 16 Beginning of Loop Delay Loop Count 04: 01: P86 72 Do Pulse Port 2 05: 01: 02: P14 1 21 Thermocouple Temp (DIFF) Rep 2.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 8.4 INTERRUPT SUBROUTINE USED TO COUNT SWITCH CLOSURES (RAIN GAGE) Subroutines given the label of 97 or 98 will be executed when control ports 7 or 8, respectively, go high (5 V, see Instruction 85, Section 12). In this example, Subroutine 98 and control port 8 are substituted for a pulse counting channel to count switch closures on a tipping bucket rain gage. The subroutine adds 0.254 (mm, bucket calibrated for 0.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 8.5 SDM-A04 ANALOG OUTPUT MULTIPLEXER TO STRIP CHART This example illustrates the use of the SDMA04 4 Channel Analog Output Multiplexer to output 4 analog voltages to strip chart. While of questionable value because of current requirements and strip chart reliability, some archaic regulations require strip chart backup on weather data. The SDM-A04 may be used with the CR10 to provide analog outputs to strip charts.
TD ADDENDUM—SECTION 8.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES Time into Test, min 00 10 30 100 300 1000 to 10 to 30 to 100 to 300 to 1000 and greater Output Interval Loop # 10 sec. 30 sec. 1 min. 2 min. 5 min. 10 min. 1 2 3 4 5 6 This is accomplished with a series of loops (Instruction 87), where the delay and count parameters are used to implement the frequency of measurement (and output) and the duration of the that frequency. The unit of delay is the execution interval.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES Loop 6, Output every 10 minutes until stopped by user 17: 01: 02: P87 60 0 Beginning of Loop Delay Loop Count 18: 01: P86 1 Do Call Subroutine 1 19: 01: 02: P91 21 31 If Flag/Port Do if flag 1 is low Exit Loop if true 20: P95 End 21: P End Table 1 * 3 Table 3 Subroutines 01: 01: P85 1 02: 01: 02: P6 1 22 03: 1 04: 1 05: 1500 06: 1 07: .46199 08: 102 Beginning of Subroutine Subroutine Number Full Bridge Rep 7.
TD ADDENDUM—SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES This is a blank page.
SECTION 9. INPUT/OUTPUT INSTRUCTIONS *** 18 MOVE TIME TO INPUT LOCATION **** FUNCTION This instruction takes current time or date information and does a modulo divide (see Instruction 46) on the time/date value with the number specified in the second parameter. The result is stored in the specified Input Location. Entering 0 or a number greater than the maximum value of the time/date for the modulo divide will result in the actual time/date value being stored.
This is a blank page.
SECTION 11. OUTPUT PROCESSING INSTRUCTIONS Instructions 73 – Maximum and 74 – Minimum have only one time option. (Time is output as a quoted string.) Instruction 80 – Set Active Storage Area, is not in the TD operating system. Its functions are included in Instruction 84 – Data Table. Instruction 84 is only in the TD operating system. *** 73 MAXIMUM *** FUNCTION This instruction stores the MAXIMUM value taken (for each input location specified) over a given output interval.
TD ADDENDUM—SECTION 11. OUTPUT PROCESSING INSTRUCTIONS records. If 0 is entered, records will be automatically allocated such that all automatic tables will be filled at the same time. If some tables specify the number of records and some tables are automatically allocated, the specified records will be allocated first, and then the remaining memory will be divided among the automatically allocated tables such that they will be filled at the same time.
Section 12. Program Control Instructions The TD operating system does not use the output Flag 0. Commands dealing with it are not valid. Instructions 96 – Serial Output, 98 – Send Character, and 111 – Load Program from Flash, are NOT in the TD operating system. The instructions described in this section are only in the PakBus operating system. Wireless Networks More recent CR10X, CR510, and CR23X dataloggers with the PakBus operating system use the PakBus communications protocol.
Section 12. Program Control Instructions TABLE 12-1. CR205/CR210/CR215 in PakBus Network General Description PRO CON/limitations PakBus Instructions used in Datalogger Programming 12-2 Stand Alone Datalogger CR205 is programmed as a stand alone datalogger. Data are stored in datalogger and retrieved by computer running Loggernet • Data are stored in Datalogger, loggernet will automatically retry if communication fails.
Section 12. Program Control Instructions Radio Settings CR205 Power Mode and Header RF400 on CR10X or CR23X Beacon Interval RF400 on computer LoggerNet Settings When RF400 with direct access to network is connected to computer. Stand Alone SendGetData P190 Wireless Sensor P193 Datalogger Radio address, net address, and hop sequence must be the same in all CR2xxs and RF400s in the network. Because only one header length can be set for a radio, only one power cycling interval should be used in network; i.
Section 12. Program Control Instructions Notes: Edlog allocates only one of the input locations used in parameters 5 and 7 of this instruction. The additional input locations must be inserted manually using the Input Location Editor. If this instruction is used to retrieve a value or set a value in the remote datalogger's public (or input location) table (i.e., code 26 or 27 is used in parameter 3), Instruction 63 or 68 must follow this instruction to enter the variable name that will be accessed.
Section 12. Program Control Instructions PakBus Communication The unique address for the datalogger in the PakBus network that will be communicated with using this instruction. The Pakbus address is set in the datalogger's *D15 mode. Modbus Communication The unique address for the datalogger in a Modbus network that will be communicated with using this instruction (the slave device). The Modbus address is set in the datalogger's *D8 mode. The valid range of IDs for a Modbus slave device are 1 - 99.
Section 12. Program Control Instructions desirable to delay execution of subsequent instructions if those instructions perform further processing on the response from the remote. Security Enter the level 2 security code for the remote datalogger in the PakBus network that will be communicated with using this instruction when Command 22 is used for parameter 3 (send input location data to another datalogger).
Section 12. Program Control Instructions Remote Location PakBus Communication If data is being received from another datalogger in the PakBus network (Parameter 3 set to 21), this is the first input location in the remote datalogger from which to retrieve the data. If data is being sent to another datalogger in the PakBus network (Parameter 3 set to 22), this is the first input location in the remote datalogger in which to store the first data value.
Section 12. Program Control Instructions or unpacked with the least significant bit of the first byte, starting at this location. Incoming discrete values are set to -1.0 for ON and 0 for OFF. Outgoing discrete values are translated as 0.0 to OFF and non-zero to ON. For general information on input locations, see Input Locations. Result Code Location The input location in which to store the results of the data transfer.
Section 12. Program Control Instructions This instruction is not necessary in networks with wireless sensors and only one Master datalogger, because the Wireless Network Master (P193) and Wireless Network Remote (P196) instructions perform these functions automatically. This instruction can also be used to remove a datalogger from the PakBus network. 3: 1: 2: 3: PakBus - Send Message (P192) 00 Port 0000 Address 2 Clock Report Message Type Entry 2 13 Description Clock report; sends the current time.
Section 12. Program Control Instructions Edlog allocates only one of the input locations used in parameters 7, 9, and 10 of this instruction. The additional input locations must be inserted manually using the Input Location Editor. For information on manually inserting input locations, refer to Manually Inserting Input Locations Into Edlog. Number of Remotes The number of remote dataloggers/wireless sensors in the PakBus network that will be communicated with using this instruction.
Section 12. Program Control Instructions Example To set up the remotes for an hourly transmission at 15 minutes past the hour, the Time into Transmit Interval would be set at 900 and the Transmit Interval would be set at 3600. Transmit Delay Between Remotes The amount of delay, in seconds, between transmission from each remote. If this parameter is left at 0, the master datalogger will automatically assign the delay based on the routing table (usually about 3 seconds between remotes).
Section 12. Program Control Instructions For general information on input locations, see Input Locations. Swath to Send The number of data values that will be sent to each remote when data is transferred. First Location to Send The input location which holds the first value that should be sent to the dataloggers/wireless sensors in the group. The range of values sent to the remote(s) is determined by the Swath to Send parameter (parameter 8).
Section 12. Program Control Instructions Location with Seconds Until Transmit The input location in which to store the number of seconds until it is time to transmit to the host datalogger. Use Remote Clock Report (P195) A program control instruction that sets a remote datalogger's clock based on the clock value transmitted from the host (or master) datalogger specified by the address provided in parameter 1.
Section 12. Program Control Instructions Swath to Receive From Master The number of data values that will be received from the host (master) datalogger when data is transferred. If the host sends less than the number of values indicated by the swath, the remaining locations will be filled with an overrange value (-99999). If the host sends more than the number of data values indicated by the swath, the extra values will be discarded by the local datalogger.
Section 12. Program Control Instructions For general information on input locations, see Input Locations. Result Code Location The input location in which a code is stored to indicate the result of the data transfer. A 0 indicates the data transfer was successful; any number greater than 0 indicates a failure. A -2 indicates that communication was established with the datalogger at the specified address, but the datalogger was not programmed as a host (master) datalogger using Instruction 193.
Section 12. Program Control Instructions Result Location Result Code -1001 -1002 -1003 0 >1 Description The attempted setting is a read-only setting Out of space in the remote Syntax error Success Number of communication failures Routing Table Information (P199) A program control instruction that is used to store the datalogger's routing table information in a series of input locations. This instruction is used most often as a trouble-shooting tool.
Section 12.
Section 12. Program Control Instructions desired interval in the Communications Interval field. This option is the same as the datalogger's *D18 mode. In some networks, a beacon interval might interfere with regular communication in the PakBus network (such as in an RF network), since the beacon is broadcast to all devices within range.
LIST OF TABLES PAGE OVERVIEW OV3.1-1 ∗ Mode Summary ................................................................................................................ OV-8 OV3.1-2 Key Description/Editing Functions ..................................................................................... OV-9 OV3.1-3 Additional Keys Allowed In Telecommunications .............................................................. OV-9 OV6.1-1 Data Retrieval Methods and Related Instructions ..............................
LIST OF TABLES PAGE 6. 9 PIN SERIAL INPUT/OUTPUT 6.1-1 6.6-1 6.7-1 6.7-2 7. Pin Description ....................................................................................................................... 6-1 SD Addresses......................................................................................................................... 6-5 SC32A Pin Description ...........................................................................................................
LIST OF FIGURES PAGE OVERVIEW OV2.1-1 OV2.2-1 OV2.3-1 OV6.1-1 1. FUNCTIONAL MODES 1.5-1 2. CR510 Memory ...................................................................................................................... 1-7 INTERNAL DATA STORAGE 2.1-1 2.1-2 3. Ring Memory Representation of Final Data Storage.............................................................. 2-1 Output Array ID............................................................................................................
LIST OF FIGURES 8. PROCESSING AND PROGRAM CONTROL EXAMPLES 8.4-1 9. Connections for Rain Gage .................................................................................................... 8-3 INPUT/OUTPUT INSTRUCTIONS 9-1 Conditioning for Long Duration Voltage Pulses ...................................................................... 9-2 10. PROCESSING INSTRUCTIONS 10-1 Quadrant that the Angle Falls in is Defined by the Sign of x and y....................................... 10-7 13.