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.

10 ASSIGN @Ps TO 705

20 COM /Ps/ @Ps

30 OUTPUT @Ps;''CLR;UNMASK1,8;UNMASK2,8;SRQ1''

40 ON INTR 7,1 CALL Err _ trap

50 ENABLE INTR 7;2

60 OUTPUT @Ps;"OVSET1,4;0VSET2,4"

70 OUTPUT @Ps;"VSET1,5;VSET2,5"

80 Lbl: GOTO Lbl

90END

100!

110!

120SUB Err _ trap

130OFF INTR

140COM /Ps/ @Ps

150IF BlT(SPOLL(@Ps),0) THEN

160OUTPUT @Ps;''OUT1,0;OVRST1''

170PRINT ''OVERVOLTAGE ON OUTPUT #1"

180END IF

190IF BIT(SPOLL(@Ps),1) THEN

200OUTPUT @Ps;"OUT2,0;OVRST2"

210PRINT "OVERVOLTAGE ON OUTPUT #2"

220END IF

230OUTPUT @Ps;''FAULT?1;FAULT?2"

240SUBEND

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

LINE 20: Declare a common block for the I/O pathname. The COM statement must be used for the @Ps variable to preserve its value for use in the service routine.

LINE 30: Returns the power supply to its power on state, unmasks output 1's and output 2's OV status bits to generate faults, and enables the service request capability on all outputs.

LINE 40: Define interrupt at interface 7, with HP-IB priority 1.

LINE 50: Enable interrupt at interface 7 for service request type interrupts only.

LINE 60: Sets the overvoltage of outputs 1 and 2 to 4 volts.

LINE 70: Sets the voltage of outputs 1 and 2 above the OV setting so that both outputs will overvoltage when the program is run.

LINE 80: Waits for the computer to receive the interrupt. This simulates conditions that would normally exist when a program is running.

LINE 120: Defines the error handling routine.

LINE 130: Disables interrupt capability while processing.

LINE 140: Brings in the common block for the I/O pathname.

LINE 150-180: Conducts a serial poll. If bit 0 in serial poll register indicates a fault for output 1, output 1 is disabled and the overvoltage circuit is reset.

LINE 190-220: Checks bit 1 in serial poll register for a fault on output 2. If true, output 2 is disabled and the overvoltage circuit is reset.

LINE 230: Reads fault registers to clear FAU bits in serial poll register.

100 Programming with a Series 200/300 Computer

Page 100
Image 100
HP 6624A, 6623A, 6621A manual Enable Intr, OFF Intr, Print Overvoltage on Output #1, Print Overvoltage on Output #2, Subend

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.