Appendix f. extended ascii command set, F.1 command interface, F.1.1 port interfaces – Campbell Scientific TX320 Transmitter User Manual

Page 63: F.1.1.1 rs-232 details, F.1.1.2 command protocol, F.1 command, F.1.1 port, F.1.1.2 command

Advertising
background image

Appendix F. Extended ASCII Command
Set

Appendix F describes the ASCII command interface for the TX320 transmitter. These
commands can be entered using the terminal window of the Device Configuration Utility,
or suitable terminal emulation software.

F.1 Command Interface

F.1.1 Port Interfaces

All data entry and diagnostic functions are accessed using either the RS-232
Interface or USB interface.

F.1.1.1 RS-232 Details

The default settings for the RS-232 port are 9600 baud, 8 data bits, no parity
and 1 stop bit.

Three RS-232 connections (TXD, RXD and GND) are used, no handshaking is
needed and should be set to none in the terminal emulator.

F.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 (for example, 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.

F-1

Advertising