PROGRAMMING GUIDEGPIB DC POWER SUPPLIESAgilent Technologies Models 664xA, 665xA, 667xA, 668xA, and 669xA Agilen
Remote Programming 11 Figure 2-1. Command Message Structure The basic parts of the message in Figure 2-1 are: Message Component Example Heade
12 Remote Programming Header Convention. In this manual, headers are emphasized with boldface type. The proper short form is shown inupper-case
Remote Programming 13 Figure 2-2. Partial Command Tree Active Header Path In order to properly traverse the command tree, you must understand t
14 Remote Programming Note The SCPI parser traverses the command tree as described in Appendix A of the IEEE 488.2 standard. The"Enhanced Tr
Remote Programming 15 Listening Formats <NRf> Extended format that includes <NR1>, <NR2> and <NR3>. Examples: 273 273.2.
16 Remote ProgrammingControlling the OutputImportant The power supply responds simultaneously to both digital and analog programming inputs. If i
Remote Programming 17 Saving and Recalling States You can remotely save and recall operating states. See *SAV and *RCL in "Chapter 3 - Langu
18 Remote ProgrammingNote The last query string can be handled without difficulty. However, should you request too manyqueries, the system may r
Remote Programming 19 Action Display Shows Press Current address Press new address keys New address replaces numbers on the display Press Displ
20 Remote ProgrammingDOS DriversTypes of DriversThe Agilent 82335A and National Instruments GP-IB are two popular DOS drivers. Each is briefly de
2Safety GuidelinesThe beginning of the power supply Operating Manual has a Safety Summary page. Be sure you are familiar with theinformation on that
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 &l
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 Commands Figure 3-1 shows the common commands and queries. These commands are listed alphabetically
Language Dictionary 27*CLS Meaning and Type Clear Status Device Status Description This command causes the following actions (see "Chapte
28 Language Dictionary*ESR? Meaning and Type Event Status Register Device Status Description This query reads the Standard Event Status Eve
Language Dictionary 29*OPC? Meaning and Type Operation Complete Device Status Description This query causes the interface to place an ASCII &
30 Language Dictionary *PSC causes a write cycle to nonvolatile memory. If *PSC is programmed to 0, then the *ESE and*SRE commands also cause a w
3ContentsSafety Guidelines 2Printing History 2Contents 3GENERAL INFORMATION 7About this Guide 7Documentation Summary 7User’s Guide 7External Documents
Language Dictionary 31*RST Meaning and Type Reset Device State Description This command resets the power supply to a factory-defined state as
32 Language Dictionary*SRE Meaning and Type Service Request Enable Device Interface Description This command sets the condition of the Servic
Language Dictionary 33*TRG Meaning and Type Trigger Device Trigger Description This command generates a trigger when the trigger subsystem ha
34 Language DictionaryDescription of Subsystem Commands Figure 3-2 is a tree diagram of the subsystem commands. Commands followed by a question m
Language Dictionary 35Current Subsystem This subsystem programs the output current of the power supply.CURRCURR:TRIG These commands set the imme
36 Language DictionaryDIG:DATA This command sets and reads the power supply digital control port when that port is configured for Digital I/O ope
Language Dictionary 37DISP:MODE Switches the display between its normal metering mode and a mode in which it displays text sent by the user. The
38 Language DictionaryInitiate SubsystemINITINIT:CONT This subsystem enables the trigger system. When a trigger is enabled, an event on a select
Language Dictionary 39Output Subsystem This subsystem controls the power supply's voltage and current outputs and an optional output relay.
40 Language DictionaryOUTP:REL Do not install or program the Agilent Relay Accessories if the power supply maximum output currentrating (see Tabl
4*OPC 28*OPC? 29*OPT? 29*PSC 29*RCL 30*RST 31*SAV 31*SRE 32*STB? 32*TRG 33*TST? 33*WAI 33Description of Subsystem Commands 34ABOR 34Calibration Comman
Language Dictionary 41Status Subsystem This subsystem programs the power supply status registers. The power supply has three groups of status re
42 Language DictionarySTAT:OPER:ENAB This command and its query set and read the value of the Operational Enable register. This register is a ma
Language Dictionary 43Status Questionable Registers Bit Configuration of Questionable Registers Bit Position 15-11 10 9 8 7 6 5 4 3 2 1
44 Language DictionarySTAT:QUES NTRSTAT:QUES PTR These commands allow you to set or read the value of the Questionable NTR (Negative-Transition)
Language Dictionary 45SYST:LANG This command switches the interface between its SCPI (TMSL) command language and its compatibility language. The
46 Language DictionaryTRIG:SOUR This command selects the trigger source. Since the power supply has no other trigger source than the GPIB bus, t
Language Dictionary 47VOLT:PROT This command sets the overvoltage protection (OVP) level of the power supply. If the output voltage exceeds the
48 Language Dictionary Command Summary Command Parameters Subsystem Commands MEAS:CURR[:DC]? (none) MEAS:VOLT[:DC]? (none) OUTP[:STAT] 0 | l |
Language Dictionary 49Programming Parameters Table 3-1 list the programming parameters for each of the models. Table 3-1. Power Supply Programm
Status Reporting 51 4Status Reporting Power Supply Status Structure Figure 4-1 shows the status register structure of the power supply. The Sta
5TRIG 45TRIG:SOUR 46Voltage Subsystem 46VOLT 46VOLT:TRIG 46VOLT:PROT 47Command Summary 47Programming Parameters 49STATUS REPORTING 51Power Supply Stat
52 Status Reporting Table 4-2. Bit Configurations of Status Registers Bit Signal Meaning Bit Signal Meaning Operation Status Group S
Status Reporting 53Questionable Status GroupRegister Functions The Questionable Status registers record signals that indicate abnormal operation
54 Status ReportingStatus Byte Register This register summarizes the information from all other status groups as defined in the "IEEE 488.2
Status Reporting 55 Table 4-4. Default Power On Register States Register Condition Caused By Operation PTR; Questionable PTR All bits = 1 STA
56 Status Reporting Table 4-5. Generating RQS from the CC Event Register Command Comment Operation PTR STAT:OPER:PTR 1024 Allows a positive tr
Status Reporting 57SCPI Command Completion SCPI commands sent to the power supply are processed either sequentially or in parallel. Sequential
Error Messages 59 5Error MessagesPower Supply Hardware Error Messages Front panel error messages resulting from selftest errors or runtime failu
60 Error Messages Table 6-1. Summary of System Error Messages (continued) ErrorNumber Error String [Description/Explanation/Examples] -141 Inva
SCPI Conformance Information 61 ASCPI Conformance Information Note See Chapter 3 - Language Dictionary for command syntax. SCPI Version This po
62 SCPI Conformance InformationNON-SCPI Commands1 CAL:CURR[:DATA] CAL:VOLT:LEV OUTP:REL:POL CAL:CURR:LEV CAL:VOLT:PROT OUTP:REL:POL? CAL:CUR
Introduction 71General InformationAbout this GuideThis guide provides remote programming information for the following series of GPIB programmable
Compatibility Language 63 BCompatibility Language The Agilent Series 664xA, 665xA, 667xA, 668xA, and 669xA Power Supplies are programatically co
64 Compatibility LanguageTable B-1. ARPS CommandsARPS Command1Description Similar SCPICommandVSET xVSET xVVSET xMVThese commands program output v
Compatibility Language 65Table B-1. ARPS Commands (continued)ARPS Command1Description Similar SCPICommandRSTThis command resets the power supply
66 Compatibility LanguageTable B-1. ARPS Commands (continued)ARPS Command1Description Similar SCPICommandUNMASK?This command reads which bits in
Index 67Index—A—AARD, 15analog port. See chapter 4 in the Operating Guideanalog programming. See chapter 4 in the Operating GuideANSI/IEEE, 7, 57A
68 Indexinterrupt, 17, 54—K—keyword. See header—L—language, 63Compatibility. See ARPS commandsSCPI. See SCPI commandslanguage dictionary, 25—M—man
Index 69message unit, 10multiple commands, 10non-conformance, 62references, 7root specifier, 12subsystem commands, 10, 25SCPI subsystem commandsAB
Agilent Sales and Support OfficeFor more information about Agilent Technologies test and measurement products, applications, services, and for a curr
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
10 Remote ProgrammingSCPI MessagesThere are two types of SCPI messages, program and response.• A program message consists of one or more properly
Comments to this Manuals