Agilent Technologies 665xA, 664xA, 667xA, 669xA, 668xA manual Programming Some Power Supply Functions

Page 20
Programming Some Power Supply Functions

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 20
Contents PROGRAMMING GUIDE GPIB DC POWER SUPPLIES Agilent Part NoMicrofiche Part No JulySafety Guidelines Printing HistoryContents GENERAL INFORMATIONREMOTE PROGRAMMING LANGUAGE DICTIONARYDescription of Subsystem Commands ERROR MESSAGES STATUS REPORTINGSCPI CONFORMANCE INFORMATION COMPATIBILITY LANGUAGEGeneral Information About this GuideDocumentation Summary User’s GuidePrerequisites for Using this Guide VXIplug&play Power Product Instrument DriversDownloading and Installing the Driver Accessing Online HelpGPIB Capabilities Of The Power Supply Remote ProgrammingIntroduction To SCPI ConventionsTypes of SCPI Commands SCPI MessagesStructure of a SCPI Message Common CommandsParts of a SCPI Message Figure 2-1.Command Message StructureMessage Component VOLT LEV PROT CURRTraversing the Command Tree Query IndicatorMessage Unit Separator Root SpecifierFigure 2-2.Partial Command Tree Active Header PathThe Effect of Optional Headers Moving Among SubsystemsIncluding Common Commands SCPI QueriesValue Coupling SCPI Data FormatsExamples Listening FormatsTable 2-2.Suffixes and Multipliers ClassControlling the Output Disable the outputEnable the output Programming Voltage and CurrentProgramming Status Saving and Recalling StatesWriting to the Display The GPIB Address System ConsiderationsProgramming the Digital I/O Port A direct primary address and a secondary address DOS Drivers Agilent BASIC ControllersSample Program Code 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 Related Commands Common CommandsSubsystem Commands Language DictionaryDescription Of Common Commands Figure 3-1.Common Commands Syntax Diagram0 to Meaning and TypeDescription ESR? IDN?Related Commands Query SyntaxOPC? OPT?Power-onStatus Clear Device Initialization PSC 0 *PSCMeaning and Type DescriptionMeaning and Type STB? Bit Configuration of Status Byte RegisterTST? Description of Subsystem Commands Calibration CommandsABOR Figure 3-2.Subsystem Commands Tree DiagramCurrent Subsystem CURR CURR TRIGCURR PROT STAT CURRENT:LEVEL 200 MADisplay Subsystem DIG DATADISP Digital I/O Port Programming ChartDISP MODE DISP TEXTDISP TEXT DEFAULT MODE enclosed in either single ‘ or double quotesInitiate Subsystem Measure SubsystemINIT INIT:CONT MEAS CURR? MEAS VOLT?Output Subsystem OUTPOUTP PROT CLE OUTP PROT DEL 0 orOUTP REL OUTP REL POLOUTP REL 1 OUTP REL OFF OUTP REL POL NORMStatus Subsystem STAT PRESStatus Operation Registers STAT OPER?STATUS OPERATION ENABLE? STAT OPER ENABSTAT OPER NTR STAT OPER PTR Status Questionable Registers STAT QUES?STAT:QUES:COND? STAT QUES ENABSystem Commands STAT QUES NTR STAT QUES PTRSYST ERR? corresponding Questionable Event registerTrigger Subsystem SYST LANGSYST VERS? TRIGVoltage Subsystem TRIG SOURVOLT VOLT TRIG VOLTAGE LEVEL 200 MVCommand Summary VOLT:PROTCommand Summary CommandCommand Parameters Characteristics in the Operating Guide Programming ParametersParameter Agilent Model and ValuePower Supply Status Structure Register CommandsStatus Reporting Operation Status GroupTable 4-2.Bit Configurations of Status Registers SignalFigure 4-1.Power Supply Status Model MeaningQuestionable Status Group Standard Event Status GroupTable 4-3.Status Questionable Commands CLS *ESR?Service Request Enable Register Initial Conditions At Power OnDetermining the Cause of a Service Interrupt Status Byte RegisterThe PON Power-OnBit Servicing an Operation Status Mode EventTable 4-4.Default Power On Register States Caused ByMonitoring Both Phases of a Status Transition Adding More Operation EventsServicing Questionable Status Events Table 4-5.Generating RQS from the CC EventSCPI Command Completion DFI Discrete Fault IndicatorRI Remote Inhibit Techniques in ANSI/IEEE StdError Messages Power Supply Hardware Error MessagesCalibration Error Messages System Error Messages60 Error Messages SCPI Confirmed Commands1 SCPI Approved CommandsSCPI Conformance Information SCPI VersionNON-SCPICommands1 Compatibility Language Similar SCPI Table B-1.ARPS CommandsARPS Command1 Table B-1.ARPS Commands continued Table B-1.ARPS Commands continued Index 68 Index Page Agilent Sales and Support Office United StatesLatin America 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.