Agilent Technologies 669xA System Considerations, Programming the Digital I/O Port, Gpib Address

Page 18

Note

The last query string can be handled without difficulty. However, should you request too many

 

queries, the system may return a "Query DEADLOCKED” error (-430). In that case, break the

 

long string into smaller parts.

 

 

Programming the Digital I/O Port

Digital control ports 1 and 2 are TTL outputs that can be programmed either high or low. Control port 3 can be programmed to be either a TTL input or a TTL output. Send a decimal parameter that translates into the desired straight binary code for these ports. (See DIG:DATA[:VAL] in "Chapter 3 - Language Dictionary" for the port bit configurations.)

DIG:DATA 3

Set ports 1 and 2 high and make 3 another output port.

DIG:DATA 7

Set ports 1 and 2 high and make 3 an input port.

DIG:DATA?

Read back the present port configuration.

System Considerations

The remainder of this chapter addresses some system issues concerning programming. These are power supply addressing and the use of the following types of GPIB system interfaces:

1.HP Vectra PC controller with Agilent 82335A GPIB Interface Command Library.

2.IBM PC controller with National Instruments GPIB-PCII Interface/Handler.

3.Agilent controller with Agilent BASIC Language System.

The GPIB Address

The power supply address cannot be set remotely; it must be set from the front panel. Once the address is set, you can assign it inside programs.

Setting the GPIB Address

Figure 4-6 in the power supply Operating Guide shows the ways the power supply can be connected to the GPIB bus. You can set up the GPIB address in one of three ways:

1.As a stand-alone supply (the only supply at the address). It has a primary address in the range of 0 to 30. For example:

5 or 7

2.As the direct supply in a serial link. It is the only supply connected directly to the GPIB bus. The primary address is unique and can be from 0 to 30. It is entered as an integer followed by a decimal separator. The secondary address always is 0, which may be added after the primary address. If the secondary address is omitted, it is assumed to be 0. For example:

5.0or 7.

3.As a linked supply in serial link. It gets its primary address from the direct supply. It has a unique secondary address that can be from 1 to 15. It is entered as an integer preceded by a decimal separator. For example:

.1 or .12

When you enter a secondary address, leading zeros between the decimal separator and the first digit are ignored. For example, .1, .01, and .001 are accepted as secondary address 1 and displayed as 0.01. Zeros following a digit are not ignored. Thus, .10 and .010 are both accepted as secondary address 10 and displayed as 0. 10.

Changing the Power Supply GPIB Address

Use the key and numerical keypad for entering addresses. The power supply is shipped with a 5 stand-alone address as the default. The general procedure for setting an address is:

18 Remote Programming

