10 ASSIGN @Ps TO 705

20 OUTPUT @Ps;"VSET?1’’

30 ENTER @Ps;Vsl

40 OUTPUT @Ps;’’ISET?1"

50 ENTER @Ps;Isl

60 PRINT ’’VOLTAGE SETTING OF OUTPUT #1 = ’’;Vsl

70 PRINT ’’CURRENT LIMIT SETTING OF OUTPUT #1 = ";Is1 80 END

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

Line 20,30: Queries the supply for output 1’s voltage setting. You cannot string multiple queries together in a single device command because the power supply can only return the most recently queried data.

Line 40,50: Queries the supply for output 1’s current limit.

Line 60,70: Prints the results of the queries on the screen.

Programming Power Supply Registers

Present Status

The power supply makes available several forms of status information. Chapter 5 discusses the different registers and their functions. The present status register contains continuously updated information. The following example shows how to query bit position 0 of output 1’s status register to see if output 1 is in CV mode. In this example, the program references the function as a variable in a conditional execution statement. Note that instead of printing a message, line 30 could be used to branch to another part of the program in the event that the supply is in CV mode.

10 ASSIGN @Ps TO 705

20 COM /Ps/ @Ps

30 IF FNCv_mode THEN

40 PRINT "OUTPUT1 IS IN CV MODE"

50 END IF

60END

70!

80!

90DEF FNCv_mode

100COM /Ps/ @Ps

110OUTPUT @Ps;"STS?1"

120ENTER @Ps;Sts

130RETURN BIT(Sts,0)

140FNEND

Line 10: Assigns the I/O path name to the power supply.

Line 20: Declare a common block for the I/O path name. The COM statement must be used for the @Ps variable to preserve its value in the function subprogram.

Line 30,40,50: If FNCv_mode is true, print the message.

Line 90: Defines the Cv_mode function.

Line 100: Brings in the common block for the I/O pathname.

Line 110,120: Reads the present status of output 1 into the variable Sts.

Line 130: Returns the value of bit position 0 of Sts.

Service Request and Serial Poll

The fault and mask registers, when used in conjunction with the service request and serial poll functions, allow you to select which conditions can cause computer interrupts. The fault and mask registers can also be used independently of the serial poll or service request if so desired. The following example shows how to enable an interrupt to the computer in the case of an overvoltage condition. After the interrupt has occurred, this example includes an interrupt routine that conducts a serial poll to determine on which output the overvoltage occurred. Note that this example assumes that terminal block external OV trip lines are not wired together.

Programming with a Series 200/300 Computer

99

Page 93
Image 93
Agilent Technologies 6623A, 6621A Programming Power Supply Registers, Present Status, Print OUTPUT1 is in CV Mode END if

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.