manualshive.com logo in svg
background image

3-1

SECTION 3.  THE PRINTER ENABLE METHOD OF DATA STORAGE

Data from the 21X and CR7 with PROMS older than the OSX and OX7 series PROMS and from the
CR21 and DSP4 are stored in the Storage Module via the Printer Enable Method, i.e., data on the TD
line (pin 9) are stored while the PE line (pin 6) is high.  This is also the method of data storage with non-
datalogger devices.

The Storage Module defaults to the Printer Enable Method each time it is powered up by 5 VDC applied
to Pin 1 of its 9-pin "D" connector.  Up to two Storage Modules can be connected to the 21X, CR7, or
CR21 dataloggers at one time.  If two are connected, one should be set to Fill and Stop, and the other
configured as Ring Memory.  Storage Module-to-Storage Module dumps are not possible with the Printer
Enable Method.

NOTE:  If the PE line is high when power is applied, the SM will not store data until the next time PE
goes high.  Also, if power to the SM is interrupted during a transmission, data since the last time PE
went high will be lost.

3.1  BAUD RATES

In the Printer Enable Method, the user must
ensure that the baud rates of the Storage
Module and the datalogger are matched.  The
CR21 has a fixed baud rate of 300.  Other
Campbell Scientific Inc. dataloggers have
selectable baud rates.

The Storage Module baud rate is software
selectable, and may be set using SMCOM.
Data can be sent to the Storage Module at baud
rates of 300, 1200, 9600, 76,800, and 76,800-
with-9600-fall back.

The 76,800-with-9600-fall back configuration is
the default setting after an SM reset.  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 practical application of this would be in a
program which generates both BURST data at
76,800 baud and "normal" data at 9600 baud.

Baud rate errors, i.e., baud rate mismatches
between the datalogger and the Storage Module,
cause the Storage Module to increment its error
counter and enter a low power standby state.

3.2  STORING DATA FROM THE 21X

AND CR7 (ALL VERSIONS PRIOR TO
OSX AND OS7 RELEASE)

Instruction 96 is the recommended method for
the CR7 and the 21X with Extended Software.
The *4 Mode can also be used for this data
transfer but Instruction 96 is more efficient.  For

large volumes of data two SMs can be
connected to the datalogger.  Use SMCOM to
set one as Fill and Stop, and the other as Ring
Memory.

There are two additional methods of outputting
printer data to the SM from the 21X and CR7:

1.

The *4 Mode

2.

The *9 Mode (NOTE:  This *9 Mode is
different from the *9 Mode in either the
CR10 or CR21).

CAUTION:  Do not use Instruction 96
(ASCII option), *4 or *9 to output arrays with
more than 100 elements if the Storage
Module is configured to encode the data.
The 101st, 201st, 301st, etc., data points
will each be interpreted as a start-of-array
and the data following these points will be
meaningless.

Alternatives:

1.

Program the datalogger such that no output
array has more than 100 elements.

2.

Use Instruction 96 (CR7X and Extended
21X) to output the data in Final Storage
Format so no encoding takes place.

3.

Disable the encode option and store data
as is, in ASCII.  However, this uses 6 times
as much memory as Final Storage Format.

Содержание 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...

Отзывы: