Campbell Scientific SM192, SM716 User Manual

SM192/716 STORAGE MODULE
INSTRUCTION MANUAL
REVISION: 6/14/93
COPYRIGHT (c) 1989, 1993 CAMPBELL SCIENTIFIC, INC.

WARRANTY AND ASSISTANCE

The
SM192/716 STORAGE MODULE
Products may not be returned without prior authorization. To obtain a Returned Materials Authorization (RMA), contact CAMPBELL SCIENTIFIC, INC., phone (435) 753-2342. After an applications engineer determines the nature of the problem, an RMA number will be issued. Please write this number clearly on the outside of the shipping container. CAMPBELL SCIENTIFIC's shipping address is:
CAMPBELL SCIENTIFIC, INC.
RMA#_____ 815 West 1800 North Logan, Utah 84321-1784
CAMPBELL SCIENTIFIC, INC. does not accept collect calls. Non-warranty products returned for repair should be accompanied by a purchase order to cover the repair.
815 W. 1800 N. Logan, UT 84321-1784 USA Phone (435) 753-2342 FAX (435) 750-9540 www.campbellsci.com
Campbell Scientific Canada Corp. 11564 -149th Street Edmonton, Alberta T5M 1W7 CANADA Phone (403) 454-2505 FAX (403) 454-2655
Campbell Scientific Ltd. Campbell Park 80 Hathern Road Shepshed, Leics. LE12 9RP ENGLAND Phone (44)-50960-1141 FAX (44)-50960-1091
WARRANTY
SM192/SM716 STORAGE MODULE

TABLE OF CONTENTS

PAGE
1. SM192/716 STORAGE MODULE OVERVIEW
1.1 Specifications .........................................................................................................................1-1
1.2 Physical Description ...............................................................................................................1-2
1.3 Power .....................................................................................................................................1-2
1.3.2 Backup Power............................................................................................................... 1-2
1.4 Function..................................................................................................................................1-3
1.4.1 Operation with Current CR10, 21X, and CR7...............................................................1-3
1.4.2 Operation with Dataloggers with Older PROMs and Non-Datalogger Devices
(Printer Enable Method)................................................................................................ 1-3
1.4.3 Data Retrieval/Telecommunication Command State ...................................................1-3
1.4.4 Memory Configuration ..................................................................................................1-5
1.4.5 Baud Rates...................................................................................................................1-5
1.4.6 File Mark.......................................................................................................................1-5
1.5 Quick Start-up Procedure................................................................................................................ 1-5
1.5.1 Preparation................................................................................................................... 1-5
1.5.2 Program the Datalogger to Send Data to the SM......................................................... 1-5
1.5.3 Manual Dump ............................................................................................................... 1-5
1.5.4 Data Retrieval...............................................................................................................1-5
2. STORING DATA FROM CR10, 21X AND CR7
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 -- Keyboard Initiated Data Transfer .............................................................. 2-3
2.2.1 *8 Mode -- CR10...........................................................................................................2-3
2.2.2 *9 Mode -- 21X or CR7.................................................................................................2-3
2.3 Storing Burst Measurement Data from the CR10 or 21X.......................................................2-3
2.3.1 Burst Data with CR10...................................................................................................2-3
2.3.2 Burst Data with 21X...................................................................................................... 2-3
............................................................1-1
............................................................2-1
3. THE PRINTER ENABLE METHOD OF DATA STORAGE
3.1 Baud Rates.............................................................................................................................3-1
3.2 Storing Data from the 21X and CR7 (All Versions Prior to OSX and OS7 Release)..............3-1
3.2.1 Instruction 96--Output Under Program Control.............................................................3-2
3.2.2 *4 Mode -- Output Device Enable................................................................................. 3-2
3.2.3 *9 Mode -- Keyboard Initiated Data Transfer................................................................ 3-2
3.3 Storing Data from the CR21...................................................................................................3-2
3.4 Special Data Storage Operations........................................................................................... 3-2
3.4.1 DSP4 Heads Up Display............................................................................................... 3-2
3.4.2 Storing Burst Measurement Data from the 21X............................................................3-2
.......................................3-1
I
TABLE OF CONTENTS
4. STORAGE MODULE MEMORY AND DATA ENCODING
4.1 File Marks...............................................................................................................................4-1
4.2 Pointers ..................................................................................................................................4-1
4.3 Data Format and Input Buffer................................................................................................. 4-1
5. DATA RETRIEVAL
5.1 Hardware................................................................................................................................5-1
5.1.1 SC532...........................................................................................................................5-1
5.1.2 SC209/PC201...............................................................................................................5-1
5.1.3 VIA CR10......................................................................................................................5-1
5.1.4 SM232A........................................................................................................................5-1
5.2 Software .................................................................................................................................5-1
5.3 Data Retrieval Steps............................................................................................................... 5-3
5.3.1 IBM PC/XT/AT/PS-2's and Compatibles.......................................................................5-3
5.3.2 Non-IBM Compatibles...................................................................................................5-3
5.3.3 CR10 Telecommunications Interface ........................................................................... 5-4
.................................................................................................................5-1
6. STORING AND RETRIEVING DATALOGGER PROGRAMS
6.1 *D Mode -- with Datalogger ....................................................................................................6-1
6.2 SMCOM -- with Computer......................................................................................................6-1
6.3 Using DSP4 Heads Up Display to Store and Retrieve Datalogger Programs........................ 6-1
........................................4-1
..................................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
1.4-1 Operation w/Current CR10, 21X, and CR7............................................................................1-4
1.4-2 Printer Enable Operations......................................................................................................1-4
1.4-3 Telecommunications Command State................................................................................... 1-4
5.1-1 Storage Module Connected with SC532.................................................................................5-2
5.1-2 Storage Module Connected to PC201 Card...........................................................................5-2
5.1-3 Communication via the CR10................................................................................................. 5-2
5.1-4 Storage Module Connected w/ SM232A.................................................................................5-2
B.1 Sample Flow Diagram for Data Retrieval Program................................................................B-1
C.1 Manual Switch Debounce Circuitry.........................................................................................C-1
APPENDICES
A. CR10 *9 STORAGE MODULE COMMANDS B. SAMPLE FLOW DIAGRAM FOR DATA RETRIEVAL PROGRAM C. NON-DATALOGGER APPLICATIONS
...........................................................................C-1
D. TELECOMMUNICATIONS COMMANDS
................................................................A-1
........................B-1
.......................................................................D-1
II

