
ARC Remote Command Formats
Serial input to the instrument is buffered in a 256 byte input queue which is filled, under interrupt,
in a manner transparent to all other instrument operations. The instrument will send XOFF when
approximately 200 characters are in the queue. XON will be sent when approximately 100 free
spaces become available in the queue after XOFF was sent. This queue contains raw (un-
parsed) data which is taken, by the parser, as required. Commands (and queries) are executed in
order and the parser will not start a new command until any previous command or query is
complete. There is no output queue which means that the response formatter will wait, indefinitely
if necessary, until the instrument is addressed to talk and the complete response message has
been sent, before the parser is allowed to start the next command in the input queue.
Commands are sent as
<PROGRAM MESSAGES>
by the controller, each message consists of zero
or more
<PROGRAM MESSAGE UNIT>
elements separated by
<PROGRAM MESSAGE UNIT SEPARATOR>
elements.
<PROGRAM MESSAGES>
are separated by
<PROGRAM MESSAGE TERMINATOR>
elements which
consist of the new line character (0AH).
A
<PROGRAM MESSAGE UNIT SEPARATOR>
is the semi-colon character ';' (3BH).
A
<PROGRAM MESSAGE UNIT>
is any of the commands in the REMOTE COMMANDS section.
Responses from the instrument to the controller are sent as
<RESPONSE MESSAGES>
. A
<RESPONSE MESSAGE>
consists of one
<RESPONSE MESSAGE UNIT>
followed by a
<RESPONSE
MESSAGE TERMINATOR>
.
A
<RESPONSE MESSAGE TERMINATOR>
is the carriage return character followed by the new line
character (0DH 0AH).
Each query produces a specific
<RESPONSE MESSAGE>
which is listed along with the command in
the REMOTE COMMANDS section.
<WHITE SPACE>
is ignored except in command identifiers. e.g. `
∗
C LS' is not equivalent to `
∗
CLS'.
<WHITE SPACE>
is defined as character codes 00H to 20H inclusive with the exception of the
codes specified as ARC interface commands.
The high bit of all characters is ignored.
The commands are case insensitive.
GPIB Remote Command Formats
GPIB input to the instrument is buffered in a 256 byte input queue which is filled, under interrupt,
in a manner transparent to all other instrument operations. The queue contains raw (un-parsed)
data which is taken, by the parser, as required. Commands (and queries) are executed in order
and the parser will not start a new command until any previous command or query is complete.
There is no output queue which means that the response formatter will wait, indefinitely if
necessary, until the instrument is addressed to talk and the complete response message has
been sent, before the parser is allowed to start the next command in the input queue.
Commands are sent as
<PROGRAM MESSAGES>
by the controller, each message consists of zero
or more
<PROGRAM MESSAGE UNIT>
elements separated by
<PROGRAM MESSAGE UNIT SEPARATOR>
elements.
<PROGRAM MESSAGES>
are separated by
<PROGRAM MESSAGE TERMINATOR>
elements which may
be any of the following:
NL
The new line character (0AH)
NL^END
The new line character with the END message
^END
The END message with the last character of the message
A
<PROGRAM MESSAGE UNIT SEPARATOR>
is the semi-colon character ';' (3BH).
70