HP 6624A Input ANY More Outputs to CALIBRATE? Y or N,X$, Disp END of Calibration Program, Fnend

Page 94

450 !

460OUTPUT @Ps;''IDATA";Chan,Ilo,Ihi

470!

480IF FNPs _ err < >0 THEN Finish

490!

500OUTPUT @Ps;"VSET ";Chan,"0 ;ISET '';Chan,"0"

510!

520INPUT "ANY MORE OUTPUTS TO CALIBRATE? (Y OR N)",X$

530IF (X$=''Y" OR X$=''y") THEN Start_loop

540!

550OUTPUT @Ps;"CMODE 0"

560!

570Finish: ! HERE WHEN DONE

580OUTPUT @Ps;''CLR"

590DISP "END OF CALIBRATION PROGRAM"

600END

610!

620!

630DEF FNDvm

640COM /Instr/ (@Ps,@Vm

650WAIT.02

660TRIGGER @Vm

670ENTER @Vm;Reading

680RETURN Reading

690FNEND

700!

710DEF FNPs _ err

720COM /Instr/ @Ps,@Vrn

730OUTPUT @Ps;’’ERR?"

740ENTER @Ps;Err

750IF Err< >0 THEN PRINT "POWER SUPPLY ERROR # '';Err;" CORRECTION CONSTANTS NOT SAVED - RESTART. "

760RETURN Err

770FNEND

LINE 10: This comment line identifies the program as a CALIBRATION EXAMPLE.

LINE 30,40: Assigns I/O path names to the power supply and the voltmeter.

LINE 50: Establishes a COM block for the instruments on the HP-IB.

LINE 60: Initializes the variable Shunt _ resistor to .1 ohms.

LINE 80: Clears the power supply.

LINE 90: Initializes the voltmeter to take voltage readings.

LINE 100,110: Tells the voltmeter to take a reading and clears the voltmeters output buffer. This reading is not used in the program.

LINE 120: Turns on the power supply calibration mode.

LINE 140: Labels the line ''Start_loop" to loop back to when calibrating more than one output.

LINE 160: Enters the output channel number to be calibrated.

LINE 170,180: Prompts the user to make voltage calibration connections and waits for CONTINUE key to be pressed.

LINE 200: Sets the voltage of the specified output to the high calibration point.

LINE 210: Sets the variable Vhi to the output voltage as measured by the user defined function FNDvm.

LINE 230: Sets the voltage of the specified output to the low calibration point.

LINE 240: Sets the variable Vlo to the output voltage as measured by the user defined function FNDvm.

LINE 260: Sends the measured data in volts to the power supply for the specified channel.

LINE 280: Checks the power supply for errors with the user defined function FNPs _ err. If there was an error, the program goes to the line labeled Finish and the supply is cleared. The new measured data is not used and the previous calibration constants are maintained.

94 Calibration Procedures

Image 94
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 IdentificationDescription AccessoriesOutput Combinations Available Model Output Low Range Values High Range Values Basic OperationHP-IB Board Output Boards Qualifying Conditions SpecificationsDefinitions 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 Initial Inspection InstallationLocation and Cooling Input Power Requirements Line FuseLine Fuses 100/120 2110-0342 220/240 2110-0055Power Cord Line Voltage ConversionHP-IB Interface Connector Page Getting Started Front Panel Controls and IndicatorsTurning On Your Supply LCL key HP-IB Status AnnunciatorsAlphanumeric LCD Power Supply StatusAnnunciators System Control KeysOutput Control Keys Numeric Entry Keys Line SwitchNormal Self Test Indications Checking Out Your Supply Using Local Control Sample Self-Test Failure DisplayOvervoltage Test Voltage TestCurrent Test OCP Introduction To Remote OperationIset Enter Enter/Output StatementsReading the HP-IB Address Sending a Remote CommandOutput AddrGetting Data From The Supply Often Used CommandsDisp a Disp a Returning the Supply to Local Mode Output Connections and Operating Information Output RangesOperating Quadrants Protection FeaturesRange Selection Typical Output Range Characteristics Connecting the Load Page Feet Wire Bundled 10 a 20 aCross Section Meters Area in mm2 Multiple Loads Remote Voltage SensingPositive and Negative Voltages 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 Battery Charging Power Supply Protection ConsiderationsParallel Operation 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 HP-IB Operation Remote OperationInterface Function HP-IB Address Selection Programming Syntax Power-On Service Request PONNumeric Data 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 Overvoltage OV Protection Output On/OffOVSET? 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 ?RQS Bit Reprogramming DelayDisplay On/Off Other Queries Explanation Front PanelResponse Code 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 PauseDisp END of Calibration Program Input ANY More Outputs to CALIBRATE? Y or N,X$Fnend Page Page Path Names Programming With a Series 200/300 ComputerVoltage and Current Programming 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,ITable C-1. Command Summary Command SummaryCommand Description 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