manualshive.com logo in svg
background image

2-1

SECTION 2.  STORING DATA FROM CR10, 21X, AND CR7

This section covers data storage from the CR10 and from the 21X and CR7 with current software.  21X
Microloggers released after February 1989, and CR7 dataloggers released after August 1991, contain
the OSX and OS7 Series PROMS which support two major SM functions that earlier versions do not:

1.  Datalogger programs can be stored and retrieved in the *D Mode.

2.  Instruction 96, transfer of binary Final Storage data to the SM, will not send data until the SM is
connected.  In older versions of the 21X and CR7 PROMS, the Instruction 96 transfer is simply an ASCII
printer dump.  Data are sent regardless of whether the SM is or is not connected.

See Section 3 for earlier PROM versions of the 21X and CR7.

2.1  INSTRUCTION 96 -- OUTPUT DATA

UNDER PROGRAM CONTROL

Instruction 96 is used to send Final Storage
data to a Storage Module under program
control.  Instruction 96 should be entered into
the program table following the Output
Processing Instructions.  Instruction 96 should
be executed each time the table is executed
(i.e. the program should not branch around or
skip over Instruction 96).

Instruction:

96

Parameter:

01: 7X - CR10 option 7X sends

the data to the Storage
Module with address "X".
X = 1 - 8

30 - 21X and CR7 use option

code 30 to send data to
Storage Module.

When output to the Storage Module is enabled
with Instruction 96, the Storage Module(s) may
either be left on-site and periodically
exchanged, or brought to the site to milk the
data from the datalogger.

The datalogger is capable of recognizing
whether or not the Storage Module is
connected.  Each time Instruction 96 is
executed and there is data to output, the
datalogger checks for the presence of the
Storage Module.  If one is not present, no data
are sent; the datalogger continues its other
operations without advancing its Storage
Module Pointer.

When the user finally does connect the Storage
Module to the datalogger, two things happen:

1.  Immediately upon connection, a File Mark is

placed in the Storage Module Memory at
the position of the Module's Storage
Reference Pointer (SRP).  The File Mark
allows the operator to distinguish blocks of
data from different dataloggers or from
different visits to the field.

2.  During the next execution of Instruction 96,

the datalogger recognizes that the Storage
Module is present, outputs all of the data
stored since the previous output, and
updates the Storage Module Pointer to the
DSP location.  This transfer occurs in binary
at 9600 baud.

Under optimum conditions, the datalogger
outputs 480 low resolution data points per
second; a full 64K CR10 takes over one minute
to complete the data transfer.  If the execution
interval is less than one minute, the data
transfer will be interrupted and will take longer
to complete.

Содержание SM192

Страница 1: ...SM192 716 STORAGE MODULE INSTRUCTION MANUAL REVISION 6 14 93 COPYRIGHT c 1989 1993 CAMPBELL SCIENTIFIC INC...

Страница 2: ...rchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequential damages Products may not be returned without prior authorizatio...

Страница 3: ...FROM CR10 21X AND CR7 2 1 2 1 Instruction 96 Output Data Under Program Control 2 1 2 1 1 Multiple Storage Modules with CR10 2 2 2 1 2 Use of Two Storage Modules with 21X or CR7 2 3 2 2 8 and 9 Mode K...

Страница 4: ...nd Retrieve Datalogger Programs 6 1 LIST OF TABLES 6 1 1 D Mode Keyboard Commands for the CR10 and 21X 6 1 A 1 9 Commands for Storage Module A 1 LIST OF FIGURES 1 2 1 Storage Module and SC12 Cable 1 2...

Страница 5: ...ers released after February 1989 and CR7 dataloggers released after August 1991 contain the OSX and OS7 Series PROMS which support two major SM functions that earlier versions do not 1 The D storage a...

Страница 6: ...the datalogger or from data retrieval interfaces such as the SC532 9 pin Peripheral to RS232 Interface the SM232A Storage Module RS232 Interface or the PC201 Clock SIO Tape Read Card Pin 1 of the 9 p...

Страница 7: ...connected and sends the backlogged data the next time it executes Instruction 96 The SM can store data either under program control Instruction 96 or under user control 8 Mode with CR10 9 Mode with 2...

Страница 8: ...SECTION 1 SM192 716 STORAGE MODULE OVERVIEW 1 4 Figure 1 4 1 Operation with Current CR10 21X and CR7 Figure 1 4 2 Printer Enable Operations Figure 1 4 3 Telecommunications Command State...

