Campbell Scientific SM4M/SM16M Storage Modules User Manual

Page 36

Advertising
background image

Appendix B. Telecommunications Commands

B-2

NOTE: In Ring mode, when data storage has gone around the memory more
than once the Number of Locations Full will fluctuate. This is because memory
is erased in 64 Kbyte blocks but filled an array at a time (see Section 4).

Refer to the L command for a discussion of the switch settings.

AA
Advanced Status

Example: B65536 T4194304 U131068 P131072 A00000000 F2097019 W00
C3060 is the expected response to the AA command after a SM4M has been
reset.

Data Flash Block size in bytes, Total Data Flash in bytes, Largest Unused
program space in bytes, Total Program storage area in bytes, Active programs
stored (A10005008 means programs 1,5 and 8 are stored), F Number of
locations left until oldest data will be overwritten, Wrap status flag (00 = not
wrapped around, 01 = block of oldest data has been erased (see Section 4.4), 11
= data wrapped around ring memory, and Checksum (sum of all transmitted
ASCII characters since last %; wraps around at 8192 bytes).

Example: B65536 T4194304 U131068 P131072 A00000000 F2097019 W00
C2379 is the expected response to the AA command after an SM4M has been
reset.

nnnnB

Move the DLP back nnnn output arrays from its current position. If it is fewer
arrays to the beginning of the file (File Mark), the DLP will be placed at the
beginning of the file. B gives the same 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 dump stops if the
next file mark or the Storage Reference Pointer is reached. ‘C’ gives the same
result as ‘1C’. ‘0C’ means dump continuously. Status is displayed following
execution of command.

nnnnF
Binary Dump

Dump nnnn locations (two bytes each) until the next File Mark from the
location of the DLP. The dump stops if the Storage Reference Pointer is
reached, followed by two bytes displaying the signature of the transmitted data.
No data conversion is made. ‘F’ gives the same result as ‘1F’. ‘0F’ means
dump continuously. The 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.

OD
Go To the Oldest Data

The Display Location Pointer (DLP) is moved to the start of the oldest data in
the module. (Note: Command is ‘letter O’, NOT ‘zero’ D).

01G
Go To Last File

This command causes the Display Location Pointer (DLP) to move to the
beginning of the current file. 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 Storage Module
is reset. It is advanced only by the CR10/10X (*9) Storage Module-to-Storage
Module Dump command, the ‘4H’ command, and by SMS.

NOTE

Advertising