Image 18
Contents Programming Guide Gpib DC Power Supplies Agilent Part No Microfiche Part No JulySafety Guidelines Printing HistoryContents Current Subsystem Description of Subsystem CommandsSystem Commands Display SubsystemVoltage Subsystem Command Summary Programming ParametersPower Supply Status Structure Operation Status Group Questionable Status GroupPage Documentation Summary General InformationAbout this Guide User’s GuideDownloading and Installing the Driver Prerequisites for Using this GuideVXIplug&play Power Product Instrument Drivers Accessing Online HelpIntroduction To Scpi Gpib Capabilities Of The Power SupplyRemote Programming ConventionsStructure of a Scpi Message Types of Scpi CommandsScpi Messages Voltlev 4.5PROT 4.8CURR?NLParts of a Scpi Message Volt LEV Prot CurrVoltlev 4.5 Prot 4.8 CURR? Message Unit Separator Traversing the Command TreeQuery Indicator Root SpecifierOutputprotectionclear STATUSOPERATIONCONDITION? Effect of Optional HeadersMoving Among Subsystems OUTPUTPROTECTIONCLEARSTATUSOPERATIONCONDITION?Value Coupling Including Common CommandsScpi Queries Scpi Data FormatsExamples Controlling the Output Saving and Recalling States Writing to the DisplayProgramming Status Gpib Address System ConsiderationsProgramming the Digital I/O Port DigdataAction Display Shows Assigning the Gpib Address In ProgramsAgilent Basic Controllers Error HandlingDOS Drivers Sample Program CodeProgramming Some Power Supply Functions Iout = OUTPUTS2Call Ioenter PS,OEVENT SPOL%=O While C O Language Dictionary IntroductionDescription Of Common Commands Common Commands Syntax DiagramCLS ESEESR? IDN?OPC PSC OPC?OPT? PSC 0 *PSCRCL Command Syntax RCL NRf Parameters ExampleQuery Syntax None Related Commands PSC *RST *SAVRST SAVSAV STB? Bit Configuration of Status Byte RegisterSRE SRETRG TST?WAI Abor Description of Subsystem CommandsCalibration Commands AborCurrent Subsystem Curr CurrtrigCurrprotstat Disp Display SubsystemDigdata Digdata 7 DigitaldatavalueDisptext Disptext DefaultmodeDispmode Dispmode Norm Displaymode Normal Displaywindowmode TextInit Initcont Initiate SubsystemMeasure Subsystem MEASCURR? MEASVOLT?Output Subsystem OutpOutpprotcle Outpprotdel Outprel 1 Outprel OFF OutprelOutprelpol Outprelpol NormStatus Operation Registers Status SubsystemStatpres STATOPER?Statoper NTR Statoper PTR STATUSOPERATIONENABLE?Statoperenab Statoperenab 1312 StatoperenabSTATQUESCOND? Status Questionable RegistersSTATQUES? StatquesenabStatques NTR Statques PTR System CommandsSYSTERR? SYSTEMERROR? SYSTERR?SYSTVERS? Trigger SubsystemSystlang TrigVolt Volttrig Voltage SubsystemTrigsour Trigsour BUS Triggersource BUSCommand Parameters Subsystem Commands Command SummaryCommand Summary VoltprotCommand Parameters Common Commands ParametersVoltlevtrig MAX Programming ParametersCurrlevtrig MAX Voltprot MAXPage Status Reporting Power Supply Status StructureRegister Commands Operation Status GroupUNR CALWTG OPCStandard Event Status Group Status Questionable Commands Register Query Cleared ByQuestionable Status Group STATQUESNTR?Status Byte Register Service Request Enable RegisterInitial Conditions At Power On Output QueueDefault Power On Register States Condition Caused By PON Power-On BitServicing an Operation Status Mode Event StatpreMonitoring Both Phases of a Status Transition Adding More Operation EventsServicing Questionable Status Events RI Remote Inhibit Scpi Command CompletionDFI Discrete Fault Indicator WAIPage Calibration Error Messages Error MessagesPower Supply Hardware Error Messages System Error MessagesSummary of System Error Messages Error Error String Description/Explanation/Examples NumberScpi Conformance Information Scpi Confirmed Commands1Scpi Approved Commands Scpi VersionNON-SCPI Commands1 Compatibility Language Parallel PollingCompatibility Language VSET? VoltCurr ISET? CURR? VOUT?Hold Hold OFFVolttrig CurrtrigSRQ OFF FAULT?UNMASK? SRQIndex IndexOperation status group, 51 optional header Trig SOUR, 46 VOLT, 46 Volt PROT, 47 Volt Trig Europe Asia Pacific United States Latin AmericaCanada Australia/New Zealand Japan
Related manuals
Manual 142 pages 24.05 Kb Manual 67 pages 46.05 Kb

668xA, 669xA, 667xA, 664xA, 665xA specifications

Agilent Technologies has long been a pioneer in the production of high-performance electronic test and measurement instruments, particularly in the field of power sources. Among its notable offerings are the Agilent 667xA, 669xA, 665xA, 664xA, and 668xA series of power supplies. These instruments are designed to provide stable, reliable power for a variety of applications, including electronic testing, industrial processes, and research laboratories.

The Agilent 667xA series is characterized by its programmability and advanced measurement functions. These power supplies support a wide range of output voltages and currents, allowing for flexible configurations that cater to different testing needs. The built-in measurement capabilities enable users to monitor the voltage, current, and power with high precision, which is essential for ensuring optimal performance in electronic applications.

The Agilent 669xA series stands out with its high-power outputs, making it suitable for demanding applications. These power supplies deliver high voltage and current levels, making them ideal for testing high-performance devices, such as power amplifiers and motor drives. Additionally, the 669xA series includes features such as overvoltage protection and complex output sequencing to enhance the safety and reliability of the testing process.

The Agilent 665xA and 664xA series focus on delivering high accuracy and excellent regulation. These models are particularly known for their low noise operation, which is critical for sensitive applications where precision is paramount. The integrated programming capabilities allow users to automate testing sequences, thus improving efficiency in research and development settings.

The 668xA series features advanced digital signal processing that enhances the precision and stability of the output. Users benefit from features like remote sensing and monitoring, allowing feedback adjustments that maintain output accuracy despite cable losses. Furthermore, the 668xA models can integrate seamlessly with various test environments thanks to their LAN, GPIB, and USB connectivity options.

Overall, the Agilent 667xA, 669xA, 665xA, 664xA, and 668xA power supplies provide a comprehensive range of solutions for diverse electronic testing needs. With their advanced features, superb measurement capabilities, and robust performance, these instruments empower engineers and researchers to conduct their work with confidence, precision, and efficiency.