Agilent Technologies 66lxxA User Manual

Browse online or download User Manual for Software manuals Agilent Technologies 66lxxA. Agilent Technologies 66lxxA User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 114
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Programming Guide
Agilent Technologies
Series 66lxxA
MPS Power Modules
Agilent Part No. 5959-3362 Printed in USA: September 1997
Microfiche Part No. 5959-3363 Update April 2000
Page view 0
1 2 3 4 5 6 ... 113 114

Summary of Contents

Page 1 - Programming Guide

Programming GuideAgilent TechnologiesSeries 66lxxAMPS Power Modules Agilent Part No. 5959-3362

Page 2 - Printing History

10 Introduction To ProgrammingTypes of SCPI MessagesThere are two types of SCPI messages, program and response.• A program message consists of one

Page 3 - Contents

Application Programs 1011940 L = LEN( CMD$ )1950 CALL IOOUTPUTS( SLOTO, CMDS, L )1960 IF PCIB.ERR<>0 THEN ERROR PCIB.BASERR1970 ‘1980 ‘

Page 4

102 Application Programs1 ‘ MERGE "DECL.BAS" AS INSTRUCTED IN YOUR NATIONAL INSTRUMENTS GPIB-PC MANUAL2‘1000 ‘ APPLICATION #3: CONTROLL

Page 5

Application Programs 1031580 CALL IBWRT( SLOTO%, CMD$ ) ‘ CONVERSION TO SEND REAL NUMBERS OVER THE BUS1590 IF IBSTA% < 0 THEN GOTO 1960 ‘

Page 6

104 Application Programs/* APPLICATION #3: CONTROLLING VOLTAGE RAMP UP AT TURN ONFOR MICROSOFT C AND THE Agilent 61062/82990/82335A GPIB COMMAND LI

Page 7

Application Programs 105error = iooutputs(SLOTO, cmd, strlen(cmd)); error_handler(error, cmd);cmd = "VOLT:MODE LIST”; /* Set to get volt

Page 8 - Accessing Online Help

106 Application Programs} while (((int)condition_data && WTG) == 0) ; /* Loop until bit 5 (value 32) is true. *//* Send trigger command t

Page 9 - Introduction To Programming

Application Programs 107/* APPLICATION #3: CONTROLLING VOLTAGE RAMP UP AT TURN ON, FOR MICROSOFT C AND THE NATIONAL INSTRUMENTS GPIB-PC INTERFAC

Page 10

108 Application Programscmd = "VOLT:MODE LIST”; /* Set to get voltage from List */ibwrt(sloto, cmd, strten(cmd));if (ibsta & ERR) err

Page 11

