19 T560MANK5.DOCX
4.
Programming
4.1.
General Comments
The T560 accepts ASCII serial commands from the standard RS-232 interface or from the
optional 10/100 Ethernet adapter. Refer to Section 6 for details about configuring the
Ethernet interface.
For evaluation, serial commands may be typed using any common serial communications
program, for example HyperTerminal (for RS-232) or the standard "Telnet" utility for the
Ethernet version. A family of HElp commands is available, summarizing serial commands
and operating modes. The STatus command will send back a summary of T560 settings.
The standard baud rate is 38,400. The receive buffer is limited to 256 bytes, and the T560
ignores serial input while it is processing the current command line.
In the following section, text using this font...
TLevel <cr>
represents a command string sent to the T560, terminated with a carriage return character
<cr>, and italic text...
1.25 <cr> <lf>
represents the reply from the T560. All commands must be terminated with semicolon or
<cr>, and all reply lines are terminated by <cr> <lf>.
4.2.
Command Strings
Users send serial ASCII command strings to the T560, to which the T560 immediately
replies. Because the standard baud rate is high, and because the T560 may spend a
millisecond or more to process commands, user software must wait for a response to each
command line before sending another command.
Each command consists of a command keyword, followed by an optional alpha or numeric
argument. Multiple commands may be sent in a single line, separated by semicolons.
When a full line is received, indicated by the final <cr> character, the buffered line is
executed, in the order received.
Keywords may be fully spelled out, or may be sent as their first two letters; only the first two
letters are significant. In this documentation, a word that has two possible forms is written
with the short form capitalized, and the rest of the word in lower-case letters. The actual
T560 protocol is case insensitive.
For example, TRigger indicates that the short form is TR, and the long form is TRIGGER,
both of which are recognized commands.