Appendix g. extended ascii command set, G.1 command interface, G.1.1 rs-232 serial port interface – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual
Page 73: G.1.1.1 rs232 hardware interface, G.1.1.2 command protocol
G-1
Appendix G. Extended ASCII Command
Set
Appendix G describes the ASCII command interface for the TX312 transmitter. These
commands can be entered using the terminal window of SatCommander software, or
suitable terminal emulation software.
G.1 Command Interface
G.1.1 RS-232 Serial Port Interface
All Data Entry and Diagnostic functions are accessed using the RS-232
Interface.
G.1.1.1 RS232 Hardware Interface
The default settings for the RS-232 port are 9600 baud, 8 data bits, no parity
and 1 stop bit.
Three RS232 connections (TXD, RXD and GND) are used, no handshaking is
needed and should be set to none in the terminal emulator.
G.1.1.2 Command Protocol
A [CR] (0x0d) must be entered to get the transmitter’s attention and is used to
terminate a command line. The transmitter responds with a ‘>’ (0x3e) to
indicate that it is ready to receive a command. If no characters are entered for
60 seconds, any partially entered commands are deleted and the transmitter’s
attention is lost. To get the transmitters attention a character must be entered
followed by a [CR] until the ‘>’ prompt is returned.
Commands can optionally be terminated with [CR][LF]; in other words, a [LF]
character received following a [CR] will be ignored.
Each character entered is echoed to the host to allow for simple error checking
and to support the terminal nature of the implementation. A backspace
character (BS, 0x08) deletes the last character entered. The ESC character
(0x1b) will delete the entire command.
The command protocol is not case sensitive. Many commands are used to set
or retrieve various configuration parameters. When setting parameters, the
command is followed by an equals sign (‘=’) and a comma separated list of
parameters. When retrieving parameters, the command is entered without the
‘=’ or followed by a question mark (‘?’).
Some commands are used to direct the transmitter to execute a specific
function (e.g. clear a buffer); in such cases, neither a ‘=’ or a ‘?’ is required. If
the command has parameters associated with it they will appear as a comma
separated list following the command itself.