Agilent Technologies 6622A, 6621A, 6627A, 6623A manual Voltage and Current Programming With Variables

Page 92

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 92
Contents Operating Manual Agilent Part NoCertification Safety Summary Safety Summary Environmental ConditionsDeclaration of Conformity EMCWhat this Manual Contains Table Of Contents Remote Operation Local OperationCommand Summary Error MessagesCalibration Programming With a Series 200/300 ComputerSafety Considerations General InformationIntroduction Instrument and Manual IdentificationAccessories DescriptionModel Output Combinations AvailableBasic Operation GP-IB BoardOutput Boards Definitions SpecificationsQualifying Conditions Output Response Characteristics Specifications Source EffectSupplemental Characteristics Outputs Low High Voltage Temperature CoefficientReadback Resolution OVPLow Voltage General Information General Information General Information General Information Location and Cooling InstallationInitial Inspection Input Power Requirements Line FuseGP-IB Line FusesPower Cord Line Voltage ConversionGP-IB Interface Connector Turning On Your Supply Front Panel Controls and IndicatorsGetting Started 15V 35A Output Controls and Indicators Number Controls/lndicators Test Pattern of all Display Segments at Power-on Normal Self Test IndicationsChecking Out Your Supply Using Local Control Sample Self-Test Failure DisplayCurrent Test Voltage TestOvervoltage Test Introduction To Remote Operation Iset EnterOCP RSTSending a Remote Command OutputReading the GP-IB Address 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 Wire Size Wire Bundled 10 a 20 a AWGRemote Voltage Sensing Multiple LoadsRemote Voltage Sensing Remote Sense ConnectionsOutput Type Formula Output Noise ConsiderationsProgramming Response Time with an Output Capacitor 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 Interface Function Remote OperationGP-IB Operation GP-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 Power Supply Commands Header Output Channel Data RangePower Supply Commands Initial ConditionsVoltage Programming VSET?VOUT? Current ProgrammingAvg Current-Avg RangeAvg Resolution IOUT?Range Switching Output On/OffOvercurrent Protection OCP Overvoltage OV ProtectionOVSET? Status Reporting Clear CommandMultiple Output Storage & Recall Functional Relationship of Status Registers UNR +CCUnmask 2,XXX ASTS?UNMASK? FAULT? Service Request GenerationBit Assignment of the Serial Poll Register PON RQS ERR RDY FAUSRQ? Reprogramming Delay RQS BitDisplay On/Off Other QueriesTEST? CMODE?GP-IB Code Error Messages Explanation Front Panel ResponseFront Panel Response CodeTEST? Responses Code ExplanationLocal Mode Local OperationLocal Control Of Output Functions GeneralSetting Voltage Setting CurrentSetting Overvoltage Protection Resetting Overvoltage ProtectionResetting Overcurrent Protection Displaying the Contents of the Fault RegisterSetting the Reprogramming Delay Setting the Supply’s GP-IB AddressLocal Control Of System Functions ConditionDisplaying Error Messages Addr EnterSTO Enter RCL EnterCalibration Procedures Test Equipment and Setup RequiredFigure A-1. Calibration Setup See Figure General Calibration ProcedureTable A-1. Calibrat ion Commands Header Channel Data Syntax Page Calibration Program 10 ! Calibration ExampleClear Voltmeter Output Buffer PauseFnend Input ANY More Outputs to CALIBRATE? Y or N,X$Disp END of Calibration Program Page Voltage and Current Programming Programming With a Series 200/300 ComputerPath Names Voltage and Current Programming With Variables Voltage and Current ReadbackProgramming Power Supply Registers Print OUTPUT1 is in CV Mode END ifService Request and Serial Poll Present StatusEnable Intr OFF IntrPrint ’’OVERVOLTAGE on Output #1 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?SRQ? Error Codes and Messages Power-On Self Test Messages Error ResponsesTable D-l. Power-On Self Test Error Message Test ResponsesTable D-2. Error Responses Error Code Message Explanation ERR? query ERR keyTable D-3. TEST? Responses Response Code Explanation TEST? queryManual Backdating Make ChangesGenerally Applicable Annotations II. CE’92 Product Specific Annotations6621A 6623AAgilent Sales and Support Office United States Latin AmericaManual Updates

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.