Download Print this page
Tektronix PS2520G Programmer's Manual
Tektronix PS2520G Programmer's Manual

Tektronix PS2520G Programmer's Manual

Programmable power supplies
Hide thumbs Also See for PS2520G:

Advertisement

Quick Links

A l l t e s t I n s t r u me n t s , I n c .
5 0 0 C e n t r a l A v e .
F a r mi n g d a l e , N J 0 7 7 2 7
P : ( 7 3 2 ) 9 1 9 - 3 3 3 9
F : ( 7 3 2 ) 9 1 9 - 3 3 3 2
a l l t e s t . n e t
s s a l e s @ a l l t e s t . n e t
T h e t e s t & me a s u r e me n t
e q u i p me n t y o u n e e d a t
t h e p r i c e y o u w a n t .
A l l t e s t c a r r i e s t h e w o r l d ' s l a r g e s t s e l e c t i o n o f
u s e d / r e f u r b i s h e d b e n c h t o p t e s t & me a s u r e me n t
e q u i p me n t a t 5 0 % t h e p r i c e o f n e w .
O O u r e q u i p me n t i s g u a r a n t e e d w o r k i n g , w a r r a n t i e d , a n d
a v a i l a b l e w i t h c e r t i f i e d c a l i b r a t i o n f r o m o u r i n - h o u s e s t a f f
o f t e c h n i c i a n s a n d e n g i n e e r s .
• 1 0 + f u l l t i me t e c h n i c i a n s w i t h o v e r 1 5 0 y e a r s o f
s p e c i a l i z a t i o n
• 9 0 d a y w a r r a n t y & 5 d a y r i g h t o f r e t u r n o n a l l
e q u i p me n t
• • 1 - 3 y e a r w a r r a n t i e s f o r n e w a n d
p r e mi u m- r e f u r b i s h e d e q u i p me n t
• E v e r y u n i t t e s t e d t o O E M s p e c i f i c a t i o n s
• S a t i s f a c t i o n g u a r a n t e e d
Y o u h a v e p l a n s , w e w i l l h e l p y o u a c h i e v e t h e m.
A n y p r o j e c t . A n y b u d g e t .
t
G e t a q u o t e t o d a y !
C C a l l ( 7 3 2 ) 9 1 9 - 3 3 3 9 o r e ma i l s a l e s @a l l t e s t . n e t .

Advertisement

loading
Need help?

Need help?

