Agilent Technologies N3280A manual Introduction, Programming the Output, Power-on Initialization

Page 39

5

Programming the DC Source

Introduction

This chapter contains examples on how to program your dc source. Simple examples show you how to program:

Koutput voltage and current functions

Kinternal and external triggers

Kmeasurement functions

Kthe status and protection functions

NOTE: The examples in this chapter show which commands are used to perform a particular function, but do not show the commands being used in any particular programming environment.

Programming the Output

Power-on Initialization

When the dc source is first turned on, it wakes up with the output state set to OFF. In this state the output voltage is set to 0. The following commands are given implicitly at power-on:

*RST

*SRE

0

STAT:PRES

*CLS

*ESE

0

 

*RST is a convenient way to program all parameters to a known state. Refer to the Common Commands section in chapter 6 for a complete description of the above commands.

Enabling the Output

To enable all four outputs, use the command:

OUTP ON,(@1:4)

or OUTP ON,(@1,2,3,4)

To enable only outputs 1 and 3 use the command.

OUTP ON,(@1,3)

Output Voltage

The output voltage is controlled with the VOLTage command. To set all four outputs to 5 volts, use:

VOLT 5,(@1:4)

The maximum output voltage that can be programmed can be queried with:

VOLT? MAX,(@<channel list>)

39

