Xantrex Technology XMP 2600 manual Remote communication time out, Primary engine status structure

Page 27

Handling SRQ and the IEEE488.2 Status Structures

Usage Guidelines

Remote communication time out

The Remote Communications Time Out bit is the only element of this part of the Status Structure.

The bit is set to 1 when the Time Out mechanism is enabled and a Time Out event occurs.

Primary engine status structure

The Status Structure associated with the Primary Engine of the XMP 2600 is made out of the Primary Status Register, a fixed positive Mask Register, the Primary Event Status Register and the Primary Event Status Enable Register.

The summary bit of this Status Structure (the PRIM ERR bit) will be set when Primary events are registered in the Primary Event Status Register and the corresponding bits of the Primary Event Status Enable Register are set. Note that the Primary Event Status Register records only occurrences of conditions and does not register anything when a condition is removed (this is the work of the positive Mask Register).

If the PRIM ERR bit was read as 1, the Primary Event Status Register should be read (using the PER? Query). This will reveal what Primary event has occurred since the register was last read.

The actual status of the Primary Engine can be obtained using the PSR? Query.

Summary of power modules status

Each of the Power Modules in the XMP 2600 system has its own Status Structure. The summary bits of those Status Structures are grouped in a 16-bit register (read as two 8 bit registers) called the Power Modules Summary Register.

This register (read with the SRQS? Query) is summarized in the Status Byte as the SRQ IS bit.

The SRQ IS bit will be set whenever one of the bits of the Power Modules Summary Register is changed to 1.

The content of the Power Modules Summary Register is cleared when the controlling computer reads the register.

Bits of the Power Modules Summary Register are set when Power Modules events seep through the filters of the Power Modules Status Structures.

When the SRQ IS bit of the Status register was read as 1, the Power Modules Summary Register should be read. For each set bit in the Power Modules Summary Register the corresponding Power Modules Status Structure should be explored.

Power modules status structure

The Status Structure of the Power Modules is made out of the following elements:

Status Registers – Warnings, Output state, Faults, Error Code and general Status.

Mask Registers – some are fixed and some are programmable.

Event Register.

Event Enable Register.

The summary bit of the entire structure is read at the Power Modules position in the Power Modules Summary Register (e.g. the summary bit of module number 3 will be evident at bit 2 of the summary register [bits are counted starting with 0]).

The Power Module Status Structure is read as a whole using the CSTS? Query.

14

XMP 2600 Programming Manual rev. 1.1

Image 27
Contents Xantrex Multiple Output Power System XMP XMP Last? Limited What does this warranty cover and how long does itHow do you get service? WarrantyDisclaimer Product What does this warranty not cover?Information Information About Your Power SupplySafety Summary Description Power Supply SymbolsPower Supply Grounding Nonoperative Modules Input Mains Voltage RatingOutput Voltages Do Not Open The Unit Air Inlets And Air OutletRegulatory Approvals Regulatory Approvals and Safety Agency ComplianceSafety Agency Compliance Power Supply SafetyAbout this manual Chapters TerminologyWho 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 an RS232 link How to communicate with the XMPUsing the comm. channels Using the Gpib busProgramming the XMP Recovering from communication haltsUsing queries Using commandsInitialize the XMP Recommendations on using the XMPIdentify the XMP Enforce power-on conditionsSetup the XMP 2600 status system Query installed Power ModulesInitial setup of the Power Modules Setup system level protection shutdown featuresStatus reporting Protection setupOutput settings ActivationUse queries Using advanced featuresHandling SRQ and the IEEE488.2 Status Structures On-going usage of the XMPMask registers Event enable registersStatus registers Event registersResponding to SRQ events Main status byteMain controller events Output message QueuePrimary engine status structure Summary of power modules statusPower modules status structure Remote communication time outEvents Register What happens when power is turned onError Code Faults RegisterUsage Guidelines Output Setup Basic setup and usageOverview of output setup parameters Power Module output ratingGlobally enabling the outputs Output settingsOutput control Output activationPolarity and disconnect relays Voltage / current modeCurrent limiting schemes FoldbackLinear foldback Reprogramming DelayRetry Shutdown on current limitBasic Programming Enabling the window thresholds Setting the window thresholdsWorkpoint window warning Usage guidelinesChecking the status Using the events mechanismUsing the warnings Voltage mode exampleOVP Protection using the workpoint windowLoad protection Additional usagesToggle the output state on/off Arm, trigger, sync and rampTrigger mechanism Set output to stored valuesSync output Output ramping What is output ramping?Simultaneous operations Output ramping setupSynchronization of operations Output ramping initiationSequential Operations Using hardware Trig and Sync to serialize operationsOutput on/off Other operationsController notification of Operation Complete Using software OPC mechanism to serialize operationsDifferent shutdown grouping of modules Commands to program shutdown groupingSelective shutdown Shutdown grouping single, group, globalShutdown on non-fault events Responding to communication time out eventsComm. time out Time out events as reflected in the status structure Turn-on and reset behaviorIeee 488.1 BUS Commands System Commands QueriesCategories Gpib ResetGlbl GLBL?Settings Commands Queries Output Control Protection Commands Queries Trigger Sync 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? = Goto = OFF= 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 StructuresOutput Register Faults RegisterError Code Events Enable 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 ByteMain Power Modules Communications errors Error Codes summaryPower Modules Errors Reported by the Power Module Errors Detected by the Main ControllerRS232 Communications errors Gpib Communications errorsParser and Execution errors Status reporting Xantrex Technology Inc