background image

Appendix B.  Telecommunications Commands

B-2

NOTE:  In Ring mode, when data storage has gone around the memory more
than once the Number of Locations Full will fluctuate. This is because memory
is erased in 64 Kbyte blocks but filled an array at a time (see Section 4).

Refer to the L command for a discussion of the switch settings.

AA
Advanced Status

Example: B65536 T4194304 U131068 P131072 A00000000 F2097019 W00
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
program space in bytes, Total Program storage area in bytes, Active programs
stored (A10005008 means programs 1,5 and 8 are stored), F Number of
locations left until oldest data will be overwritten, Wrap status flag (00 = not
wrapped around, 01 = block of oldest data has been erased (see Section 4.4), 11
= data wrapped around ring memory, and Checksum (sum of all transmitted
ASCII characters since last %; wraps around at 8192 bytes).

Example:  B65536 T4194304 U131068 P131072 A00000000 F2097019 W00
C2379 is the expected response to the AA command after an SM4M has been
reset.

nnnnB

Move the DLP back nnnn output arrays from its current position.  If it is fewer
arrays to the beginning of the file (File Mark), the DLP will be placed at the
beginning of the file.  B gives the same result as 1B.  Status is displayed
following execution of command.  This command may take some time to
complete.

nnnnC
Comma Delineated
ASCII Dump

Dump nnnn output arrays from the location of the DLP.  The dump stops if the
next file mark or the Storage Reference Pointer is reached.  ‘C’ gives the same
result as ‘1C’.  ‘0C’ means dump continuously.  Status is displayed following
execution of command.

nnnnF
Binary Dump

Dump nnnn locations (two bytes each) until the next File Mark from the
location of the DLP.  The dump stops if the Storage Reference Pointer is
reached, followed by two bytes displaying the signature of the transmitted data.
No data conversion is made.  ‘F’ gives the same result as ‘1F’.  ‘0F’ means
dump continuously.  The status is not displayed following command execution.

nnnnnnG
Go To Location nnnnnn

Use this command to position the Display Location Pointer to any location in
the Storage Module.  The Status is then displayed.

OD
Go To the Oldest Data

The Display Location Pointer (DLP) is moved to the start of the oldest data in
the module.  (Note:  Command is ‘letter O’, NOT ‘zero’ D).

01G
Go To Last File

This command causes the Display Location Pointer (DLP) to move to the
beginning of the current file.  The status is then displayed.

08G
Go To Dump Pointer

The Display Location Pointer (DLP) is advanced to the Dump Pointer position.
The Dump Pointer is set to the beginning of memory when the Storage Module
is reset.  It is advanced only by the CR10/10X (*9) Storage Module-to-Storage
Module Dump command, the ‘4H’ command, and by SMS.

NOTE

Summary of Contents for SM16M

Page 1: ...INSTRUCTION MANUAL 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...

Page 2: ...ther warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequential...

Page 3: ...ation 1 7 1 5 2 Programming the Datalogger to Send Data to the Storage Module 1 7 1 5 3 Manual Dump 1 7 1 5 4 Data Retrieval 1 7 Section 2 Storing Data from Current Dataloggers 2 1 2 1 Instruction 96...

Page 4: ...A Interface 5 1 5 1 2 Via Datalogger 5 2 5 1 3 Via Remote Datalogger and Modem 5 3 5 2 SMS 5 3 5 3 Data Retrieval 5 3 5 3 1 Direct Connection 5 3 5 3 2 Connection Via CR500 510 CR10 10X or CR23X 5 4...

Page 5: ...ns 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 5 2 5 3 Communication Via the CR23X 5 2 5 4 Typical S...

Page 6: ...SM4M 16M Flash Storage Module Table of Contents iv This is a blank page...

Page 7: ...iew should be read by all users as should Section 5 Data Retrieval Users with the CR500 510 CR10 10X CR23X or with the 21X or CR7 with recent operating systems i e current dataloggers should read Sect...

Page 8: ...ndby State Less than 200 A Peak current flash erase 60 mA Maintenance There are no user serviceable parts inside the Storage Module L o g a n U T S M 4 M S N S O L I D S T A T E S T O R A G E M O D U...

Page 9: ...s Typically the flash memory can be erased and rewritten a minimum of 100 000 times 1 4 Function The SM4M and SM16M Storage Modules supplement the storage capacity in a datalogger The Storage Modules...

Page 10: ...ble Method In the Printer Enable Method see Figure 1 3 the Storage Module stores all data received on pin 9 while the printer enable line pin 6 is high The Storage Module automatically detects the bau...

Page 11: ...ons commands sending several carriage returns will cause the Storage Module to match the computer s baud rate see specifications above 1 4 6 File Marks File Marks are used to separate data in the Stor...

Page 12: ...The delay increases by approximately one second for each increase in the address number The first flash after the delay will last from 1 to 2 seconds depending on the last use of the module Further fl...

Page 13: ...of the flash memory adequate for most purposes An SM16M will take around 3 minutes to perform the quick reset 1 5 2 Programming the Datalogger to Send Data to the Storage Module Instruction 96 is use...

Page 14: ...Section 1 SM4M SM16M Storage Module Overview 1 8 This is a blank page...

Page 15: ...e with address X X 1 8 30 21X and CR7 use option code 30 to send data to the Storage Module When output to the Storage Module is enabled with Instruction 96 the Storage Module s may either be left on...

Page 16: ...ser should connect the SM to the datalogger and wait for the green LED to light When the LED goes off data transfer is complete and the SM can be disconnected To avoid data loss data must be retrieved...

Page 17: ...cution of multiple instances of Instruction 96 to Storage Modules Add 5ms to the time it takes to store the number of bytes to be transmitted 1ms per byte before executing the next Instruction 96 whic...

Page 18: ...n a unique format which includes calibration measurements at the beginning and end of the series of measurements Split part of the PC208 PC208W software packages will translate this Burst data 2 3 1 B...

Page 19: ...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 autom...

Page 20: ...imes more memory space than binary format Consider buying an operating system upgrade for dataloggers that do not allow binary data storage with P96 3 2 3 9 Mode Keyboard Initiated Data Transfer The 9...

Page 21: ...re 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 M...

Page 22: ...Section 3 The Printer Enable Method of Data Storage 3 4 This is a blank page...

Page 23: ...r more to be certain it places a File Mark in the Storage Module when reconnected A File Mark can be placed in the data by using SMS the 9 Mode command 3 not in 21X or CR7 or from a special P96 comman...

Page 24: ...In this case the byte will be stored with a null character ASCII code 0 as the second byte If a single byte remains in the input buffer when power is disconnected from the Storage Module it will be s...

Page 25: ...ing the data This process does have some consequence for memory use Data is stored as received With flash memory it is not possible to overwrite the previously received data transmission without erasi...

Page 26: ...ocks The next block containing the remainder of the bad data has not been erased In both cases the bad data will be collected as normal data and written to a file However when the end of bad data mark...

Page 27: ...respectively to activate the Storage Module Section 5 2 SMS performs this function automatically 9227 5 H a a Logan UT SM4M SN SOLID STATE STORAGE MODULE MADE IN USA FIGURE 5 1 Storage Module Connect...

Page 28: ...de is limited to a maximum speed of 9600 baud 19200 on the CR23X which can make the transfer of large volumes of data a lengthy process compared to direct connection to a PC where baud rates up to 115...

Page 29: ...1 for direct connection For communication via the CR500 510 CR10 10X or CR23X the setup shown in Figure 5 2 is required The CR23X can also be used without an SC32A Figure 5 3 SMS also has a terminal...

Page 30: ...e Module address 1 8 If the connections are correctly made and the Storage Module is properly addressed it will send back CR LF If the attempt to establish communications fails the datalogger will ret...

Page 31: ...wer up This feature is standard in the CR500 510 CR10 10X and CR23X dataloggers The program should be stored in program number eight in the module with address one 21X and CR7 PROMs before the current...

Page 32: ...commands or by manually deleting each of the programs in the module In the latter case after the last program is erased the module will proceed to erase and tidy up the program storage area The 21X o...

Page 33: ...SM A 01 0000 Enter command 1 Ready for instruction to effect command 1 248 01 248 Key in 248 to effect command 1 A 01 Execute SM Reset The module then executes the equivalent of the 1249K telecommuni...

Page 34: ...inserted 0 indicates that it was not 4 04 XX DISPLAY SET MEMORY CONFIGURATION enter the appropriate code to change configuration 0 ring 1 fill and stop 5 DISPLAY STATUS A to advance to each window 01...

Page 35: ...ay Location Pointer DLP is used to display Storage Module data The Storage Reference Pointer SRP indicates the next location to be written to in the Storage Module The Dump Pointer is an internal Stor...

Page 36: ...result as 1B Status is displayed following execution of command This command may take some time to complete nnnnC Comma Delineated ASCII Dump Dump nnnn output arrays from the location of the DLP The...

Page 37: ...designate a new area of memory in the Storage Module File Marks are automatically placed in data at power up upon connection to datalogger or retrieval interface or when a CR500 510 CR10 10X or CR23X...

Page 38: ...instead A module with damaged memory requires a full memory test to determine how much usable memory remains The switches are not changed to their default settings abfeL Switch Settings a is the Stora...

Page 39: ...w 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 saved The processor then...

Page 40: ...This is a blank page...

Page 41: ...rsibly erased during the upgrade process To load the operating system you will need to connect the module to a PC running Windows via an SC532 A interface Please follow the instructions supplied with...

Page 42: ...This is a blank page...

Page 43: ...can be modified to connect to the datalogger s power terminals as follows 1 Unplug field cable from datalogger and SC532A 2 Cut off DB9 connector 3 Remove cable sheath exposing positive RED wire and...

Page 44: ...This is a blank page...

Page 45: ...This is a blank page...

Page 46: ...campbellsci com br suporte campbellsci com br Campbell Scientific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientifi...

Reviews: