Agilent Technologies 664xA, 665xA, 667xA Programming Some Power Supply Functions, Iout = OUTPUTS2

Page 21

Programming Some Power Supply Functions

SAMPLE FOR POWER SUPPLY AT STAND-ALONE ADDRESS 6. SEQUENCE SETS UP CV MODE OPERATION, FORCES SUPPLY TO SWITCH TO CC MODE, AND DETECTS AND REPORTS MODE CHANGE.

**************************************************************************

 

Controller Using Agilent 82335A Interface

 

**************************************************************************

5

‘ < --------------- Merge SETUP.BAS here -------------------- >

 

1000

MAX.ELEMENTS=2 : ACTUAL.ELEMENTS=O :MAX.LENGTH=80 :ACT.LENGTH=O

1005

DIM OUTPUTS(2) :CDDES$=SPACE$(40)

 

1010

ISC=7 :PS=706

 

1015

 

1020

'Set up the Power Supply Interface for DOS driver

 

1025

CALL IORESET (ISC)

'Reset the interface

1030

IF PCIB.ERR < > NOERR THEN ERROR PCIB.BASERR

 

1035

TIMEOUT=3

 

1040

CALL IOTIMEOUT (ISC, TIMEOUT)

'Set timeout to 3 seconds

1045

IF PCIB.ERR < > NOERR THEN ERROR PCIB.BASERR

 

1050

CALL IOCLEAR (ISC)

'Clear the interface

1055

IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR

 

1060

CALL IOREMOTE (ISC)

'Set Power Supply to remote mode

1065

IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR

 

1070

 

1075

'Program power supply to CV mode with following voltage and current

 

1080

CODES$ = "VOLTAGE 7.8;CURRENT 480"

:GOSUB 2000

1085

 

1090

'Query power supply outputs & print to screen

 

1095

CODES$ = "MEASURE:VOLTAGE?;CURRENT?"

:GOSUB 2000 :GOSUB 3000

1100

VOUT = OUTPUTS(I)

 

1105

IOUT = OUTPUTS(2)

 

1110

PRINT "The output levels are "VOUT" Volts and "IOUT" Amps"

 

1115

 

1120

'Program triggered current level to value insufficient to maintain

 

1125

'supply within its CV operating characteristic

 

1130

CODES$ = "CURR:TRIG 50"

:GOSUB 2000

1135

 

1140

'Set operation status mask to detect mode change from CV to CC

 

1145

CODES$ = "STAT:OPER:ENAB 1024;PTR 1024"

:GOSUB 2000

1150

 

1155

'Enable Status Byte OPER summary bit

 

1160

CODES$ = "*SRE 128"

:GOSUB 2000

1165

 

1170

'Arm trigger circuit and send trigger to power supply

 

1175

CODES$ = "INITIATE;TRIGGER"

:GOSUB 2000

1180

 

1185

'Wait for supply to respond to trigger

 

1190

FOR I= 1 to 100 :NEXT I

 

1195

 

1200

'Poll for interrupt caused by change to CC mode and print to screen

 

1205

CALL IOSPOLL (PS,RESPONSE)

 

1210

IF (RESPONSE AND 128)< >128 THEN GOTO 1240

'No OPER event to report

1215

CODES$ = "STATUS:OPER:EVEN?"

:GOSUB 2000 'Query status oper register

Remote Programming 21

