Tektronix Series 2200 Multichannel Programmable DC Power Supplies Programming Reference manual

www.keithley.com
Series 2200
Multichannel Programmable DC Power Supplies
Programming Technical Reference
2220S-907-01 Rev. B / Dec 2013
ECNEDIFNOCFOERUSAEMRETAERGA
Multichannel Programmable DC Power Supplies
Series 2200
Programming Technical Reference
Cleveland, Ohio, U.S.A.
All rights reserved.
Any unauthorized reproduction, photocopy, or use the information herein, in whole or in part,
without the prior written approval of Keithley Instruments, Inc. is strictly prohibited.
All Keithley Instruments product names are trademarks or registered trademarks of Keithley
Instruments, Inc. Other brand names are trademarks or registered trademarks of their respective
holders.
Document number: 2220S-907-01 Rev. B / Dec 2013
Safety precautions
The following safety precautions should be observed before using this product and an y associated instrumentation. Although some instruments and accessories would normally be used with nonhazardous voltages, there are situations where hazardous conditions may be present.
This product is intended for use by qualified personnel who recognize shock hazards and are familiar with the safety precautions required to avoid possible injury. Read and follow all install a tion, operation, and maintenance information carefully before using the product. Refer to the user documentation for complete product specifications.
If the product is used in a manner not specified, the protection provided by the product warranty may be impaired. The types of product users are:
Responsible body is the individual or group responsible for the use and maintenance of equipment, for ensuring that the equipment is operated within its specifications and operating limits, and for ensuring that operators are adequately trained.
Operators use the product for its intended function. They must be trained in electrical safety procedures and proper use of the instrument. They must be protected from electric shock and contact with hazardous live circuits.
Maintenance personnel perform routine procedures on the product to keep it operating properly, for example, setting the line voltage or replacing consumable materials. Maintenance procedures are described in the user documentation. The procedures explicitly state if the operator may perform them. Otherwise, they should be performed only by service personnel.
Service personnel are trained to work on live circuits, perform safe installations, and repair products. Only properly trained service personnel may perform installation and service procedures.
Keithley Instruments products are designed for use with electrical signals that are measurement, control, and data I/O connections, with low transient overvoltages, and must not be directly connected to mains voltage or to voltage sources with high transient overvoltages. Measurement Category II (as referenced in IEC 60664) connections require protection for high transient overvoltages often associated with local AC mains connections. Certain Keithley measuring inst ruments may be connected to mains. These instruments will be marked as category II or higher.
Unless explicitly allowed in the specifications, operating manual, and instrument labels, do not connect any instrument to mains. Exercise extreme caution when a shock hazard is present. Lethal voltage may be present on cable connector jacks or test
fixtures. The American National Standards Institute (ANSI) states that a shock hazard exists when voltage levels greater than 30 V RMS, 42.4 V peak, or 60 VDC are present. A good safety practice is to expect that hazardous voltage is present in any unknown circuit before measuring.
Operators of this product must be protected from electric shock at all times. The responsible body must ensure that operators are prevented access and/or insulated from every connection point. In some cases, connections must be exposed to potential human contact. Product operators in these circumstances must be trained to protect themselves from the risk of electric shock. If the circuit is capable of operating at or above 1000 V, no conductive part of the circuit may be exposed.
Do not connect switching cards directly to unlimited power circuits. They are intended to be used with impedance-limited sources. NEVER connect switching cards directly to AC mains. When connecting sources to switching cards, install protective devices to limit fault current and voltage to the card.
Before operating an instrument, ensure that the line cord is connected to a properly-grounded power receptacle. Inspect the connecting cables, test leads, and jumpers for possible wear, cracks, or breaks before each use.
When installing equipment where access to the main power cord is restricted, such as rack mounting, a separate main input power disconnect device must be provided in close proximity to the equipment and within easy reach of the operator.
For maximum safety, do not touch the product, test cables, or any other instruments while power is applied to the circuit under test. ALWAYS remove power from the entire test system and discharge any capacitors before: connecting or disconnecting cables or jumpers, installing or removing switching cards, or making internal changes, such as installing or removing jumpers.
Do not touch any object that could provide a current path to the common side of the circuit under test or power line (earth) ground. Always make measurements with dry hands while standing on a dry, insulated surface capable of withstanding the voltage being measured.
For safety, instruments and accessories must be used in accordance with the operating instructions. If the instruments or accessories are used in a manner not specified in the operating instructions, the protection provided by the equipment may be impaired.
Do not exceed the maximum signal levels of the instruments and accessories, as defined in the specifications and operating information, and as shown on the instrument or test fixture panels, or switching card.
When fuses are used in a product, replace with the same type and rating for continued protection against fire hazard. Chassis connections must only be used as shield connections for measuring circuits, NOT as protective earth (safety ground)
connections. If you are using a test fixture, keep the lid closed while power is applied to the device under test. Safe operation requires the use
of a lid interlock.
screw is present, connect it to protective earth (safety ground) using the wire recommended in the user documentation.
If a
The user documentation in all cases where the symbol is marked on the instrument.
The contact with these voltages.
The symbol on an instrument shows that the surface may be hot. Avoid personal contact to prevent burns.
The
If this symbol is on a product, it indicates that mercury is present in the display lamp. Please note that the lamp must be properly disposed of according to federal, state, and local laws.
The WARNING heading in the user documentation explains dangers that might result in personal injury or death. Always read the associated information very carefully before performing the indicated procedure.
The CAUTION heading in the user documentation explains hazards that could damage the instrument. Such damage may invalidate the warranty.
Instrumentation and accessories shall not be connected to humans. Before performing any maintenance, disconnect the line cord and all test cables. To maintain protection from electric shock and fire, replacement components in mains circuits — including the power
transformer, test leads, and input jacks — must be purchased from Keithley Instruments. Standard fuses with applicable national safety approvals may be used if the rating and type are the same. Other components that are not safety-related may be purchased from other suppliers as long as they are equivalent to the original component (note that selected parts should be purchased only through Keithley Instruments to maintain accuracy and functionality of the product). If yo u are unsure about the applicability of a replacement component, call a Keithley Instruments office for information.
symbol on an instrument means caution, risk of danger. The user must refer to the operating instructions located in the
symbol on an instrument means caution, risk of electric shock. Use standard safety precautions to avoid personal
symbol indicates a connection terminal to the equipment frame.
To clean an instrument, use a damp cloth or mild, water-based cleaner. Clean the exterior of the instrument only. Do n ot app ly cleaner directly to the instrument or allow liquids to enter or spill on the instrument. Products that consist of a circuit board with no case or chassis (e.g., a data acquisition board for installation into a computer) should never require cleaning if handled according to instructions. If the board becomes contaminated and operation is affected, the board should be returned to the factory for proper cleaning/servicing.
Safety precaution revision of January 2013.
ii
-907-01 Rev. B/December 2013
2220S
Table of Contents
Preface .............................................................................................................. iii
Welcome ........................... ................................ .................................. .......... iii
Products.............................. .................................. ................................ ........ iii
Extended Warranty ....................... ................................ ................................ .... iv
Contact Information .......................................................................................... iv
Getting Started
Getting Started ... . .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . 1-1
Using the USB interface .................................................................................... 1-1
Using the GPIB interface ................................ .................................. ................. 1-1
Command Timing........................................... ................................ ................. 1-2
Command Syntax.... ................................ ................................ ............................. 2-1
Command and Query Structure ............................................................................ 2-1
Command Entry.............................................................................................. 2-3
and Groups ................................................................................................ 2-7
Comm
Status Commands............................................................................................ 2-7
Save and Recall Commands ................................................................................ 2-8
System Commands ........................... ................................ ............................... 2-9
Diagnostic Commands ...................................................................................... 2-9
Synchronization Commands............................... ................................ ................. 2-9
Trigger Commands ... ................................ ................................ ..................... 2-10
Measurement Commands ................................................................................. 2-11
Source Commands........................ ................................ ................................ . 2-11
Channel Combination Commands ....................................................................... 2-12
Display Commands ........................................................................................ 2-12
Commands Listed in Alphabetical Order ................... .................................. ............... 2-13
Status and Events
Status and Events ................................................................................................. 3-1
Status Reporting Structure.................................................................................. 3-1
Registers ......... ................................ .................................. ........................... 3-3
Queues ........................................................................................................ 3-9
Messages and Codes.................... ................................ .................................. . 3-10
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual i
Table of Contents
Appendices
Appendix A: ASCII Code Chart ............................................................................... A-1
Appendix B: Programming Examples......................................................................... B-1
Appendix C: Default Setup..................................................................................... C-1
ii Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Preface
Welcome
Thank you for using a Keithley Instruments product. The Series 2200 Multichannel Programmable DC Power Supplies are exible DC sources designed to power a wi offer three power channels and the model 2220-30-1 and its variants provide two channels. The output channels on both models are independent and isolated, allowing you to power circuits with different references or polarities. Each channel can be enabled or disabled as your application requires. All outputs feature remote sense capability which can be used to reduce the effect of lead resistan Basic current accuracy is 0.1% for all channels and linear regulation delivers low noise – less than 3 mVp-p. Flexible display modes make it easy to use the two 30 V outputs in combination, and the USB interface makes it easy to build PC-based systems without converters or special cables. The G versions of each model include a GPIB interface in combination with the USB interface.
These compact power supplies cover a wide range of applications without covering a lot of bench space. Versions of these power supplies are available for
t 100 VAC nominal line voltage which is common in Japan. These versions
use a are indicated by the "J" sufx.
de range of applications. The model 2230-30-1 and its variants
ce, delivering 0.03% basic voltage accuracy even when using long leads.
Products
This manual contains information about the following products:
ModelDescription
2220-30-1
Programmable Dual Channel DC Power Supply
2220G-30-1Programmable Dual Channel DC Power Supply with GPIB Interface
2220J-30-1
Programmable Dual Channel DC Power Supply for Japan
2220GJ-30-1Programmable Dual Channel DC Power Supply with GPIB Interface for Japan
2230-30-1
Triple Channel Programmable DC Power Supply
2230G-30-1Programmable Triple Channel DC Power Supply with GPIB Interface
2230J-30-1
Triple Channel Programmable DC Power Supply for Japan
2230GJ-30-1Programmable Triple Channel DC Power Supply with GPIB Interface for Japan
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual iii
Preface
Extended Warranty
Contact Information
Additional years of warranty coverage are available on many products. These valuable contracts protect you from unbudgeted service expenses and provide additional years of protection at a fraction of the price of a repair. Extended warranties are available on new and existing products. Contact your local Keithley Instrument
s representative for details.
If you have following sources:
1. Keithley
2. Keithley web forum (http://forum.keithley.com)
3. Call Keithley Instruments corporate headquarters (toll-free inside the U.S. and
Canada only) at 1-888-KEITHLEY (1-888-534-8453), or from outside the U.S. at Instruments website (http://www.keithley.com).
any questions after reviewing this information, please use the
Instruments website (http://www.keithley.com)
+1-440-248-0400. For worldwide contact numbers, visit the Keithley
iv Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Getting Started
Getting Started
Using the USB interface
Your power supply has a USB 2.0 high-speed device port to control the power supply using the USBTMC protocol. The USBTMC protocol allows USB devices to communica
If you have a G-version, you can also remotely communicate between your power supply and PC over GPIB.
Start by connecting an appropriate USB cable between the USB 2.0 high-speed device port on the rear panel of your power supply and a PC.
In order for the PC to recognize the power supply, a USBTMC driver must be installed on the PC. A USBTMC driver can be installed on your PC by installing a virtual instrument communications API like NIVISA. This VISA is available for download from the Keithley or National Instruments Web sites. Once the USBTMC driver is loaded, your PC will establish communication with the power supply upon USB cable connection.
For further remote control and/or programming use, other software applications may be needed in addition to a
te using IEEE-488.2 style messages.
VISA and the USBTMC driver.
Using the GPIB interface
Start by connecting an appropriate GPIB cable between the power supply and either a PC or another instrument with a GPIB interface if the power supply is in a multi-instrument system.
It is recommended that NIVISA be installed on your PC for the GPIB interface for maximum programming exibility.
To change GPIB address
settings
Your power supply must have a unique device address to function properly. The default setting for the GPIB conguration is Communication Address 1. If there is more than one GPIB instrument on the bus, you will need to change the default setting on the power supply. To change the GPIB address settings, do the following:
1. Push the Menu button on the instrument front-panel to access the main menu.
2. Press the up arrow key until you see User Settings andthenpresstheEnter
3. Press the up or down arrow key until you see Communication Port and
4. You can now change the address of your GPIB port.
button.
then press the Enter button.
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 1-1
Getting Started
Command Timing
The power suppl controller.
The average time it takes to both send and receive every command is approximately 20 ms. In the case of more complex commands, more time may be required to complete transmission.
y is now set up for bidirectional communication with your
1-2 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Command Syntax
You can control the power supply through the USB interface or the GPIB interface (G-version instruments only) using commands and queries.
This section describes the syntax these commands and queries use and the conventions the power supply uses to process them. The commands and queries themselves Groups.)
are listed by group and alphabetically. (See page 2-7, Command
You tra ns m Standard Code for Information Interchange (ASCII) character encoding. Appendix A contains a chart of the ASCII character set.
The Backus Naur Form (BNF) notation is used in this manual to describe commands and queries. (See Table 2-1.)
Table 2-1: BNF notation
Symbol Meaning
<>
::=
| Exclusive OR
{ } Group; one element is required
[] .. .
( ) Comment
Command and Query Structure
Commands consist of set commands and query commands (usually simply called commands and queries). Commands change power supply settings or perform a specic action. Queries cause the power supply to return data and information about its status.
it commands to the power supply using the enhanced American
Dened element
Is dened as
Optional; can be omitted
Previous element(s) may be repeated
Most commands have both a set form and a query form. The query form of the command is the same as the set form except that it ends with a question mark. For example, the set command STATus:OPERation:ENAble has a query form STATus:OPERation:ENAble?. Not all commandshavebothasetandaquery form; some commands are set only and some are query only.
A command message is a command or query name, followed by any information the power supply needs to execute the command or query. Command messages consist of ve different element types. (See Table 2-3.)
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-1
Command Syntax
Table 2-2: Comm
Symbol Meaning
<Header>
<Mnemonic>
<Argument
<Comma> A single c
<Space>
>
and message elements
The basic command name. If the header ends with a question mark, the command is a query. The header may begin with a colon (:) character; i beginning colon is required. The beginning colon can never be used with command headers beginning with a star (*).
A header subfunction. Some command headers have only one mnemonic. I always separated from each other by a colon (:) character.
A quantity Not all commands have an argument, while other commands have multiple arguments. Arguments are separated from the header by a <Space>. A
It may optionally have white space characters before and after the comma.
A white space character between command header and argument. It may optionally consist of multiple white space characters.
f the command is concatenated with other commands the
f a command header has multiple mnemonics, they are
, quality, restriction, or limit associated with the header.
rguments are separated from each other by a <Comma>.
omma between arguments of m ultiple-argument commands.
The following gure shows the ve command message elements.
Commands
Queries
Figure 2-1: Command message elements
Commands cause the power supply to perform a specic function or change one of its settings. Commands have the structure:
[:]<Header>[<Space><Argument>[<Comma><Argument>]...]
A command header is made up of one or more mnemonics arranged in a hierarchical or tree structure. The rst mnemonic is the base or root of the tree and each subsequent mnemonic is a level or branch off of the previous one. Commands at a higher level in the tree may affect those at a lower level. The leading colon (:) always returns you to the base of the command tree.
Queries cause the power supply to return information about its status or settings. Queries have the structure:
[:]<Header>
[:]<Header>[<Space><Argument>[<Comma><Argument>]...]
2-2 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Command Syntax
Query Responses
Command Entry
You can specify
a query command at any level within the command tree unless otherwise noted. These branch queries return information about all the mnemonics below the specied branch or level.
When a query is sent to the power supply, only the values are returned. When the returned value is a mnemonic, it is noted in abbreviated format, as shown in the following table.
Table 2-3: Query response examples
Query Response
MEASure:VOLTage:DC?
SOURce:FUNCtion:MODE?
5.0011
LIST
Follow these general rules when entering commands:
Enter commands in upper or lower case.
You can precede any command with white space characters. White space characters include any combination of the ASCII control characters 00 through 09 and 0B through 20 hexadecimal (0 through 9 and 11 through 32 decimal).
SCPI Commands and
Queries
The power supply ignores commands that consists of just a combination of white space characters and line feeds.
The power supply uses a command language based on the SCPI standard. The SCPI (Standard Commands for Programmable Instruments) standard was created by a consortium to provide guidelines for remote programming of instruments. These guidelines provide a consistent programming environment for instrument control and data transfer. This environment uses dened programming messages, instrument responses and data formats that operate across all SCPI instruments, regardless of manufacturer.
The SCPI language is based on a hierarchical or tree structure that represents a subsystem. The top level of the tree is the root node; it is followed by one or more lower-level nodes. (See Figure 2-2.)
Figure 2-2: Example of SCPI subsystem hierarchy tree
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-3
Command Syntax
Message Terminators
Parameter types
You can create c
ommands and queries from these subsystem hierarchy trees. Commands specify actions for the instrument to perform. Queries return measurement data and information about parameter settings.
This manual u
ses the term <EOM> (End of message) to represent a message
terminator.
USB End of Message (EOM) terminators. See the USB Test a nd Measurement Class Specication (USBTMC) section 3.2.1 for details. The power supply terminates messages by setting the EOM bit in the USB header of the last transfer
of a message to the host (USBTMC Specication section 3.3.1), and by
terminating messages with a LF.
When rec
eiving, the power supply expects a LF and an asserted EOM bit as a message terminator. When using the GPIB interface, the power supply expects a line feed (LF) as the message terminator.
Many po
wer supply commands require parameters. Parameters are indicated by angle brackets, such as <file_name>. There are several different types of parameters, as listed in the following table. The parameter type is listed after the parameter. Some parameter types are dened specically for the power supply command set and some are defined by SCPI. (See Table 2-4.)
Table 2-4: Types of parameters
Parameter type Description Example
boolean Boolean numbers or values ON or ≠ 0
OFF or 0
discrete
NR1 numeric Integers 0, 1, 15, -1
NR2 numeric Decimal numbers 1.2, 3.141516, -6.5
NR3 numeric Floating point numbers 3.1415E-9, -16.1E5
NRf numeric
string
A list of specic values
Flexible decimal number that maybetypeNR1,NR2,orNR3
Alphanumeric characters (must be within quotation marks)
MIN, MAX
See NR1, NR2, NR3 examples in this table
“Testing 1, 2, 3”
2-4 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Command Syntax
Abbreviating Commands,
Queries, and Parameters
Chaining Commands and
Queries
You can abbrevi short form. This manual shows these commands as a combination of upper and lower case letters. The upper case letters indicate the accepted short form of a command, as shown in the following gure. The accepted short form and the long form are equivalent and reques t the same action of the instrument.
Figure 2-3: Example of abbreviating a command
You can chain several commands or queries together into a single message. To create a chained message, rst create a command or q (;), and nally add more commands or queries and semicolons until you are done. If the command following a semicolon is a root node, precede it with a colon (:). The following gure illustrates a chained message consisting of several commands and queries. The chained message should end in a command or query, not a semicolon. Responses to any queries i n your message are separated by semicolons.
ate most SCPI commands, queries, and parameters to an accepted
uery, then add a semicolon
Figure 2-4: Example of chaining commands and queries
If a command or query has the same root and lower-level nodes as the previous command or query, you can omit these nodes. In the following gure, the second command has the same root node (STAT:QUES) as the rst command, so these nodes can be omitted.
Figure 2-5: Example of omitting root and lower level nodes
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-5
Command Syntax
General Rules for Using
SCPI Commands
The following a
re three general rules for using SCPI commands, queries, and
parameters:
You c an us e s in
gle (‘ ’) or double (“ ”) quotation marks for quoted strings, b ut
you cannot use both types of quotation marks for the same string.
correct
correct
incorrect “This strin
“This string uses quotation marks correctly.”
‘This string also uses quotation marks correctly.’
g does not use quotation marks correctly.’
You can use upper case, lower case, or a mixture of both cases for all commands, queries, and parameters.
:SOURCE:FREQUENCY 10MHZ
is the same as
:source:frequency 10mhz
and
:SOURCE:frequency 10MHZ
NOTE. Q
uoted strings are case sensitive.
No embedded spaces are allowed between or within nodes.
correct
incorrect
:OUTPUT:FILTER:LPASS:FREQUENCY 200MHZ
:OUTPUT: FILTER: LPASS:FREQUENCY 200MHZ
2-6 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Command Groups
This manual lists the power supply commands in two ways. First, it presents them by functional groups. Then, it lists them alphabetically. The functional group list st (See page 2-13.)
The power supply interface conforms to Keithley standard codes and formats except where noted. The GPIB interface also conforms to IEEE Std 488.2–1987 except where noted. The USB interface also conforms to USB Test and Measurement Class, Subclass USB488 Specication, except where noted. Arguments are not mentioned in the group command descriptions, but are listed under the commands in the Commands Listed in Alphabetical Order section of this manual. (See page 2 -13.)
Status Commands
Status commands let you determine the status of the power supply and control events.
Several commands and queries are common to all devices on the GPIB or USB bus. These commands and queries are dened by IEEE Std. 488.2-1987 and Tek Standard Codes and Formats 1989, and begin with an asterisk (*) character.
arts below. The alphabetical list provides detail on each command.
Table 2-5: Status commands
Command Description
*CLS Clear all event registers and queues.
*ESE Set/query standard event status enable register.
*ESR?
*IDN? Return identication information in IEEE 488.2 notation.
*RST
*PSC Set/query power-on status clear.
*SRE Set/query service request enable register.
*STB?
STATus:QUEStionable:INSTrument[:EVENt]?
STATus:QUEStionable:INSTrument:ENABle Set/query questionable enable register. This parameter
STATus:QUESTionable:INSTrument:ISUMmary<x>:[EVENt]? Return questionable event register summary for channel x,
STATus:QUEStionable:INSTrument:ISUMmary<x>:ENABle Set/query questionable enable register summary for channel x,
Return standard event status register.
Resets to known settings, but does not purge stored settings.
Read status byte.
Return questionable event register.
determines which bit of the quest event register is set to 1. If a QUES condition changes, the QUES bit of status byte register will be set to 1.
where <x> is 1, 2, or 3.
where <x> is 1, 2, or 3. This parameter determines which bit of the quest event register is set to 1. If a QUES condition changes, the QUES bit of status byte register will be set to x.
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-7
Command Groups
Table2-5:Statuscommands(cont.)
Command Description
STATus:QUEStionable:INSTrument:ISUMmary<x>:CONDition? Return questionable condition register summary for channel
x, where <x> is 1, 2, or 3. When a bit of the quest condition changes, the corresponding bit value in the quest event register will be set to x.
STATus:QUEStionable:ENABle Set/query questionable enable register. This parameter
determines which bit of the quest event register is set to 1. If a QUES condition changes, the QUES bit of status byte register will be set to 1.
STATus:QUEStionable[:EVENt]?
STATus:OPERation:INSTrument[:ENABle]? Set/query operation enable register. The parameter determines
STATus:OPERation:INSTrument[:EVENt]?
STATus:OPERation:INSTrument[:EVENt]? Queries the contents of the operation instrument event register
STATus:OPERation:INSTrument[:ENABle]? Queries the contents of the operation instrument enable register
STATus:OPERation:INSTrument:ISUmmary<x>[:EVENt]? Return operation event register for channel x, where <x> is 1,
STATus:OPERation:INSTrument:ISUmmary<x>:ENABle Set/query operation enable register for channel x, where <x> is
STATus:OPERation:INSTrument:ISUMmary<x>:CONDition? Return operation condition register for channel x, where <x> is
Return questionable event register.
which bit value of quest event register is set to 1. If a OPER condition changes, the OPER bit of the status byte register will be set to 1.
Return operation event register.
(OIEVR).
(OIENR).
2, or 3.
1, 2, or 3. The parameter determines which bit value of quest event register is set to 1. If a OPER condition changes, the OPER bit of the status byte register will be set to 1.
1, 2, or 3. When a parameter of the operation condition register changes, the corresponding bit in the operation event register will be set to 1.
Save and Recall Commands
Save and recall commands allow you to save the active settings to one of the settings memories within the power supply, and recall those settings at a later time.
Table 2-6: Save and recall commands
Header Description
*SAV Save instrument setting to setup memory
*RCL Recall instrument setting from setup memory
2-8 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Command Groups
System Comman
Table 2-7: System commands
Header Description
SYSTem:POSetup Set or query power-on parameters
SYSTem:MODUle? Queries the module of the power supply
SYSTem:VERSion? Return SCPI version information
SYSTem:MODUle? Return error code and error information
SYSTem:KEY Set or query key operation
SYSTem:REMote Set or query remote mode
SYSTem:RWLock Set to remote mode and lock front-panel
SYSTem:LOCal Set to front-panel control mode
ds
Diagnostic Commands
The po is functioning as expected. A table of error codes that may be returned by the self test are given in the Messages and Codes section. (See page 3-10.)
Table 2-8: Diagnostic commands
wer supply includes a self test function that may be used to conrm that it
Header Description
*TST? Perform self-test and return result status
Synchronization Commands
Table 2-9: Synchronization commands
Header Description
*OPC Set/query operation complete
*WAI
Wait to continue
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-9
Command Groups
Trigger Comma
Table 2-10: Trigger commands
Header Description
TRIGger[:IMMediate]
*TRG Generates a trigger event.
[SOURce:]VOLTage:TRIGgered[:IMMediate] Set or query the trigger voltage.
[SOURce:]CURRent:TRIGgered[:IMMediate] Set or query the trigger current.
INSTrument:COUPle[:TRIGger] Set or query the channel that will respond the trigger command.
nds
Trigger commands are used to determine the timing of list mode sequences.
Forces an immediate trigger event.
2-10 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Command Groups
Measurement C
ommands
Measurement commands are used to query parameters. The MEASure commands initiate and execute a complete measurement cycle and are recommended for measuring vo
ltage and current at the outputs of the power supply.
FETCh
commands do not initiate a new measurement cycle but rely on measurements stored in the communication buffers of the power supply. The
FETCh commands
are provided for voltage and current measurements to maintain compatibility with other instruments. Output power, however, is only available using a command.
Table 2-11: Measurement commands
Command Description
MEASure[:SCALar][:VOLTage][:DC]?
MEASure[:SCALar]:POWer[:DC]?
MEASure[:SCALar]:CURRent[:DC]?
FETCh[:SCALar]:CURRent[:DC]? Query the output current stored in the communications buffer
FETCh[:SCALar]:POWer[:DC]? Query the output power stored in the communications buffer
FETCh[:SCALar]:VOLTage[:DC]? Query the output voltage stored in the communications buffer
Initiate a measurement and query the measured output voltage
Initiate a measurement and query the measured output current
Initiate a measurement and query the measured output current
FETCh
Source Commands
These commands allow you to set various output parameters. Some of the commands are used to congure protection functions like output timers and Max Voltage.
Table 2-12: Source commands
Command Description
[SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] Set or query the current value in units of A or mA.
[SOURce:]CURRent[:LEVel]:UP[:IMMediate][:AMPLitude] Set the current level to increase a step.
[SOURce:]CURRent[:LEVel]:DOWN[:IMMediate][:AMPLitude] Set the current level to decrease a step.
[SOURce:]CURRent[:LEVel][:IMMediate]:STEP[:INCRement] Set or query the current step value.
[SOURce:]OUTPut:TIMer[:STATe] Set or query the state of the output timer.
[SOURce:]OUTPut[:STATe][:ALL] Set or query power supply output on or off.
[SOURce:]OUTPut:TIMer:DELay Set or query the time duration of output timer.
[SOURce:]VOLTage[:LEVel][IMMediate][:AMPLitude] Set or query voltage level.
[SOURce:]VOLTage[:LEVel]:UP[:IMMediate][:AMPLitude] Set to increase the voltage level by a step.
[SOURce:]VOLTage[:LEVel]:DOWN[:IMMediate][:AMPLitude] Set to decrease the voltage level by a step.
[SOURce:]VOLTage[:LEVel][:IMMediate]:STEP[:INCRement] Set or query the voltage step value.
[SOURce:]VOLTage:LIMit:STATe Set or query enable/disable voltage limit function.
[SOURce:]VOLTage:LIMit[:LEVel] Set or query the maximum output voltage setting.
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-11
Command Groups
Table 2-12: Source commands (cont.)
Command Description
[SOURce:]OUTPut:ENABle Set or query the current channel as enabled or disabled.
[SOURce]:CHANnel:OUTPut:[STATe] Set or query the output status of the current channel.
[SOURce:]APPly Sets voltage and current level and switch channels at the same
time.
[SOURce:]OUTPut:PARallel[:STATe] Sets the parallel state of CH1 and CH2.
[SOURce:]OUTPut:SERies Sets the serial state of CH1 and CH2.
[SOURce:]OUTPut:PON[:STATe] Sets the power supply to power up with its output turned off, or to
return the output to the state it was in when it powered down.
Channel Combination Commands
These commands allow you to set various channel combinations. The commands
n use depends on the number of channels your instrument has.
you ca
Table 2-13: Channel combination commands
Command Description
INSTrument:SELect Switch or query the current channel.
INSTrument:COMbine:SERies Set CH1 and CH2 in series.
INSTrument:COMbine:PARAllel Set CH1 and CH2 in parallel.
INSTrument:COMbine:TRACk Set CH1 and CH2 to track.
INSTrument:COMbine:OFF Remove the combination of channels.
INSTrument:COMbine? Query which channels are combined.
Display Commands
Display commands are used to clear of show particular strings on the instrument display.
Table 2-14: Display commands
Header Description
DISPlay[:WINDow][:STATe] Set or query the display state.
DISPlay[:WINDow]:TEXT[:DATA] Set or query the display to show a particular string.
DISPlay[:WINDow]:TEXT:CLEar Set to clear the characters on the display and returns the display
to normal mode.
2-12 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Commands Listed in Alphabetical Order
You can use commands to either set instrument features or query instrument values. You can use some commands to do both, some only to set and some only to query. Thi Form” included with the command name. It marks query-only commands with a question mark appended to the header, and includes the words “Query Only” in the command name.
This document spells out headers, mnemonics, and arguments with the minimal spelling shown in uppercase. For example, to use the abbreviated form of the
MEASure:SCALar:VOLTage:DC? command, type MEAS:S CAL:VOLT:DC?.
*CLS (No Query Form)
s document marks set-only commands with the words “No Query
The *CLS
Group
Syntax
Related Commands
Status
*CLS
*ESR?, *STB?
DISPlay[:WINDow][:STATe]
Sets or queries the state of the instrument display.
Group
Syntax
Arguments
Display
DISPlay[:WINDow][:STATe] {0|1 |ON|OFF} DISPlay[:WINDow][:STATe]?
0|1|ON|OFF
command clears all event registers and queues.
DISPlay[:WINDow]:TEXT[:DATA]
Sets or queries the state of the instrument display to show a particular string.
Group
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-13
Display
Commands Listed in Alphabetical Order
Syntax
Arguments
DISPlay[:WIND DISPlay[:WINDow]:TEXT[:DATA]?
String with quotes. 48 character length limit.
ow]:TEXT[:DATA] <string>
DISPlay[:WINDow]:TEXT:CLEar (No Query Form)
Clears the characters on the display and then returns the display to normal m ode.
Group
Syntax
Arguments
Display
DISPlay[:WINDow]:TEXT:CLEar
None
*ESE
Sets and queries the bits in the Event Status Enable Register (ESER). The ESER is an eight-bit mask register that determines which bits in the Standard Event Status Register (SESR) will set the ESB bit in the Status Byte Register (SBR). (See page 3-1, Status and Events.)
Group
Syntax
Related Commands
Arguments
Examples
Status
*ESE <mask> *ESE?
*CLS, *ESR?
<mask>::=<NR1> where:
<NR1> is a value in the range from 0 through 255
are set according to this value.
The power-on default for ESER is 0 if *PSC is 1. If *PSC is 0, the ESER maintains its value through a power cycle.
*ESE 145 sets the ESER to binary 10010001, which enables the PON, EXE,
and OPC bits.
. The binary bits of the ESER
2-14 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Commands Listed in Alphabetical Order
*ESR? (Query Only)
Group
Syntax
Related Commands
Returns
*ESE might retu
binary value 10111010.
Returns the contents of the Standard Event Status Register (SESR). *ESR? also clears the SESR (since reading the SESR clears it). (See page 3-1, Status and Events.)
Status
*ESR?
*CLS, *OPC, *SRE,
<NR1>, which is a decimal representation of the contents of the Standard Event
Status Register (SESR).
rn the string
*ESE 186, showing that the ESER contains the
FETCh[:SCAL
Related Commands
Examples
*ESR? might return the value 149, showing that the SESR contains binary
10010101.
ar]:CURRent[:DC]? (Query Only)
This command returns the last measured output current stored in the communications buffer of the power supply. A new measurement is not initiated
and.
Group
Syntax
by this comm
CAUTION. Using this FETCh c ommand may return an old result, which could
adversely affect the accuracy of your test. In most cases, using the MEASure command is recommended. The benet of the FETCh command is that it provides a result a bit more quickly than the MEASure command.
Measurement
FETCh[:SCALar]:CURRent[:DC]? [CH1|CH2|CH3|ALL]
MEASure[:SCALar]:POWer[:DC]?
Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual 2-15
Commands Listed in Alphabetical Order
Returns
Examples
<NR2>, which gi
FETC:CURR? might return 0.09998, which would be the current measured at the
output of the power supply in amperes.
ves is the measured output current in amperes.
FETCh[:SCALar]:VOLTage[:DC]? (Query Only)
This command returns the last measured output voltage stored in the communications buffer of the power supply. A new measurement is not initiated by this command.
Group
Syntax
Related Commands
Returns
Measurement
FETCh[:SCALar]:VOLTage[:DC]? [CH1|CH2|CH3|ALL]
MEASure[:SCALar][:VOLTage][:DC]?
<NR2> is the measured output voltage in volts.
Examples
FETC:VOLT? might return 5.0011, which would be the measured voltage across
the power supply outputs in volts.
FETCh[:SCALar]:POWer[:DC]? (Query Only)
This command returns the calculated power based on the last measured output voltage and current. A new measurement is not initiated by this command. The power calculation in the instrument is performed approximately every 100 ms. Insure that the voltage and current are stable longer than this for good results.
Group
Syntax
Returns
Examples
Measurement
FETCh[:SCALar]:POWer[:DC]? [ CH1|CH2|CH3|ALL]
<NR2> is the measured output power in watts.
FETCh:POW? might return 6.01667, which would be the power measured at the
output of t he power supply in watts.
2-16 Series 2200 Programmable Multichannel DC Power Supplies Programmer Manual
Loading...
+ 74 hidden pages