Campbell Scientific CSM1 Card Storage Module User Manual

Page 30

Advertising
background image

Appendix D. Telecommunications Commands

D-4

nDP
Send
program

Dumps the program stored in program area n. The CSM1 sends
the program followed by a 2-byte binary checksum. The
checksum includes all characters transmitted since the last
prompt character. If the program area is empty the CSM1 sends
the byte sequence 30 07 07 Hex, followed by the checksum and
then the prompt.

nSP
Store
program

Store a program in program area n. The CSM1 responds with a
'<' character and then stores any data sent to it in the program
area specified. Programs must start with an ASCII character 7D
(Hex) and end with two ctrl-E characters (07 07 Hex). At the
end of the transmission, detected by the receipt of the 07 07
sequence, the CSM1 sends carriage return, linefeed and a
decimal representation of the checksum of the received program
file. The status line is then sent.

nCP
Clear
program

Clears a program from program area n. However, the memory
used by the program cannot be used for data storage until the
card is erased. The status line is sent after this command.

Commands that send data from the CSM1 support software flow control.
Sending an 'XOFF' character (ASCII 11 Hex, ctrl-S) to the CSM1 stops output.
Sending any other character restarts output. If the flow is not restarted within
10 seconds the CSM1 continues transmission of the data.

Sending Esc (1B Hex) or ctrl-C (03 Hex) aborts the data output and returns to
the CSM1 prompt.

Advertising