Image 21
Contents Agilent Part No Microfiche Part No July Programming Guide Gpib DC Power SuppliesPrinting History Safety GuidelinesContents System Commands Description of Subsystem CommandsCurrent Subsystem Display SubsystemPower Supply Status Structure Operation Status Group Command Summary Programming ParametersVoltage Subsystem Questionable Status GroupPage About this Guide General InformationDocumentation Summary User’s GuideVXIplug&play Power Product Instrument Drivers Prerequisites for Using this GuideDownloading and Installing the Driver Accessing Online HelpRemote Programming Gpib Capabilities Of The Power SupplyIntroduction To Scpi ConventionsScpi Messages Types of Scpi CommandsStructure of a Scpi Message Voltlev 4.5PROT 4.8CURR?NLParts of a Scpi Message Volt LEV Prot CurrVoltlev 4.5 Prot 4.8 CURR? Query Indicator Traversing the Command TreeMessage Unit Separator Root SpecifierMoving Among Subsystems Effect of Optional HeadersOutputprotectionclear STATUSOPERATIONCONDITION? OUTPUTPROTECTIONCLEARSTATUSOPERATIONCONDITION?Scpi Queries Including Common CommandsValue Coupling Scpi Data FormatsExamples Controlling the Output Saving and Recalling States Writing to the DisplayProgramming Status Programming the Digital I/O Port System ConsiderationsGpib Address DigdataAssigning the Gpib Address In Programs Action Display ShowsDOS Drivers Error HandlingAgilent Basic Controllers Sample Program CodeIout = OUTPUTS2 Programming Some Power Supply FunctionsCall Ioenter PS,OEVENT SPOL%=O While C O Introduction Language DictionaryCommon Commands Syntax Diagram Description Of Common CommandsESE CLSESR? IDN?OPC OPT? OPC?PSC PSC 0 *PSCQuery Syntax None Related Commands Command Syntax RCL NRf Parameters ExampleRCL PSC *RST *SAVRST SAVSAV SRE Bit Configuration of Status Byte RegisterSTB? SRETRG TST?WAI Calibration Commands Description of Subsystem CommandsAbor AborCurrent Subsystem Curr CurrtrigCurrprotstat Digdata Display SubsystemDisp Digdata 7 DigitaldatavalueDispmode Disptext DefaultmodeDisptext Dispmode Norm Displaymode Normal Displaywindowmode TextMeasure Subsystem Initiate SubsystemInit Initcont MEASCURR? MEASVOLT?Output Subsystem OutpOutpprotcle Outpprotdel Outprelpol OutprelOutprel 1 Outprel OFF Outprelpol NormStatpres Status SubsystemStatus Operation Registers STATOPER?Statoperenab STATUSOPERATIONENABLE?Statoper NTR Statoper PTR Statoperenab 1312 StatoperenabSTATQUES? Status Questionable RegistersSTATQUESCOND? StatquesenabSYSTERR? SYSTEMERROR? System CommandsStatques NTR Statques PTR SYSTERR?Systlang Trigger SubsystemSYSTVERS? TrigTrigsour Voltage SubsystemVolt Volttrig Trigsour BUS Triggersource BUSCommand Summary Command SummaryCommand Parameters Subsystem Commands VoltprotCommon Commands Parameters Command ParametersCurrlevtrig MAX Programming ParametersVoltlevtrig MAX Voltprot MAXPage Register Commands Power Supply Status StructureStatus Reporting Operation Status GroupWTG CALUNR OPCQuestionable Status Group Status Questionable Commands Register Query Cleared ByStandard Event Status Group STATQUESNTR?Initial Conditions At Power On Service Request Enable RegisterStatus Byte Register Output QueueServicing an Operation Status Mode Event PON Power-On BitDefault Power On Register States Condition Caused By StatpreMonitoring Both Phases of a Status Transition Adding More Operation EventsServicing Questionable Status Events DFI Discrete Fault Indicator Scpi Command CompletionRI Remote Inhibit WAIPage Power Supply Hardware Error Messages Error MessagesCalibration Error Messages System Error MessagesError Error String Description/Explanation/Examples Number Summary of System Error MessagesScpi Approved Commands Scpi Confirmed Commands1Scpi Conformance Information Scpi VersionNON-SCPI Commands1 Compatibility Language Parallel PollingCompatibility Language Curr VoltVSET? ISET? CURR? VOUT?Volttrig Hold OFFHold CurrtrigUNMASK? FAULT?SRQ OFF SRQIndex IndexOperation status group, 51 optional header Trig SOUR, 46 VOLT, 46 Volt PROT, 47 Volt Trig Canada Australia/New Zealand United States Latin AmericaEurope Asia Pacific Japan
Related manuals
Manual 142 pages 24.05 Kb Manual 67 pages 46.05 Kb

668xA, 669xA, 667xA, 664xA, 665xA specifications

Agilent Technologies has long been a pioneer in the production of high-performance electronic test and measurement instruments, particularly in the field of power sources. Among its notable offerings are the Agilent 667xA, 669xA, 665xA, 664xA, and 668xA series of power supplies. These instruments are designed to provide stable, reliable power for a variety of applications, including electronic testing, industrial processes, and research laboratories.

The Agilent 667xA series is characterized by its programmability and advanced measurement functions. These power supplies support a wide range of output voltages and currents, allowing for flexible configurations that cater to different testing needs. The built-in measurement capabilities enable users to monitor the voltage, current, and power with high precision, which is essential for ensuring optimal performance in electronic applications.

The Agilent 669xA series stands out with its high-power outputs, making it suitable for demanding applications. These power supplies deliver high voltage and current levels, making them ideal for testing high-performance devices, such as power amplifiers and motor drives. Additionally, the 669xA series includes features such as overvoltage protection and complex output sequencing to enhance the safety and reliability of the testing process.

The Agilent 665xA and 664xA series focus on delivering high accuracy and excellent regulation. These models are particularly known for their low noise operation, which is critical for sensitive applications where precision is paramount. The integrated programming capabilities allow users to automate testing sequences, thus improving efficiency in research and development settings.

The 668xA series features advanced digital signal processing that enhances the precision and stability of the output. Users benefit from features like remote sensing and monitoring, allowing feedback adjustments that maintain output accuracy despite cable losses. Furthermore, the 668xA models can integrate seamlessly with various test environments thanks to their LAN, GPIB, and USB connectivity options.

Overall, the Agilent 667xA, 669xA, 665xA, 664xA, and 668xA power supplies provide a comprehensive range of solutions for diverse electronic testing needs. With their advanced features, superb measurement capabilities, and robust performance, these instruments empower engineers and researchers to conduct their work with confidence, precision, and efficiency.