background image

Appendix B.  Telecommunications Commands

B-3

09G
Go To Next File

The Display Location Pointer (DLP) is advanced to the beginning of the next
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.  The status is displayed following
command execution.  This command can be used to locate every file in the
Storage Module.

09GG
Go To Next File with
Progress Indicator

Like 09G but this command outputs the value of the DLP every second as it
moves through memory, as the module searches for the next file mark.

0H
Store

The Storage Module will store all data received on the Transmit Data (TD) line
until the Storage Module is deactivated when the PE (Pin 6) and CLK/HS (Pin
7) lines go low.  External power must remain applied for at least 5 ms
following deactivating PE and CLK/HS for ‘housekeeping.’  The Storage
Module stores two bytes at a time.  If the total number of bytes transmitted is
an odd number, a NULL character will be added at the end of the transmission.
This command is not available in telecommunications via CR500/CR510,
CR10/10X or CR23X.

4H
Move Dump Pointer To
Display Location
Pointer

The Dump Pointer is moved to the current position of the Display Location
Pointer.  Refer to command ‘08G’ regarding the Dump Pointer.  This command
is not intended for general use.

9H
Store File Mark in Data

Used to 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 compiles a
program containing Instruction 96.  A File Mark can also be inserted under
program control.  Status is displayed following command execution.

nl
Dump Program n
(n = 1…8)

If program ‘n’ is found, the Storage Module dumps it to the user device,
otherwise it sends a null program (30 05 05 HEX) followed by a prompt
without a carriage return and line feed.

nJ
Store Program n
(n = 1…8)

The Storage Module responds with ‘<’ after which the Storage Module stores
program data received on its TD line, recording its start position in the program
directory.  Subsequent data does not write over stored datalogger programs
unless the directory entry is cleared or modified.  Programs must start with the
Start ASCII character (7D HEX) and end with two 

CTRL

-

E

 (05 05 HEX)

characters.  Status is displayed following command execution.  This command
is not available when communicating with the Storage Module using an RF
Modem.

nJJ
Store Program n, with
Checksum Signature

Like the nJ command, but the module outputs a 2 byte CSI checksum signature
in response to the 05 05 HEX termination characters, which allows easy
validation that the program has been received correctly.

n0nJ
Clear Program n
(n = 1…8)

Clears directory entry for program ‘n’ and frees the memory space for data
storage – this only becomes available for further program storage if all
programs are deleted.

Example: To clear program 7, the command is 707J.  Status is displayed
following command execution.

Содержание SM16M

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...SM4M 16M Flash Storage Module Table of Contents iv This is a blank 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 14: ...Section 1 SM4M SM16M Storage Module Overview 1 8 This is a blank 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 22: ...Section 3 The Printer Enable Method of Data Storage 3 4 This is a blank 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 40: ...This is a blank 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...

Страница 42: ...This is a blank 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...

Страница 44: ...This is a blank page...

Страница 45: ...This is a blank 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...

Отзывы: