Xantrex Technology XMP 2600 manual Standard Event Status Register read with *ESR?

Page 85

IEEE 488.2 compatible Status Structures

Status reporting

The following illustrates the Power Module Status Structure:

sense warning condition

Error Code

new

error

Faults

new fault

Events

Output

any

change

Status

Warnings

positive negative

transition transition

&

Summary Bit

Enable

XMP 2600

System

Status

Structure

Power Modules Summary Register - read with SRQS?

The Power Module Status Summary Bit is placed in the bit position corresponding to the Power Module’s channel number in the Power Modules Summary Register:

1

1

1

1

1

1

1

0

 

0

0

0

0

0

0

0

0

6

5

4

3

2

1

0

9

 

8

7

6

5

4

3

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

High

Byte

 

 

 

 

 

 

 

Low Byte

 

 

 

The Power Modules Summary Register is cleared when read.

The following status structure refers to the XMP 2600 main controller.

Standard Event Status Register - read with *ESR?

PON

0

 

CME

EXE

DDE

QYE

0

OPC

 

 

 

 

 

 

 

 

 

PON

 

set when a Power On event occurs.

 

 

 

CME

 

set when the XMP 2600 detects a Command Error.

 

EXE

 

set when the XMP 2600 detects an Execution Error.

 

DDE

 

set when the XMP 2600 detects a XMP 2600 Error Condition.

QYE

 

set when the XMP 2600 detects a Query Error.

 

 

OPC

 

Operation Complete - set by the OPC Command.

 

 

The register is cleared when read. If operating in 488.2 mode then the Summary Message ESB is cleared and <rqs> and <ist> are re-calculated.

Command Error is reported when the XMP 2600 detects Syntax or Semantic error in the input stream.

Execution Error is reported when the XMP 2600 detects an error in the parameters of a Command or Query or when the Command or Query can not be executed due to some condition.

Query Error is reported when the Remote Controller is trying to read data from the Output Queue when it is empty and no Command or Query are being executed or even present in the Input Queue. Query Error is, also, reported when the Remote Controller has

72

XMP 2600 Programming Manual rev. 1.1

Image 85
Contents Xantrex Multiple Output Power System XMP XMP How do you get service? Limited What does this warranty cover and how long does itWarranty Last?Disclaimer Product What does this warranty not cover?Information Information About Your Power SupplyDescription Power Supply Symbols Safety SummaryPower Supply Grounding Output Voltages Input Mains Voltage RatingDo Not Open The Unit Air Inlets And Air Outlet Nonoperative ModulesSafety Agency Compliance Regulatory Approvals and Safety Agency CompliancePower Supply Safety Regulatory ApprovalsChapters Terminology About this manualWho should use this manual Table of contents Basic Programming Commands and Queries Reference Byte Error Codes summaryGpib interface 1Interfacing XMPACK Serial interfaceListening Formats Programming messages formatsResponse Data Separator Talking FormatsUsing the comm. channels How to communicate with the XMPUsing the Gpib bus Using an RS232 linkUsing queries Recovering from communication haltsUsing commands Programming the XMPInitialize the XMP Recommendations on using the XMPSetup the XMP 2600 status system Enforce power-on conditionsQuery installed Power Modules Identify the XMPInitial setup of the Power Modules Setup system level protection shutdown featuresOutput settings Protection setupActivation Status reportingHandling SRQ and the IEEE488.2 Status Structures Using advanced featuresOn-going usage of the XMP Use queriesStatus registers Event enable registersEvent registers Mask registersMain controller events Main status byteOutput message Queue Responding to SRQ eventsPower modules status structure Summary of power modules statusRemote communication time out Primary engine status structureError Code What happens when power is turned onFaults Register Events RegisterUsage Guidelines Output Setup Basic setup and usageOverview of output setup parameters Power Module output ratingOutput control Output settingsOutput activation Globally enabling the outputsCurrent limiting schemes Voltage / current modeFoldback Polarity and disconnect relaysRetry Reprogramming DelayShutdown on current limit Linear foldbackBasic Programming Workpoint window warning Setting the window thresholdsUsage guidelines Enabling the window thresholdsUsing the warnings Using the events mechanismVoltage mode example Checking the statusLoad protection Protection using the workpoint windowAdditional usages OVPTrigger mechanism Arm, trigger, sync and rampSet output to stored values Toggle the output state on/offSync output Output ramping What is output ramping?Synchronization of operations Output ramping setupOutput ramping initiation Simultaneous operationsOutput on/off Using hardware Trig and Sync to serialize operationsOther operations Sequential OperationsController notification of Operation Complete Using software OPC mechanism to serialize operationsSelective shutdown Commands to program shutdown groupingShutdown grouping single, group, global Different shutdown grouping of modulesResponding to communication time out events Shutdown on non-fault eventsComm. time out Time out events as reflected in the status structure Turn-on and reset behaviorSystem Commands Queries Ieee 488.1 BUS CommandsCategories Glbl ResetGLBL? GpibSettings Commands Queries Output Control Protection Trigger Sync Commands Queries Commands QueriesRead-Back Queries Status Reporting Commands Queries Synch Mnemonic Alphabetical referenceParameters 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 Events Register Ieee 488.2 compatible Status StructuresError Code Faults RegisterEvents Enable Register Output RegisterEvents Filtering Negative Mask Register Events Filtering Positive Mask RegisterPON CME EXE DDE QYE OPC Standard Event Status Register read with *ESR?Primary Event Status Register read with PER? Primary Status Register read with PSR?Primerr Status Byte Register read with *STB?Self Test Results Power ModulesMain Controller BytePower Modules Errors Reported by the Power Module Error Codes summaryErrors Detected by the Main Controller Main Power Modules Communications errorsGpib Communications errors RS232 Communications errorsParser and Execution errors Status reporting Xantrex Technology Inc