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

Programming with a Series 200/300 Computer99

Page 99
Image 99
HP 6623A, 6624A, 6621A manual Programming Power Supply Registers, Present Status, Print OUTPUT1 is in CV Mode END if

6624A, 6621A, 6623A specifications

The HP 6623A, 6621A, and 6624A are precision DC power supplies widely recognized for their reliability and performance in various laboratory and industrial applications. These models are part of HP's 662X series, designed to cater to the needs of engineers, researchers, and technicians who require accurate power sources for their testing and development activities.

The main features of the HP 6623A, 6621A, and 6624A include their high stability, low ripple, and excellent load regulation, ensuring that the output voltage and current remain stable during testing. The power supplies provide multiple output channels, allowing users to power multiple devices simultaneously. The flexibility in setting voltage and current levels makes these models ideal for a wide range of applications, including semiconductor testing, device characterization, and system integration.

One of the standout technologies in the HP 662X series is the use of smart design techniques that minimize noise and enhance output performance. These power supplies incorporate advanced feedback mechanisms to maintain steady output, even under varying load conditions. Additionally, they feature programmable outputs, which means users can adjust the output levels through a connected computer or control system, streamlining the testing process and improving efficiency.

The HP 6623A model offers three independent outputs, with total power capabilities of 40 watts. It includes a 0-20V output, which can deliver up to 2A of current, along with two additional outputs that are adjustable. The 6621A provides a single output option, delivering a maximum of 20V and 2A, making it well-suited for simple applications where a single power source is required. In contrast, the HP 6624A stands out with its four independent output channels, providing a total of 60 watts, making it the most versatile of the three models.

Characteristics of these power supplies include user-friendly interfaces, allowing for easy configuration and monitoring of settings. LED indicators provide real-time feedback on voltage and current levels, enabling users to quickly assess the performance of their tests. Moreover, built-in protection features safeguard both the power supply and the connected devices from overvoltage and overcurrent conditions.

Overall, the HP 6623A, 6621A, and 6624A power supplies embody advanced engineering and design, making them invaluable tools for professionals looking for high-quality, reliable power sources for their electronic testing needs.