Campbell Hausfeld SM4M User Manual

Page 35

Advertising
background image

Appendix B. Telecommunications Commands

B-3

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

(5V DC) or when a CR500/510, CR10/10X or CR23X program with

Instruction 96 is compiled. A File mark can also be inserted under program

control. Status is displayed following command execution.

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

nJ
Store Program n
(n = 1…8)

The Storage Module responds with ‘<’ after which the SM stores 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.

nJJ
Store Program n, with
Checksum Signature

As nJ, but the module outputs a 2 byte CSI checksum signature in response to

the 05 05 HEX termination characters, which allows easy validation that the

program has been received correctly.

n0nJ
Clear Program n
(n = 1…8)

Clears directory entry for program ‘n’ and frees the memory space for data

storage – this only becomes available for further program storage if all

programs are deleted.

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

following command execution.

1243K
Reset Error Counter

This command resets the communications error counter (the number beginning

with ‘E’) to zero, then displays the status line. Neither the programs nor the

data stored in the module are affected by this command.

1248K
Reset Storage Module

Erases all data and programs, resets all pointers, tests memory and places a File

Mark at the beginning of memory.

ALL DATA IS LOST IN THE STORAGE MODULE. If a bad flash
memory block is encountered, the Storage Module will use only
the good memory up to the bad block. The number of good flash
memory blocks is indicated in the Status. During Reset, a plus
(+) for each block written to, and a minus (-) for each block
successfully read is output by the Storage Module. An ‘X’ is
output for each memory block which cannot be read
successfully. The status is displayed following command
execution. If, for any reason, memory fails, the relevant pointer
will be zero.

CAUTION

Advertising