Agilent Technologies 667xA, 665xA, 664xA Programming Some Power Supply Functions continued, 1130

Page 22

Programming Some Power Supply Functions (continued)

1130

'Enable Status Byte OPER summary bit

 

1135

CODES$ = "*SRE 128"

:GOSUB 2000

1140

 

 

 

1146

'Arm trigger circuit and send trigger to power supply

 

1150

CODES$ = "INITIATE;TRIGGER" :GOSUB 2000

 

1160

'Wait for supply to respond to trigger

 

1165

FOR I= 1 to 100 :NEXT I

 

1170

 

 

 

1175

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

 

1180

SPOL%=O

 

 

 

1186

CALL IBRSP(PS%,SPOL%)

 

1190

IF (SPOL% AND 128) = 128 THEN POLL = 1 'Set interrupt flag on OPER bit

 

1195

IF POLL < > 1 THEN GOTO 1230

'No interrupt to service

1200

"CODES$ = "STAT:OPER:EVEN?" :GOSUB 2000

'Query status oper register

1205

CALL IBRD(PS%,OEVENT$)

'Read back event bit

1210

IF IBSTA% <0 THEN GOTO 21OO

 

1215

OEVENT=VAL(OEVENT$)

 

1220

IF (OEVENT AND 1024) = 1024 THEN PRINT "Supply switched to CC mode."

 

1225

 

 

 

1230

'Clear status circuit

 

1235

CODES$="*CLS"

:GOSUB 2000

 

1240

FOR I=1 TO 50

:NEXT I

'Wait for supply to clear

1245

 

 

 

1250

'Disable output and save present state to location 2

 

1255

CODES$ = "OUTPUT OFF;*SAV 2" :GOSUB 2000

 

1260

END

 

 

 

1265

 

 

 

2000

'Send command to power supply

 

2005

CALL IBWRT(PS%,CODES$)

 

2010

IF IBSTAT% < 0 THEN GOTO 2100

'Error detected

2015

RETURN

 

 

 

1250

'Disable output and save present state to location 2

 

1255

CODES$ = "OUTPUT OFF;*SAV 2" :GOSUB 2000

 

1260

END

 

 

 

1265

 

 

 

2000

'Send command to power supply

 

2005

CALL IBWRT(PS%,CODES$)

 

2010

IF IBSTAT% < 0 THEN GOTO 2100

'Error detected

2015

RETURN

 

 

 

2020

 

 

 

2100

'Error detection routine

 

2105

PRINT "GPIB error. IBSTAT%. = &H";HEX$(IBSTAT%)

 

2110

PRINT “

 

IBERR% = ";IBERR%" in line ";ERL

 

2115

STOP

 

 

 

2120

 

 

 

3000

'Get data from power supply

 

3005

CALL IBRD(PS%,OUTPUT$)

 

3010

IF IBSTA% < 0 THEN GOTO 2100

 

3015

I=1

'

 

'Parse data string

3020

X=1

 

 

 

3025

C=INSTR(I,OUTPUT$,";")

 

Remote Programming 23

