Xantrex Technology XMP 2600 Talking Formats, Query, Program, Header, value, Interfacing the XMP

Models: XMP 2600

1 93
Download 93 pages 36.85 Kb
Page 17
Image 17
Query

Programming messages formats

Interfacing the XMP 2600

Here is an example of a Program Message:

 

VSET 1,10.2 ; VLOAD? 1 <LF>

 

Command

 

Program

Program

 

Message

Header

 

Terminator

<ch>

 

<ch>

 

 

Program

 

Query

Data

 

Separator

Program

Program

 

Header

 

Unit

 

 

<value>

Message

 

 

Separator

 

Talking Formats

Response Messages sent by the XMP 2600 are comprised of the following elements:

Response Message ......................... a message sent by the XMP 2600 in response to a

Query received from the Controller. The Response Message is made out of the following elements:

Response Data...... one or more Response Data elements separated by a

Response Data Separator may be included in the Response Message (as required by the specific Query that generated that Response). A Response Data element may be one of the following:

<value> ....... a Decimal Value expressed either in implicit or

explicit point format. In some cases a sign (“+” or “-”)

may precede it.

 

 

<int>............ a Decimal Integer Value 0 to 255.

 

<string>....... a series of ASCII characters.

 

 

Response Data Separator

separates

Response

Data

elements. It is the ASCII character “,” and may have

<white space> characters surrounding it.

 

Response Message Terminator

terminates the

Response

Message.

Together they form a complete transmission. The Terminator is <CR><LF> (Carriage Return and Line Feed ASCII codes 13 and 10). For GPIB the <LF> character will have <EOI> asserted.

4

XMP 2600 Programming Manual rev. 1.1

Page 17
Image 17
Xantrex Technology XMP 2600 manual Talking Formats, Query, Program, Header, value, Interfacing the XMP