HP 6621A, 6623A manual Voltage and Current Programming With Variables, Voltage and Current Readback

Page 98

Voltage and Current Programming With Variables

You can use variables in a program to represent data values in the device commands. This is useful in applications that require changing the voltage and current values to different predetermined settings. The following program uses a variable in a FOR NEXT loop to ramp up output voltage in 0.1 volt steps from 0 to 5 volts.

10 ASSIGN @Ps TO 705

20 OUTPUT @Ps;"CLR;ISET1,1"

30 FOR Voltage=0 TO 5 STEP 0.1

40 OUTPUT @Ps;"VSET1,'';Voltage

50 WAIT 0.2

60 NEXT Voltage

70 END

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

Line 20: Initializes the power supply to its power on state and sets the current limit.

Line 30,60: Increments the voltage in 0.1 V steps to 5 volts.

Line 40: Sets the voltage of output 1 to the value of the variable "Voltage''. The comma inside the quotes is required because it separates numbers in the device command (the output channel number from the voltage value in this case). A space < SP > may also be used instead of the comma. The semicolon outside the quotes is used because it suppresses the <CR > <LF> that the computer would normally send to the power supply if a comma were used as a separator after a string item. Using a comma in this case would produce a syntax error in the power supply.

Line 50: Waits 0.2 seconds between steps.

Another way to use variables to represent data values in device commands is when using input statements to program the power supply. The following program uses input statements to program the voltage and current settings of output 1 and output 2.

10 ASSIGN @Ps TO 705

20 INPUT "ENTER A VOLTAGE FOR OUTPUT #1",V1

30 INPUT "ENTER A CURRENT LIMIT FOR OUTPUT #1",I1

40 INPUT ''ENTER A VOLTAGE FOR OUTPUT #2",V2

50 INPUT "ENTER A CURRENT LIMIT FOR OUTPUT #2",I2

60 OUTPUT @Ps;''VSET1,";V1;";ISET1,'';I1;'';VSET2,";V2;";ISET2,";I2

70 END

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

Line 20,30: Enter voltage and current values for output 1.

Line 40,50: Enter voltage and current values for output 2.

Line 60: Sets the voltage and current of outputs 1 and 2 to the values entered into the variables. The previous example explained the use of the comma inside the quotes and the semicolon that precedes the variable. The semicolon that follows the variable suppresses the comma that the computer would normally send to the power supply if a comma were used as a separator after a numeric item. The leading semicolons inside the quotes separate multiple device commands (the VSET commands from the ISET commands in this case).

Voltage and Current Readback

Reading back data from the power supply requires two statements. First, an output statement is used to query the power supply. A list of queries appears in Table 5-2. The power supply responds to the query by entering the requested data into a buffer. Next, an enter statement is used to read the data from the buffer on the power supply into a variable in the computer. The following program queries the power supply for the voltage and current settings of output 1 and prints the results on the screen.

98 Programming with a Series 200/300 Computer

