PROGRAMMING MANUALAgilent TechnologiesElectronic Load Family Agilent Part No. 06060-90005 Printed in USA: Se
Introduction to HPSL112Introduction To HPSLWhat Is HPSL?HPSL is a system programming language developed by Agilent Technologies for controlling instru
Introduction to HPSL12Compound Command QueriesWhen two or more keywords are connected by colons and followed by a question mark, it creates a compo
Introduction to HPSL13Keyword ParametersParameters are data values that the parser expects to find after certain keywords. All data programmed to or r
Introduction to HPSL14Table 2-3. Most-Used Suffix MultipliersMultiplier Mnemonic Definition1E6 MA mega1E3 K kilo1E-3 M milli1E-6 U micro1E-9 N na
Introduction to HPSL15Program Line Terminators. A terminator informs HPSL that it has reached the end of a statement. Normally, this is sentautomatic
Introduction To Programming173Introduction To ProgrammingTypes Of Commands and QueriesThe electronic load responds to two types of commands and querie
Introduction To Programming18Note Ignore the meanings of these commands for now. All keywords are defined in the Language Dictionaryand command fun
Introduction To Programming19but the parser assumes that the two implied keywords are there. For the same reason, you can query the immediateresistanc
2PRINTING HISTORYThe manual printing date and part number indicate the current edition. Reprints between editions will have the same printingdate and
Introduction To Programming20RES MAX < nl >Note MAX and MIN are the maximum and minimum values allowed in the present operating mode of thee
Introduction To Programming21Figure 3-3. What the Semicolon DoesNote There is no single command to move the parser back two colons. In example a abo
Introduction To Programming22 Figure 3-4. Returning the Parser to the Root Implied Keywords Keywords shown within brackets, such as CURR[:LEVe
Introduction To Programming23 By inserting the implied keyword in RES:LEV .5; you allowed the parser to interpret the (;) as a command to move back to
Introduction To Programming24Common CommandsCommon commands, while not part of the command tree, can be mixed in with regular commands. The electro
Introduction To Programming25Figure 3-6. Batteries in SeriesIn this example, the Electronic Load is used to burn-in a power supply at its rated outpu
Introduction To Programming26Battery Test Example Programl0 ! Battery Test Example Program20 !30 Eodv=l.0 ! End of discharge voltage for single cel
Introduction To Programming27Power Supply Test Example Programl0 ! Power Supply Test Example Program20 !30 Current=10 ! Load current in amperes40 Burn
Language Dictionary294Language DictionaryIntroductionThis section gives the syntax and parameters for all the IEEE 488.2 common commands and HPSL comm
3CONTENTS1. Introduction Purpose...
Language Dictionary30Common CommandsIntroductionCommon commands are defined by the IEEE 488.2 standard to perform some of the basic instrument func
Language Dictionary31Syntax DiagramFigure 4-1. Common Commands Syntax Diagram
Language Dictionary32*ESE Standard Event Status Enable Command/QueryTypeDevice StatusDescriptionThis command sets the condition of the Standard Ev
Language Dictionary33*IDN? Identification QueryTypeSystem InterfaceDescriptionThis query requests the electronic load to identify itself.Query Syntax
Language Dictionary34*OPC? Operation Complete Output QueryTypeDevice StatusDescriptionThis query causes the electronic load to place an ASCII "
Language Dictionary35*PSC Power-on Status Clear Command/QueryTypeDevice InitializationDescriptionThis command controls the automatic clearing at power
Language Dictionary36 Command Syntax *RCL <NRf> Parameters 0 through 6 where: States 1-6 Volatile states previously stored by *SAV State 0
Language Dictionary37 *SAV Save Command Type Device State Description This command stores the present state of the single electronic load and
Language Dictionary38 Query Syntax *SRE? Returned Parameters <NR1> Value: 0 to 255 Suffix None Related Commands *PSC *STB? Read Status
Language Dictionary39 *TST? Self Test Query Type Device Test Description This query causes the electronic load to go through a limited self-test
4CONTENTS (continued)4. Language Dictionary Introduction...
Language Dictionary40 Root-Level Commands Introduction Root-level commands are those that are specific to the family of electronic loads. Thecomm
Language Dictionary41 ABORt Channel- Independent Termination Command Description This command applies only to trigger functions. It cancels all pendi
Language Dictionary42 Returned Parameters < NRl > CHAN? returns number of channel presently selected. CHAN? MAX returns the number of chann
Language Dictionary43 Syntax Diagram
Language Dictionary44 CURR[:LEVel] Channel-Specific Current Command/Query Description This is an implied keyword that specifies
Language Dictionary45 Examples CURR 25 Immediate commands for 25-ampere input CURRENT:LEVEL 25 CURR:TRIG 25MA Commands for 25 mA input onCURRENT:LEVE
Language Dictionary46 Parameters See Table 4-1 and the Operating Manual of the electronic load model. Examples CURR: PROT: LEVEL 35 Set input cu
Language Dictionary47 For example, assume the electronic load is in the 60 A range and the main current level(CURR:LEV) is 30 A. Switching to the 6 A
Language Dictionary48 Query Syntax CURR:SLEW? CURR:SLEW? MAX CURR:SLEW? MIN Note This query is not applicable to CR mode when it is operating
Language Dictionary49 INPut Subsystem Channel-Specific Input Programming Functions Description This subsystem has commands for: Turning the
5CONTENTS (continued) RES:TLEVel...
Language Dictionary50 INP:PROT:CLEar Channel-Specific Input Command Description This command resets the electronic load latched protective f
Language Dictionary51 Command Syntax INPut:SHORt[:STATe] <NRf+> Parameters Value Range Units *RST Default OFF or 0 ON or 1 None
Language Dictionary52 Returned parameters <NR3> Value representing amperes, watts, or volts Note If the input voltage or current exceeds th
Language Dictionary53 Parameters Enter the desired mode as a string variable in either the full or abbreviated format. Thereare no units. The *RST Def
Language Dictionary54 Examples PORT0 ON Set the port output high (logical 1) CHAN 1;: PORT0 ON;:CHAN 2;:PORT0 OFF Set Channel 1 port high and C
Language Dictionary55Syntax Diagram Resistance Subsystem Syntax Diagram RES[:LEVel] Channel-Specific Resistance Command/Query Description
Language Dictionary56 The present resistance level of each channel changes from the present level to the pendinglevel on any of the following:
Language Dictionary57 RES:RANGe Channel-Specific Resistance Command/Query Description This command selects the full-scale resistance range of t
Language Dictionary58 RES:TLEVel Channel-Specific Resistance Command/Query Description This command specifies the value of the programmed re
Language Dictionary59 STATus Subsystem Channel-Specific & Channel-Independent Status Commands/Queries Description The electronic load has the fo
Language Dictionary60 Syntax Diagram Status Subsystem Syntax Diagram
Language Dictionary61 STAT:CHANnel Channel-Specific Channel Status Command/Queries Description The Channel Status group consists of a set of regi
Language Dictionary62 STAT:CHAN:ENAB 18 Programs the Channel Enable register to allow the occurrenceof either an OC or an OT condition to set the c
Language Dictionary63 Returned Parameters <NR 1> Register binary value Examples STAT:CSUM? Returns the value of the CSUMmary EVENt register
Language Dictionary64 The following command/queries are associated with this register group: Command/Query Syntax Register STATus:OPERation:CONDi
Language Dictionary65 STAT:QUEStionable Channel-Independent Questionable Status Command/Queries Description The Questionable Status register group
Language Dictionary66 Returned Parameters <NR 1> Register binary value Examples STAT: QUES? Returns the binary value of the Questionable S
Language Dictionary67 PULSe A one-shot pulse that alternates between LEVel and TLEVel upon occurrence of an explicit trigger. TOGGle Each explicit tr
Language Dictionary68 Syntax Diagram Transient Subsystem Syntax Diagram .
Language Dictionary69 TRAN:DCYCle Channel-Specific Transient Command/Query Description DCYCle specifies the duty cycle of TLEV, as a percent of
Introduction71IntroductionPurposeThe purpose of this guide is to enable you to use HPSL commands to remotely control your Agilent Technologies electro
Language Dictionary70 Returned Parameters <NR3> TRAN:FREQ? returns the value representing continuous mode FREQuency in Hz. TRAN:FREQ? MAX a
Language Dictionary71 TRAN[:STATe] Channel-Specific Transient Command/Query Description STATe is an implied keyword that enables or disables the
Language Dictionary72 TRlGger Subsystem Channel-Independent Trigger Programming Function Description In a multiple electronic load, triggerin
Language Dictionary73 Syntax Diagram Trigger Subsystem Syntax Diagram TRIG[:IMMediate] Implied Channel-Independent Trigger Command Description
Language Dictionary74 TRlG:SOURce Channel-Independent Trigger Command/Query Description TRIGger:SOURce selects the electronic load trigger sou
Language Dictionary75 TRIG:TIMer Channel-Independent Trigger Command/Query Description This command determines the period of the trigger pulses g
Language Dictionary76 Syntax Diagram Voltage Subsystem Syntax Diagram VOLT[:LEVel] Channel Specific Voltage Command/Query Description Thi
Language Dictionary77 The present voltage level changes to the pending level on any of the following conditions: On a TRIG[:IMM] command (always)
Language Dictionary78Command SyntaxVOLTage:SLEW < NRf+>ParametersSee Table 4-1 and the Operating Manual of the electronic load model.Examples
Language Dictionary79Returned Parameters<NR3> VOLT:TLEV? returns the transient voltage level for present range. If theelectronic load is not i
Introduction8How To Use This GuideChapter Synopsis2 - Introduction to HPSL The basics of HPSL to help you understand the terminology and diagrams i
Language Dictionary80Table 4-1. Summary of Commands and Parameters(For numerical parameters, refer to the Operating Manual of the specific electron
Language Dictionary81Table 4-1. Summary of Commands and Parameters (continued)Command Parameters Type1RES[:LEV][:IMM] (space)<NRf+>[suffix]CSRES
Language Dictionary82Table 4-2. Summary of Error MessagesError Number Error String (Description/Explanation/Examples)-100-101-102-103-104-105-108
Status Reporting835Status ReportingThis chapter discusses the status data structure of the electronic loads as shown in Figure 5-1. The Standard Even
Status Reporting84The Channel Status Enable register can be programmed to specify which channel status event bits are logically-ORed tobecome the c
Status Reporting85Channel SummaryThe Channel Summary registers can summarize the channel status conditions of up to six channels. The channel/bitassig
Status Reporting86Table 5-1. Channel Status Bit Description (continued)Mnemonic Bit1Value MeaningOT 4 16 Overtemperature. An overtemperature condi
Status Reporting87Table 5-2. Questionable Status Bit DescriptionMnemonic Bit1Value MeaningVE/VF 0 1 Voltage Error (Voltage Fault)CE/OC 1 2 Current Er
Status Reporting88Table 5-3. Standard Event Status Bit Description (continued)Mnemonic Bit1Value MeaningCME 5 32 Command Error. A syntax or semant
Status Reporting89Status Byte RegisterThe Status Byte register summarizes all of the status events from all status registers. Table 5-5 describes the
Introduction9Table 1-1. GPIB Capabilities of Electronic LoadsGPIB Capabilities Response InterfaceFunctionTalker/Listener All electronic load functions
Index91IndexAaard...
Agilent Sales and Support Offices92Index (continued)EEOI ...
Index93Index (continued)Nnewline symbol...
Agilent Sales and Support Offices94Index (continued)questionable status registers...
Index95Index (continued)Vvalue coupling...
Agilent Sales and Support Offices96Agilent Sales and Support OfficesFor more information about Agilent Technologies test and measurement products,
Manual UpdatesThe following updates have been made to this manual since the print revision indicated on the title page.4/15/00All references to HP hav
Comentários a estes Manuais