Agilent Technologies N3280A manual Programming the Status Registers, DC Source Status Model

Page 49

Programming the DC Source - 5

Programming the Status Registers

Status register programming lets you determine the operating condition of the dc source at any time. For example, you may program the dc source to generate an interrupt (SRQ) when an event such as a current limit occurs. When the interrupt occurs, your program can act on the event in the appropriate fashion.

Figure 5-5 shows the status register structure of the dc source. Table 5-1 defines the status bits. The Standard Event, Status Byte, and Service Request Enable registers and the Output Queue perform standard GPIB functions as defined in the IEEE 488.2 Standard Digital Interface for Programmable Instrumentation. The Operation Status and Questionable Status registers implement functions that are specific to the dc source.

QUESTIONABLE STATUS (IDENTICAL REGISTERS FOR EACH CHANNEL)

CONDITION PTR/NTR EVENT ENABLE

OV+ 0 1 OV - 1 2

PCLR 2 4

OT 4 16

UNR 10 1024

OSC 12 4096 Meas Ovld 14 16384

1

2

4

16

1024

4096

16384

1

2

4

16

1024

4096

16384

1

2

4

16

1024

4096

16384

LOGICAL

OR

 

CHAN 1QSUM

 

 

QSUM

LOGICAL

 

CHAN 2

OR

SAME

QSUM

 

AS

CHAN 3

 

QSUM

 

CHAN 1

 

CHAN 4

 

 

 

 

 

 

 

 

STANDARD EVENT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SERVICE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STATUS BYTE REQUEST

 

 

 

 

 

 

 

 

 

 

STATUS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

EVENT

 

ENABLE

 

 

 

OUTPUT QUEUE

 

 

 

 

 

WTG

 

2

 

 

 

 

 

 

 

ENABLE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OPC

1

 

 

 

1

 

 

 

 

 

 

 

 

 

 

DATA

 

 

QUEUE

QUES

3

 

 

8

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DATA

 

 

NOT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QYE

2

4

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EMPTY

MAV

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DATA

 

 

16

 

 

 

 

16

 

 

 

LOGICAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DDE

8

 

 

 

8

 

 

 

 

LOGICAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ESB

5

 

 

32

 

 

 

 

32

 

 

 

OR

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EXE

 

16

 

 

 

16

 

 

 

 

 

OR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MSS

6

 

 

 

RQS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CME

5

32

 

 

 

32

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OPER

7

 

 

128

 

 

 

 

128

 

 

 

 

 

 

 

PON

128

 

 

 

128

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OPERATION STATUS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(IDENTICAL REGISTERS FOR EACH CHANNEL)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONDITION PTR/NTR

 

EVENT

ENABLE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SERVICE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CV

0

 

1

 

 

 

 

 

1

 

 

 

1

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

REQUEST

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CL+

1

 

2

 

 

 

 

 

2

 

 

 

2

 

 

 

 

2

 

 

 

 

LOGICAL

 

CHAN 1OSUM

 

 

 

 

 

 

 

 

 

 

GENERATION

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CL - 2

 

 

 

 

 

 

4

 

 

 

4

 

 

 

 

4

 

 

 

 

OR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CC

3

 

8

 

 

 

 

 

8

 

 

 

8

 

 

 

 

8

 

 

 

 

 

 

 

 

 

OSUM

LOGICAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VL+ 4

 

16

 

 

 

 

 

16

 

 

 

16

 

 

 

 

16

 

 

 

 

 

 

 

 

CHAN

2

 

 

 

OR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CHAN 3OSUM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VL - 5

 

32

 

 

 

 

 

32

 

 

 

32

 

 

 

 

32

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

64

 

 

 

 

 

64

 

 

 

64

 

 

 

 

64

 

 

 

 

 

 

 

 

CHAN 4OSUM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SAME

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CHAN 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 5-5. DC Source Status Model

49

