Campbell Scientific SM192/SM716 Storage Modules User Manual

Page 30

Advertising
background image

APPENDIX D. TELECOMMUNICATIONS COMMANDS

D-3

nJ STORE PROGRAM n (n = 1...8): The
Storage Module responds with "<" after which
the SM will store 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.

n0nJ CLEAR PROGRAM n (n = 1...8): Clears
directory entry for program "n" and frees the
memory space for data storage.

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

1248K RESET STORAGE MODULE: Resets
all pointers, tests RAM memories, and places a
File Mark at the beginning of memory.

CAUTION: ALL DATA IS LOST IN THE
STORAGE MODULE. If a bad RAM
memory is encountered, the Storage
Module will use only the good RAM up to
the bad RAM. The number of good RAM
memories is indicated in the Status. During
Reset, a plus (+) for each RAM written to,
and a minus (-) for each RAM successfully
read is output by the Storage Module. An
"X" is output for each RAM which cannot be
read successfully. If the Storage Module
returns a "%" without a "<cr><lf>," the
memory test failed. Otherwise, the status is
displayed following command execution.

abfeL SWITCH SETTINGS: "a" is the
Storage Module Address Switch. When used
with a CR10 or 21X, this switch can be set to
1...8. The address has no effect when used
with other Campbell Scientific Inc. dataloggers.
Following reset, the SM address defaults to 1.

"b" is the Baud Rate Switch for the Printer
Enable Method of storing data. The Baud Rate
Switch setting is ignored in CR10 applications.
The Baud Rate options are:

Switch

Baud Rate

0

300

1

1200

2

9600

3

76800

4

76800/9600

The Baud Rate Switch defaults to "4" following
SM Reset.

"f" is the Fill and Stop/Ring Memory Status
Switch. If set to "0," the memory is ring type. If
"1," the memory is set to Fill and Stop and once
memory is full, further efforts to write to the SM
are aborted.

The memory status switch

defaults to "0" (ring memory) following SM
Reset.

"e" is the Encode ASCII Switch. If set to "1," the
SM will encode incoming Printer Enable Method
Printable ASCII data to Final Storage Format
(binary) data. Final Storage Format data is
stored as is. If switch is "0," incoming data is
stored as is regardless of the format. This
permits storage of ASCII data. At 76,800 baud,
incoming data is stored as is, regardless of
switch setting. The Switch has no effect in the
CR10 Method.

The Encode switch defaults to

"1" following SM Reset.

Entering 9 for switch settings leave the switch
setting unchanged. Example: 9990L would
only disable the Encode ASCII function. Since
position is important, the 9's are used to fill the
first 3 spaces without changing the settings.

M or * DISCONNECT: The Storage Module is
deactivated to a low power standby mode. If
the communications interface is the CR10, the
CR10 prompt will be returned.

N PROM SIGNATURE: Returns the Storage
Module PROM signature. If this command
returns "0," the PROM is bad.

Advertising