Do you have a question about the PS2520G and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Tektronix PS2520G

  • Page 1 T h e t e s t & me a s u r e me n t e q u i p me n t y o u n e e d a t t h e p r i c e y o u w a n t . A l l t e s t I n s t r u me n t s , I n c .
  • Page 2 Programmer Manual PS2520G & PS2521G Programmable Power Supplies 070-9197-00...
  • Page 3 Copyright Tektronix, Inc. 1995. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved. Printed in the U.S.A.
  • Page 4 Tektronix, with shipping charges prepaid. Tektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the Tektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any other charges for products returned to any other locations.
  • Page 6 ....... [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] ..PS2520G and PS2521G Programmer Manual...
  • Page 7 ......IEEE-488.1 and IEEE-488.2 Status Registers ... PS2520G and PS2521G Programmer Manual...
  • Page 8 Figure 11: The Standard Event Status Register (SESR) . . . Figure 12: Event Status Enable Register (ESER) ..Figure 13: Service Request Enable Register (SRER) ..PS2520G and PS2521G Programmer Manual...
  • Page 9 ......Table 11: Error Messages ......PS2520G and PS2521G Programmer Manual...
  • Page 10 Preface This manual explains how to use and program the PS2520G and PS2521G Programmable Power Supplies over the General Purpose Interface Bus (GPIB). The following sections make up the body of this manual: Getting Started describes how to set up the power supply and GPIB systems.
  • Page 11 Preface PS2520G and PS2521G Programmer Manual...
  • Page 12 Getting Started With a computer (controller), you can operate the PS2520G and PS2521G Programmable Power Supplies over the GPIB. This section explains how to perform the following tasks: Set up GPIB systems Connect the programmable power supply to a GPIB controller...
  • Page 13 1. Connect one end of a GPIB cable to the GPIB controller. 2. Connect the other end of the GPIB cable to the GPIB port on the programmable power supply. 3. Turn on the programmable power supply. 4. Turn on the GPIB controller. PS2520G and PS2521G Programmer Manual...
  • Page 14 NOTE. Each device connected to the same controller must have a unique GPIB address. The factory default address for the PS2520G and PS2521G Programmable Power Supplies is 12. 1. Make sure the AUTO SEQ function is off. (The indicator for AUTO must be off).
  • Page 15 If you do not get a proper response from the programmable power supply, check to make sure the power is on, all cable connections are secure, and the GPIB address is correct. PS2520G and PS2521G Programmer Manual...
  • Page 16 Syntax and Commands This section provides an overview of the commands for the PS2520G and PS2521G Programmable Power Supplies. This section includes the following topics: A brief introduction to SCPI A description of the command syntax Instructions on how to enter commands...
  • Page 17 A root node and one or more lower-level nodes form a header path to the last node called the leaf node. Root node Lower-level nodes Leaf node Figure 3: Tree Hierarchy PS2520G and PS2521G Programmer Manual...
  • Page 18 For example, the syntax of the command in Figure 5 includes the Boolean parameter type. Parameter Type Space Figure 5: Command Header with Parameter Table 1 defines the Boolean and other parameter types for the programmable power supplies. PS2520G and PS2521G Programmer Manual...
  • Page 19 This is the same thing as saying “0 or 1 or OFF or ON.” Any single value is a valid parameter. NOTE. Do not include the , , symbols when entering the actual value for a parameter. PS2520G and PS2521G Programmer Manual...
  • Page 20 ASCII control characters hexadecimal 00 through 1F except for the character 0A (line feed). You must, however, use at least one space between the parameter and the command header. PS2520G and PS2521G Programmer Manual...
  • Page 21 If the command that follows the semicolon has the same header path, you may omit the colon and the path and state only the new leaf PS2520G and PS2521G Programmer Manual...
  • Page 22 Syntax and Commands node. This makes it possible, for example, to shorten the concate- nated query into You can combine commands and queries into the same message. Note, for example, the following combination: PS2520G and PS2521G Programmer Manual...
  • Page 23 Selects independent, parallel-tracking, or series-tracking mode. Returns actual output current. Returns actual output voltage. Clears overvoltage and overcurrent protection errors. Sets the output state on or off. Returns the output state (on or off). PS2520G and PS2521G Programmer Manual...
  • Page 24 Table 3: Status Commands Command Description Clears the status data structures. Sets the Event Status Enable Register (ESER). Returns contents of Event Status Enable Register (ESER). PS2520G and PS2521G Programmer Manual...
  • Page 25 Sets the contents of the enable mask for the OPERation INSTrument ISUMmary<n> event register (ISUMmary1, ISUMmary2, or ISUMmary3). Returns the contents of the enable mask for the OPERation INSTrument ISUMmary<n> event register (ISUMmary1, ISUMmary2, or ISUMmary3). Returns NR1. PS2520G and PS2521G Programmer Manual...
  • Page 26 Returns the contents of the enable mask for the QUEStionable INSTrument event register. Returns NR1. Returns and clears the contents of the QUEStionable INSTrument event register. Returns the contents of the QUEStionable INSTrument ISUMmary condition register (ISUMmary1, ISUMmary2, or ISUMmary3). Returns NR1. PS2520G and PS2521G Programmer Manual...
  • Page 27 Returns instrument identification. Reports when operation is complete by setting the Operation Complete bit in SESR. Reports when operation is complete. Same except returns a 1 to the output queue and does not set the SESR bit. PS2520G and PS2521G Programmer Manual...
  • Page 28 IEEE 488.1-1987. The power supply, however, forces sequen- tial operation of commands by design. Returns the SCPI version level. Sets Auto Sequence on or off. Returns Auto Sequence mode. Not a SCPI standardized command. PS2520G and PS2521G Programmer Manual...
  • Page 29 Syntax and Commands PS2520G and PS2521G Programmer Manual...
  • Page 30 (SBR). Refer to Figure 12 on page 52 for an illustration of the ESER. Syntax Parameters is a number from 0 to 255. The binary bits of the ESER are set according to this value. PS2520G and PS2521G Programmer Manual...
  • Page 31 SESR. Examples returns 160, if the SESR contains binary 1010 0000 (PON and CME bits set). *IDN? (Query Only) Returns the unique identification code of the power supply. Syntax Examples returns PS2520G and PS2521G Programmer Manual...
  • Page 32 Selects Output 1, Output 2, or Output3. An output must be selected before it can be configured and only one output may be selected at a time. Syntax Parameters Returns Examples selects Output 1. returns if Output 2 is selected. PS2520G and PS2521G Programmer Manual...
  • Page 33 Examples selects the independent mode. returns SERies if series-tracking mode is selected. MEASure[:SCALar]:CURRent[:DC]? (Query Only) Returns actual output current. Syntax Returns Examples might return to indicate that the load is drawing 0.008 A (8 mA). PS2520G and PS2521G Programmer Manual...
  • Page 34 ASCII 1 in the Output Queue when the power supply completes all pending operations. Syntax Returns OUTPut:PROTection:CLEar (No Query Form) Resets (clears) the Overvoltage Protection. This command duplicates the function of the OVP RESET button. Syntax PS2520G and PS2521G Programmer Manual...
  • Page 35 Refer to Table 5 for the reset state of the control settings. Table 5: State of Control Settings after *RST Front Panel Control Related Command State OUTPUT CURRENT SET VOLTS SET PS2520G and PS2521G Programmer Manual...
  • Page 36 Sets the current limit. The query form returns the current limit setting. Syntax Parameters On the PS2520G ranges from 0 to 1.500 (amps) for Output 1 and Output 2 and 0 to 3.000 (amps) for Output 3. PS2520G and PS2521G Programmer Manual...
  • Page 37 Syntax Parameters OFF or 0 sets overcurrent protection off. ON or 1 sets overcurrent protection on. Returns Examples sets the overcurrent protection off. returns if the overcurrent protection is on. PS2520G and PS2521G Programmer Manual...
  • Page 38 3.5 volts. returns if the voltage limit setting is 2 volts. [SOURce:]VOLTage:PROTection[:LEVel] Sets the overvoltage protection level. The query form returns the present setting of the overvoltage protection circuit. Syntax PS2520G and PS2521G Programmer Manual...
  • Page 39 SBR. Refer to page 52 for additional information about enable registers. Syntax Parameters is an integer from 0 to 255. Returns Examples sets bits of the SRER to 0000 1000. returns if the SRER is set to 0000 0010. PS2520G and PS2521G Programmer Manual...
  • Page 40 Syntax and Commands STATus:OPERation:CONDition? (Query Only) Returns the contents of the OPERation register. The PS2520G and PS2521G Programmable Power Supplies, however, do not use the OPERation register to report any conditions. Reading the OPERation register does not affect its contents.
  • Page 41 . STATus:OPERation:INSTrument:CONDition? (Query Only) Returns the contents of the OPERation INSTrument register. The PS2520G and PS2521G Programmable Power Supplies, however, do not use the OPERation INSTrument register to report any conditions. Reading the OPERation INSTrument register does not affect its contents.
  • Page 42 Examples returns . STATus:OPERation:INSTrument:ISUMmary<n>:CONDition? (Query Only) Returns the contents of the OPERation INSTrument ISUMmary<n> register. The PS2520G and PS2521G Programmable Power Supplies, however, do not use the OPERation INSTrument ISUMmary<n> register to report any conditions. PS2520G and PS2521G Programmer Manual...
  • Page 43 15 bits (bit 0 through bit 14) are used. Bit 15 always reads 0. Syntax Parameters is an integer from 0 to 32767. Returns Examples sets all 15 bits of the register high. returns if all 15 bits of the register are low. PS2520G and PS2521G Programmer Manual...
  • Page 44 Syntax STATus:QUEue[:NEXT]? (Query Only) Reads the next item from the Error and Event Queue. Refer to the error codes in Table 11 on page 55. This query is identical to the query. Syntax Returns PS2520G and PS2521G Programmer Manual...
  • Page 45 (bit 0 through bit 14) are used. Bit 15 always reads 0. Syntax Parameters is a positive integer from 0 to 32767. Returns Examples sets all 15 bits of the register high. returns if all 15 bits of the register are low. PS2520G and PS2521G Programmer Manual...
  • Page 46 Sets or returns the contents of the enable register for the QUEStion- able INSTrument event register. Even though this is a 16-bit register, only 15 bits (bit 0 through bit 14) are used. Bit 15 always reads 0. PS2520G and PS2521G Programmer Manual...
  • Page 47 Syntax Returns Examples returns if bit number 1 is the only bit set. STATus:QUEStionable:INSTrument:ISUMmary<n> :CONDition? (Query Only) Returns the contents of the QUEStionable INSTrument ISUMma- ry<n> condition register. Reading the QUEStionable INSTrument PS2520G and PS2521G Programmer Manual...
  • Page 48 15 bits of the register high. returns if all 15 bits of the register are low. STATus:QUEStionable:INSTrument:ISUMmary<n>[:EVENt]? Returns and clears the contents of the QUEStionable INSTrument event register. Reading the QUEStionable INSTrument register using PS2520G and PS2521G Programmer Manual...
  • Page 49 Returns the contents of the Status Byte Register (SBR) using the Master Summary Status (MSS) bit. Refer to Figure 10 on page 49. Syntax Returns Examples returns if the SBR contains the binary value 0110 0000. SYSTem:AUTO Sets or returns automatic sequence setting. Syntax PS2520G and PS2521G Programmer Manual...
  • Page 50 Table 11 on page 55. This query is identical to the query. Syntax Returns Examples returns if the overvoltage protection circuit has disabled the outputs. SYSTem:VERSion? (Query Only) Returns the SCPI version to which the power supply complies. Syntax Returns PS2520G and PS2521G Programmer Manual...
  • Page 51 This command, however, does not serve a useful function on the PS2520G and PS2521G Programmable Power Supplies The power supplies do not have any operations that require additional time to finish.
  • Page 52 Status and Events The PS2520G and PS2521G Programmable Power Supplies provide a status and event reporting system for the GPIB interface. Various registers and queues make up this system. This section explains how these registers and queues work to inform you of significant events.
  • Page 53 Not Used Not Used STATus:QUEStionable:CONDition? Not Used STATus:QUEStionable[:EVENt]? Not Used STATus:QUEStionable:ENABle Not Used Not Used Not Used Output3 OVP Output3 OCP Not Used Not Used Not Used Not Used Not Used Figure 6: QUEStionable INSTrument Registers PS2520G and PS2521G Programmer Manual...
  • Page 54 Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used STATus:OPERation:CONDition? Not Used STATus:OPERation[:EVENt]? Not Used STATus:OPERation:ENABle Not Used Not Used Figure 7: Status and Event System PS2520G and PS2521G Programmer Manual...
  • Page 55 The lower-level nodes :OPERation and :QUEStionable each have three 16-bit registers: CONDition, EVENt, and ENABle. Figure 9 shows the sequential relationship between these three types of registers and the commands that relate to each register. PS2520G and PS2521G Programmer Manual...
  • Page 56 GPIB only after the ENABle register sets the summary bit true. OPERation Status Registers. Although the OPERation Status Registers are present, the programmable power supplies do not use them to report any status information. PS2520G and PS2521G Programmer Manual...
  • Page 57 Not used. — Event on STATus:QUEStionable:INSTrument Register. — Not used. — Not used. The command reads the QUEStionable CONDition register but does not clear it. The command reads and clears the QUEStionable EVENt Status Register. PS2520G and PS2521G Programmer Manual...
  • Page 58 The command reads and clears the QUEStionable INSTrument EVENt Status Register. QUEStionable INSTrument ISUMmary<n> Status Register. Table 8 shows the bit designations of the three16-bit QUEStionable INSTrument ISUMmary<n> Status Registers (ISUMmary1, ISUMmary2, and ISUMmary3). PS2520G and PS2521G Programmer Manual...
  • Page 59 Not used. — Not used. — Not used. The command reads the QUEStionable INSTrument ISUMma- ry<n> CONDition register but does not clear it. The command reads and clears the QUEStionable INSTrument ISUMmary<n> EVENt Status Register. PS2520G and PS2521G Programmer Manual...
  • Page 60 Register (ESER), and the Output Queue. When you use a serial poll to obtain the SBR, bit 6 is the MSS bit. Reading the SBR does not clear the bits. Table 9 explains the function of each bit in the SBR. PS2520G and PS2521G Programmer Manual...
  • Page 61 OPER (OPERation) is the summary bit for the OESR (OPERation EVENt Status Register). This bit is never set in the PS2520G and PS2521G Programmable Power Supplies. Standard Event Status Register (SESR). Figure 11 shows the SESR. The SESR records five types of events that can occur within the power supply.
  • Page 62 Table 11 on page 55 lists the error messages (“–1XX” errors). USR (User Request) indicates the LOCAL button was pushed. 7 (MSB) PON (Power On) shows that the power supply was powered PS2520G and PS2521G Programmer Manual...
  • Page 63 PON USR CME EXE DDE Figure 12: Event Status Enable Register (ESER) Service Request Enable Register (SRER) The SRER (Figure 13) controls which bits in the SBR generate a service request. PS2520G and PS2521G Programmer Manual...
  • Page 64 QUES status bit in the SBR. Use the command to set the bits in the QUEStionable Enable register. Use the query to read it. Refer to Table 6 on page 46 for a description of each of the bits in this register. PS2520G and PS2521G Programmer Manual...
  • Page 65 Error Messages Table 11 lists the SCPI error messages for the programmable power supplies. The listing includes the equivalent front-panel error code along with a description of the error message. PS2520G and PS2521G Programmer Manual...
  • Page 66 –222, “Data out of range; Voltage too small” –018 –222, “Data out of range; Current too small” –019 –222, “Data out of range” — –240, “Hardware error” — –300, “Device-specific error; Overcurrent protection error” –012 –300, “Device-specific error; Overvoltage protection error” –013 PS2520G and PS2521G Programmer Manual...
  • Page 67 –330, “Self-test failed; ROM test error” –003 –330, “Self-test failed; DAC/ADC test error” –005 –350, “Queue overflow” — — –410, “Query INTERRUPTED” — –420, “Query UNTERMINATED” — –430, “Query DEADLOCKED” — –440, “Query UNTERMINATED after indefinite response” — PS2520G and PS2521G Programmer Manual...
  • Page 68 See Table header path, 6 of Contents general setting, 12 miscellaneous, 16 status, 13 *IDN?, 20 status registers, 43, 45 INSTrument:COUPle:TRACking, summary of, 12 concatenating commands, 10 controller, requirements for, 2 leaf node, 6 DDE, 51 PS2520G and PS2521G Programmer Manual...
  • Page 69 5 :PROTection:STATe, 26 QUES, 50 [:LEVel][:IMMediate][:AMPLi- queues, 54 tude], 25 error/event, 54 [SOURce:]VOLTage output, 54 [LEVel][:IMMediate][:AMPLi- QYE, 51 tude], 27 :PROTection[:LEVel], 27 *SRE, 28 SRER, 52, 53 status structure, 41, 43, 44 STATus:OPERation PS2520G and PS2521G Programmer Manual...
  • Page 70 6 STATus:PRESet, 33 *TST, 40 STATus:QUEStionable :CONDition?, 34 :ENABle, 34 :INSTrument:CONDition?, 35 :INSTrument:ENABle, 35 USR, 51 :INSTrument:ISUMma- :CONDition?, 36 :EN- :INSTrument:ISUMmary ABle, 37 *WAI, 40 :INSTrument:ISUMma- white space characters, 9 [:EVENt]?, 37 PS2520G and PS2521G Programmer Manual...
  • Page 71 Index PS2520G and PS2521G Programmer Manual...

This manual is also suitable for:

Ps2521g