Programming Messages Formats; Listening Formats - Xantrex XMP 2600 Programming Manual

Xantrex multiple output power system
Table of Contents

Advertisement

Interfacing the XMP 2600

Programming messages formats

Listening
Programming messages received by the XMP 2600 are comprised of the following
elements:
Formats
Program Message.......................... a programming command, query or data sent to the
Program Message Terminator ...... terminates the Program Message. Together they form
Program Message Unit .. the actual command or query (including data) sent to
Command Program Header or Query Program Header
............................. the Program Header represents the operation to be
Program Header Separator
Program Data ...... zero or more Program Data elements separated by a
<ch> ............ Channel Number is a decimal number in the range 1
<value> ....... a Decimal Value expressed either in implicit or
<int>............ a Decimal Integer Value.
<string>....... a series of ASCII characters enclosed within a pair of
Program Data Separator
Program Message Unit Separator
<LF> or <NL>.............. Line Feed or New Line (ASCII code 10).
<CR><LF> ................... Carriage Return & Line Feed (ASCII codes 13 & 10).
<EOI>............................ the GPIB single line EOI message. It may be
XMP 2600 Programming Manual
Programming messages formats
XMP 2600 from the Controller. A Program Message
may have zero or more of the following:
the XMP 2600 by the Controller. A Program Message
Unit is either a Command Message Unit or a Query
Message Unit. The Program Message Unit is made
out of the following elements:
performed by the XMP 2600. A Query Program
Header is always ended with a "?". Headers can be in
Lower or Upper Case letters.
separates the Program Header
from the Program Data elements. It is the ASCII
character <white space>.
Program Data Separator may be included in the
Message Unit (as required by the specific Program
Header). A Program Data element may be one of the
following:
to 16.
explicit point format. In some cases a sign ("+" or "-")
may precede it.
a specific character.
separates Program Data elements. It is
the ASCII character "," and may have any number of
<white space> characters surrounding it.
separates
contained within a single Program Message. The
Separator is the ASCII character ";" and may have
any number of <white space> characters surrounding
it.
a complete transmission. The Terminator may be one
of the following:
combined with a <LF> ASCII code byte.
rev. 1.1
Program
Message
Units
3

Advertisement

Table of Contents
loading

Table of Contents