Image 22
Contents Microfiche Part No PROGRAMMING GUIDE GPIB DC POWER SUPPLIESAgilent Part No JulySafety Guidelines Printing HistoryREMOTE PROGRAMMING ContentsGENERAL INFORMATION LANGUAGE DICTIONARYDescription of Subsystem Commands SCPI CONFORMANCE INFORMATION ERROR MESSAGESSTATUS REPORTING COMPATIBILITY LANGUAGEDocumentation Summary General InformationAbout this Guide User’s GuideDownloading and Installing the Driver Prerequisites for Using this GuideVXIplug&play Power Product Instrument Drivers Accessing Online HelpIntroduction To SCPI GPIB Capabilities Of The Power SupplyRemote Programming ConventionsStructure of a SCPI Message Types of SCPI CommandsSCPI Messages Common CommandsMessage Component Parts of a SCPI MessageFigure 2-1.Command Message Structure VOLT LEV PROT CURRMessage Unit Separator Traversing the Command TreeQuery Indicator Root SpecifierThe Effect of Optional Headers Figure 2-2.Partial Command TreeActive Header Path Moving Among SubsystemsValue Coupling Including Common CommandsSCPI Queries SCPI Data FormatsTable 2-2.Suffixes and Multipliers ExamplesListening Formats ClassEnable the output Controlling the OutputDisable the output Programming Voltage and CurrentWriting to the Display Saving and Recalling StatesProgramming Status Programming the Digital I/O Port System ConsiderationsThe GPIB Address A direct primary address and a secondary address Sample Program Code DOS DriversAgilent BASIC Controllers Error HandlingProgramming Some Power Supply Functions Controller Using Agilent 82335A InterfaceProgramming Some Power Supply Functions continued 22 Remote ProgrammingProgramming Some Power Supply Functions continued 24 Remote Programming Subsystem Commands Related CommandsCommon Commands Language DictionaryDescription Of Common Commands Figure 3-1.Common Commands Syntax DiagramDescription Meaning and Type0 to Related Commands ESR?IDN? Query SyntaxPower-onStatus Clear Device Initialization OPC?OPT? PSC 0 *PSCMeaning and Type DescriptionMeaning and Type STB? Bit Configuration of Status Byte RegisterTST? ABOR Description of Subsystem CommandsCalibration Commands Figure 3-2.Subsystem Commands Tree DiagramCURR PROT STAT Current SubsystemCURR CURR TRIG CURRENT:LEVEL 200 MADISP Display SubsystemDIG DATA Digital I/O Port Programming ChartDISP TEXT DEFAULT MODE DISP MODEDISP TEXT enclosed in either single ‘ or double quotesINIT INIT:CONT Initiate SubsystemMeasure Subsystem MEAS CURR? MEAS VOLT?OUTP PROT CLE OUTP PROT DEL Output SubsystemOUTP 0 orOUTP REL 1 OUTP REL OFF OUTP RELOUTP REL POL OUTP REL POL NORMStatus Operation Registers Status SubsystemSTAT PRES STAT OPER?STAT OPER NTR STAT OPER PTR STAT OPER ENABSTATUS OPERATION ENABLE? STAT:QUES:COND? Status Questionable RegistersSTAT QUES? STAT QUES ENABSYST ERR? System CommandsSTAT QUES NTR STAT QUES PTR corresponding Questionable Event registerSYST VERS? Trigger SubsystemSYST LANG TRIGVOLT VOLT TRIG Voltage SubsystemTRIG SOUR VOLTAGE LEVEL 200 MVCommand Summary Command SummaryVOLT:PROT CommandCommand Parameters Parameter Characteristics in the Operating GuideProgramming Parameters Agilent Model and ValueStatus Reporting Power Supply Status StructureRegister Commands Operation Status GroupFigure 4-1.Power Supply Status Model Table 4-2.Bit Configurations of Status RegistersSignal MeaningTable 4-3.Status Questionable Commands Questionable Status GroupStandard Event Status Group CLS *ESR?Determining the Cause of a Service Interrupt Service Request Enable RegisterInitial Conditions At Power On Status Byte RegisterTable 4-4.Default Power On Register States The PON Power-OnBitServicing an Operation Status Mode Event Caused ByServicing Questionable Status Events Monitoring Both Phases of a Status TransitionAdding More Operation Events Table 4-5.Generating RQS from the CC EventRI Remote Inhibit SCPI Command CompletionDFI Discrete Fault Indicator Techniques in ANSI/IEEE StdCalibration Error Messages Error MessagesPower Supply Hardware Error Messages System Error Messages60 Error Messages SCPI Conformance Information SCPI Confirmed Commands1SCPI Approved Commands SCPI VersionNON-SCPICommands1 Compatibility Language ARPS Command1 Table B-1.ARPS CommandsSimilar SCPI Table B-1.ARPS Commands continued Command Index 68 Index Page Latin America Agilent Sales and Support OfficeUnited States Canada
Related manuals
Manual 70 pages 51.66 Kb Manual 142 pages 24.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.