5 *9 mode -- sm192/716 storage module commands – Campbell Scientific CR23X Micrologger User Manual

Page 70

Advertising
background image

SECTION 4. EXTERNAL STORAGE PERIPHERALS

4-6

2.

Key in the appropriate commands as listed
in Table 4.2-1.

4.5

9

MODE -- SM192/716

STORAGE MODULE COMMANDS

The CSM1 does not support the

9

Mode

Commands.

The

9

Mode is used to issue commands to

the SM192/716 Storage Module, from the CR23X.
These commands are like

Modes for the

Storage Module and in some cases are directly
analogous to the CR23X

Modes. Command 7

enters a mode used to review stored data, and 8 is
used to transfer data between two Storage
Modules connected to the CR23X. The operations
with the Storage Module are not directly analogous
as may be seen in Table 4.5-1 which lists the

commands (e.g., when reviewing data, #A
advances to the start of the next Output Array
rather than to the same element in the next array
with the same ID).

When

9

is keyed, the CR23X responds: 09:01

1 is the default address for the Storage Module
(Section 4.4.1). If you have more than 1
Storage Module connected, enter the address
of the desired Storage Module. Address 1 will
always work if only one Module is connected.
Key A and the CR23X responds: 9N:00
Where N is the address which was entered.

You may now enter any of the commands in
Table 4.5-1 (key in the command number and
enter with A). Most commands have at least one
response. Advance through the responses and
return to the

9

command state by keying A.

TABLE 4.5-1.

9

Commands for Storage Module

COMMAND

DISPLAY

DESCRIPTION

1

01: 0000

RESET, enter 248 to erase all data and programs. While erasing,
the SM checks memory. The number of good chips is then

01: XX

displayed (6 for SM192, 22 SM716).

3

03: 01

INSERT FILE MARK, 1 indicates that the mark was inserted, 0
that it was not.

4

04: XX

DISPLAY/SET MEMORY CONFIGURATION enter the
appropriate code to change configuration 0=ring, 1=fill & stop

5

DISPLAY STATUS (A to advance to each window)

01: ABCD

Window 1:

AB

Storage pointer location (chip no.)

CD

Total good RAM chips (1-22)

02: ABCD

Window 2:

AB

Display pointer location (chip no.)

C

Unloaded Batt. Chk. 0=low, 1=OK

D

No. of Programs stored (Max=8)

03: A0CD

Window 3:

A

Errors logged (up to 9)

0

Not Used

C

Memory Config. (0=ring, 1=fill&stop)

D

Memory Status (0=not full, 1=full)

04: XXXXX

PROM signature (0 if bad PROM)

6

06: 0X

BATTERY CHECK UNDER LOAD (0=low, 1=OK)

7

07: 00

DISPLAY DATA, Select the Storage Module Area with these codes:

0

Dump pointer to SRP

1

File 1, current file

2

File 2, previous to file 1

3

File 3, previous to file 2

4

File 4, previous to file 3

5

File 5, previous to file 4

7

Display pointer to SRP

9

Oldest data to SRP

1-5

will loop within file boundaries, 0,7,9 allow display to
cross boundaries

Advertising