Xantrex Technology XMP 2600 manual Programming messages formats, Listening Formats

Page 16

Interfacing the XMP 2600

Programming messages formats

Programming messages formats

Listening Formats

Programming messages received by the XMP 2600 are comprised of the following elements:

Program Message

a programming command, query or data sent to the

 

XMP 2600 from the Controller. A Program Message

 

may have zero or more of the following:

Program Message Unit .. the actual command or query (including data) sent to 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:

Command Program Header or Query Program Header

............................. the Program Header represents the operation to be

performed by the XMP 2600. A Query Program Header is always ended with a “?”. Headers can be in Lower or Upper Case letters.

Program Header Separator

separates the

Program

Header

 

from the Program Data elements. It is the ASCII

 

character <white space>.

 

 

Program Data

zero or more Program Data elements separated by a

 

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:

 

 

 

<ch>

Channel Number is a decimal number in the range 1

 

to 16.

 

 

 

<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.

 

 

<string>

a series of ASCII characters enclosed within a pair of

 

a specific character.

 

 

Program Data Separator

separates Program Data elements. It is

 

the ASCII character “,” and may have any number of

 

<white space> characters surrounding it.

 

Program Message Unit Separator

separates Program

Message

Units

 

contained within a single Program Message. The

 

Separator is the ASCII character “;” and may have

 

any number of <white space> characters surrounding

 

it.

 

 

 

Program Message Terminator

terminates the Program Message. Together they form

 

a complete transmission. The Terminator may be one

 

of the following:

 

 

<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

 

combined with a <LF> ASCII code byte.

 

XMP 2600 Programming Manual rev. 1.1

3

Image 16
Contents Xantrex Multiple Output Power System XMP XMP Limited What does this warranty cover and how long does it How do you get service?Warranty Last?What does this warranty not cover? Disclaimer ProductInformation About Your Power Supply InformationDescription Power Supply Symbols Safety SummaryPower Supply Grounding Input Mains Voltage Rating Output VoltagesDo Not Open The Unit Air Inlets And Air Outlet Nonoperative ModulesRegulatory Approvals and Safety Agency Compliance Safety Agency CompliancePower Supply Safety Regulatory ApprovalsChapters Terminology About this manualWho should use this manual Table of contents Basic Programming Commands and Queries Reference Error Codes summary Byte1Interfacing XMP Gpib interfaceSerial interface ACKProgramming messages formats Listening FormatsTalking Formats Response Data SeparatorHow to communicate with the XMP Using the comm. channelsUsing the Gpib bus Using an RS232 linkRecovering from communication halts Using queriesUsing commands Programming the XMPRecommendations on using the XMP Initialize the XMPEnforce power-on conditions Setup the XMP 2600 status systemQuery installed Power Modules Identify the XMPSetup system level protection shutdown features Initial setup of the Power ModulesProtection setup Output settingsActivation Status reportingUsing advanced features Handling SRQ and the IEEE488.2 Status StructuresOn-going usage of the XMP Use queriesEvent enable registers Status registersEvent registers Mask registersMain status byte Main controller eventsOutput message Queue Responding to SRQ eventsSummary of power modules status Power modules status structureRemote communication time out Primary engine status structureWhat happens when power is turned on Error CodeFaults Register Events RegisterUsage Guidelines Basic setup and usage Output SetupPower Module output rating Overview of output setup parametersOutput settings Output controlOutput activation Globally enabling the outputsVoltage / current mode Current limiting schemesFoldback Polarity and disconnect relaysReprogramming Delay RetryShutdown on current limit Linear foldbackBasic Programming Setting the window thresholds Workpoint window warningUsage guidelines Enabling the window thresholdsUsing the events mechanism Using the warningsVoltage mode example Checking the statusProtection using the workpoint window Load protectionAdditional usages OVPArm, trigger, sync and ramp Trigger mechanismSet output to stored values Toggle the output state on/offSync output What is output ramping? Output rampingOutput ramping setup Synchronization of operationsOutput ramping initiation Simultaneous operationsUsing hardware Trig and Sync to serialize operations Output on/offOther operations Sequential OperationsUsing software OPC mechanism to serialize operations Controller notification of Operation CompleteCommands to program shutdown grouping Selective shutdownShutdown grouping single, group, global Different shutdown grouping of modulesResponding to communication time out events Shutdown on non-fault eventsComm. time out Turn-on and reset behavior Time out events as reflected in the status structureSystem Commands Queries Ieee 488.1 BUS CommandsCategories Reset GlblGLBL? GpibSettings Commands Queries Output Control Protection Trigger Sync Commands Queries Commands QueriesRead-Back Queries Status Reporting Commands Queries Synch Alphabetical reference MnemonicParameters None Category System Type Sequential PRE Stores settings of all the Power Modules same as STO command Result register Syntax Return two decimal numbers, in the range 0 to 255. Each bit Cmask Close relay and a value of 1 is returned for an open relay Remove a user message from the XMP 2600 front panel display Set-up the operating mode of the XMP 2600. Re-calculate rqs Response is a series of values one for each installed Power Return output Current measurement of the Power Module. Return the state of the XMP 2600 Local Lock Flag. a value Ocrst Decimal value in the range 0 to Syntax Presence of the Polarity Reversal Relay Option Parameters None Category Settings Type Sequential Master mainframe. For the XMP 2600 this value is String in the following format mssnnn where m=minutes Result is two decimal numbers the first being the level 0t o SN? = OFF = Goto= Stop Module. Result is a decimal number in the range 0 to Shut-down when a remote communication time out occurs. Time out feature Syntax Minus sigh Syntax VLIM? Vset Commands and Queries Reference Ieee 488.2 compatible Status Structures Events RegisterFaults Register Error CodeEvents Enable Register Output RegisterEvents Filtering Positive Mask Register Events Filtering Negative Mask RegisterStandard Event Status Register read with *ESR? PON CME EXE DDE QYE OPCPrimary Status Register read with PSR? Primary Event Status Register read with PER?Status Byte Register read with *STB? PrimerrPower Modules Self Test ResultsByte Main ControllerError Codes summary Power Modules Errors Reported by the Power ModuleErrors Detected by the Main Controller Main Power Modules Communications errorsGpib Communications errors RS232 Communications errorsParser and Execution errors Status reporting Xantrex Technology Inc