Image 98
Contents Operating Manual HP Part NoCertification Safety Summary Safety Summary Symbol DescriptionDeclaration of Conformity EMCAppendix C--Command Summary Installation ProceduresAppendix A--Calibration Procedure Appendix D--Error MessagesTable Of Contents Remote Operation Local OperationCalibration Command SummaryError Messages Programming With The Series 200/300 ComputerPage Introduction Safety ConsiderationsGeneral Information Instrument and Manual IdentificationOutput Combinations Available Model AccessoriesDescription HP-IB Board Basic OperationOutput Low Range Values High Range Values Output Boards Definitions SpecificationsQualifying Conditions Output Response Characteristics Specifications Source EffectSupplemental Characteristics Outputs Low High Voltage Temperature CoefficientAC Input Power and Current Outputs Low High Voltage Programming ResolutionReadback Resolution Command Processing Time see FigureOutput Impedance Safety Agency ComplianceDimensions all models Low Voltage High Voltage 80 W Low VoltageGeneral Information General Information General Information General Information Location and Cooling InstallationInitial Inspection Input Power Requirements Line FuseLine Fuses 100/120 2110-0342 220/240 2110-0055Power Cord Line Voltage ConversionHP-IB Interface Connector Page Turning On Your Supply Front Panel Controls and IndicatorsGetting Started LCL key HP-IB Status AnnunciatorsAlphanumeric LCD Power Supply StatusAnnunciators System Control KeysOutput Control Keys Normal Self Test Indications Line SwitchNumeric Entry Keys Checking Out Your Supply Using Local Control Sample Self-Test Failure DisplayCurrent Test Voltage TestOvervoltage Test OCP Introduction To Remote OperationIset Enter Enter/Output StatementsReading the HP-IB Address Sending a Remote CommandOutput AddrDisp a Often Used CommandsGetting Data From The Supply Disp a Returning the Supply to Local Mode Output Connections and Operating Information Output RangesRange Selection Protection FeaturesOperating Quadrants Typical Output Range Characteristics Connecting the Load Page Cross Section Meters Area in mm2 Wire Bundled 10 a 20 aFeet Positive and Negative Voltages Remote Voltage SensingMultiple Loads Remote Voltage Sensing Remote Sense ConnectionsProgramming Response Time with an Output Capacitor Output Type FormulaOutput Noise Considerations Open Sense LeadsOvervoltage Trigger Connections External Trigger CircuitEquivalent Internal OV Trigger Circuit Parallel Operation Power Supply Protection ConsiderationsBattery Charging Maximum Allowable Voltage Setting CV OperationCC Operation Remote SensingSeries Operation 13. Series Connections with Local Sensing CV OperationSpecifications for Series Operation 14. Series Connections with Remote SensingPage Page Interface Function Remote OperationHP-IB Operation HP-IB Address Selection Numeric Data Power-On Service Request PONProgramming Syntax Sheet 1 of 2. Syntax Forms for Power Supply Commands Sheet 2 of 2. Syntax Forms for Power Supply Commands Iset Fault ?Vset OvsetPage Power Supply Commands Initial ConditionsVoltage Programming Current ProgrammingRange Switching OVSET? Output On/OffOvervoltage OV Protection Overcurrent Protection OCP Multiple Output Storage & RecallClear Command Status ReportingUNR +CC ASTS?Unmask 2,XXX FAULT?UNMASK? Bit Assignment of the Serial Poll RegisterService Request Generation SRQ? PON ?Display On/Off Reprogramming DelayRQS Bit Other Queries Response Code Front PanelExplanation TEST? Responses Code ExplanationPage Local Control Of Output Functions Local ModeLocal Operation GeneralSetting Voltage Setting CurrentResetting Overcurrent Protection Setting Overvoltage ProtectionResetting Overvoltage Protection Displaying the Contents of the Fault RegisterLocal Control Of System Functions Setting the Reprogramming DelaySetting the Supplys HP-IB Address ConditionSTO Enter Displaying Error MessagesAddr Enter RCL EnterPage Calibration Procedures Test Equipment and Setup RequiredFigure A-1. Calibration Setup General Calibration Procedure Are not stored. Exercise care when moving the leads Clear Voltmeter Output Buffer Calibration Program10 ! Calibration Example PauseFnend Input ANY More Outputs to CALIBRATE? Y or N,X$Disp END of Calibration Program Page Page Voltage and Current Programming Programming With a Series 200/300 ComputerPath Names Voltage and Current Programming With Variables Voltage and Current ReadbackService Request and Serial Poll Programming Power Supply RegistersPrint OUTPUT1 is in CV Mode END if Present StatusPrint Overvoltage on Output #1 Enable IntrOFF Intr Print Overvoltage on Output #2Error Detection Programming Outputs Connected In Parallel Stored Operating StatesInput Enter Voltage LIMIT,V Input Enter Operating VOLTAGE,V1Programming Outputs Connected In Series Input Enter the Desired Current Limit POINT,ICommand Description Command SummaryTable C-1. Command Summary Table C-l. Command Summary PON? ROM?Previously Table D-l. Power-On Self Test Error Message Error Codes and MessagesPower-On Self Test Messages Error Responses Test ResponsesTable D-2. Error Responses Error Code Message Explanation ERR? query ERR keyTable D-3. TEST? Responses Response Code Explanation TEST? queryPage Manual Backdating Make Changes6621A Generally Applicable AnnotationsII. CE92 Product Specific Annotations 6623AFar East Or contactEurope Latin America

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.