Image 49
Contents Agilent Technologies Model N3280A Component Test DC Source USER’S GuideCertification Warranty InformationGeneral Safety SummarySafety Symbols Declaration Printing History Acoustic Noise InformationTable of Contents Scpi Command Completion Using Device Clear Types of Scpi CommandsExternal References Gpib Capabilities of the DC Source Introduction to ScpiMeasurement Commands Scpi Programming Commands At a Glance Calibration CommandsOutput Commands Status CommandsTrigger Commands System CommandsCommon Commands Voltage Priority TestsRipple and Noise Tests Error Number List 103Transient Response Tests Page Document Orientation Safety ConsiderationsDescription Options and AccessoriesRemote Programming Option DescriptionVoltage Priority Operation Output CharacteristicsCurrent Priority Operation Output Characteristic Current PriorityMeasurement Characteristics Start of a Measurement Inspection CleaningDamage Packaging Material Additional ItemsBench Operation LocationRack Mounting Do not block the fan exhaust at the rear of the unitConnect the Power Cord Power ConnectionsOutput Connections Turn the unit off before connecting any wiresOutputs 1 Voltage Drops and Lead Resistance Current RatingsAmpacity and Resistance of Stranded Copper Conductors AWG No Maximum Ampacity Resistance at 20 deg. C Free airGuard Connections for Test Fixtures Coaxial Guard ConnectionsComputer Connections External Trigger ConnectionsMaintaining Stability OVP ConsiderationsSwitch Setting Settings for Power Module Configuration SwitchSwitch Setting Address Gpib AddressFront Panel Description Procedure Checkout ProcedureExplanation Runtime Error Messages Selftest Error MessagesPower-On Selftest Errors Case of TroublePage Gpib Capabilities of the DC Source External ReferencesGpib References Scpi ReferencesIntroduction to Scpi Types of Scpi CommandsConventions Used in This Guide Including Common Commands Multiple Commands in a MessageUsing Queries Moving Among SubsystemsMessage Unit Types of Scpi MessagesChannel List Parameter Scpi Data Formats Suffixes and Multipliers Scpi Command CompletionResponse Data Types Class Suffix Unit Unit with MultiplierOutputstate Example Using Device ClearPage Introduction Power-on InitializationProgramming the Output Enabling the OutputOvervoltage Protection Output ModeOutput Current Oscillation Protection Triggering Output ChangesOutput Trigger Model Enabling the Output Trigger System Setting the Voltage and Current Trigger LevelsSelecting the Output Trigger Source Generating Output Triggers Making MeasurementsAverage Measurements Measurement Samples and Time Interval Power Line CyclesCurrent Ranges Triggered MeasurementsWindow Functions Returning All Measurement Data From the Data BufferEnabling the Measurement Trigger System Measurement Trigger ModelSelecting the Measurement Trigger Source Selecting the Sensing Function Output Settling DelayGenerating Measurement Triggers Pre-trigger and Post-trigger Acquisition Pre-trigger and Post-trigger Data AcquisitionDC Source Status Model Programming the Status RegistersOperation Status Group Bit Configurations of Status RegistersStandard Event Status Group Questionable Status GroupStatus Byte Register MSS and RQS BitsServicing Operation Status and Questionable Status Events Determining the Cause of a Service InterruptCommon Commands Subsystem CommandsProgramming Parameters Subsystem Commands Syntax Scpi Programming Commands At a GlanceSave new cal constants in non-volatile memory FUNCtion Mode mode, @list VOLTage Mode mode, @list DELaySets the output voltage in voltage priority mode Sets the triggered output voltage in voltage priority modeESE n Common Commands SyntaxSRE n Output Programming ParametersCALibrateCURRent Calibration CommandsCALibrateCURRentLIMitPOSitive CALibrateCURRentLIMitNEGative CALibrateCURRentMEASureCALibrateDATA CALibratePASSwordCALibrateDATE CALibrateLEVelCALibrateSTATe CALibrateSAVECALibrateVOLTage FETChARRayCURRent? FETChARRayVOLTage? Measurement CommandsFETChCURRent? FETChVOLTage? Query SyntaxMEASureCURRent? MEASureVOLTage? MEASureARRayCURRent? MEASureARRayVOLTage?SENSeCURRentRANGe Enter values greater than 0.015ASENSeSWEepNPLCycles SENSeFUNCtionSENSeSWEepOFFSetPOINts Query Syntax SENSeFUNCtion? @channel listSENSeSWEepTINTerval SENSeSWEepPOINtsSENSeWINDow OUTPut Output CommandsOUTPutOSCProtect OUTPutPROTectionCLEarSOURceCURRentIMMediate SOURceCURRentTRIGgered Default SuffixSOURceCURRentLIMitIMMediate SOURceCURRentLIMitTRIGgered SOURceCURRentLIMitBWIDthSOURceDELayMODE SOURceDELaySOURceCURRentMODE SOURceCURRentLIMitMODE SOURceVOLTageALCBWIDth SOURceFUNCtionMODESOURceVOLTageIMMediate SOURceVOLTageTRIGgered Query Syntax SOURceFUNCMODE? @channel listSOURceVOLTagePROTectionSTATe SOURceVOLTageMODEQuery Syntax SOURceVOLTagePROTectionSTATe? @channel list NR10 orSTATusOPERationENABle Status CommandsBit Configuration of Operation Status Registers STATusOPERationEVENt?Parameters Preset Value STATusPRESetCommand Syntax STATusPRESet Parameters None Examples STATusOPERationNTR STATusOPERationPTRQuery Syntax STATusQUEStionableENABle? @channel list STATusQUEStionableENABleSTATusQUEStionableCONDition? STATusQUEStionableNTR STATusQUEStionablePTRSYSTemERRor? System CommandsSYSTemVERSion? ABORt Trigger CommandsINITiateNAME TRIGgerACQuireTRIGgerTRANsientSOURce TRIGgerACQuireSOURceTRIGgerTRANsient RST ValueCommand Syntax *CLS Parameters None Common CommandsParameters Power-On Value Examples Bit Configuration of Standard Event Status Enable RegisterExample Field InformationQuery Syntax *OPT? Returned Parameters Aard RST Settings Power-on ValueQuery Syntax TST? Returned Parameters NR1 Bit Configuration of Status Byte RegisterTable A-1. Specifications Table A-2 Supplemental Characteristics Safety Output Common ModeDimensions WeightFigure A-1. Output Impedance Graphs all outputs Equipment Required Measurement Techniques Performance & Verification TestsElectronic Load Test SetupProgramming Voltage Priority Tests Program CommandsVoltage Programming and Readback Accuracy Positive Current Limit +CLNegative Current Limit -CL Action Program CommandsCurrent Programming and Readback Accuracy Current Priority TestsVoltage Priority, Constant Voltage Load Effect Load Effect TestsVoltage Priority, -Current Limit Load Effect Test Voltage Priority, +Current Limit Load EffectCurrent Priority Constant Current Test Source Effect TestsVoltage Priority, Constant Voltage Source Effect Voltage Priority, -Current Limit Source Effect Voltage Priority, +Current Limit Source EffectCurrent Priority, Constant Current Source Effect Voltage Priority Ripple and Noise Ripple and Noise TestsTransient Response Tests Voltage Priority, Transient Recovery TimeCurrent Priority Ripple and Noise Figure B-2. Transient Waveform Voltage Priority Current Priority Transient Recovery TimeFigure B-3. Transient Waveform Current Priority Performance Test Equipment FormPerformance Test Record Form Enable Calibration Mode Performing the Calibration ProcedurePositive Current Limit Calibration Negative Current Limit Calibration5A Range Current Measurement Calibration 100Saving the Calibration Constants 15mA Range Current Measurement Calibration101 Calibration Error Messages Changing the Calibration PasswordTable B-3. Gpib Calibration Error Messages Error MeaningTable C-1. Error Numbers Error Number List103 104 Error Messages105 Error Messages CPage 107 Line Voltage SelectionPage Mating Connector Part Numbers Earlier Version Output ConnectorsRear Panel Pinout Assignments CHG-2010-J01010-KEPPage 111 Index112 IndexScpi 113114 Canada Australia/New Zealand United States Latin AmericaEurope Asia Pacific JapanManual Updates