Xantrex Technology XMP 2600 What happens when power is turned on, Events Register, Error Code

Page 28

Usage Guidelines

Handling SRQ and the IEEE488.2 Status Structures

What happens when power is turned on

The first element of the Power Module Status Structure we should look at is the Events Register.

The Events Register

The Events Register, together with its corresponding Events Enable Register generates the summary bit. Note that the Events Enable Register is common to all the Power Modules.

The Events Enable Register determines which of the Power Modules Events may cause an SRQ.

The content of the Events Register is cleared when read.

The Events Register, in turn, receives its data from the filtered status registers. The status registers’ data is filtered using the mask registers. The following paragraphs will describe the behavior of the status registers and their associated mask registers.

The Error Code

This register holds the last known error detected by the Power Module. The content of this register is cleared when read.

Whenever the Power Module detects a new error, the corresponding bit of the Event Register is set as well (a positive fixed mask).

The Faults Register

This register indicates the faults detected by the Power Module’s controller. This is a status register (showing the current state of the Power Module) but most of the faults are “sticky” – the fault condition remains true until a reset command is issued.

Any new fault detected by the Power Module’s controller will cause the corresponding bit of the Events Register to be set (a positive fixed mask). The exception to this rule is the Sense Warning condition, which is depicted in the Faults Register but is filtered the same way that warning events are (see bellow).

The Output Register

This status register depicts the current state of the Power Module’s output circuitry.

Any change in the Output status register will cause the corresponding bit of the Events Register to be set (no masking).

The Warnings Register

This status register indicates warning conditions. As it is a status register, it will indicate the current true state of the warnings.

Using the programmable mask registers (both positive and negative masks) the conditions that will cause the WRN bit of the Events Register to be set can be determined.

These mask registers are individual to each Power Module and enable a very flexible setup. A description of this feature is included in the Status Reporting chapter of the Programming Manual.

An IEEE488.2 defined command (*PSC) determines what will the XMP 2600 do with the event enable registers when turned on.

The *PSC command may enable the XMP 2600 to clear all the events enable registers and the SRQ Enable Register.

This feature ensures that the XMP 2600 wakes up with a known state. It also ensures that the XMP 2600 will not generate undesirable SRQ’s at power on.

XMP 2600 Programming Manual rev. 1.1

15

Image 28
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