Campbell Scientific SM192/SM716 Storage Modules User Manual

Page 29

Advertising
background image

APPENDIX D. TELECOMMUNICATIONS COMMANDS

D-2

external power. The battery should then be
replaced.

100E LOADED BATTERY TEST: The state of
the battery is compared to a 2.5 VDC reference
after a 100 Ohm load is connected for 1
second. The Storage Module returns "1" if
above 2.5 VDC or "0" if below. If the loaded test
returns "0" and the unloaded test, "1", the
battery has residual capacity, and should be
replaced as soon as possible. This test uses
approximately 3 minutes of the useful life of the
battery.

nnnnF BINARY DUMP: Dump nnnn locations
(2 bytes each) until the next File Mark from the
location of the DLP. The dump will stop if the
Storage Reference Pointer is reached, followed
by 2 bytes displaying the Campbell Scientific
Inc. signature of the transmitted data. No data
conversion is made. Stored programs are
jumped over. "F" is the same as "1F". "0F"
means dump continuously and do not jump over
stored programs. 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.

0nG GO TO FILE MARK n (n = 1...5): File
Mark 1 is the beginning of the most current file.
File Mark 2 is the beginning of the file before the
most current file in the SM, etc. Addresses of
the last 5 files are maintained in memory for
rapid access. The command 03G would move
the Display Location Pointer (DLP) to File Mark
3. 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 SM is
reset. It is advanced only by the CR10 (*9)
Storage Module-to-Storage Module Dump
command, the "4H" command, or by the
SMCOM program "A" or "U" options.

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

0H STORE: The Storage Module will store all
data received on the Transmit Data line (TD)
until the SM is deactivated when the PE (Pin 6)
and CLK/HS (Pin 7) lines go low. External
power must remain applied for at least 5 msec
following data transmission for "housekeeping".
The SM stores 2 bytes at a time, so 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 through the
CR10.

3H MOVE STORAGE REFERENCE
POINTER: Moves the Storage Reference
Pointer (SRP) to the same location as the
Display Location Pointer. The Display Location
Pointer is set with the nnnnnnG command.
Status is displayed following command
execution.

CAUTION: This command is not intended
for general use. The next transmitted data
is written to the SM beginning at the current
location of the Storage Reference Pointer.
Thus, data will be written-over if the "SRP"
is moved backwards.

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
the data upon application of external power (5
VDC) or when a CR10 program with Instruction
96 is compiled. Status is displayed following
command execution.

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

Advertising