B

Programming With a Series 200/300 Computer

Introduction

The purpose of this appendix is to serve as an introduction to programming your power supply with an HP Series 200/300 computer using the BASIC language. Examples are included that employ some of the most frequently used functions. These examples have been written so that they will run on any one of the five Agilent 6621A-6624A, and 6627A model power supplies. The values used in the examples (5 V and 1 A for instance), are within the operating locus of all outputs on all models. The examples program only channels one and two because all five models contain at least two channels (outputs).

You must be familiar with the BASIC language to understand the examples. If you do not recognize a programming statement, look up the keyword in the BASIC Language Reference document that was supplied with your computer, and look up the device command in Chapter 5 of this manual. Questions about program structure and selection are discussed in the BASIC Programming Techniques manual.

I/O Path Names

Throughout this appendix, I/O path names are used in place of interface and device select codes. In a large program, I/O path names simplify changing the address of an instrument if necessary. Reading and writing the program is easier as well. The l/O path name can be carried in a common block and changed by a single assign statement.

In the programming examples in this appendix, the I/O path name @Ps is used for the power supply. The ASSIGN statement that defines the I/O path must precede any statements that use the l/O path name. Therefore, instead of using the statement OUTPUT 705;"VSET1,5" in the following programs, the equivalent OUTPUT @Ps;"VSET1,5’’ statement is used. The examples assume that the power supply is at address 5 and the GP-IB interface in the computer is select 7 (factory default).

Voltage and Current Programming

The power supply normally functions in one of two modes, either constant voltage with current limit or constant current with voltage limit. The operating mode is determined by a combination of voltage and current settings and load resistance. For example, with a 10 Ω load connected to output 1, the following program will put output 1 in constant voltage mode at 5 volts out with a 1 amp current limit. In this case the output current would be 0.5 A.

10 ASSIGN @Ps TO 705

20 OUTPUT @Ps;"VSET1,5;1SET1,1"

30 END

Line 10: Assigns the l/O pathname to the power supply.

Line 20: Sets output voltage and current. Note the use of the semicolon to separate multiple device commands.

If a 4 Ω load were used instead of a 10 Ω load, output 1 would have been operating in constant current mode at 1 amp out with a voltage limit of 5 volts. In this case the output voltage would be 4 V.

Programming with a Series 200/300 Computer

97

Page 91
Image 91
Agilent Technologies 6627A, 6621A Programming With a Series 200/300 Computer, Path Names, Voltage and Current Programming

6627A, 6621A, 6624A, 6623A, 6622A specifications

Agilent Technologies is renowned for its high-quality electronic test and measurement equipment, and the Agilent 6600 series is no exception. This series includes models like the Agilent 6621A, 6622A, 6623A, 6624A, and 6627A, each designed to meet the needs of various application requirements, making them an essential part of modern laboratories.

The Agilent 6621A is a single-output DC power supply that provides a stable output voltage and current, making it ideal for testing and powering electronic devices. It features a low noise specification, which is crucial for sensitive applications. With a maximum output voltage of 30V and a current of 3A, it offers flexibility for a range of projects, from powering prototypes to performing benchmark tests.

The Agilent 6622A, a dual-output model, enhances versatility by allowing users to power two devices concurrently. It delivers output voltages of up to 20V and a total output current of 5A, which is perfect for powering circuit boards with multiple components. The built-in voltage and current limiting functions protect the equipment under test, preventing any potential damage.

On the other hand, the Agilent 6623A provides additional capabilities with its three outputs, making it particularly suitable for complex testing procedures. With a maximum voltage of 20V and output current reaching 6A across all channels, it ensures that multiple loads can be powered simultaneously without compromising performance.

The Agilent 6624A further pushes these capabilities with its higher output power. This model boasts two outputs with a combined maximum output of up to 6A, supporting devices that require more demanding power levels. Its advanced control features allow for precise voltage and current adjustments, enhancing reliability during experiments.

Lastly, the Agilent 6627A stands out as a highly scalable power supply, capable of delivering up to 40V and 7.5A across its multiple outputs. This model is particularly beneficial for applications requiring higher voltages, enabling engineers and technicians to work with a broader array of components and systems.

All models in the Agilent 6600 series incorporate built-in protection features to guarantee safety during testing. They are equipped with memory functions, allowing users to save and recall settings quickly. Additionally, the intuitive interface and various connectivity options make these power supplies user-friendly, ensuring efficient workflow in any laboratory setting. In summary, the Agilent 6600 series offers a compelling combination of versatility, precision, and advanced features, catering to diverse electronic testing applications.