Application Programs 109}firiderr( ) /* Indicates that ibfind failed */{printf(“lbfind error: Does device name given match configuration name?\n

Page 12

Index 111IndexA<AARD> ...

Page 13

Introduction To Programming 11Figure 2-1. Command Message StructureThe basic parts of the above message are:Message ComponentExampleHeaders VOLT L

Page 14

112 IndexG<GET>, ...

Page 15

Index 113message unit separator, ...

Page 16 - System Considerations

114 Indexreset, parameters, ...

Page 17 - TRANSLATION AMONG LANGUAGES

115Agilent Sales and Support OfficesFor more information about Agilent Technologies test and measurement products, applications, services,and for a cu

Page 18

Manual UpdatesThe following updates have been made to this manual since the print revision indicated on the title page.4/15/00All references to HP hav

Page 19

12 Introduction To ProgrammingThe SCPI interface is not sensitive to case. It will recognize any case mixture, such as TRIGGER, Trigger, TRIGger,

Page 20

Introduction To Programming 13Traversing the Command TreeFigure 2-2 shows a portion of the subsystem command tree (you can see the complete tree in

Page 21

14 Introduction To ProgrammingThe optional header SOURCE precedes the current, list, and voltage subsystems (see Figure 3-2). This effectively mak

Page 22 - Language Dictionary

Introduction To Programming 15Table 2-1. Numerical Data FormatsSymbol Data FormTalking Formats<NR1> Digits with an implied decimal point ass

Page 23

16 Introduction To ProgrammingSystem ConsiderationsThe remainder of this chapter addresses some system issues concerning programming. These are po

Page 24

Introduction To Programming 17Your application program will not include the power module symbolic name and GPIB address. These must be specifieddu

Page 25

18 Introduction To ProgrammingUsing the National Instruments GPIB Interface• When CALLs are made to the GPIB driver, all parameters are passed as v

Page 26

Introduction To Programming 19Sending Commands to and Receiving Data from the ModuleSending the Command “VOLT 5”***********************************

Page 27

2Safety GuidelinesThe beginning of the Users Guide for GPIB Power Modules Series 66lxxA has a Safety Summary page. Be sure you arefamiliar with the i

Page 28

20 Introduction To ProgrammingReceiving Data from the ModuleThe following screens show how to enter data from the module with various interfaces.**

Page 29

Introduction To Programming 21***************** Microsoft C (Agilent 82335A/82990A/61062B GPIB Command Library) *********************/* Assumes tha

Page 30

Language Dictionary 233Language DictionaryIntroductionThis section gives the syntax and parameters for all the IEEE 488.2 SCPI commands and the Com

Page 31

24 Language DictionaryDescription Of Common CommandsFigure 3-1 shows the common commands and queries. These commands are listed alphabetically in

Page 32

Language Dictionary 25• If *CLS immediately follows a program message terminator (<NL>), then the output queue and the MAV bitare also cleare

Page 33

26 Language Dictionary*IDN?Identification QueryMeaning and TypeIdentification System InterfaceDescriptionThis query requests the power module to

Page 34

Language Dictionary 27Do not follow *OPC? with *TRG or GPIB bus triggers. Such triggers sent after *OPC? will beprevented from executing and will

Page 35

28 Language Dictionary*RCLMeaning and TypeRecall Device StateRecalling a previously stored state may place hazardous voltage at the power module

Page 36

Language Dictionary 29Command Syntax *RSTParameters (None)Query Syntax (None)Related Commands *PSC *SAV*SAVMeaning and TypeSave Device StateDe

Page 37

30 Language DictionaryIf *PSC is programmed to 0, then the *SRE command causes a write cycle to nonvolatile memory.The nonvolatile memory has a fin

Page 38

3Contents1. Introduction About this Guide...

Page 39

Language Dictionary 31*TST?Meaning and TypeTest Device TestDescriptionThis query causes the power module to do a self-test and report any errors

Page 40

32 Language DictionaryFigure 3-2. Subsystem Tree DiagramCalibration SubsystemThe commands in this subsystem allow you to do the following:• Contr

Page 41

Language Dictionary 33Whenever CAL:AUTO ONCE is sent, the power module performs an immediate readback temperature compensation.CAL:AUTO ONCE is a s

Page 42

34 Language DictionaryCAL:SAVEThis command can only be used in the calibration mode. It saves any new calibration constants (after a current or vo

Page 43

Language Dictionary 35CAL:VOLT:PROTThis command can only be used in the calibration mode. It calibrates the power module overvoltage protection (O

Page 44

36 Language DictionaryCURR:PROT:STATThis command enables or disables the power module overcurrent (OC) protection function. If the overcurrent pro

Page 45

Language Dictionary 37Command Syntax INITiate[:IMMediate]INITiate:CONTinuous <bool>Parameters For INIT[:IMM] (None)For INIT:CONT 0 | 1 | OFF

Page 46

38 Language DictionaryLIST:CURR:POIN?This query returns the number of points specified in LIST:CURR. Note that it returns only the total number of

Page 47

Language Dictionary 39LIST:VOLTThis command specifies the output voltage points in a list. The voltage points are given in the command parameters,

Page 48

40 Language DictionaryCommand Syntax OUTPut[:STATe] <bool>[,NORelay]Parameters 0 | OFF[,NORelay] | 1 | ON[,NORelay]*RST Value 0Examples OUTP

Page 49

4 Related Commands...

Page 50 - Status Reporting

Language Dictionary 41OUTP:PROT:DEL Sets the delay time between the programming of an output change that produces a CV, CC, orUNREG condition and t

Page 51 - Questionable Status Group

42 Language DictionaryOUTP:TTLTThis command enables or disables the power module Trigger Out signal, which is available at a BNC connector on the r

Page 52 - Standard Event Status Group

Language Dictionary 43Status Operation RegistersThe bit configuration of all Status Operation registers is shown in the following table:Bit Configu

Page 53 - Location Of Event Handles

44 Language DictionarySTAT:OPER:NTR|PTR CommandsThese commands set or read the value of the Operation NTR (Negative-Transition) and PTR (Positive-T

Page 54 - Examples

Language Dictionary 45STAT:QUES?This command returns the value of the Questionable Event register. The Event register is a read-only register whic

Page 55

46 Language DictionaryCommand Syntax STATus:QUEStionable:NTRansition <NRf> STATus:QUEStionable:PTRansition <NRf>Parameters 0 to 32727S

Page 56 - Trigger Subsystem

Language Dictionary 47Command Syntax TRIGger[:STARt][:IMMediate]Parameters (None)Examples TRIG TRIG: IMMQuery Syntax (None)Related Commands ABOR

Page 57

48 Language DictionaryVoltage SubsystemThis subsystem programs the output voltage of the power module.VOLTThis command directly programs the immedi

Page 58

Language Dictionary 49Query Syntax [SOURce]:VOLTage:PROTection [:LEVel]?[SOURce]:VOLTage:PROTection [:LEVel]? MIN[SOURce]:VOLTage:PROTection [:LEV

Page 59

50 Language DictionaryTable 3-1. Link Parameter ListParameter True Event Condition Valid forCC Constant current event bit1OUTP:DFI:LINK OUTP:TTLT:

Page 60 - List Subsystem

5 OUTP:DFI:LINK ...

Page 61

Status Reporting 514Status ReportingPower Module Status StructureFigure 4-1 shows the status register structure of the power module. The Standard

Page 62

52 Status ReportingTable 4-2. Bit Configurations of Status RegistersBit Signal Meaning Bit Signal MeaningOperation Status Group Standard Event Sta

Page 63 - SCPI Command Completion

Status Reporting 53Figure 4-1. Power Module Status ModelStandard Event Status GroupRegister FunctionsThis group consists of an Event register and a

Page 64 - Error Messages

54 Status ReportingStatus Byte RegisterThis register summarizes the information from all other status groups as defined in the IEEE 488.2 Standard

Page 65

Status Reporting 55Initial Conditions At Power OnStatus RegistersWhen the power module is turned on, a sequence of commands initializes the status

Page 66 - SCPI Conformance Information

56 Status ReportingTable 4-5. Generating RQS from the CC EventRegister Command CommentOperation PTRSTAT:OPER:PTR 1024Allows a positive transition

Page 67 - Non-SCPI Commands

Synchronizing Power Module Output Changes 575Synchronizing Power Module Output ChangesIntroductionIf you use only the VOLT [: LEV] : TRIG and/or CU

Page 68 - Application Programs

58 Synchronizing Power Module Output ChangesIdle StateWhen the power module is turned on, the trigger subsystem is in the idle state. In this stat

Page 69

Synchronizing Power Module Output Changes 59Output Change StateWhen the trigger subsystem enters the Output Change state, the output voltage and cu

Page 70

60 Synchronizing Power Module Output ChangesTable 5-1. Trigger Subsystem Status and Event SignalsSignal Type DescriptionDWE Status Bit Dwelling. Tr

Page 71 - 72 Application Programs

6 Location of Event Handles...

Page 72 - -1B 'BUS' TRIGGER

Synchronizing Power Module Output Changes 61List SubsystemThe List Subsystem commands allow you to program a sequence of voltage and/or current val

Page 73

62 Synchronizing Power Module Output ChangesThe number of dwell points must equal the number of output points:LIST:VOLT 3.0,3.25,3.5,3.75LIST:DWEL

Page 74

Synchronizing Power Module Output Changes 63Figure 5-3. Timing diagrams of LIST:STEP Operation

Page 75 - 76 Application Programs

64 Synchronizing Power Module Output ChangesDFI (Discrete Fault Indicator) SubsystemWhenever a fault is detected in the power module, it is capable

Page 76 - Application Programs 77

Error Messages 656Error MessagesPower Module Hardware Error MessagesFront panel error messages resulting from selftest errors or runtime failures a

Page 77

66 Error MessagesTable 6-1. Summary of System Error Messages (continued)ErrorNumberError String [Description/Explanation/Examples]-222 Data out of

Page 78

SCPI Conformance Information 67ASCPI Conformance InformationNote See Chapter 3 - Language Dictionary for command syntax.SCPI VersionThis power modu

Page 79

68 SCPI Conformance InformationNon-SCPI CommandsCAL:CURR OUTP:DFI:SOUR?CAL:PASS OUTP:REL[:STAT]CAL:SAVE OUTP:REL[:STAT]?CAL:VOLT OUTP:REL:POLOUTP:D

Page 80 - Application Programs 81

Application Programs 69BApplication ProgramsThis section contains seven example applications. For each application, there is:• An overview of the

Page 81

70 Application ProgramsApplication 1. Sequencing Multiple Modules During Power UpOverview of ApplicationWhen testing mixed signal devices, ± bias

Page 82

Introduction 71IntroductionAbout This GuideYou will find the following information in the rest of this guide:Chapter 2 Introduction to SCPI message

Page 83

Application Programs 71Module in slot 2:The module is connected to + 5 V on the DUT.The initial voltage setting is 0 V.The module listens for a bac

Page 84 - Application Programs 85

72 Application ProgramsFigure B1-2. Timing Diagram of Application #1

Page 85

Application Programs 7310 ! APPLICATION #1: SEQUENCING MULTIPLE MODULES DURING POWER UP20 ! PROGRAM: APP_130 !40 ASSIGN @Slot0 TO 70500 ! SELECT CO

Page 86 - Application Programs 87

74 Application ProgramsApplication 2. Sequencing Multiple Modules to Power Down on EventOverview Of ApplicationWhen testing devices, such as some G

Page 87

Application Programs 75MPS Set UpModule in slot 0:The module is connected to + 15 V on the DUT.The initial voltage setting is 15 V.The module monit

Page 88 - Application Programs 89

76 Application ProgramsFigure B2-1. Block Diagram of Application #2Figure B2-2. Timing Diagram of Application #2

Page 89

Application Programs 7710 ! APPLICATION #2: SEQUENCING MULTIPLE MODULES TO POWER DOWN ON EVENT20 ! PROGRAM: APP_230 !40 ASSIGN @Slot0 TO 70500 ! S

Page 90

78 Application ProgramsApplication 3. Controlling Output Voltage Ramp Up at Turn OnOverview Of ApplicationWhen control over the rate of voltage ram

Page 91 - 92 Application Programs

Application Programs 79Figure B3-1. Simulating a Slow Voltage RampFigure B3-2. Simulating a Fast Voltage RampVariations On This Implementation1.

Page 92 - Application Programs 93

80 Application Programs3. The module could be set to generate an external trigger when it has finished its transition. This trigger could be route

Page 93 - -1B BUS TRIGGER

8 IntroductionVXIplug&play Power Products Instrument DriversVXIplug&play instrument drivers for Microsoft Windows 95 and Windows NT are now

Page 94

Application Programs 8110 ! APPLICATION #3: CONTROLLING VOLTAGE RAMP UP AT TURN ON20 ! PROGRAM: APP_330 !40 ASSIGN @Slot0 To 70500 ! SELECT CODE

Page 95

82 Application ProgramsApplication 4. Providing Time-Varying VoltagesOverview of ApplicationTo burn-in devices using thermal or mechanical cycling/

Page 96 - Application Programs 97

Application Programs 83MPS Features Used• 20-point voltage List.• Repetitive Lists.• Dwell time.• Dwell-paced Lists.• Generate an SRQ on a change i

Page 97 - 98 Application Programs

84 Application ProgramsVariations On This Implementation1. The module could be set to begin generating the waveform in response to an external or b

Page 98 - Supplemental Information

Application Programs 8510 ! APPLICATION #4: PROVIDING TIME-VARYING VOLTAGES20 ! PROGRAM: APP_430 !40 ASSIGN Slot0 TO 70500 ! SELECT CODE 7, MAINFRA

Page 99 - 100 Application Programs

86 Application ProgramsApplication 5. Providing Time-Varying Current LimitingOverview Of ApplicationTo provide current limit protection which varie

Page 100 - Application Programs 101

Application Programs 87Figure B5-1. Typical DUT Current vs. TimeFigure B5-2. Desired Current vs. Time

Page 101 - 102 Application Programs

88 Application ProgramsImplementation DetailsHow The MPS Implements The Sequence.The module is programmed to current List mode.The module will exec

Page 102 - Application Programs 103

Application Programs 8910 ! APPLICATION #5: PROVIDING TIME-VARYING CURRENT LIMITING20 ! PROGRAM: APP_530 !40 DIM C_limit$[50],Dwell[50]50 !60 C_lim

Page 103 - -1B interface card. */

90 Application ProgramsApplication 6. Output Sequencing Paced by the ComputerOverview Of ApplicationWhen performing bias supply margin testing, thr

Page 104 - Application Programs 105

Introduction To Programming 92Introduction To ProgrammingGPIB Capabilities Of The Power ModuleAll power module functions except for setting the GPI

Page 105 - 106 Application Programs

Application Programs 91MPS Set UpModule in slot 0:The module is connected to + 5 V on the DUT.The initial voltage setting is 0 V.Set the voltage mo

Page 106 - Application Programs 107

92 Application ProgramsFigure B6-1. Block Diagram of Application #6Figure B6-2. Timing Diagram of Application #6

Page 107 - 108 Application Programs

Application Programs 9310 ! APPLICATION #6: OUTPUT SEQUENCING PACED BY THE COMPUTER20 ! PROGRAM: APP-630 !40 DIM Plus_5v$[50],Plus_12v$[50],Minus_1

Page 108 - Application Programs 109

94 Application Programs600 ! CHECKING THE INSTRUMENT STATUS, YOU CAN AVOID TIMING PROBLEMS. ALSO, ANY OTHER OPERATIONS610 ! THAT TAKE TIME WILL

Page 109

Application Programs 95Application 7. Output Sequencing Without Computer InterventionOverview Of ApplicationWhen characterizing devices, the DUT’s

Page 110

96 Application ProgramsAdvantages/Benefits Of The MPS SolutionThe entire test executes without computer involvement, the command processing time is

Page 111

Application Programs 97Figure B7-1. Block Diagram of Application #7Figure B7-2. Timing Diagram of Application #7

Page 112

98 Application Programs10 ! APPLICATION #7: OIJTPUT SEQUENCING WITHOUT COMPUTER INTERVENTION20 ! PROGRAM: APP_730 !40 ASSIGN @Slot0 TO 70500 ! SEL

Page 113

Application Programs 99Supplemental InformationThis appendix contains program listings translated into the following DOS-compatible languages and G

Page 114 - Manual Updates

100 Application Programs1340 CMD$ = "VOLT+ STR$( VSTART ) ‘ START RAMP AT VSTART. USE NUMBER TO STRING1350 L = LEN( CMD$ ) ‘ CONVERSION TO S

Comments to this Manuals

No comments