Страница 9: ...in the data from SMCOM or the CR10 9 Mode Command 3 The Storage Module will not store back to back file marks if a File Mark is the last thing stored in memory a second file mark will not be stored 1...

Страница 10: ...a to Storage Module When output to the Storage Module is enabled with Instruction 96 the Storage Module s may either be left on site and periodically exchanged or brought to the site to milk the data...

Страница 11: ...this manual respectively The default Storage Module address on reset as sent from the factory is 1 This will be sufficient for most users At a given time only one Storage Module will execute commands...

Страница 12: ...og voltage measurements Two options are available for data retrieval with this instruction 1 Data are stored in datalogger Input Storage Locations or 2 Raw data are sent out the datalogger serial port...

Страница 13: ...t When in this setting the SM can automatically change from capturing data at 76 800 baud to capturing data at 9600 baud This feature allows the use of two different baud rates in a single program The...

Страница 14: ...to the Storage Module automatically when it is properly configured and connected to the CR21 Use SCOM to set the Storage Module baud rate to 300 to collect CR21 data The Encode Decode switch should be...

Страница 15: ...3H command is used only during testing The Dump Pointer is an internal Storage Module pointer used for keeping track of the current start of dump for Storage Module to Storage Module data dumps and fo...

Страница 16: ...6 800 baud Bytes from the Storage Module input buffer are permanently stored in byte pairs The Campbell Scientific Inc dataloggers Final Storage Format data are always grouped in pairs Printable ASCII...

Страница 17: ...Campbell Scientific Inc s SC12 9 pin ribbon cable links the Storage Module to the SC532 Figure 5 1 1 The SC532 requires 12 VDC nominal which is usually furnished by plugging the AC DC adaptor unit in...

Страница 18: ...SECTION 5 DATA RETRIEVAL 5 2 5 1 1 Storage Module Connected With SC532 5 1 2 Storage Module Connected to PC201 Card 5 1 3 Communication Via the CR10 5 1 4 Storage Module Connected With SM232A...

Страница 19: ...1 c Execute SMCOM PC208 manual 5 3 2 NON IBM COMPATIBLES The following instructions apply to a configuration using a terminal emulator program and the SM232A It is assumed for this example that the t...

Страница 20: ...n data retrieval program 5 3 3 CR10 TELECOMMUNICATIONS INTERFACE Make the connections Figure 5 1 3 and establish communications with the CR10 Send the command XM CR to the CR10 where X is the Storage...

Страница 21: ...Display Description D 13 00 Enter D Mode 7XA 7X 00 Address Storage Module X 1YA Store Program in SM as Y Y 1 8 2YA Load Program Y from SM 3YA Erase Program Y from SM 13 0000 command completed The pro...

Страница 22: ...1 minute with the SM192 or 4 minutes with the SM716 the number of good RAM chips will be displayed 01 06 6 RAM chips in SM192 01 22 22 RAM chips in SM716 Most commands have at least one response Adva...

Страница 23: ...y location pointer to SRP 9 Oldest data to SRP 1 5 will loop within file boundaries 0 7 9 allows display to cross boundaries If no file is found the display returns 07 00 At this point another file ca...

Страница 24: ...A 3 COMMAND DISPLAY DESCRIPTION 9 DISPLAY ADDRESSES OF CONNECTED SM S XXXXXXXX 1 occupied 0 unoccupied 87654321 Addresses 8 1 from left to right 10 CHANGE ADDRESS 10 0X X is current address enter yA...

Страница 25: ...B 1 APPENDIX B SAMPLE FLOW DIAGRAM FOR DATA RETRIEVAL PROGRAM...

Страница 26: ...EVICES The Printer Enable Method Section 4 is used for non datalogger SM applications The PE line must be low when power is applied or removed If a switch is used to enable data storage the switch mus...

Страница 27: ...DC and Pin 7 CLK HS is low 0 VDC the processor is set to receive data asynchronously on Pin 9 TD When the PE line is dropped data remaining in the input buffer are stored and the location pointers are...

Страница 28: ...stored number of good Memory chips number of Errors logged max 255 number of Available storage locations number of locations Full Storage Reference Pointer Display Location Pointer and Checksum sum of...

Страница 29: ...P is advanced to the beginning of the next file The DLP is advanced as the SM reads through the data until a File Mark or the Storage Reference Pointer is encountered For long files the delay involved...

Страница 30: ...ch When used with a CR10 or 21X this switch can be set to 1 8 The address has no effect when used with other Campbell Scientific Inc dataloggers Following reset the SM address defaults to 1 b is the B...

Отзывы: