Campbell SM4M Instruction Manual

Storage module
Hide thumbs Also See for SM4M:
Table of Contents

Advertisement

Quick Links

SM4M/SM16M Storage Module
Revision: 3/01
C o p y r i g h t
( c )
2 0 0 0 - 2 0 0 1
C a m p b e l l
S c i e n t i f i c ,
I n c .

Advertisement

Table of Contents
loading

Summary of Contents for Campbell SM4M

  • Page 1 SM4M/SM16M Storage Module Revision: 3/01 C o p y r i g h t ( c ) 2 0 0 0 - 2 0 0 1 C a m p b e l l S c i e n t i f i c ,...
  • Page 2 CAMPBELL SCIENTIFIC, INC. CAMPBELL SCIENTIFIC, INC. will return such products by surface carrier prepaid. This warranty shall not apply to any CAMPBELL SCIENTIFIC, INC. products which have been subjected to modification, misuse, neglect, accidents of nature, or shipping damage. This warranty is in lieu of all other warranties, expressed or implied, including warranties of merchantability or fitness for a particular purpose.
  • Page 3: Table Of Contents

    PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmarks tab for links to specific sections. Section 1. SM4M/SM16M Storage Module Overview .1-1 1.1 Specifications..................1-1 1.2 Physical Description ................1-2 1.3 Power ....................
  • Page 4 SM4M/16M Flash Storage Module Table of Contents 3.3 Special Data Storage Operations............3-2 3.3.1 DSP4 Heads Up Display ............. 3-2 3.3.2 Storing Burst Measurement Data from the 21X ......3-2 Section 4. Storage Module Memory: Details of Data Storage .......... 4-1 4.1 File Marks .....................
  • Page 5 SM4M/16M Flash Storage Module Instruction Manual Figures 1-1 Storage Module and SC12 Cable............1-2 1-2 Operation with Current Dataloggers ............. 1-4 1-3 Pin-Enable Operations................1-4 1-4 Telecommunications Command State........... 1-5 5-1 Storage Module Connected to a Portable PC via SC532(A) Interface............... 5-1 5-2 Communication Via the CR500/510, CR10/10X or CR23X ....
  • Page 6 SM4M/16M Flash Storage Module Table of Contents This is a blank page.
  • Page 7: Section 1. Sm4M/Sm16M Storage Module Overview

    Campbell Scientific dataloggers. They also provide the user with a convenient method of transporting data from the field back to the office. The SM4M and SM16M are compatible with the CR500/510, CR10/10X, 21X, CR23X and CR7 dataloggers as well as the DSP4 Heads Up Display.
  • Page 8: Physical Description

    Section 1. SM4M/SM16M Storage Module Overview Baud Rates for data storage: 9600, 76800 baud Baud Rates for telecommunications: 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200. Memory Configuration: User selectable for either ring style (default) or fill and stop.
  • Page 9: Power

    The internal memory is split into 64 kb blocks. There are 64 blocks of memory in an SM4M and 256 blocks in an SM16M. This equates to a capacity of more than 2 million low-resolution storage values for the SM4M and more than 8 million low-resolution values for the SM16M (see Section 4.4).
  • Page 10: Operation With Dataloggers With Older Operating Systems

    Section 1. SM4M/SM16M Storage Module Overview STORE DATA W/ INSTRUCTION 96 STORE DATA W/ *8 MODE CR500/CR510/CR10/CR10X/CR23X SM4M/ Datalogger STORE DATA W/ *9 MODE 21X, CR7 UPLOAD AND DOWNLOAD PROGRAMS W/ *D MODE *9 MODE COMMANDS CR500/CR510/CR10/CR10X/CR23X FIGURE 1-2. Operation with Current Dataloggers...
  • Page 11: Memory Configuration

    Section 1. SM4M/SM16M Storage Module Overview Emulator mode. A list of direct telecommunication commands is shown in Appendix B. SM4M/ Computer/ Terminal FIGURE 1-4. Telecommunications Command State 1.4.4 Memory Configuration The Storage Module’s memory can be configured as either Fill and Stop or Ring memory.
  • Page 12: Power-Up Status Indication

    Section 1. SM4M/SM16M Storage Module Overview store contiguous File Marks; if a File Mark is the last thing stored in memory, a second file mark will not be stored. 1.4.7 Power-up Status Indication When power is applied to the Storage Module by plugging it into a datalogger or SC532(A), the red “...
  • Page 13: Quick Start-Up Procedure

    Section 1. SM4M/SM16M Storage Module Overview 1.5 Quick Start-Up Procedure This Section describes the basics of storing and retrieving 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 SMS to reset the Storage Module and test the memory.
  • Page 14 Section 1. SM4M/SM16M Storage Module Overview This is a blank page.
  • Page 15: Section 2. Storing Data From Current Dataloggers

    Section 2. Storing Data from Current Dataloggers This section covers data storage from the CR500/510, CR10/10X, CR23X and from the 21X and CR7 with current software. See Section 3 for the 21X and CR7 with early operating systems. 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.
  • Page 16: Multiple Storage Modules With The Cr500/510, Cr10/10X, Or Cr23X

    These dataloggers use synchronous addressing to communicate with multiple peripherals. The CR23X must have OS1.7 or later to work with multiple modules. Up to four SM4M/SM16M Storage Modules can reliably be connected to a single datalogger. Each is assigned an address, 1 to 8.
  • Page 17: Use Of Two Storage Modules With The 21X Or Cr7

    Section 2. Storing Data from Current Dataloggers Commands directed to addresses other than #1 can be accepted only by the SM with the correct address. Do not connect Storage Modules with the same address to a datalogger at the same time. If only one Storage Module is used with the datalogger, its address should be #1.
  • Page 18: Storing Burst Measurement Data From The Cr10/10X, Cr23X Or 21X

    Section 2. Storing Data from Current Dataloggers NOTE This function is different from the *9 Mode in the CR500/510, CR10/10X or CR23X. 2.3 Storing Burst Measurement Data from the CR10/10X, CR23X or 21X Burst Measurement (Instruction 23) is a special datalogger instruction used to make fast analog voltage measurements.
  • Page 19: Section 3. The Printer Enable Method Of Data Storage

    3.1 Baud Rates In the Printer Enable Method, you must ensure that the baud rates of the Storage Module and the datalogger are matched. The SM4M/SM16M will only accept data at 9600 or 76800 baud. There is no user configuration for this setting in the module as it automatically detects the speed of the data sent to it.
  • Page 20: Mode-Output Device Enable

    Section 3. The Printer Enable Method of Data Storage Output Processing Instructions in the program table. Consult the datalogger manual for details about using Instruction 96. Do not use both the *4 Mode and Instruction 96 to activate a device in a datalogger program. Instruction: Parameter: 01:22...
  • Page 21 Section 3. The Printer Enable Method of Data Storage 1. Data is stored in datalogger Input Storage locations 2. Raw data is sent out the datalogger serial port. In the second case, the Storage Module can capture data at 76,800 baud. When the Burst Measurement (Instruction 23) is used with the 21X, select the destination (parameter 4) option as 2 for serial port output at 76,800 baud to send data to the Storage Module.
  • Page 22 Section 3. The Printer Enable Method of Data Storage This is a blank page.
  • Page 23: Section 4. Storage Module Memory: Details Of Data Storage

    Section 4. Storage Module Memory: Details of Data Storage Detailed knowledge of the way data is stored in the Storage Module is not normally necessary for day-to-day use. However, if you ever need to work the exact memory available or try to extract corrupted data it may be helpful to know these details. 4.1 File Marks File Marks are used to separate data in the Storage Module.
  • Page 24: Data Formats - Space Requirements

    The modules store data in the format in which it is sent to them. There is no conversion or encoding of the data received before it is stored. Data can be sent to the module in either the Campbell Scientific Final Storage Format (binary) or in the Printable ASCII format. One low resolution data point requires two bytes in binary format.
  • Page 25: Bad Data

    Storage Module size minus 4 bytes per block (used for internal marking purposes), MINUS the worst case erased data size. Table 4-1. Ring-Memory Effective Memory Capacity Module Bytes Low-Res Data Values SM4M 4104516 2052258 SM16M 16686660 8343330...
  • Page 26 Section 4. Storage Module Memory: Details of Data Storage A Storage Module in ring-mode has filled the memory, wrapped around and erased the block containing the start of bad data marker or an area of bad data which straddles flash blocks. The next block containing the remainder of the bad data has not been erased.
  • Page 27: Section 5. Data Retrieval

    FIGURE 5-1. Storage Module Connected to a Portable PC via an SC532(A) Interface 5.1.1 SC532(A) Interface A standard 25-pin ribbon cable (e.g., Campbell Scientific SC25) links the SC532(A) to the computer’s 25-pin serial port. If the computer has a 9-pin serial port, a 9-pin to 25-pin adaptor cable is required.
  • Page 28: Via Datalogger

    “ framing error” after correctly collecting data with SMS. Data- logger SM4M/16M FIGURE 5-2. Communication Via the CR500/510, CR10/10X or CR23X Communication between a PC and Storage Module can also take place via the CR23X when the computer RS232 is connected to the CR23X RS232 and the Storage Module is connected to the CS I/O port (Figure 5-3).
  • Page 29: Via Remote Datalogger And Modem

    SMS (part of the PC208W software package) is a Windows-based program which provides a simple and efficient way of communicating with the SM4M/SM16M, as well as Campbell Scientific’s Card Storage Module (CSM1), Card Reader (MCR1) and PC (PCMCIA) Cards. SMS normally requires the SC532(A) interface as shown in Figure 5-1 for direct connection.
  • Page 30: Connection Via Cr500/510, Cr10/10X Or Cr23X

    Section 5. Data Retrieval 5.3.2 Connection Via CR500/510, CR10/10X or CR23X Make the connections (see Figure 5-2 or 5-3) and establish communications with the datalogger. Send the command ‘xM,CR’ to the datalogger (where x is the Storage Module address 1...8). If the connections are correctly made and the Storage Module is properly addressed, it will send back ‘CR, LF, %.’...
  • Page 31: Section 6. Storing And Retrieving Datalogger Programs

    Storage Module in the *D Mode. (OSX and OS7 series PROMs required for 21X and CR7.) Campbell Scientific’s SMS software allows programs to be transferred between the computer and the Storage Module. Using these capabilities, a program can be developed in the computer, stored in the Storage Module, then carried to the field and downloaded to the datalogger.
  • Page 32: Using Dsp4 Heads Up Display To Store And Retrieve Datalogger Programs

    Section 6. Storing and Retrieving Datalogger Programs The program is stored, retrieved, or erased by referring to a program number (1...8) in the Storage Module. If the program to be retrieved does not exist in the Storage Module, the error message ‘E99’ will be displayed. There are 128 kbytes of memory available for program storage.
  • Page 33: Appendix A. *9 Mode-Storage Module Commands

    (Appendix B, note this is not a full 1248K reset as some older modules perform in response to this command which would take too long for field use). After about one minute with the SM4M, or three minutes with the SM16M, the number of megabytes of available data storage is displayed:...
  • Page 34 SM4M is approximately 1 minute; SM16M takes nearly 3 minutes. 01:XX The number of megabytes of data storage (4 for SM4M, 16 for SM16M). 03:01 INSERT FILE MARK at the position of the SRP if a file mark wasn’t the last thing placed in the data.
  • Page 35: Appendix B. Telecommunications Commands

    Unlike previous modules this counter does not increment if corrupted characters are received in telecommunications mode. Example: V1 S1400 P0 M64 E0 A2052258 F1 R2 L2 D2 C2226 is the expected response to the A command after an SM4M has been reset.
  • Page 36 Refer to the L command for a discussion of the switch settings. Example: B65536 T4194304 U131068 P131072 A00000000 F2097019 W00 Advanced Status C3060 is the expected response to the AA command after a SM4M has been reset. Data Flash Block size in bytes, Total Data Flash in bytes, Largest Unused...
  • Page 37 Appendix B. Telecommunications Commands The Display Location Pointer (DLP) is advanced to the beginning of the next Go To Next File file. The DLP is advanced as the Storage Module reads through the data until a File Mark or the Storage Reference Pointer is encountered. For long files, the delay involved could be noticeable.
  • Page 38 Switch Settings CR10/10X or CR23X, this switch can be set to 1...8. The address has no effect when used with other Campbell Scientific dataloggers. Following reset, the Storage Module address defaults to 1. ‘b’ is the Baud Rate Switch – this is not currently used in the flash modules.
  • Page 39: Appendix C. Storage Module 9-Pin Connector

    Appendix C. Storage Module 9-Pin Connector The pins on the 9-pin sub-miniature D connector on the Storage Module are numbered 1 to 9. A general description of the function of each pin follows: Pin 1 (Input) 5 VDC Supply provides power to the Storage Module. 5±...
  • Page 40 This is a blank page.
  • Page 41: Appendix D. Upgrading The Operating System

    The Storage Module operating system is stored in flash memory. (It is NOT deleted when the Storage Module is reset.) The operating system can be upgraded using Campbell Scientific’s CSOS download utility. If you need to upgrade the module operating system, please contact Campbell Scientific for a copy of this utility compatible with the SM4M and SM16M.
  • Page 42 This is a blank page.
  • Page 43: Appendix E. Sc532A

    The correct barrel connector polarity is (+) on the inner bore and ( ) on the outer sleeve. The SM4M/SM16M requires that a minimum of 6 VDC @ 100 mA be supplied to the SC532A POWER jack from AC adapter or field cable. The maximum voltage that can be safely applied to the SC532A POWER jack is 17 VDC.
  • Page 44 This is a blank page.
  • Page 45 This is a blank page.
  • Page 46 Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za sales@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA)

This manual is also suitable for:

Sm16m

Table of Contents