Programming GuideGPIB DC Power SuppliesAgilent Technologies Models664xA, 665xA, 667xA and 668xA Agilent Part No.
10 Remote ProgrammingSCPI MessagesThere are two types of SCPI messages, program and response.• A program message consists of one or more properly
Remote Programming 11Figure 2-1. Command Message StructureThe basic parts of the message in Figure 2-1 are:Message Component ExampleHeaders VOLT
12 Remote ProgrammingHeader Convention. In this manual, headers are emphasized with boldface type. The proper short form is shown inupper-case l
Remote Programming 13Figure 2-2. Partial Command TreeActive Header PathIn order to properly traverse the command tree, you must understand the co
14 Remote ProgrammingNote The SCPI parser traverses the command tree as described in Appendix A of the IEEE 488.2 standard.The "Enhanced Tree
Remote Programming 15<NRf+>Expanded decimal format that includes <NRf>, MIN and MAX. Examples: 273273. 2.73E2 MAX. MIN and MAX are t
16 Remote ProgrammingControlling OutputImportant The power supply responds simultaneously to both digital and analog programming inputs. If it is
Remote Programming 17Saving and Recalling StatesYou can remotely save and recall operating states. See *SAV and *RCL in "Chapter 3 - Languag
18 Remote ProgrammingNote The last query string can be handled without difficulty. However, should you request too many queries,the system may r
Remote Programming 19Action Display ShowsPress Current addressPress new address keys New address replaces numbers on the displayPress Display r
2Safety GuidelinesThe beginning of the power supply Operating Manual has a Safety Summary page. Be sure you are familiar with theinformation on that
20 Remote ProgrammingDOS DriversTypes of DriversThe Agilent 82335A and National Instruments GP-IB are two popular DOS drivers. Each is briefly de
Remote Programming 21Programming Some Power Supply FunctionsSAMPLE FOR POWER SUPPLY AT STAND-ALONE ADDRESS 6. SEQUENCE SETS UP CV MODE OPERATION,F
22 Remote ProgrammingProgramming Some Power Supply Functions (continued)1220 CALL IOENTER (PS,OEVENT) ’Read back event bit1225 IF PCIB.ERR < &g
Remote Programming 23Programming Some Power Supply Functions (continued)1130 ’Enable Status Byte OPER summary bit1135 CODES$ = "*SRE 128"
24 Remote ProgrammingProgramming Some Power Supply Functions (continued)3030 WHILE C< >O3035 D$=MID$(OUTPUT$,I,C-I)3040 OUTPUT(X)=VAL(
Language Dictionary 253Language DictionaryIntroductionThis section gives the syntax and parameters for all the IEEE 488.2 SCPI commands and the Co
26 Language DictionaryDescription Of Common CommandsFigure 3-1 shows the common commands and queries. These commands are listed alphabetically in
Language Dictionary 27• If *CLS immediately follows a program message terminator (<NL>), then the output queue and the MAV bitare also clear
28 Language Dictionary*IDN?Identification QueryMeaning and TypeIdentification System InterfaceDescriptionThis query requests the power supply t
Language Dictionary 29*OPC?Meaning and TypeOperation Complete Device StatusDescriptionThis query causes the interface to place an ASCII "1
3Contents1. Introduction About this Guide ...
30 Language DictionaryCommand Syntax *PSC <bool>Parameters 0 | 1 | OFF | ONExample *PSC 0 *PSC 1Query Syntax *PSC?Returned Parameters <
Language Dictionary 31*RSTMeaning and TypeReset Device StateDescriptionThis command resets the power supply to a factory-defined state as defin
32 Language Dictionary*SREMeaning and TypeService Request Enable Device InterfaceDescriptionThis command sets the condition of the Service Requ
Language Dictionary 33Query Syntax *STB?Returned Parameters <NR1> (Register binary value)Related Commands (None)*TRGMeaning and TypeTrigger
34 Language DictionaryDescription Of Subsystem CommandsFigure 3-2 is a tree diagram of the subsystem commands. Commands followed by a question ma
Language Dictionary 35Current SubsystemThis subsystem programs the output current of the power supply.CURRCURR:TRIGThese commands set the immediat
36 Language DictionaryDIG:DATAThis command sets and reads the power supply digital control port when that port is configured for Digital I/O opera
Language Dictionary 37DISP:MODESwitches the display between its normal metering mode and a mode in which it displays text sent by the user. The c
38 Language DictionaryInitiate SubsystemThis subsystem enables the trigger system. When a trigger is enabled, an event on a selected trigger sour
Language Dictionary 39OUTP:PROTThere are two output protection commands that do the following:OUTP:PROT:CLEClears any OV (overvoltage), OC (overcu
4 *RST...
40 Language DictionaryOUTP:REL:POLDo not install or program the Agilent Relay Accessories if the power supply maximum output currentrating (see Ta
Language Dictionary 41STAT:OPER:COND?This query returns the value of the Operation Condition register. That is a read-only register which holds t
42 Language DictionarySTAT:PRESThis command sets all defined bits in the Status Subsystem PTR registers and clears all bits in the subsystem NTR a
Language Dictionary 43Command Syntax STATus:QUEStionable:ENABle <NRf>Parameters 0 to 32727Suffix (None)Default Value 0Examples STAT:QUES:ENA
44 Language DictionarySYST:LANGThis command switches the interface between its SCPI (TMSL) command language and its compatibility language. Theco
Language Dictionary 45TRIG:SOURThis command selects the trigger source. Since the power supply has no other trigger source than the GPIB bus, thi
46 Language DictionaryVOLT:PROTThis command sets the overvoltage protection (OVP) level of the power supply. If the output voltage exceeds the OV
Language Dictionary 47Command SummaryCommand ParametersSubsystem CommandsMEAS:CURR[:DC]?(none)MEAS:VOLT[:DC]?(none)OUTP[:STAT] 0 | l | OFF|ONOUTP[
48 Language DictionaryProgramming ParametersTable 3-1 list the programming parameters for each of the models.Table 3-1. Power Supply Programming
Status Reporting 494Status ReportingPower Supply Status StructureFigure 4-1 shows the status register structure of the power supply. The Standard
5 Standard Event Status Group...5
50 Status ReportingTable 4-2. Bit Configurations of Status RegistersBit Signal Meaning Bit Signal MeaningOperation Status Group Standard Event St
Status Reporting 51Questionable Status GroupRegister FunctionsThe Questionable Status registers record signals that indicate abnormal operation of
52 Status ReportingSTATUS BYTE REGISTERThis register summarizes the information from all other status groups as defined in the "IEEE 488.2 St
Status Reporting 53Table 4-4. Default Power On Register StatesRegister Condition Caused ByOperation PTR; Questionable PTR All bits = 1STAT:PREOpe
54 Status ReportingTable 4-5. Generating RQS from the CC EventRegister Command CommentOperation PTRSTAT:OPER:PTR 1024Allows a positive transition
Status Reporting 55SCPI Command CompletionSCPI commands sent to the power supply are processed either sequentially or in parallel. Sequential com
Error Messages 575Error MessagesPower Supply Hardware Error MessagesFront panel error messages resulting from selftest errors or runtime failures
58 Error MessagesTable 6-1. Summary of System Error Messages (continued)ErrorNumberError String [Description/Explanation/Examples]-141 Invalid ch
SCPI Conformance Information 59ASCPI Conformance InformationNote See Chapter 3 - Language Dictionary for command syntax.SCPI VersionThis power su
60 SCPI Conformance InformationNON-SCPI Commands1CAL:CURR[:DATA] CAL:VOLT:LEV OUTP:REL:POLCAL:CURR:LEV CAL:VOLT:PROT OUTP:REL:POL?CAL:CURR:MON [SO
6Figures2-1. Command Message Structure...
Compatibility Language 61BCompatibility LanguageThe Agilent Series 664xA, 665xA, 667xA, and 668xA Power Supplies are programatically compatible wi
62 Compatibility LanguageTable B-1. ARPS CommandsARPS Command1Description Similar SCPICommandVSET xVSET xVVSET xMVThese commands program output vo
Compatibility Language 63Table B-1. ARPS Commands (continued)ARPS Command1Description Similar SCPICommandRSTThis command resets the power supply i
64 Compatibility LanguageTable B-1. ARPS Commands (continued)ARPS Command1Description Similar SCPICommandUNMASK?This command reads which bits in t
Index 65IndexA<AARD> ...
66 IndexEerror queue...
Index 67Kkeyword (see header)Llanguage, Compatibility (see ARPS language)language, SCPI (see SCPI)local lockout command...
68 IndexPparallel commands (see overlapped commands)programming accuracy (see Specifications in the User’s Guide) examples...
Index 69Ssaved parameters...
70 Index STAT:OPER?...
Introduction 71IntroductionABOUT THIS GUIDEThis guide provides remote programming information for the following series of GPIB programmable power
Index 71TTMSL ...
72 Agilent Sales and Support OfficesAgilent Sales and Support OfficeFor more information about Agilent Technologies test and measurement products
Manual UpdatesThe following updates have been made to this manual since the print revision indicated on the title page.4/1/00All references to HP have
8 IntroductionPREREQUISITES FOR USING THIS GUIDEThis organization of this guide assumes that you know or can learn the following information:1. H
Remote Programming 92Remote ProgrammingGPIB Capabilities Of The Power SupplyAll power supply functions except for setting the GPIB address are pro
Comments to this Manuals