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 all power supplies. The values used in the examples (5 V and 0.5 A for instance), are within the operating locus of all outputs on all models. The examples program only channels one and two because both 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 I/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 I/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 at select code 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 50 Ω load connected to output 1, the following program will put output 1 in constant voltage mode at 5 volts out with a 0.5 amp current limit. In this case the output current would be 0.1 A.

10 ASSIGN @Ps TO 705

20 OUTPUT @Ps;’’VSET1,5;ISET1,0.5’’

30 END

Line 10: Assigns the I/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 50 Ω load, output 1 would have been operating in constant current mode at 0.5 amp out with a voltage limit of 5 volts. In this case the output voltage would be 2 V.

Programming with a Series 200/300 Computer 103

Page 103
Image 103
Agilent Technologies 6629A, 6626A Programming With a Series 200/300 Computer, Path Names, Voltage and Current Programming

6629A, 6625A, 6626A, 6628A specifications

Agilent Technologies, a recognized leader in electronic test and measurement solutions, has developed a series of precision power supplies ideal for a variety of applications in both research and industry. The Agilent 6628A, 6626A, 6625A, and 6629A are part of the Agilent 6000 series and stand out due to their innovative technologies and robust functionalities.

The Agilent 6628A is a triple-output power supply, featuring two 0 to 20 V outputs capable of delivering up to 3 A each, along with a 5 V output that can supply 5 A. This combination is perfect for supplying power to devices that require multiple supply voltages simultaneously, making it an excellent choice for testing and development purposes.

The Agilent 6626A, on the other hand, offers dual output capabilities with higher specifications. Each of its outputs can be adjusted from 0 to 25 V and delivers up to 3 A, providing enhanced flexibility for designers and engineers working with various devices. Additionally, the 6626A's compact size and lightweight design make it easy to integrate into test setups without occupying excessive space.

For applications that require comprehensive monitoring, the Agilent 6625A provides a unique solution with its built-in digital voltmeter (DVM). This power supply comes with two 0 to 25 V outputs, both capable of 3 A. The integrated DVM allows real-time measurement and displays voltage and current values, ensuring accurate readings during experimentation and testing.

Lastly, the Agilent 6629A is designed for high-performance applications, providing up to four outputs, including two adjustable outputs that can be set between 0 to 35 V and deliver 5 A each. This model is particularly suited for environments where multiple devices need to be powered simultaneously with varying voltage requirements.

All four models come equipped with key features including ease of programming, precision regulation, and superior load transient response. They employ advanced technologies like low-noise operation and excellent line regulation, ensuring stable performance under varying load conditions. Additionally, safety features such as overvoltage protection, current limiting, and rapid recovery from overloads guarantee reliable operation.

In summary, Agilent's 6628A, 6626A, 6625A, and 6629A power supplies provide versatile, precise, and reliable solutions for all electronic testing needs. Their characteristics and dedicated functionalities make them indispensable tools for engineers, researchers, and developers across numerous fields. Whether it's for prototyping, testing, or production, these power supplies deliver the quality and performance that professionals expect from Agilent Technologies.