beautypg.com

Campbell Hausfeld SM4M User Manual

Page 34

background image

SM4M/SM16M Storage Module User Guide

B-2

AA
Advanced Status

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 = some oldest data has been erased, 11 = wrapped around

and some data erased) 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 a 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 is the same 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’ is the same 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’ is the same 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 OD, 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 SM is reset. It is

advanced only by the CR10/10X (*9) Storage Module-to-Storage Module

Dump command, the ‘4H’ command, and by SMS.

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.

09GG
Go To Next File, with
Progress indicator

As 09G, but outputs the value of the DLP every second as it is moved 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 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 5ms following deactivating

PE and CLK/HS for ‘housekeeping’. The SM 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 through the CR500/510, CR10/10X or CR23X.