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 GP-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 94
Image 94
Agilent Technologies 6624A Enable Intr, OFF Intr, Print ’’OVERVOLTAGE on Output #1, Print Overvoltage on Output #2, Subend

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.