Xantrex Technology XMP 2600 Checking the status, Using the events mechanism, Using the warnings

Page 37

Workpoint window warning

Advanced Features

Using the warnings

Note that the WHIGH and WLOW commands refer to both the voltage and current thresholds.

Voltage mode example

Lets say that the Power Module in channel 1 is to be set to provide 12V with a current limit of 10A. The voltage setting and, optionally, threshold values might be set using the commands:

VSET 1,12 VHIGH 1,12.5 VLOW 1,11.5

For the current window thresholds we will have to consider the expected output current that will be drawn by the load (remember: the Power Module will be operating in voltage mode), because the thresholds can only be programmed above and below the set point.

If the expected output current is going to be 7A ± 1A, we will use the following commands:

ISET 1,7 IHIGH 1,8.1 ILOW 1,5.9 ISET 1,10

Note that the last command is setting the output’s current limit value.

And lastly we will enable the window warning thresholds, using the commands: WHIGH 1,1

and WLOW 1,1

The following sections provide guidelines on how to utilize the workpoint window warning mechanism.

Checking the status

Whenever an output value (output voltage or output current) goes outside of the defined workpoint window the corresponding Power Module’s status bit (HV, HC, LV, LC) will be set.

The most direct method of detecting a window warning is to read the Power Module’s status structure (using the CSTS? Query) and examine the status and warnings registers.

However, this method involves routine and frequent checks of the Power Module’s status thus loading the communication link and the controlling computer.

Using the events mechanism

The events generation masks

With a proper setup of the events generation masks (using the CMASK command) you can instruct the Power Module to register window-warning events on the thresholds that interest you. Furthermore, events can be generated on positive (value goes outside the limits) and/or negative (value returns to the allowed range) transitions.

This way you can filter out the events that are of no interest to you and simplify the logic of the governing software.

24

XMP 2600 Programming Manual rev. 1.1

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