Image 39
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 Gpib Capabilities of the DC Source Introduction to Scpi Types of Scpi CommandsScpi Command Completion Using Device Clear External ReferencesStatus Commands Scpi Programming Commands At a Glance Calibration CommandsMeasurement Commands Output CommandsVoltage Priority Tests System CommandsTrigger Commands Common CommandsError Number List 103 Ripple and Noise TestsTransient Response Tests Page Document Orientation Safety ConsiderationsOption Description Options and AccessoriesDescription Remote ProgrammingVoltage Priority Operation Output CharacteristicsCurrent Priority Operation Output Characteristic Current PriorityMeasurement Characteristics Start of a Measurement Additional Items CleaningInspection Damage Packaging MaterialDo not block the fan exhaust at the rear of the unit LocationBench Operation Rack MountingConnect the Power Cord Power ConnectionsTurn the unit off before connecting any wires Output ConnectionsOutputs 1 AWG No Maximum Ampacity Resistance at 20 deg. C Free air Current RatingsVoltage Drops and Lead Resistance Ampacity and Resistance of Stranded Copper ConductorsGuard Connections for Test Fixtures Coaxial Guard ConnectionsOVP Considerations External Trigger ConnectionsComputer Connections Maintaining StabilityGpib Address Settings for Power Module Configuration SwitchSwitch Setting Switch Setting AddressFront Panel Description Checkout Procedure ProcedureExplanation Case of Trouble Selftest Error MessagesRuntime Error Messages Power-On Selftest ErrorsPage Scpi References External ReferencesGpib Capabilities of the DC Source Gpib ReferencesTypes of Scpi Commands Introduction to ScpiConventions Used in This Guide Moving Among Subsystems Multiple Commands in a MessageIncluding Common Commands Using QueriesTypes of Scpi Messages Message UnitChannel List Parameter Scpi Data Formats Class Suffix Unit Unit with Multiplier Scpi Command CompletionSuffixes and Multipliers Response Data TypesOutputstate Example Using Device ClearPage Enabling the Output Power-on InitializationIntroduction Programming the OutputOutput Mode Overvoltage ProtectionOutput Current Triggering Output Changes Oscillation ProtectionOutput Trigger Model Setting the Voltage and Current Trigger Levels Enabling the Output Trigger SystemSelecting the Output Trigger Source Making Measurements Generating Output TriggersAverage Measurements Measurement Samples and Time Interval Power Line CyclesReturning All Measurement Data From the Data Buffer Triggered MeasurementsCurrent Ranges Window FunctionsMeasurement Trigger Model Enabling the Measurement Trigger SystemSelecting the Measurement Trigger Source Output Settling Delay Selecting the Sensing FunctionGenerating 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 RegistersMSS and RQS Bits Questionable Status GroupStandard Event Status Group Status Byte RegisterServicing Operation Status and Questionable Status Events Determining the Cause of a Service InterruptSubsystem Commands Common CommandsProgramming Parameters Scpi Programming Commands At a Glance Subsystem Commands SyntaxSave new cal constants in non-volatile memory Sets the triggered output voltage in voltage priority mode Mode mode, @list DELayFUNCtion Mode mode, @list VOLTage Sets the output voltage in voltage priority modeOutput Programming Parameters Common Commands SyntaxESE n SRE nCALibrateCURRentMEASure Calibration CommandsCALibrateCURRent CALibrateCURRentLIMitPOSitive CALibrateCURRentLIMitNEGativeCALibrateLEVel CALibratePASSwordCALibrateDATA CALibrateDATECALibrateSAVE CALibrateSTATeCALibrateVOLTage Query Syntax Measurement CommandsFETChARRayCURRent? FETChARRayVOLTage? FETChCURRent? FETChVOLTage?Enter values greater than 0.015A MEASureARRayCURRent? MEASureARRayVOLTage?MEASureCURRent? MEASureVOLTage? SENSeCURRentRANGeQuery Syntax SENSeFUNCtion? @channel list SENSeFUNCtionSENSeSWEepNPLCycles SENSeSWEepOFFSetPOINtsSENSeSWEepPOINts SENSeSWEepTINTervalSENSeWINDow OUTPutPROTectionCLEar Output CommandsOUTPut OUTPutOSCProtectSOURceCURRentLIMitBWIDth Default SuffixSOURceCURRentIMMediate SOURceCURRentTRIGgered SOURceCURRentLIMitIMMediate SOURceCURRentLIMitTRIGgeredSOURceDELay SOURceDELayMODESOURceCURRentMODE SOURceCURRentLIMitMODE Query Syntax SOURceFUNCMODE? @channel list SOURceFUNCtionMODESOURceVOLTageALCBWIDth SOURceVOLTageIMMediate SOURceVOLTageTRIGgeredNR10 or SOURceVOLTageMODESOURceVOLTagePROTectionSTATe Query Syntax SOURceVOLTagePROTectionSTATe? @channel listSTATusOPERationEVENt? Status CommandsSTATusOPERationENABle Bit Configuration of Operation Status RegistersSTATusOPERationNTR STATusOPERationPTR STATusPRESetParameters Preset Value Command Syntax STATusPRESet Parameters None ExamplesSTATusQUEStionableNTR STATusQUEStionablePTR STATusQUEStionableENABleQuery Syntax STATusQUEStionableENABle? @channel list STATusQUEStionableCONDition?System Commands SYSTemERRor?SYSTemVERSion? TRIGgerACQuire Trigger CommandsABORt INITiateNAMERST Value TRIGgerACQuireSOURceTRIGgerTRANsientSOURce TRIGgerTRANsientBit Configuration of Standard Event Status Enable Register Common CommandsCommand Syntax *CLS Parameters None Parameters Power-On Value ExamplesField Information ExampleQuery 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 Weight Output Common ModeSafety DimensionsFigure A-1. Output Impedance Graphs all outputs Equipment Required Measurement Techniques Performance & Verification TestsTest Setup Electronic LoadProgramming Positive Current Limit +CL Program CommandsVoltage Priority Tests Voltage Programming and Readback AccuracyNegative 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 EffectSource Effect Tests Current Priority Constant Current TestVoltage 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 TestsVoltage Priority, Transient Recovery Time Transient Response TestsCurrent 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 Procedure100 Negative Current Limit CalibrationPositive Current Limit Calibration 5A Range Current Measurement Calibration15mA Range Current Measurement Calibration Saving the Calibration Constants101 Error Meaning Changing the Calibration PasswordCalibration Error Messages Table B-3. Gpib Calibration Error MessagesError Number List Table C-1. Error Numbers103 104 Error Messages105 Error Messages CPage 107 Line Voltage SelectionPage CHG-2010-J01010-KEP Earlier Version Output ConnectorsMating Connector Part Numbers Rear Panel Pinout AssignmentsPage 111 Index112 IndexScpi 113114 Japan United States Latin AmericaCanada Australia/New Zealand Europe Asia PacificManual Updates