Campbell Scientific SM4M/SM16M Storage Modules User Manual

Page 37

Advertising
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.

Advertising