SECTION 1. SM192/716 STORAGE MODULE OVERVIEW

Campbell Scientific's SM192 and SM716 Storage Modules expand on-site RAM data storage for users of Campbell Scientific dataloggers. They also provide the user with a convenient method of transporting data from the field back to the office. The SM192 and SM716 are compatible with the CR10, 21X, CR7, and CR21 dataloggers as well as the DSP4 Heads Up Display.
This manual contains two broad divisions. This Overview surveys the Storage Modules and their function. It also explains how to quickly begin using an SM for straight- forward data storage operations. The remainder of the manual is a technical reference which describes in detail such operations as: storing CR10 data, storing data from Campbell Scientific's other dataloggers, data retrieval, and datalogger program storage and retrieval.
The Overview should be read by all users, as should Section 5 (Data Retrieval). Users with the CR10 or with the 21X or CR7 with current PROMS should read Section 2, while users of Campbell Scientific's other dataloggers should read Section 3. Section 6 (Storing and Retrieving Datalogger Programs) and Appendix D (Telecommunication Commands) may be used as needed.
NOTE: 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. The *D storage and retrieval of datalogger programs in the SM.
2. The Instruction 96 transfer of binary Final Storage data to the SM with the capability of not sending 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.

1.1 SPECIFICATIONS

Storage Capacity:
Model SM192 192,896 bytes Model SM716 716,672 bytes
Dimensions: 7.9" X 3.6" X 1.5"
Weight: SM192 1.5 lbs
SM716 1.9 lbs.
Canister: Sealed stainless steel
Processor: Hitachi 6303
Operating
Temp. Range: -35°C to +65°C
(-55°C to +85°C available as special order)
Baud Rates: 300, 1200, 9600, 76,800
Memory
Configuration: User selectable for either
ring style or fill and stop. Default is ring style.
Power Requirements 5 ±0.4 VDC @
100 mA (max.)
Active Processing 18 mA (avg.) Low Power Standby State 250 µA (avg.) Memory Backup Battery 3.5 VDC Lithium
Thionyl Chloride
Maintenance: There are no user serviceable
parts in the Storage Module. If the SM is not exposed to prolonged temperature extremes while disconnected from a primary power source, the battery will probably last 6 yrs. The Storage Module must be returned to the factory for battery replacement.
1-1
SECTION 1. SM192/716 STORAGE MODULE OVERVIEW
FIGURE 1.2-1. Storage Module and SC12 Cable

1.2 PHYSICAL DESCRIPTION

The Storage Module is housed in a sealed stainless steel canister with a single 9-pin D­connector. The Storage Module is connected to a datalogger via the SC12 9-Pin Peripheral Cable.
The SM192 and SM716 are identical except for the amount of memory they contain. The SM192 has a CPU card with six 32k RAM chips, providing 192,896 bytes of storage. The SM716 contains the CPU card plus a memory extension card with 16 additional 32k RAM chips. Total storage capacity in the SM716 is 716,672 bytes.

1.3 POWER

1.3.1 PRIMARY POWER

The Storage Module is powered by 5 VDC received from 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-pin D-connector supplies the 5 VDC. Pin 2 is both the power ground and signal ground.

1.3.2 BACKUP POWER

Memory backup power is provided by an internal 3.5 VDC lithium thionyl chloride battery when the Storage Module is disconnected from a primary power source. About 6 years of RAM backup power can be expected from the lithium battery at room temperature. Higher temperatures increase the current drain of the RAM chips and the self-discharge rate of the battery while lower temperatures decrease the battery's capacity, i.e., energy. At 50oC, battery life will be about 2 years; at -25oC, about 4 years can be expected. If possible, keep the Storage Module at or near room temperature when not in use.
1-2
SECTION 1. SM192/716 STORAGE MODULE OVERVIEW
Expected Battery Life SM192 SM716
@ 25C about 10 yrs. about 6 yrs. @ 50C about 3 yrs. about 2 yrs. @ -25C about 6 yrs. about 4 yrs.
NOTE: These figures apply when:
1. The SM is not connected to a primary power supply (such as a datalogger), and
2. The SM is continuously at one of the above temperatures.
Meeting these conditions is unlikely in normal operation.

1.4 FUNCTION

The SM192 and SM716 Storage Modules provide battery-backed, solid-state, RAM data storage to supplement the storage capacity in a datalogger. The Storage Modules can store data from all Campbell Scientific, Inc. dataloggers and from other devices which properly enable them.
All Storage Module operations occur in one of three basic operational modes:
1. Interactive communication with datalogger for data and program storage and retrieval.
2. The Printer Enable Method for data storage with the 21X and CR7 with older PROMS, the CR21, the DSP4, and non-datalogger devices.
3. The Telecommunications Command State for data retrieval and other miscellaneous operations.
The SM can store data either under program control (Instruction 96) or under user control (*8 Mode with CR10, *9 Mode with 21X and CR7). Datalogger programs can be stored in and retrieved from the Storage Module using the *D Mode. The CR10 *9 Mode enables the user to directly execute commands such as: check battery, change address, view data, etc. (Appendix A).

1.4.2 OPERATION WITH DATALOGGERS WITH OLDER PROMS AND NON-DATALOGGER DEVICES (PRINTER ENABLE METHOD)

In the Printer Enable Method (Figure 1.4-2), the Storage Module stores all data received (on pin
9) while the printer enable line (pin 6) is high. The Storage Module baud rate must be set to match that of the sending device (Section
1.4.5). The datalogger cannot detect if the SM is connected. Data are sent whether or not the SM is connected.
Data can be stored in the SM under program control (Instruction 96 or *4) or under user control (*9 Mode). Operations with the CR21, the DSP4 Heads Up Display and with non­datalogger devices (Appendix C) are also accomplished through the Printer Enable Method (Section 3).

1.4.3 DATA RETRIEVAL/TELECOMMUNICATION COMMAND STATE

Data retrieval and other interactive operations with a computer take place in the Telecommunications command state (Figure
1.4-3). TELCOM (PC208 software) uses the Telecommunications Commands for data retrieval, data storage, storage and retrieval of datalogger programs, SM software switch setting, status checks, battery tests and other functions (Section 5). The commands used by TELCOM are described in Appendix D.

1.4.1 OPERATION WITH CURRENT CR10, 21X, AND CR7

Storage Module operations with the current versions of the CR10, 21X, and CR7 are accomplished through the use of an interactive command structure with handshaking (Figure
1.4-1). If the SM is not connected, the datalogger will not send data. The datalogger detects when the SM is connected, and sends the backlogged data the next time it executes Instruction 96.
1-3
SECTION 1. SM192/716 STORAGE MODULE OVERVIEW
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
1-4
SECTION 1. SM192/716 STORAGE MODULE OVERVIEW

1.4.4 MEMORY CONFIGURATION

The Storage Module's memory can be configured as either Fill and Stop or Ring style memory. In the Fill and Stop configuration, the Storage Module stops accepting data when its memory is full. No data write-over occurs. In the Ring Memory configuration (the default setting), new data continue to be stored even after the memory is full. New data are written over the oldest data in the memory. The Storage Module's memory configuration can be changed using SMCOM or with Command 4 in the CR10 *9 Mode.

1.4.5 BAUD RATES

When storing CR7, CR10, and 21X data, the Storage Module is set for its default baud rate of 76,800/9600; baud rate matching is automatic and requires no user intervention. Data transfer takes place at 9600 baud.
With other devices, the baud rates of the device and the Storage Module must be matched by the user. Storage Module choices are: 300, 1200, 9600, 76,800, and 76,800/9600 (Section
4.1). With the CR21, the SM must be set to 300 baud. When using the Telecommunications Commands, sending several carriage returns will cause the Storage Module to match the computer's baud rate (300, 1200, or 9600 baud).

1.4.6 FILE MARK

File Marks are used to separate data in the Storage Module. A File Mark is automatically placed in the SM's memory when the SM is connected to a power source (datalogger or retrieval interface) or when the datalogger compiles a program containing Instruction 96. For example, if the user has retrieved data from one datalogger, disconnects the SM and then connects it to a second datalogger, a File Mark is placed in the data when the second datalogger is connected. This mark follows the data from the first datalogger and precedes the data from the second.
A File Mark can be placed 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.5 QUICK START-UP PROCEDURE

This Section describes the basics of storing and retrieving of datalogger data. These operations are discussed in detail in Sections 3, 4, and 5 of this manual.

1.5.1 PREPARATION

Before putting the Storage Module into service, connect it to a computer and use SMCOM to reset the SM and test its battery.
If it is not possible to use a PC compatible computer and SMCOM, the user must establish communication between the SM, the available computer, or terminal (Section 5) and reset the SM using the Telecommunications Commands (Appendix D) or use the *9 Mode in the CR10 (Appendix A).

1.5.2 PROGRAM THE DATALOGGER TO SEND DATA TO THE SM

Instruction 96 is used in the datalogger program to send data to the Storage Module. The SM is connected to the datalogger with the SC12 cable. Each time Instruction 96 is executed, Final Storage data accumulated since the last transfer are sent to the Storage Module.
For the CR7 and 21X WITHOUT Instruction 96 the *4 Mode is used to enable output to a printer. The CR21 automatically outputs printer data at 300 baud each time data is sent to Final Storage.
The DSP4 outputs printer data when the printer function is enabled.

1.5.3 MANUAL DUMP

The *8 Mode in the CR10 or the *9 Mode in the 21X and CR7 can be used to transfer data to the SM under keyboard control. All of the above options are discussed in greater detail in Section 4.

1.5.4 DATA RETRIEVAL

The simplest method of retrieving data from the Storage Module is to use SMCOM. SMCOM is contained in Campbell Scientific's PC208 software. It is written for IBM PC/XT/AT/PS-2's and compatibles. If the user has another type of computer, the SM telecommunications commands can be used to retrieve the data. Data retrieval (including interface devices) is discussed in Section 5.
1-5
Loading...
+ 21 hidden pages