USER’S GUIDE Agilent Model 66111A Fast Transient DC Source Agilent Model 66311B/D, 66309B/D Mobile Communications DC Source NOTE: Refer to page 23 for a brief description of the model differences. Agilent Part No. 5964-8125 Microfiche No.
Warranty Information CERTIFICATION Agilent Technologies certifies that this product met its published specifications at time of shipment from the factory. Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Bureau of Standards, to the extent allowed by the Bureau’s calibration facility, and to the calibration facilities of other International Standards Organization members.
Safety Summary The following general safety precautions must be observed during all phases of operation of this instrument. Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design, manufacture, and intended use of the instrument. Agilent Technologies assumes no liability for the customer’s failure to comply with these requirements. GENERAL This product is a Safety Class 1 instrument (provided with a protective earth terminal).
SAFETY SYMBOLS Direct current Alternating current Both direct and alternating current Three-phase alternating current Earth (ground) terminal Protective earth (ground) terminal Frame or chassis terminal Terminal is at earth potential. Used for measurement and control circuits designed to be operated with one terminal at earth potential.
Declaration Page DECLARATION OF CONFORMITY according to ISO/IEC Guide 22 and EN 45014 Manufacturer’s Name: Manufacturer’s Address: Agilent Technologies 140 Green Pond Road Rockaway, New Jersey 07866 U.S.A.
DECLARATION OF CONFORMITY according to ISO/IEC Guide 22 and EN 45014 Manufacturer’s Name: Manufacturer’s Address: Agilent Technologies 140 Green Pond Road Rockaway, New Jersey 07866 U.S.A.
Acoustic Noise Information Herstellerbescheinigung Diese Information steht im Zusammenhang mit den Anforderungen der Maschinenläminformationsverordnung vom 18 Januar 1991. * Schalldruckpegel Lp <70 dB(A) * Am Arbeitsplatz * Normaler Betrieb * Nach EN 27779 (Typprüfung). Manufacturer’s Declaration This statement is provided to comply with the requirements of the German Sound Emission Directive, from 18 January 1991.
Table of Contents Warranty Information Safety Summary Declaration Page Acoustic Noise Information Printing History Table of Contents 1 - QUICK REFERENCE The Front Panel - At a Glance The Rear Panel - At a Glance Instrument Configuration Front Panel Number Entry Front Panel Annunciators Immediate Action Keys Front Panel Menus - At a Glance SCPI Programming Commands - At a Glance 2 - GENERAL INFORMATION Document Orientation Safety Considerations Options and Accessories Description and Model Differences Comm
DVM Connections Measuring Circuits that are Not Powered by the Main Output Measuring Circuits that are Floating with Respect to the Main Output External Protection Connections Digital I/O Connections Computer Connections GPIB Interface RS-232 Interface 4 - TURN-ON CHECKOUT Checkout Procedure In Case of Trouble Selftest Error Messages Runtime Error Messages Line Fuse 5 - FRONT PANEL OPERATION Introduction Front Panel Description System Keys Function Keys Immediate Action Keys Scrolling Keys Metering Keys O
Including Common Commands Using Queries Types of SCPI Messages The Message Unit Headers Query Indicator Message Unit Separator Root Specifier Message Terminator SCPI Data Formats Numerical Data Formats Suffixes and Multipliers Response Data Types SCPI Command Completion Using Device Clear SCPI Conformance Information SCPI Conformed Commands Non-SCPI Commands 7 - PROGRAMMING THE DC SOURCE Introduction Programming the Output Power-on Initialization Enabling the Output Output Voltage Output Current Triggering
Questionable Status Group Standard Event Status Group Status Byte Register Determining the Cause of a Service Interrupt Servicing Operation Status and Questionable Status Events Monitoring Both Phases of a Status Transition Inhibit/Fault Indicator Remote Inhibit (RI) Discrete Fault Indicator (DFI) Using the Inhibit/Fault Port as a Digital I/O 8 - LANGUAGE DICTIONARY Introduction Subsystem Commands Common Commands Programming Parameters Calibration Commands CALibrate:CURRent CALibrate:CURRent2 CALibrate:CUR
SENSe:CURRent:DETector SENSe:CURRent:RANGe SENSe:FUNCtion SENSe:PROTection:STATe SENSe:SWEep:OFFSet:POINts SENSe:SWEep:POINts SENSe:SWEep:TINTerval SENSe:WINDow Output Commands INSTrument:COUPle:OUTPut:STATe OUTPut[1 | 2] OUTPut[1 | 2]:RELay:MODE OUTPut:DFI OUTPut:DFI:SOURce OUTPut:PON:STATe OUTPut:PROTection:CLEar OUTPut:PROTection:DELay OUTPut:RI:MODE OUTPut:TYPE [SOURce:]CURRent [SOURce:]CURRent2 [SOURce:]CURRent:PROTection:STATe [SOURce:]CURRent:TRIGger [SOURce:]CURRent2:TRIGger [SOURce:]DIGital:DATA [S
TRIGger:SEQuence2:HYSTeresis:DVM TRIGger:ACQuire:HYSTeresis:DVM TRIGger:SEQuence2:HYSTeresis:VOLTage TRIGger:ACQuire:HYSTeresis:VOLTage TRIGger:SEQuence2:LEVel:CURRent TRIGger:ACQuire:LEVel:CURRent TRIGger:SEQuence2:LEVel:DVM TRIGger:ACQuire:LEVel:DVM TRIGger:SEQuence2:LEVel:VOLTage TRIGger:ACQuire:LEVel:VOLTage TRIGger:SEQuence2:SLOPe:CURRent TRIGger:ACQuire:SLOPe:CURRent TRIGger:SEQuence2:SLOPe:DVM TRIGger:ACQuire:SLOPe:DVM TRIGger:SEQuence2:SLOPe:VOLTage TRIGger:ACQuire:SLOPe:VOLTage TRIGger:SEQuence2:SO
C - ERROR MESSAGES Error Number List D - EXAMPLE PROGRAMS Introduction Assigning the GPIB Address in Programs National Instruments GPIB Driver BASIC Pulse Measurements DFI Programming Example E - LINE VOLTAGE CONVERSION 161 161 165 165 165 165 168 169 173 175 Open the Unit Configure the Power Transformer Install the Correct Line Fuse Close the Unit 175 175 175 175 F - COMPATIBILITY LANGUAGE 177 Introduction INDEX 14 177 183
1 Quick Reference The Front Panel - At a Glance 1 A 14-character display shows output measurements and programmed values. 1 2 Annunciators indicate 3 Rotary control sets voltage, operating modes and status conditions. current, and menu parameters. Use Æ and Ç to set the resolution; then adjust the value with the knob. 2 3 66309D DUAL OUTPUT Mobile Communications DC Source CV Unr CC Dis OCP Prot SYSTEM Channel 1 Addr Err SRQ ENTRY Save 6 OV Meter 3 Voltage 4 5 Prot Cir 7 .
1 - Quick Reference The Rear Panel - At a Glance 1 DVM inputs. 2 GPIB (IEEE-488) 3 Remote front panel 4 INH/FLT (remote Connector plug is removable. interface connector. display connector. RS-232 interface for Agilent 66111A, 66311B/D only. INHibit / internal FauLT) connector. Connector plug is removable. 2 1 WARNING: 3 NO OPERATOR SERVICEABLE PARTS 4 REFER SERVICING TO SERVICE TRAINED INH FLT + - - + + ! DVM OUTPUT 2 0 - 12V / 0 - 1.
Quick Reference - 1 Front Panel Number Entry Enter numbers from the front panel using one the following methods: Use the arrow keys and knob to change voltage or current settings NOTE: The output must be ON to see the displayed values change in Meter mode. With the output enabled, this method changes the output voltage or current immediately.
1 - Quick Reference Front Panel Annunciators CV Output 1 or output 2 is operating in constant voltage mode. CC Output 1 or output 2 is operating in constant current mode. Unr Output 1 or output 2 is unregulated. Dis The output is OFF. Press the Output On/Off key to turn the output on. OCP The over-current protection state is ON. Press the OCP key to turn over-current protection off. Prot Indicates that the output has been disabled by one of the protection features.
Quick Reference - 1 Front Panel Menus - At a Glance Address ó ó ó ó ó ó ó ó Recall Shift Save Shift Error Shift Meter Channel ó ó ó ó ó ó ó ó ó ó ó ó Voltage Current Shift Res Protect Output ó ó ó ó ó ó ó ó ó ó ó Shift OV Shift Input Shift ADDRESS 7 INTF GPIB BAUDRATE 300 PARITY NONE FLOW NONE LANG SCPI REMOTE FP OFF ROM: A.00.00 SN: US12345678 *RCL 0 *SAV 0 ERROR 0 2 5.000V 0.104A 1 1 12.000V 0.204A 1 12.500V MAX 1 1.000V MIN 1 12.330V HIGH 1 0.080V LOW 1 12.000V RMS 1 0.350A MAX 1 0.
1 - Quick Reference SCPI Programming Commands - At a Glance NOTE: Some [optional] commands have been included for clarity. Refer to chapter 8 for a complete description of all programming commands.
2 General Information Document Orientation This manual describes the operation of the Agilent Model 66111A Fast Transient, the Agilent Model 66311B/D Mobile Communications, and the Agilent Model 66309B/D Dual Output DC Source. Agilent Models 66311D and 66309D have an additional DVM measurement input on the rear panel. Unless otherwise noted, these models will be referred to by the description "dc source" throughout this manual.
2 - General Information Safety Considerations This dc source is a Safety Class 1 instrument, which means it has a protective earth terminal. That terminal must be connected to earth ground through a power source equipped with a ground receptacle. Refer to the Safety Summary page at the beginning of this guide for general safety information. Before installation or operation, check the dc source and review this guide for safety warnings and instructions.
General Information - 2 Description and Model Differences The Agilent 66111A Fast Transient DC Source is a high performance dc power source that provides peak current sourcing and rapid, basic measurements in a compact, half-rack box. It is designed to simplify the testing of digital wireless communications products. Excellent voltage transient response characteristics prevent test interruptions due to triggering of low voltage phone shutdown.
2 - General Information Common Capabilities ♦ Voltage and current control with 12-bit programming resolution on output 1. ê 3 ampere current source capability (up to 5 amperes for 7 milliseconds) ♦ Extensive measurement capability on output 1 ê dc voltage and current. ê rms and peak voltage and current. ê Current measurement capability up to approximately 7.0 amperes ê 16-bit measurement resolution.
General Information - 2 Output 1 Characteristic The dc source’s main output (output 1) characteristic is shown in the following figure. The main output of the dc source may be adjusted to any value within the boundaries shown. Output Voltage ISET 15V -1.2A 1 CV resi stiv e load line VSET CC -2.8A 0 2 iv i st res d oa el e lin Peak Current capability for up to 7 ms shown by dotted lines + 3A 5A Output Current Figure 2-1.
2 - General Information Figure 2-1 also shows a single range − two quadrant capability. This means that the dc source is capable of sourcing as well as sinking current over the output voltage range from zero volts to the rated voltage. This negative current sinking capability provides fast downprogramming of the output of the dc source. It can also be used to sink current from a battery charger, thus providing battery charger test capability.
General Information - 2 Option 521 Description (Agilent 66309B/D only) Option 521 consists of the following enhancements to the output capabilities of Agilent models 66309B/66309D: ♦ Solid-state relays to connect and disconnect the output of the dc source. The relays are available on the output and sense terminals of outputs 1 and 2. When the solid state relays are open, the output impedance is effectively raised to about 500k ohms for output 1, and about 200k ohms for output 2.
3 Installation Installation and Operation Checklist Check the Output Compensation Check that the output compensation of the dc source is appropriate for your application. Refer to “Output Compensation” in this chapter. High mode provides the best transient response and can be used with phones having input capacitances from 5 to 12000µF. Note that if the last two digits on the front panel display are fluctuating when the phone is in standby, you may want to set the output compensation to Low mode.
3 - Installation Inspection Damage When you receive your dc source, inspect it for any obvious damage that may have occurred during shipment. If there is damage, notify the shipping carrier and the nearest Agilent Sales and Support Office immediately. The list of Agilent Sales and Support Offices is at the back of this guide. Warranty information is printed in the front of this guide.
Installation - 3 NOTE: This dc source generates magnetic fields that may affect the operation of other instruments. If your instrument is susceptible to operating magnetic fields, do not locate it in the immediate vicinity of the dc source. Typically, at three inches from the dc source, the electromagnetic field is less than 5 gauss. Many CRT’s, such as those used in computer displays, are susceptible to magnetic fields much lower than 5 gauss.
3 - Installation Output Connections Turn the unit off before connecting any wires. Output 1 The main output connector (output 1) has a termination for the + and − output, the + and − sense terminals, and an earth ground terminal. The 5-pin connector is removable and accepts wires sizes from AWG 22 to AWG 12. Disconnect the mating plug from the unit by pulling it straight back. IMPORTANT: You must connect the sense terminals on Output 1 for the unit to operate properly.
Installation - 3 The maximum allowable value of load lead resistance is 4 ohms total (2 ohms per side). This may be further limited to a lower value, based on peak current loading, by the maximum allowable dc voltage drop of 8 volts total (4 volts per side) as specified for remote sense operation. To illustrate, for up to 2 amps peak, the maximum allowable resistance is 4 ohms total, resulting in a maximum voltage drop of up to 8 volts.
3 - Installation The sense leads are part of the dc source’s feedback path and must be kept at a low resistance (less than several ohms) to maintain optimal performance. Connect the sense leads carefully so that they do not become open-circuited. If the sense leads are left unconnected or become open during operation, the dc source will not regulate the output voltage. See "Open Sense Lead Protection".
Installation - 3 OUTPUT 1/OUTPUT 2 CONNECTOR -S - + +S TWIST LEADS TWIST PAIR LENGTH MUST BE UNDER 20 INCHES + LOAD _ WIRE RESISTANCE FIXTURE CONNECTIONS Figure 3-4. Remote Sense Connections with Test Fixture Load Regulation and Voltage Drop in the Remote Sense Leads The sense leads are part of the dc source’s feedback path and must be kept at a low resistance to maintain optimal performance. One way to accomplish this is to use larger diameter wires for the sense leads (see Table 3-2).
3 - Installation Open Sense Lead Protection The main output (output 1) of the dc source has built-in open sense protection circuitry that detects if there is an open in either the positive or the negative remote sense lead or load lead path. For battery powered devices, undetected open sense connections can cause incorrect battery charger calibration, incorrect test results due to erroneous voltage settings, and low voltage phone shutdown due to a large transient voltage drop.
Installation - 3 If the open sense lead protection circuit detects an open sense lead, the Prot annunciator on the front panel turns on and the output turns off. Bit 5 in the Questionable Status Registers is also set (see chapter 7 under "Programming the Status Registers").
3 - Installation Output Compensation High bandwidth performance and stability are achieved by using a software-switchable output compensation circuit. This compensation circuit has two bandwidth positions to optimize the response for two different ranges of phone capacitance. The compensation function is set using either the front panel TYPE:CAP command located in the Output menu (see chapter 5), or the OUTput:TYPE[:CAPacitance] SCPI command as explained in chapter 8.
Installation - 3 OVP Considerations CAUTION: Disabling the OVP protection circuit may cause excessive output voltages, such as can occur if the remote sense leads are shorted, to damage the equipment under test. The dc source is shipped from the factory with its overvoltage protection circuit enabled. You can disable the OVP circuit using either the front panel VOLT PROT command located in the OV menu, or the VOLTage:PROTection:STATe SCPI command as explained in chapter 8.
3 - Installation NOTE: The DVM is not designed to measure voltages that are greater than +25 Vdc or less than −4.5 Vdc with respect to the negative terminal of the main output. The following sections discuss restrictions that apply when using the DVM to measure voltages on circuits that are not powered by the main output, or that are floating with respect to the main output.
Installation - 3 ♦ You cannot measure voltages greater than +25 Vdc with respect to the negative terminal of the main output. A situation where this could occur is illustrated by R1 in figure 3-8, which has only a 12 Vdc drop across it but is 36 Vdc + Vlead with respect to the negative terminal of the main output. ♦ You cannot measure voltages less than −4.5 Vdc with respect to the negative terminal of the main output.
3 - Installation External Protection Connections This rear panel connector, has a fault output port and an inhibit input port. The fault (FLT) output, also referred to as the DFI (discrete fault indicator) signal in the front panel and SCPI commands, is an open collector circuit that pulls the positive output low with respect to the negative (chassis-referenced) common.
Installation - 3 Digital I/O Connections As shown in Table 3-3 and Figure 3-11, the FLT/INH connector can also be configured as a digital I/O port. Information on programming the digital I/O port is found in chapter 5 and under [SOURce:]DIGital:DATA and [SOURce:]DIGital:FUNCtion commands in chapter 8. The electrical characteristics of the digital connector are described in appendix A. PIN 1 2 3 4 Table 3-3.
3 - Installation Dc sources may be connected to the GPIB interface in series configuration, star configuration, or a combination of the two, provided the following rules are observed: ♦ The total number of devices including the GPIB interface card is no more than 15. ♦ The total length of all cables used is no more than 2 meters times the number of devices connected together, up to a maximum of 20 meters. (Refer to table 2-2 for a list of GPIB cables available from Agilent Technologies.
4 Turn-On Checkout Checkout Procedure Successful tests in this chapter provide a high degree of confidence that your unit is operating properly. For verification tests, see appendix B. Complete performance tests are given in the Service Guide. NOTE: To perform the checkout procedure, you will need a wire for shorting the output terminals together. The following procedure assumes that the unit turns on in the factory-default state.
4 - Turn-On Checkout Procedure Display Explanation 7. Plug the output connector back into the unit. 8. Press Shift, Prot Clear NO FAULT Clears the protection condition. Prot is off; CV is on. 9. Press Voltage VOLT 0.000 Display shows the output voltage setting of the unit. 10. Press Enter Number, <15>, Enter VOLT <15> 15.003V 0.0001A Programs the main output to 15 volts. After the value is entered, the display returns to Meter mode.
Turn-On Checkout - 4 Only perform steps 23 to 33 if you are verifying an Agilent 66309B or 66309D unit. Procedure Display 2 0.025V 0.0002A Explanation Shift Channel toggles between channel 1 and channel 2. The left-most digit of the display identifies the output channel that is presently being controlled. It will indicate a "1" for channel 1, or "2" for channel 2. 23. Turn the unit on. Wait for selftest to complete and press Shift, Channel. 24. Press Voltage, Enter Number, <12>, Enter. 25.
4 - Turn-On Checkout Table 4-1. Power-On Selftest Errors Error No.
5 Front panel Operation Introduction Here is what you will find in this chapter: ♦ ♦ a complete description of the front panel controls front panel programming examples NOTE: The dc source must be in set to Local mode to use the front panel controls. Press the Local key on the front panel to put the unit in local mode.
5 – Front Panel Operation j Display 14-character vacuum fluorescent display for showing output measurements and programmed values. k Annunciators Annunciators light to indicate operating modes and status conditions: CV The dc source output is in constant-voltage mode. CC The dc source output is in constant-current mode. Unr The dc source output is in an unregulated state. Dis The dc source output is disabled (off). OCP The overcurrent protection state is enabled.
Front Panel Operation - 5 System Keys Refer to the examples later in this chapter for more details on the use of these keys. SYSTEM Channel Error Local Address Save Recall Figure 5-2. System Keys This is the blue, unlabeled key, which is also shown as Shift in this guide. Pressing this key accesses the alternate or shifted function of a key (such as ERROR ). Release the key after you press it. The Shift annunciator is lit, indicating that the shifted keys are active.
5 – Front Panel Operation Function Keys Refer to the examples later in this chapter for more details on the use of these keys. FUNCTION Res Input OV Meter Voltage Output Prot Cir OCP Cal Protect Current Output On/Off Figure 5-3. Function Keys Immediate Action Keys Immediate action keys immediately execute their corresponding function when pressed. Other function keys have commands underneath them that are accessed when the key is pressed.
Front Panel Operation - 5 Metering Keys Metering keys control the metering functions of the dc source. As set from the factory, all front panel measurements from the main output (output 1), are calculated from a total of 2048 readings taken at a 46.8 microsecond sampling rate. Therefore, the factory default acquisition time for a single front panel measurement is about 100 milliseconds.
5 – Front Panel Operation Output Control Keys Output control keys control the output functions of the dc source. Voltage Press this key to access the voltage menu. Display Command Function 1 2 Current 2 Res Output CURR CURR Press this key to access the output menu list. Display Command Function Protect OV Cal Enables or disables overvoltage protection (ON | OFF) 4 Sets the overvoltage protection level This key accesses the calibration menu (Refer to Appendix B for details).
Front Panel Operation - 5 Entry Keys Refer to the examples later in this chapter for more details on the use of these keys. ENTRY Cir Entry 1 2 3 4 5 . 6 7 8 9 0 - Enter Number Enter Backspace È É Æ Ç Enter Number 0 . , Figure 5-4. Entry Keys These keys let you scroll through choices in a parameter list that apply to a specific command. Parameter lists are circular; you can return to the starting position by continuously pressing either key.
5 – Front Panel Operation Examples of Front Panel Programming You will find these examples on the following pages: 1 Using the front panel display 2 Setting the output voltage, current, and compensation 3 Setting the output 2 voltage and current 4 Querying and clearing output protection 5 Making basic front panel measurements 6 Making enhanced front panel measurements 7 Making DVM measurements 8 Programming the digital port 9 Setting the GPIB address and Programming Language 10 Storing and recalling instru
Front Panel Operation - 5 2 - Setting the Output Voltage, Current, Compensation, and Relay Mode This example shows you how to set the output voltage and current. It also shows you how to set the compensation circuit for either high or low capacitance cellular phones. Relay mode only applies to Agilent models 66309B/D units that have Option 521 installed. Note that no front panel changes affect the output of the unit unless it has been enabled. Set the output voltage Action Display 1.
5 – Front Panel Operation Setting the relay mode (Agilent 66309B/D with Option 521 only) Action 1. Use Output ON/OFF to make sure that the output of the selected channel is off. The output must be turned off before any relay settings take effect. If the Dis annunciator is lit, the output is off. 2. Press Meter to return the display to Meter mode. 3. Press Shift Channel to select either output channel 1 or output channel 2. Display 1 3.6V 7.5V 2 4. On the Function keypad, press OUTPUT.
Front Panel Operation - 5 3. 2 To make minor changes to an existing value: On the Function keypad, press Current. On the Entry keypad, press Æ or Ç to select the digit in the numeric field that you wish to change. For example, move the flashing digit to the tenths column to change a value in this column. Then press È to scroll from 0.400 to 0.500. Then press Enter. NOTE: CURR 0.500 To draw current pulses greater than 1.5 A and up to 2.5 A peak on output 2, set the output current limit higher than 1.
5 – Front Panel Operation 5 – Making Basic Front Panel Measurements As shipped from the factory, front panel measurements for the main output (output 1) are calculated from a total of 2048 readings taken at a 46.8 microsecond sampling rate. The unit alternates between voltage and current measurements. Therefore, the data acquisition time for a single front panel voltage or current measurement is about 100 milliseconds.
Front Panel Operation - 5 6 – Making Enhanced Front Panel Measurements The following figure illustrates the enhanced measurement capabilities of Agilent Models 66311B/D and 66309B/D for measuring output waveforms. These include peak (max), minimum, high level, and low level measurements as illustrated in the following figure. Rms and dc voltages are calculated from the number of points in the measurement window. V or A MAX 46.
5 – Front Panel Operation 2. To change the front panel time interval and buffer size for output waveform measurements, press Shift, Input. Then press q until you obtain the TINT command. Use the Entry keys to enter a value from 15.6 microseconds to 1 second in seconds. Then press Enter. TINT 0.002 3. Continue by pressing Shift, Input and q until you obtain the POINT command. Press É to select a different buffer size. The choices are: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, and 2048.
Front Panel Operation - 5 8 - Programming External Protection and the Digital Port Functions Your dc source is shipped with the output port function set to RIDFI mode. In this mode the port functions as a remote inhibit input with a discrete fault indicator output signal. You can also configure the port to act as a Digital Input/Output device. To configure the RIDFI mode of the port, proceed as follows: Action Display 1. On the Function keypad, press Output. *RST 2.
5 – Front Panel Operation Set the Language as follows: (not valid for Agilent 66309B/D) Action Display 1. On the System keypad, press Address. ADDRESS 5 2. Scroll through the Address menu by pressing q. The LANG command lets you access the programming language. LANG:SCPI 3. The È and É keys let you select the language. You can select either SCPI or COMPatibility. Press Enter when done. The language setting is saved in non-volatile memory.
6 Introduction to Programming External References GPIB References The most important GPIB documents are your controller programming manuals - BASIC, GPIB Command Library for MS DOS, etc. Refer to these for all non-SCPI commands (for example: Local Lockout). The following are two formal documents concerning the GPIB interface: ♦ ANSI/IEEE Std. 488.1-1987 IEEE Standard Digital Interface for Programmable Instrumentation. Defines the technical details of the GPIB interface.
6 - Introduction to Programming VXIplug&play Power Products Instrument Drivers VXIplug&play instrument drivers for Microsoft Windows 95 and Windows NT are now available on the Web at http://www.agilent.com/find/drivers. These instrument drivers provide a high-level programming interface to your Agilent Technologies instrument. VXIplug&play instrument drivers are an alternative to programming your instrument with SCPI command strings.
Introduction to Programming - 6 Accessing Online Help A comprehensive online programming reference is provided with the driver. It describes how to get started using the instrument driver with Agilent VEE, LabVIEW, and LabWindows. It includes complete descriptions of all function calls as well as example programs in C/C++ and Visual BASIC. ð To access the online help when you have chosen the default Vxipnp start folder, click on the Start button and select Programs | Vxipnp | Agxxxx Help (32-bit).
6 - Introduction to Programming SPACE Seven data bits with space parity (parity is always false) NONE Eight data bits without parity Parity options are stored in non-volatile memory. Baud Rate The front panel Address key lets you select one of the following baud rates, which is stored in nonvolatile memory: 300 600 1200 2400 4800 9600 RS-232 Flow Control The RS-232 interface supports several flow control options that are selected using the front panel Address key.
Introduction to Programming - 6 Conventions Used in This Guide Angle brackets Vertical bar { > | Square Brackets Braces < Items within angle brackets are parameter abbreviations. For example, indicates a specific form of numerical data. Vertical bars separate alternative parameters. For example, NORM | TEXT indicates that either "TEXT" or "NORM" can be used as a parameter. [ ] } Items within square brackets are optional. The representation [SOURce:].
6 - Introduction to Programming Multiple Commands in a Message Multiple SCPI commands can be combined and sent as a single message with one message terminator. There are two important considerations when sending several commands within a single message: ♦ Use a semicolon to separate commands within a message. ♦ There is an implied header path that affects how commands are interpreted by the dc source. The header path can be thought of as a string that gets inserted before each command within a message.
Introduction to Programming - 6 Using Queries Observe the following precautions with queries: ♦ Set up the proper number of variables for the returned data. ♦ Read back all the results of a query before sending another command to the dc source. Otherwise a Query Interrupted error will occur and the unreturned data will be lost. Types of SCPI Messages There are two types of SCPI messages, program and response.
6 - Introduction to Programming Query Indicator Following a header with a question mark turns it into a query (VOLTage?, VOLTage:PROTection?). If a query contains a parameter, place the query indicator at the end of the last header. VOLTage:PROTection? MAX Message Unit Separator When two or more message units are combined into a compound message, separate the units with a semicolon.
Introduction to Programming - 6 Suffixes and Multipliers Class Current Amplitude Time Suffix A V S Unit Unit with Multiplier ampere MA (milliampere) volt MV (millivolt) second MS (millisecond) Common Multipliers 1E3 K kilo 1E-3 M milli 1E-6 U micro Response Data Types Character strings returned by query statements may take either of the following forms, depending on the length of the returned string: Character Response Data. Permits the return of character strings.
6 - Introduction to Programming Using Device Clear You can send a device clear at any time abort a SCPI command that may be hanging up the GPIB interface. The status registers, the error queue, and all configuration states are left unchanged when a device clear message is received. Device clear performs the following actions: ♦ The input and output buffers of the dc source are cleared. ♦ The dc source is prepared to accept a new command string.
7 Programming the DC Source Introduction This chapter contains examples on how to program your dc source. Simple examples show you how to program: u output functions such as voltage and current u internal and external triggers u measurement functions u the status and protection functions NOTE: The examples in this chapter show which commands are used to perform a particular function, but do not show the commands being used in any particular programming environment.
7 - Programming the DC Source Output Voltage The output voltage is controlled with the VOLTage command. To set the output voltage to 5 volts, use: or for models that have a second output VOLT 5 VOLT2 5 Maximum Voltage The maximum output voltage that can be programmed can be queried with: VOLT? MAX Overvoltage Protection The dc source can be programmed to turn off its output if the output voltage exceeds a preset peak voltage limit.
Programming the DC Source - 7 Triggering Output Changes The dc source has two independent trigger systems. One is used for synchronizing output changes, and the other is used for synchronizing measurements. This section describes the output trigger system. The measurement trigger system is described under "Triggering Measurements". SCPI Triggering Nomenclature In SCPI terms, trigger systems are called sequences.
7 - Programming the DC Source Enabling the Output Trigger System When the dc source is turned on, the trigger subsystem is in the idle state. In this state, the trigger subsystem is disabled, ignoring all triggers. Sending the following commands at any time returns the trigger system to the idle state: ABOR *RST *RCL The INITiate commands move the trigger system from the idle state to the initiated state. This enables the dc source to receive triggers.
Programming the DC Source - 7 Making Basic Measurements All dc sources have excellent output voltage and current measurement capability. NOTE: There is only one measurement system in the dc source. Therefore, you can perform only one measurement function (voltage, current, or DVM) at a time. All measurements are performed by digitizing the instantaneous output voltage or current for a defined number of samples and sample interval, storing the results in a buffer, and then calculating the measured result.
7 - Programming the DC Source When the instrument is turned on and at *RST, the output voltage or current sampling rate is 15.6 microseconds, and the sweep size is set to 2048 data points. This means that it takes about 32 milliseconds to fill up 2048 data points in the data buffer. Adding a command processing overhead of about 20 milliseconds results in a total measurement time of about 50 milliseconds per measurement.
Programming the DC Source - 7 There are two ways to make enhanced measurements: ♦ Use the MEASure queries to immediately start acquiring new voltage or current data, and return measurement calculations from this data as soon as the buffer is full. This is the easiest way to make measurements, since it requires no explicit trigger programming. Additional calculations may be obtained from the acquired data using FETCh queries.
7 - Programming the DC Source Pulse Measurements After pulse data has been acquired, use FETCh queries to return measurement data in the shortest time. FETCh queries do not trigger the acquisition of new measurement data, but return different calculations from the data that was acquired. If you acquired voltage data, you can fetch only voltage measurements; if you acquired current data you can fetch only current measurements, otherwise an error will occur.
Programming the DC Source - 7 Returning All Measurement Data From the Data Buffer The MEASure:ARRay and FETCh:ARRay queries return all data values of the instantaneous voltage or current buffer. No weighting function is applied, returning only raw data from the buffer. The commands are: MEAS:ARR:CURR? MEAS:ARR:VOLT? Making DVM Measurements Agilent Models 66311D and 66309D have a DVM input on the rear panel for making independent voltage measurements. The common mode voltage range of the DVM is −4.
7 - Programming the DC Source Triggered Measurements Use the measurement trigger system to synchronize the acquisition of measurements with either a BUS or internal trigger. You can trigger voltage and current measurements on the main output (output 1) and on the DVM. An internal trigger synchronizes the acquisition to a signal condition. Use FETCh commands to return different calculations from the data acquired by the measurement system.
Programming the DC Source - 7 Enabling the Measurement Trigger System When the dc source is turned on, the trigger system is in the idle state. In this state, the trigger system is disabled and it ignores all triggers. Sending the following commands at any time returns the trigger system to the idle state: ABORt *RST *RCL The INITiate commands move the trigger system from the idle state to the initiated state. This enables the measurement system to receive triggers.
7 - Programming the DC Source Generating Measurement Triggers Single Triggers After you specify the appropriate trigger source and sensing function, generate triggers as follows: GPIB Triggers Send one of the following commands over the GPIB: TRIG:IMM (not affected by the trigger source setting) *TRG an IEEE-488 Group Execute Trigger bus command Internal Triggers To trigger off of the output signal, you must specify the output level that generates the trigger, the rising or falling edge of the slope, an
Programming the DC Source - 7 One way to wait for results without tying up the computer is to use the SCPI command completion commands. For example, you can send the *OPC command after INITialize, then occasionally poll the OPC status bit in the standard event status register for status completion while doing other tasks. You can also set up an SRQ condition on the OPC status bit going true and do other tasks until the SRQ interrupts.
7 - Programming the DC Source Pre-trigger and Post-trigger Data Acquisition The measurement system lets you capture data before, after, or at the trigger signal. When a measurement is initiated, the dc source continuously samples the instantaneous signal level of the sensing function. As shown in figure 7-7, you can move the block of data being read into the acquisition buffer with reference to the acquisition trigger. This permits pre-trigger or post-trigger data sampling.
Programming the DC Source - 7 Power-On Conditions Refer to the *RST command description in chapter 8 for the power-on conditions of the status registers. QUESTIONABLE STATUS CONDITION 0 OV OC N.U. FP OT OS N.U. 1 PTR/NTR 1 1 2 2 EVENT ENABLE 1 2 1 2 2 3 4 8 8 8 8 16 16 16 16 32 32 32 32 5 6-7 8 256 256 256 256 9 512 512 512 512 UNR 10 1024 1024 1024 1024 N.U. OC2 11 UNR2 RI N.U. OVLD N.U.
7 - Programming the DC Source Bit 0 5 8 9 10 11 12 0 1 3 4 5 8 9 10 12 14 0 2 3 4 5 7 3 4 5 6 7 Table 7-1.
Programming the DC Source - 7 Questionable Status Group The Questionable Status registers record signals that indicate abnormal operation of the dc source. As shown in figure 7-7, the group consists of the same type of registers as the Status Operation group. The outputs of the Questionable Status group are logically-ORed into the QUEStionable summary bit (3) of the Status Byte register.
7 - Programming the DC Source The MSS Bit This is a real-time (unlatched) summary of all Status Byte register bits that are enabled by the Service Request Enable register. MSS is set whenever the dc source has one or more reasons for requesting service. *STB? reads the MSS in bit position 6 of the response but does not clear any of the bits in the Status Byte register. The RQS Bit The RQS bit is a latched version of the MSS bit.
Programming the DC Source - 7 Step 1 Program the Operation Status PTR register to allow a positive transition at bit 10 to be latched into the Operation Status Event register, and allow the latched event to be summed into the Operation summary bit.
7 - Programming the DC Source Discrete Fault Indicator (DFI) The discrete fault indicator is an open-collector logic signal connected to the rear panel FLT connection that can be used to signal external devices when a fault condition is detected.
8 Language Dictionary Introduction This section gives the syntax and parameters for all the IEEE 488.2 SCPI commands and the Common commands used by the dc source. It is assumed that you are familiar with the material in chapter 6, which explains the terms, symbols, and syntactical structures used here and gives an introduction to programming. You should also be familiar with chapter 5, in order to understand how the dc source functions. The programming examples are simple applications of SCPI commands.
8 – Language Dictionary Table 8-1.
Language Dictionary - 8 Table 8-1.
8 – Language Dictionary Table 8-1.
Language Dictionary - 8 Common Commands Common commands begin with an * and consist of three letters (command) or three letters and a ? (query). They are defined by the IEEE 488.2 standard to perform common interface functions. Common commands and queries are categorized under System, Status, or Trigger functions and are listed at the end of the chapter. The dc source responds to the following common commands: Table 8-2.
8 – Language Dictionary Calibration Commands Calibration commands let you enable and disable the calibration mode, change the calibration password, calibrate current and voltage programming, and store new calibration constants in nonvolatile memory. NOTE: If calibration mode has not been enabled with CALibrate:STATe, programming the calibration commands will generate an error.
Language Dictionary - 8 CALibrate:DATA This command enters a calibration value that you obtain by reading an external meter. You must first select a calibration level (with CALibrate:LEVel) for the value being entered. Command Syntax Parameters Unit Examples Related Commands CALibrate:DATA A (amperes) CAL:DATA 3222.3 MA CAL:STAT CAL:LEV CAL:DATA 5.000 CALibrate:DATE Use this command to store the date that the unit was last calibrated.
8 – Language Dictionary CALibrate:SAVE This command saves any new calibration constants after a calibration procedure has been completed in nonvolatile memory. If CALibrate:STATe OFF is programmed without a CALibrate:SAVE, the previous calibration constants are restored.. Command Syntax Parameters Examples Related Commands CALibrate:SAVE None CAL:SAVE CAL:PASS CAL:STAT CALibrate:STATe This command enables and disables calibration mode.
Language Dictionary - 8 Display Commands Display commands control the front panel display of the dc source. Annunciators are not affected. DISPlay This command turns the front panel display on or off. When off, the front panel display is blank.
8 – Language Dictionary Measurement Commands Measurement commands consist of format, measure, and sense commands. Format commands specify the data formatting of all array queries. You can specify the data type, type length, and byte order. Measure commands measure the output voltage or current. Measurements are performed by digitizing the instantaneous output voltage or current for a specified number of samples, storing the results in a buffer, and calculating the measured result.
Language Dictionary - 8 FORMat:BORDer This command selects whether the binary data is transferred in normal or swapped byte order. When NORMal is selected, the first byte sent is the sign bit and seven most significant bits of the exponent, and the last byte sent is the least significant byte of the mantissa. This ordering is generally used in bigendian controllers such as those that use Motorola processors.
8 – Language Dictionary MEASure:CURRent? FETCh:CURRent? These queries return the dc output current. Query Syntax MEASure[:SCALar]:CURRent[:DC]? FETCh[:SCALar]:CURRent[:DC]? Parameters None Examples MEAS:CURR? FETC:CURR:DC? Returned Parameters Related Commands MEAS:VOLT? MEASure:CURRent2? Agilent 66309B/D only This query measures the output current at the auxiliary output. Output 2 measurements are calculated from a total of 2048 readings taken at a 15.6 microsecond sampling rate.
Language Dictionary - 8 MEASure:CURRent:HIGH? FETCh:CURRent:HIGH? Agilent 66311B/D, 66309B/D only These queries return the High level current of a current pulse waveform. The instrument first measures the minimum and maximum data points of the pulse waveform. It then generates a histogram of the pulse waveform using 16 bins between the maximum and minimum data points. The bin containing the most data points above the 50% point is the high bin.
8 – Language Dictionary MEASure:CURRent:MINimum? FETCh:CURRent:MINimum? Agilent 66311B/D, 66309B/D only These queries return the minimum output current. Query Syntax MEASure[:SCALar]:CURRent:MINimum? FETCh[:SCALar]:CURRent:MINimum? Parameters None FETC:CURR:MIN? Examples MEAS:CURR:MIN? Returned Parameters Related Commands MEAS:CURR:MAX? MEASure:DVM? FETCh:DVM? Agilent 66311D/66309D only These queries measure dc voltage.
Language Dictionary - 8 MEASure:VOLTage2 Agilent 66309B/D only This query measures the output voltage at the auxiliary output. Output 2 measurements are calculated from a total of 2048 readings taken at a 15.6 microsecond sampling rate. These parameters are fixed.
8 – Language Dictionary MEASure:VOLTage:LOW? FETCh:VOLTage:LOW? Agilent 66311B/D, 66309B/D only These queries return the Low level voltage of a voltage pulse waveform. The instrument first measures the minimum and maximum data points of the pulse waveform. It then generates a histogram of the pulse waveform using 16 bins between the maximum and minimum data points. The bin containing the most data points below the 50% point is the low bin.
Language Dictionary - 8 SENSe:CURRent:DETector Agilent 66311B/D, 66309B/D only This command lets you select the type of detector used for output current measurements. Two choices for detecting current measurements are available: ACDC This is the preferred choice for all dynamic current measurements. When ACDC is selected, the measured output current includes the current that flows in the instrument’s output capacitor.
8 – Language Dictionary SENSe:FUNCtion This command configures the sensing function for triggered measurements. The dc source has up to three measurement sensors as described below. The query returns the function setting.
Language Dictionary - 8 SENSe:SWEep:TINTerval This command defines the time period between samples. The value that you enter for the time interval will be rounded to the nearest 15.6 microsecond increment. Command Syntax Parameters *RST Value Examples Query Syntax Returned Parameters Related Commands SENSe:SWEep:TINTerval 15.6 microseconds through 31200 seconds 15.6 microseconds SENS:SWE:TINT 31.
8 – Language Dictionary Output Commands Output commands consist of instrument, output and source commands. Instrument commands control the output coupling on Agilent 66309B/D units. Output commands control the output and digital port functions. Source commands program the actual voltage, current, and digital port output. INSTrument:COUPle:OUTPut:STATe Agilent 66309B/D units with firmware revision A.02.04 and up only Couples Output 1 and Output 2.
Language Dictionary - 8 Command Syntax OUTPut[1|2]:RELay:MODE Parameters DD | DH | HD | HH Examples OUTP:REL:MODE DH (sets output 1 relay mode DH) OUTP2:REL:MODE HH (sets output 2 relay mode HH) Query Syntax OUTPut[1|2]:REL:MODE? Returned Parameters CAUTION: Non-volatile memory has a finite maximum number of write cycles. Programs that repeatedly cause write cycles to non-volatile memory can eventually exceed the maximum number of write cycles and cause the memory to fail.
8 – Language Dictionary OUTPut:PROTection:CLEar This command clears the latch that disables the output when an overvoltage, overcurrent, overtemperature, or remote inhibit status condition is detected. All conditions that generate the fault must be removed before the latch can be cleared. The output is then restored to the state it was in before the fault condition occurred.
Language Dictionary - 8 The dc source is shipped with the output compensation set LOW mode, which provides stable operation for all types of phones. The HIGH mode setting provides better transient response performance for phones that have input capacitances greater than 5 µF. In High mode, operation of the dc source will be unstable when connected to phones that have input capacitances less than 5 µF.
8 – Language Dictionary [SOURce:]CURRent:PROTection:STATe This command enables or disables the overcurrent protection (OCP) function on all output channels. If the dc source overcurrent protection function is enabled and the dc source goes into constant current operation, then the output is disabled and the Questionable Condition status register OC bit is set (see chapter 7 about programming the status registers).
Language Dictionary - 8 [SOURce:]DIGital:DATA This command programs the digital control port when the port is configured for Digital I/O operation. The port has three signal pins and a digital ground pin. Pins 1 and 2 are output pins controlled by bits 0 and 1. Pin 3 is controlled by bit 2, and can be programmed to serve either as an input or an output. It normally serves as an output. Bit 2 must be programmed high to use pin 3 as an input. Pin 4 is the digital ground.
8 – Language Dictionary [SOURce:]VOLTage2 Agilent 66309B/D only This command sets the output voltage level of the auxiliary output. Command Syntax Parameters Default Suffix *RST Value Examples Query Syntax Returned Parameters [SOURce:]VOLTage2[:LEVel][:IMMediate][:AMPLitude] see Table A-3 V (volts) 0 VOLT2 500mV !set output2 voltage to 0.5V [SOURce:]VOLTage2[:LEVel][:IMMediate][:AMPLitude]? [SOURce:]VOLTage:PROTection This command sets the overvoltage protection (OVP) level of the dc source.
Language Dictionary - 8 [SOURce:]VOLTage:TRIGger This command sets the pending triggered voltage level of the dc source. The pending triggered level is a stored voltage value that is transferred to the output terminals when a trigger occurs. In order for a trigger to occur, the trigger subsystem must be initiated (see the INITiate command in the trigger subsystem).
8 – Language Dictionary Table 8-4. Bit Configuration of Operation Status Registers 15–13 12 11 10 9 8 7-6 5 4-1 not CC2 CCCC+ CV2 CV not WTG not used used used 4096 2048 1024 512 256 32 Bit Weight CAL = The dc source is computing new calibration constants. WTG = The dc source is waiting for a trigger. CV = The dc source is operating in constant voltage mode. CV2 = Output 2 is operating in constant voltage mode. (Agilent 66309B/D only) CC+ = The dc source is operating in constant current mode.
Language Dictionary - 8 STATus:OPERation:NTR STATus:OPERation:PTR These commands set or read the value of the Operation NTR (Negative-Transition) and PTR (PositiveTransition) registers.
8 – Language Dictionary STATus:QUEStionable:CONDition? This query returns the value of the Questionable Condition register. That is a read-only register, which holds the real-time (unlatched) questionable status of the dc source. Query Syntax Parameters Examples Returned Parameters STATus:QUEStionable:CONDition? None STAT:QUES:COND? (register value) STATus:QUEStionable:ENABle This command and its query set and read the value of the Questionable Enable register.
Language Dictionary - 8 System Commands System commands control system functions that are not directly related to output control or measurement functions. SYSTem:ERRor? This query returns the next error number followed by its corresponding error message string from the remote programming error queue. The queue is a FIFO (first-in, first-out) buffer that stores errors as they occur. As it is read, each error is removed from the queue. When all errors have been read, the query returns 0,NO ERROR.
8 – Language Dictionary Trigger Commands Trigger commands consist of trigger and initiate commands. They are used to generate output transients and measurement triggers. Initiate commands initialize the trigger system. Trigger commands control the remote triggering of the dc source. Trigger commands (and Initate commands) are referenced either by name or by number.
Language Dictionary - 8 INITiate:CONTinuous:SEQuence1 INITiate:CONTinuous:NAME TRANsient These commands control the output transient trigger system. continuously initiates the output trigger system.. 1 or ON turns off continuous triggering. In this state, the output trigger system must be initiated 0 or OFF for each trigger using INITiate:SEQuence.
8 – Language Dictionary TRIGger:SEQuence2 TRIGger:ACQuire These commands generate a BUS trigger for the measurement trigger system. When the measurement trigger system is enabled, the measurement trigger causes the dc source to measure either the voltage or current on the main output or the DVM inputs and store the results in a buffer. The SENSe:FUNCtion command selects the signal that will be measured.
Language Dictionary - 8 TRIGger:SEQuence2:COUNt:VOLTage TRIGger:ACQuire:COUNt:VOLTage This command sets up a successive number of triggers for measuring voltage data. With this command, the trigger system needs to be initialized only once at the start of the acquisition period. After each completed measurement, the instrument waits for the next valid trigger condition to start another measurement. This continues until the count has completed.
8 – Language Dictionary TRIGger:SEQuence2:HYSTeresis:DVM TRIGger:ACQuire:HYSTeresis:DVM Agilent 66311D/66309D only This command defines a band around the trigger level through which the input signal must pass before a DVM measurement can occur. The band limit above and below the trigger level is one half of the hysteresis value added to or subtracted from the trigger level.
Language Dictionary - 8 TRIGger:SEQuence2:LEVel:CURRent TRIGger:ACQuire:LEVel:CURRent This command sets the trigger level for internally triggered current measurements. A positive current trigger occurs when the current level changes from a value less than the lower hysteresis band limit to a value greater than the upper hysteresis band limit.
8 – Language Dictionary TRIGger:SEQuence2:LEVel:VOLTage TRIGger:ACQuire:LEVel:VOLTage This command sets the trigger level for internally triggered voltage measurements. A positive voltage trigger occurs when the voltage level changes from a value less than the lower hysteresis band limit to a value greater than the upper hysteresis band limit.
Language Dictionary - 8 TRIGger:SEQuence2:SLOPe:DVM TRIGger:ACQuire:SLOPe:DVM Agilent 66311D/66309D only This command sets the slope of the DVM input signal. measurement triggering occurs on the rising edge. POSitive measurement triggering occurs on the falling edge. NEGative measurement triggering occurs on either edge.
8 – Language Dictionary TRIGger:SEQuence2:SOURce TRIGger:ACQuire:SOURce These commands select the trigger source for measurement triggers as follows: BUS INTernal GPIB device, *TRG, or (Group Execute Trigger) trigger is generated internally when the measured waveform crosses the trigger level with the selected slope.
Language Dictionary - 8 Common Commands *CLS This command causes the following actions (see chapter 7 for the descriptions of all registers): u Clears the Standard Event Status, Operation Status Event, and Questionable Status Event registers u Clears the Status Byte and the Error Queue u If *CLS immediately follows a program message terminator (), then the output queue and the MAV bit are also cleared.
8 – Language Dictionary *ESR? This query reads the Standard Event Status Event register. Reading the register clears it. The bit configuration is the same as the Standard Event Status Enable register (see *ESE). Query Syntax Parameters Returned Parameters Related Commands *ESR? None (Register binary value) *CLS *ESE *ESE? *OPC *IDN? This query requests the dc source to identify itself. It returns a string composed of four fields separated by commas.
Language Dictionary - 8 *OPT? This query requests the dc source to identify any options that are installed. Options are identified by number. A 0 indicates no options are installed. Query Syntax *OPT? Returned Parameters *PSC This command controls the automatic clearing at power-on of the Service Request Enable and the Standard Event Status Enable registers. The query returns the current state of *PSC. *PSC ON | 1 *PSC OFF | 0 causes these registers to be cleared at power-on.
8 – Language Dictionary *RST This command resets the dc source to a factory-defined state as defined in the following table. *RST also forces an ABORt command. Table 8-7. *RST Settings CAL:STAT OFF DIG:DATA DISP:STAT DISP:MODE DISP:TEXT INIT:CONT INST:COUP:OUTP:STAT OUTP OUTP:DFI OUTP:DFI:SOUR OUTP:PROT:DEL OUTP:PROT:STAT OUTP:TYPE SENS:CURR:RANG SENS:CURR:DET SENS:FUNC SENS:SWE:OFFS:POIN SENS:SWE:POIN SENS:SWE:TINT [SOUR:]CURR [SOUR:]CURR:TRIG 0 ON NORM “ “ OFF ALL NONE (option 521 units) OFF OFF OFF .
Language Dictionary - 8 *SRE This command sets the condition of the Service Request Enable Register. This register determines which bits from the Status Byte Register (see *STB for its bit configuration) are allowed to set the Master Status Summary (MSS) bit and the Request for Service (RQS) summary bit.
8 – Language Dictionary *TRG This common command generates a trigger when the trigger subsystem has BUS selected as its source. The command has the same affect as the Group Execute Trigger () command. Command Syntax *TRG Parameters None Related Commands ABOR INIT TRIG[:IMM] *TST? This query causes the dc source to do a self-test and report any errors. 0 indicates that the dc source passed self-test. 1 indicates that one or more tests failed.
Language Dictionary - 8 Additional Commands The following commands are added to the language dictionary to provide limited Fluke PM2811 Power Supply compatibility. These comands will only work when the SYSTem LANGuage is set to SCPI. INSTrument:STATe This command enables or disables the dc source output. The state of a disabled output is a condition of zero output voltage and a model-dependent minimum source current (see *RST).
8 – Language Dictionary CURRent:PROTection:TRIPped? This query reports if the OCP (overcurrent protection) status bit is set. 0 = bit is not set; 1 = bit is set. Query Syntax Returned Parameters Examples Equivalent SCPI Command [SOURce:]CURRent:PROTection:TRIPped? 0 or 1 CURR:PROT:TRIP? STATus:QUEStionable:CONDition? VOLTage:LIMit:HIGH? This query returns the maximum rated voltage of the instrument.
A Specifications Specifications Table A-1 lists the specifications of the dc source. Unless otherwise noted, specifications are warranted over the ambient temperature range of 0 to 55 °C. Specifications apply with typical cellular phone capacitive loads from 0µF to 12,000µF. Sensing is at the rear terminals of the power supply after a 30minute warm-up period. Sense terminals are externally jumpered to their respective output terminals.
A - Specifications Supplemental Characteristics Table A-2 lists the supplemental characteristics, which are not warranted but are descriptions of typical performance determined either by design or type testing. Table A-2. Supplemental Characteristics Parameter Agilent 66311B/D, Agilent 66309B/D output 1 only Agilent 66111A Agilent 66309B/D output 2 only Output Programming Range Voltage: Current: OVP: 0 – 15.535 V 0 – 3.0712 A 22 V 0 – 12.25 V 0 – 1.
Specifications - A Table A-2.
A - Specifications Table A-2. Supplemental Characteristics (continued) Parameter All Models Recommended Calibration Interval from the date the unit is put into service Listing pending: Certified to: Conforms to: Complies with: Regulatory Compliance 1 year UL 3111-1 CSA 22.2 No. 1010.1 IEC 1010-1, EN 61010-1 EMC directive 89/336/EEC (ISM Group1 Class B) Height: Width: Depth: Dimensions (see figure 3-1) 88.1 mm (3.5in.) 212.8 mm (8.4in.) 435 mm (17.125 in.) 9.07 kg (20 lbs.) Net weight 11.1 kg (24.
B Verification and Calibration Introduction This appendix includes verification and calibration procedures for the Agilent 66111A Fast Transient DC Source, and the Agilent 66311B/D, 66309B/D Mobile Communications DC Sources. Instructions are given for performing the procedures either from the front panel or from a controller over the GPIB. The verification procedures do not check all the operating parameters, but verify that the dc source is performing properly.
B - Verification and Calibration -S - + +S -S - + +S NOTE: Connector is removable NOTE: Connector is removable - Current DC voltmeter Load resistor DC ammeter monitor + + A. B. -S - + +S NOTE: Connector is removable Load resistor 400 ohm DC ammeter External + DC supply (connect only for verification) - + DVM connector + C.
Verification and Calibration - B Voltage Programming and Measurement Accuracy This test verifies the voltage programming, GPIB measurement, and front panel meter functions. Values read back over the GPIB should be the same as those displayed on the front panel. Measure the dc output voltage at the output terminals. Make sure that the sense terminals are directly jumpered to the output terminals on both outputs 1 and 2. Action 1. Turn off the dc source and connect a DMM to the output 1 terminals. 2.
B - Verification and Calibration Steps 7-11 apply to Agilent 66309B/D output 2 only 7. Turn off the dc source and connect the DMM and current monitor to output 2 as shown in figure B-1A. Then turn on the dc source and select Output 2. 8. Set the output 2 voltage to 5 V and the current to 0 A. Press Output On/Off to enable the output. 9. Divide the voltage drop across the current monitor by its resistance to convert the value to amperes. Record this value (I2lo). 10. Set the output 2 current 1.5 A.
Verification and Calibration - B DVM Measurement Accuracy This test verifies the DVM measurement accuracy. Connect all equipment as shown in figure B-1D. Action Normal Result 1. Turn off the dc source and connect the external DMM and the external power supply to the DVM inputs as shown in figure B-1D. Connect only the negative output lead of output 1 to the DVM inputs. Then turn on the dc source and select Output 1. 2. Set output 1 to zero volts and the external power supply to 25 volts.
B - Verification and Calibration Table B-2. Verification Test Record for Agilent Model 66111A Model Agilent 66111A Report No.____________ Date_____________ Test Description Minimum Specification Recorded Results Maximum Specification Voltage Programming and Measurement Low Voltage Vlo Front Panel measurement Vfplo High Voltage Vhi Front Panel measurement Vfphi −10 mV _____mV +10 mV Vlo −5 mV _____mV Vlo +5 mV 14.982 V _______V 15.018 V Vhi −9.5 mV _______V Vhi +9.
Verification and Calibration - B Table B-4. Verification Test Record for Agilent Model 66309B/D Model Agilent___________ Report No.____________ Date_____________ Test Description Minimum Specification Recorded Results Maximum Specification Voltage Programming and Measurement −10 mV _____mV +10 mV Vlo −5 mV _____mV Vlo +5 mV 14.982 V _______V 15.018 V Vfphi Vhi −9.5 mV _______V Vhi +9.
B - Verification and Calibration Performing the Calibration Procedure NOTE: The calibration procedure can only be performed from the front panel or using the SCPI language commands. Table B-1 lists the equipment required for calibration. Figure B-1 shows the test setup. You do not have to do a complete calibration each time. If appropriate, you may calibrate only the voltage or current and proceed to "Saving the Calibration Constants".
Verification and Calibration - B Front Panel Calibration Procedure These procedures assume you understand how to operate front panel keys (see chapter 5). Make sure the sense switch is set to Remote and the sense terminals are directly jumpered to the output terminals. Calibration procedures can only be performed with the dc source set to the SCPI programming language. Check the Language Setting Action Normal Result 1. Turn on the dc source, access the Address menu and scroll to the LANG: command.
B - Verification and Calibration Steps 11-16 apply to Agilent 66309B/D output 2 only 13. Connect the external DMM (in voltage mode) directly to output 2. Do not connect the load resistor or current shunt. Select output 2. 14. Press Shift Cal, scroll to CAL VOLT2, and press Enter. CAL:VOLT2 15. Press Shift Cal, scroll to CAL LEV, and press Enter to select the first calibration point. CAL:LEV P1 16.
Verification and Calibration - B Steps 27-32 apply to Agilent 66309B/D output 2 only 27. Connect the appropriate current monitor to output 2 as shown in figure B-1A. Connect the DMM (in voltage mode) across the current shunt. Select output 2. 28. Press Shift Cal, scroll to CAL CURR2, and press Enter. CAL:CURR2 29. Press Shift Cal, scroll to CAL LEV, and press Enter to select the first calibration point. CAL:LEV P1 30. Press Shift Cal and scroll to CAL DATA. Wait for the DMM reading to stabilize.
B - Verification and Calibration DVM Calibration (applies to Agilent 66311D, 66309D only) 41. Action Connect the DVM inputs directly to output 1. Connect the external DMM to the DVM inputs as shown in figure B-1D. Do not connect the Agilent 3478 DMM. 42. Press Shift Cal, scroll to CAL DVM, and press Enter. 43. Press Shift Cal, scroll to CAL LEV, and press Enter to select the first calibration point. 44.
Verification and Calibration - B Calibration Error Messages Errors that can occur during calibration are shown in the following table. Table B-3. GPIB Calibration Error Messages Error Meaning 401 CAL switch prevents calibration (This is a hardware disable, see the Service Manual.
C Error Messages Error Number List This appendix gives the error numbers and descriptions that are returned by the dc source. Error numbers are returned in two ways: ♦ Error numbers are displayed on the front panel ♦ Error numbers and messages are read back with the SYSTem:ERRor? query. SYSTem:ERRor? returns the error number into a variable and returns two parameters: an NR1 and a string. The following table lists the errors that are associated with SCPI syntax errors and interface problems.
C – Error Messages Table C-1. Error Numbers (continued –131 Invalid suffix [unrecognized units, or units not appropriate] –138 Suffix not allowed –141 Invalid character data [bad character, or unrecognized] –144 Character data too long –148 Character data not allowed –150 String data error –151 Invalid string data [e.g., END received before close quote] –158 String data not allowed –160 Block data error –161 Invalid block data [e.g.
Error Messages - C Table C-1.
D Example Programs Introduction The example programs in this section are intended to show how some of the same dc source functions can be programmed to each of the following GPIB interfaces: 1. National Instruments GPIB-PCII Interface/Handler 2. BASIC Language System Assigning the GPIB Address in Programs The dc source address cannot be set remotely. It must be set using the front panel Address key. Once the address is set, you can assign it inside programs.
D – Example Programs Error Handling If there is no error-handling code in your program, undetected errors can cause unpredictable results. This includes "hanging up" the controller and forcing you to reset the system. National Instruments drivers have routines for detecting program execution errors. Error detection should be used after every call to a subroutine. Example 1.
Example Programs - D 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 dc source 2005 CALL IBWRT(PS%,CODES$) 2010 IF IBSTAT% 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 dc source 2005 C
D – Example Programs BASIC The BASIC for controllers and BASIC for Windows both provide access to GPIB functions at the operating system level. This makes it unnecessary to have the header files required in front of DOS applications programs. Also, you do not have to be concerned about controller "hangups" as long as your program includes a timeout statement. Because the dc source can be programmed to generate SRQ on errors, your program can use an SRQ service routine for decoding detected errors.
Example Programs - D Pulse Measurements The following programs illustrate how to make a pulse measurement over the GPIB. The measurement function is set to ACDC, which gives the best results for current waveforms that have ac content. The measurement incorporates 100 readings taken at time intervals of 20 microseconds, for a total measurement time of 2 milliseconds. The trigger point for the pulse measurement occurs at 0.1 amperes on the positive slope of the current pulse.
D – Example Programs 360 ! 370 OUTPUT @Ps;"FETCH:CURR:MAX?" measurement.
Example Programs - D { printf("viOpenDefaultRM error, check your hardware connections\n"); exit (-1); } /* Open the instrument at address 5 for Communication */ err = viOpen(defRM, "GPIB0::5::INSTR", VI_NULL, 5000, &instrumentHandle); if (err) { viClose(defRM); printf("viOpen error, check the device at address 5\n"); exit (-1); } /* Reset the instrument */ viPrintf(instrumentHandle, "*RST\n"); /* turn on the output */ viPrintf(instrumentHandle, "OUTP 1\n"); /* Set output voltage (2V) and current (1A) levels
D – Example Programs /* fetch dynamic measurements from the same measurement data */ viQueryf(instrumentHandle, "FETC:VOLT?\n", "%lf", &resultDC); viQueryf(instrumentHandle, "FETC:VOLT:ACDC?\n", "%lf", &resultRMS); viQueryf(instrumentHandle, "FETC:VOLT:MAX?\n", "%lf", &resultMAX); viQueryf(instrumentHandle, "FETC:VOLT:MIN?\n", "%lf", &resultMIN); viQueryf(instrumentHandle, "FETC:VOLT:HIGH?\n", "%lf", &resultHIGH); viQueryf(instrumentHandle, "FETC:VOLT:LOW?\n", "%lf", &resultLOW); /* display measurement resu
Example Programs - D When this program runs, it returns the DC, RMS, MIN, MAX, HIGH, and LOW data in 10 measurement data points in the following format: Output Voltage = 1.999860; Output Current = -0.000043 Arm acquisition system... Pre-trigger delay... Trigger acquisition... Dynamic voltage measurements: dc = 5.002660 V rms = 5.002660 V max = 5.080140 V min = 1.996970 V high= 5.002310 V low = 3.538550 V Array Data[0] = 2.000360 V Array Data[1] = 1.999680 V Array Data[2] = 1.998320 V Array Data[3] = 1.
E Line Voltage Conversion WARNING: Shock Hazard. Operating personnel must not remove instrument covers. Component replacement and internal adjustments must be made only by qualified service personnel. Open the Unit ♦ Turn off ac power and disconnect the power cord from the unit. ♦ Use a #15 Torx drive and remove the two screws on the bottom of the unit. If your unit has feet, you will need to remove one of the feet to access the screw.
E – Line Voltage Conversion ♦ Replace the two screws on the bottom of the unit using a #15 Torx drive. Remember to replace the foot if you previously removed it to access the screw. ♦ Reconnect the power cord and turn on the unit.
F Compatibility Language Introduction The Agilent 66111A and 66311B dc sources are programmatically compatible with the HP/Agilent 6632A, 6633A, and 6634A dc power supplies. This means that by using COMPatibility language mode you can program the Agilent 66111A/66311B over the GPIB using COMPatibility commands. To switch from SCPI commands to COMPatibility commands (and vice versa), use the SYST:LANG command, as documented in chapter 8. The language setting is saved in non-volatile memory.
F – Compatibility Language Table F-2. COMPatibility Commands Compatibility Command ASTS? CLR DC 0 | 1 DLY DSP 0 | 1 ERR? FAULT? ID? IOUT? ISET OCP 0 | 1 OUT 0 | 1 178 Description This command reads the contents of the accumulated status register, which stores any bit condition entered in the status register since the accumulated status register was last read, regardless of whether the condition still exists.
Compatibility Language - F Table F-2. COMPatibility Commands (continued) Compatibility Command OVSET POL 0 | 1 PON 0 | 1 RELAY 0 | 1 RLYPON 0 | 1 ROM? RST SENS:CURR :RANG SENS:PROT :STAT 0 | 1 SENS:SWE :POIN SENS:SWE :TINT SRQ 0 | 1 STS? SYST:LANG Description This command programs the overvoltage protection. See Table 8-3 for the programming range of this command. Initial condition: MAX Only applies to units with Option 760.
F – Compatibility Language Table F-2. COMPatibility Commands (continued) Compatibility Command TEST? UNMASK xxx VOUT? VSET Description This command causes the dc source to run selftest and report any detected failures.
Compatibility Language - F STATUS REGISTER CV 1 +CC 2 UNR OV 4 OT 16 OS OC 32 ERR 128 INH -CC FAST NORM 8 FAULT 64 REGISTER 256 1 512 2 1024 4 2048 SERIAL POLL 8 16 ACCUMULATED STATUS REGISTER 1 2 4 8 16 MASK REGISTER CV +CC UNR OV OT 2 4 2 512 not used not used 4 1024 RDY 16 8 2048 ERR 32 16 128 ERR 128 256 INH -CC FAST NORM 2048 1 PON 256 OS OC 1024 REGISTER 1 64 512 FAU 64 128 32 32 32 RQS not used 8 64 128 64 256 512 1024 2048 Figure F-1.
Index —— -- -- -- -- --, 53, 60, 61, 62 - sense open, 36 —+— + sense open, 36 +/- sense open, 36 +/- terminals, 32 +S/-S terminals, 32 —0— 0 ...
Index *TST, 140 *WAI, 140 common mode voltage, 39 compatibility commands, 178 errors, 180 Fluke PM2811, 141 language, 177 power-on settings, 177 status model, 181 controller connections, 43 conventions used in this guide, 69 conversion, ac line, 175 CRD, 73 crowbar circuit, 39 current, 76 maximum, 76 measurement range, 81 current measurement detector, 111 current measurement range, 60, 61, 62, 111 current range, 53, 60, 61, 62 current sinking, 25 CV mode, 25, 57, 58 —D— damage, 30 DC, 111 DC current detect
Index address, 63, 67 address in programs, 165 capabilities of the dc source, 67 command library for MS DOS, 65 connections, 43 controller programming, 65 IEEE Std for standard codes, 65 IEEE Std for standard digital interface, 65 interface, 43 references, 65 triggers, 86 GP-IB address, 24 ground, earth, 22 guide, user’s, 21 —H— Hanning, 80, 113 header, 71 long form, 71 short form, 71 High measurements, 82 history, 7 hot switch, 27, 114 —I— impedance, 33 INH, 63, 93 INH input, 42 initialization, 75 initia
Index operation status group, 90 option 521 description, 27 optional header example, 70 options, 22 OT, 59 output characteristic, 25 compensation, 57 connections, 32 connector, 30 control keys, 54 current setting, 57, 58 enable, 58, 59 rating, 25 relays, 27, 114 voltage setting, 57, 58 output 2 characteristic, 26 rating, 26 output commands, 114 OUTP, 114 OUTP COMP, 116 OUTP DFI, 115 OUTP DFI SOUR, 115 OUTP PON STAT, 115 OUTP PROT CLE, 116 OUTP PROT DEL, 116 OUTP PROT TRIP?, 141 OUTP REL MODE, 114 OUTP RI MO
Index data format, 72 device clear, 74 header path, 70 message structure, 71 message types, 71 message unit, 71 multiple commands, 70 non-conformance, 74 program message, 71 references, 65 response message, 71 subsystem commands, 69, 95 triggering nomenclature, 77, 84 SCPI commands at a glance, 20 selecting measurement trigger source, 85 selftest errors, 47 sense commands, 104 SENS CURR DET, 111 SENS CURR RANG, 111 SENS FUNC, 112 SENS PROT STAT, 112 SENS SWE OFFS POIN, 112 SENS SWE POIN, 112 SENS SWE TINT,
Index triggers multiple, 78, 87 single, 78, 86 turn-on checkout, 148 TYPE CAP, 54 types of SCPI commands, 69 —U— —W— —V— waiting for measurement results, 87 warranty, 2 wire current ratings, 32 UNR annunciator, 26 verification current measurement accuracy, 149, 151 current programming, 149, 151 equipment, 147 setup, 147 188 test record, 154 voltage measurement accuracy, 149, 155, 158 voltage programming, 149, 155, 158 voltage, 76 maximum, 76 voltage deviation with open sense, 36 VXIplug&play, 21 —X
Agilent Sales and Support Office For more information about Agilent Technologies test and measurement products, applications, services, and for a current sales office listing, visit our web site: http://www.agilent.com/find/tmdir You can also contact one of the following centers and ask for a test and measurement sales representative. United States: Agilent Technologies Test and Measurement Call Center P.O.
Manual Updates The following updates have been made to this manual since its publication. 7/22/99 Additional information about CV mode operation has been added to pages 25 and 26. The sampling rate for output 2 has been corrected on pages 106 and 109. The option number referred to under Output Type has been corrected on page 116. 1/7/00 All references to HP have been changed to Agilent. All references to HP-IB have been changed to GPIB.