Status Model
5.1.6. 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
by the controller, each message consists of
<PROGRAM MESSAGES>
zero or more
elements separated by
<PROGRAM MESSAGE UNIT>
<PROGRAM MESSAGE UNIT
elements.
SEPARATOR>
are separated by
elements which
<PROGRAM MESSAGES>
<PROGRAM MESSAGE TERMINATOR>
consist of the new line character (0AH).
A
is the semi-colon character ';' (3BH).
<PROGRAM MESSAGE UNIT SEPARATOR>
A
is any of the commands in the REMOTE COMMANDS
<PROGRAM MESSAGE UNIT>
section.
Responses from the instrument to the controller are sent as
. A
<RESPONSE MESSAGES>
consists of one
followed by a
<RESPONSE MESSAGE>
<RESPONSE MESSAGE UNIT>
<RESPONSE
.
MESSAGE TERMINATOR>
44 - II
GX1010