GPIB-XPD
Operating Manual
Internal GPIB Interface
for XPD Series
Programmable DC
Power Supply
Operating Manual for
Internal GPIB Interface
for XPD 500 Watt Series
Programmable DC
Power Supply
Limited What does this warranty cover and how long does it last?
Warranty
This Limited Warranty is provided by Xantrex Technology, Inc. (“Xantrex”) and
covers defects in workmanship and materials in your GPIB Interface Card. This
warranty lasts for a Warranty Period of 5 years from the date of purchase at point of
sale to you, the original end user customer.
What will Xantrex do?
Xantrex will, at its option, repair or replace the defective product free of charge,
provided that you notify Xantrex of the product defect within the Warranty Period,
and provided that Xantrex through inspection establishes the existence of such a
defect and that it is covered by this Limited Warranty.
Xantrex will, at its option, use new and/or reconditioned parts in performing
warranty repair and building replacement products. Xantrex reserves the right to use
parts or products of original or improved design in the repair or replacement. If
Xantrex repairs or replaces a product, its warranty continues for the remaining
portion of the original Warranty Period or 90 days from the date of the return
shipment to the customer, whichever is greater. All replaced products and all parts
removed from repaired products become the property of Xantrex.
Xantrex covers both parts and labor necessary to repair the product, and return
shipment to the customer via a Xantrex-selected non-expedited surface freight
within the contiguous United States and Canada. Alaska and Hawaii are excluded.
Contact Xantrex Customer Service for details on freight policy for return shipments
outside of the contiguous United States and Canada.
How do you get service?
If your product requires troubleshooting or warranty service, contact your merchant.
If you are unable to contact your merchant, or the merchant is unable to provide
service, contact Xantrex directly at:
Phone:
604 422 8595
Toll Free North America:
1 800 667 8422
604 421 3056
Fax:
Email:
ii
Operating Manual for GPIB for XPD Series Power Supply
Direct returns may be performed according to the Xantrex Return Material
Authorization Policy described in your product manual. For some products, Xantrex
maintains a network of regional Authorized Service Centers. Call Xantrex or check
our website to see if your product can be repaired at one of these facilities.
In any warranty claim, dated proof of purchase must accompany the product and the
product must not have been disassembled or modified without prior written
authorization by Xantrex.
Proof of purchase may be in any one of the following forms:
•
•
•
The dated purchase receipt from the original purchase of the product at point of
sale to the end user, or
The dated dealer invoice or purchase receipt showing original equipment
manufacturer (OEM) status, or
The dated invoice or purchase receipt showing the product exchanged under
warranty
What does this warranty not cover?
This Limited Warranty does not cover normal wear and tear of the product or costs
related to the removal, installation, or troubleshooting of the customer’s electrical
systems. This warranty does not apply to and Xantrex will not be responsible for any
defect in or damage to:
a. the product if it has been misused, neglected, improperly installed, physically
damaged or altered, either internally or externally, or damaged from improper
use or use in an unsuitable environment;
b. the product if it has been subjected to fire, water, generalized corrosion,
biological infestations, and high input voltage from lightning strikes;
c. the product if repairs have been done to it other than by Xantrex or its authorized
service centers (hereafter “ASCs”);
d. the product if it is used as a component part of a product expressly warranted by
another manufacturer;
e. the product if its original identification (trade-mark, serial number) markings
have been defaced, altered, or removed.
Release 1.2
iii
Disclaimer Product
THIS LIMITED WARRANTY IS THE SOLE AND EXCLUSIVE WARRANTY PROVIDED
BY XANTREX IN CONNECTION WITH YOUR XANTREX PRODUCT AND IS, WHERE
PERMITTED BY LAW, IN LIEU OF ALL OTHER WARRANTIES, CONDITIONS,
GUARANTEES, REPRESENTATIONS, OBLIGATIONS AND LIABILITIES, EXPRESS
OR IMPLIED, STATUTORY OR OTHERWISE IN CONNECTION WITH THE
PRODUCT, HOWEVER ARISING (WHETHER BY CONTRACT, TORT, NEGLIGENCE,
PRINCIPLES OF MANUFACTURER’S LIABILITY, OPERATION OF LAW, CONDUCT,
STATEMENT OR OTHERWISE), INCLUDING WITHOUT RESTRICTION ANY
IMPLIED WARRANTY OR CONDITION OF QUALITY, MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE. ANY IMPLIED WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE TO THE EXTENT
REQUIRED UNDER APPLICABLE LAW TO APPLY TO THE PRODUCT SHALL BE
LIMITED IN DURATION TO THE PERIOD STIPULATED UNDER THIS LIMITED
WARRANTY.
IN NO EVENT WILL XANTREX BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
INCIDENTAL OR CONSEQUENTIAL DAMAGES, LOSSES, COSTS OR EXPENSES
HOWEVER ARISING WHETHER IN CONTRACT OR TORT INCLUDING WITHOUT
RESTRICTION ANY ECONOMIC LOSSES OF ANY KIND, ANY LOSS OR DAMAGE TO
PROPERTY, ANY PERSONAL INJURY, ANY DAMAGE OR INJURY ARISING FROM OR
AS A RESULT OF MISUSE OR ABUSE, OR THE INCORRECT INSTALLATION,
INTEGRATION OR OPERATION OF THE PRODUCT.
Exclusions If this product is a consumer product, federal law does not allow an exclusion of
implied warranties. To the extent you are entitled to implied warranties under federal
law, to the extent permitted by applicable law they are limited to the duration of this
Limited Warranty. Some states and provinces do not allow limitations or exclusions
on implied warranties or on the duration of an implied warranty or on the limitation
or exclusion of incidental or consequential damages, so the above limitation(s) or
exclusion(s) may not apply to you. This Limited Warranty gives you specific legal
rights. You may have other rights which may vary from state to state or province to
province.
iv
Operating Manual for GPIB for XPD Series Power Supply
Information WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, UNLESS
SPECIFICALLY AGREED TO BY IT IN WRITING, XANTREX
a. MAKES NO WARRANTY AS TO THE ACCURACY, SUFFICIENCY OR SUITABILITY
OF ANY TECHNICAL OR OTHER INFORMATION PROVIDED IN MANUALS OR
OTHER DOCUMENTATION PROVIDED BY IT IN CONNECTION WITH THE
PRODUCT; AND
b. ASSUMES NO RESPONSIBILITY OR LIABILITY FOR LOSSES, DAMAGES,
COSTS OR EXPENSES, WHETHER SPECIAL, DIRECT, INDIRECT,
CONSEQUENTIAL OR INCIDENTAL, WHICH MIGHT ARISE OUT OF THE USE OF
SUCH INFORMATION.
THE USE OF ANY SUCH INFORMATION WILL BE ENTIRELY AT THE USER’S RISK.
WARNING: Please refer to your product user manual for limitations on uses of the product.
Specifically, please note that this power supply is not intended for use in connection
with life support systems and Xantrex makes no warranty or representation in
connection with any use of the product for such purposes.
Limitations
on Use
Xantrex Technology, Inc.
8999 Nelson Way
Burnaby, British Columbia
Canada V5A 4B5
Information Please record the following information when you first open your Power Supply
package:
About Your
Power
Model Number
Serial Number
Purchased From
Purchase Date
______________________________________________
______________________________________________
______________________________________________
______________________________________________
Supply
Release Release 1.2 (2002-06)
Copyright
2002 Xantrex Technology Inc. All rights reserved.
©
Printed in Canada
Release 1.2
v
Power
Supply
Safety
WARNING—High Energy and High Voltage
Exercise caution when using and calibrating a power supply. High energy levels
can be stored at the output voltage terminals on a power supply in normal
operation. In addition, potentially lethal voltages exist in the power circuit and on
the output and sense connectors of a power supply with a rated output greater
than 40 V. Filter capacitors store potentially dangerous energy for some time
after power is removed.
CAUTION
!
Operate the power supply in an environment free of flammable gases or fumes.
To ensure that the power supply’s safety features are not compromised, use the
power supply as specified in this manual and do not substitute parts or make any
unauthorized modifications. Contact the service technician for service and repair
help. Repairs must be made by experienced service technicians only.
Warnings, Warnings, cautions, and notes are defined and formatted in this manual as shown
below.
Cautions,
and Notes
WARNING
Describes a potential hazard which could result in injury or death, or, a procedure
which, if not performed correctly, could result in injury or death.
CAUTION
!
Describes a procedure which, if not performed correctly, could result in damage
to data, equipment, or systems.
Note
Describes additional operating information which may affect the performance of the
equipment.
vi
Operating Manual for GPIB for XPD Series Power Supply
About This Manual
This technical manual is for the internal GPIB interface, a microprocessor-controlled
option card for XPD Series DC output power supplies. This manual provides you
with descriptions and specifications, user options, and configuration instructions, in
addition to a command set which enables you to manage the power supply from an
external source. Error messages and calibration procedures are also included.
This manual is designed for the user who is familiar with basic electrical theory
especially as it applies to the operation of power supplies. This implies a recognition
of Constant Voltage and Constant Current operation modes and the control of input
and output power, as well as the observance of safe techniques while effecting
supply or pin connections and any changes in switch settings. The user should also
have experience with a computer-based communications software package.
Refer to your power supply manual for installation, configuration, and operating
procedures for your power supply.
Main Sections
Section 1 Features and Specifications Describes the power supply and lists
its features and specifications.
Section 2 Installation and Configuration Goes through basic setup
procedures. Describes inspection, cleaning, shipping, and storage procedures.
Includes additional options for configuring the GPIB interface for operation.
Section 3 Operation Lists the complete command set, status registers, and error
codes.
Section 4 Calibration Provides detailed procedures for voltage and current
mode calibration as well as over voltage protection (OVP) calibration. Includes
calibration for programming and readback accuracy.
Manual Revisions
The current release of this manual is listed below. Updates may be issued as an
addendum.
Release 1.2 (2002/06)
Release 1.2
vii
About This Manual
viii
Operating Manual for GPIB for XPD Series Power Supply
Section 1. Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Features and
Specifications
Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Programmable Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Readback Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Section 2. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Installation
and
Configuration
Basic Setup Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
IEEE-488 Primary Address Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Power On Service Request (PON SRQ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Remote/Local Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Remote/Local Mode Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
OVP Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Connector J21 User Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Section 3. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Operation
GPIB Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Parallel Poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Serial Poll. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Manual Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Command Format and Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Command Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Command Terminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Command Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Accumulated Status, Status, and Fault Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Release 1.2
ix
Contents
Section 4. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Calibration
Voltage Program Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Voltage Readback Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Current Mode Calibration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Current Calibration Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Current Program Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Current Readback Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Over Voltage Protection (OVP) Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
x
Operating Manual for GPIB for XPD Series Power Supply
Section 1. Features and Specifications
Description
The internal GPIB interface card allows you to operate your power supply from a
computer controller via the IEEE-488 communications bus. See Figure 1.1, “Sample
Configuration using GPIB Interface”.
The GPIB interface allows complete remote programming of your power supply,
including status reporting, settings query, and interrupt generation with
user-designated fault conditions. Both the voltage and current output are precisely
programmed directly in volts and amps with 16-bit resolution. Additionally, the
built-in DVM and current shunt measure the actual power supply output and provide
you with 16-bit readback. The programming command set is easy-to-use and
includes software calibration commands. The interface card comes standard with
several protection features such as programmable over voltage protection, foldback,
load isolation signal, and soft limits.
Figure 1.1 Sample Configuration using GPIB Interface
Release 1.2
11
Features and Specifications
Features and Functions
Features and Functions
Features • 16-bit programming and readback of voltage and current
•
•
•
•
Programmable soft limits for voltage and current
Programmable over voltage protection with reset
Easy-to-use, self-documenting command set
Isolated user-programmable signals such as fault, polarity, isolation, and
auxiliary signals
•
LED status signals: error, addressed, service request, over voltage protection,
and remote operation
•
•
•
Foldback in CV or CC mode with reset
Local Lockout capability
Software calibration
Programmable
Functions
•
•
•
•
•
•
•
Output voltage and current
Soft limits for voltage and current
Overvoltage protection
Output enable/disable
Maskable fault interrupt
Hold and trigger
User-programmable output relay signals
Readback • Actual measured voltage and current
Functions
•
•
•
•
•
•
•
•
Voltage and current settings
Soft voltage and current limits
Overvoltage protection setting
Present and accumulated power supply status
Programming error codes
Fault codes
Power supply model and version identification
Firmware revision levels
12
Operating Manual for GPIB for XPD Series Power Supply
Features and Specifications
Specifications
Specifications
The specifications in this section are warranted at 25°C ±5°C unless otherwise
specified. All specifications are subject to change without notice.
Table 1.1 Specifications for XPD 500 W Series Supply with GPIB Interface Installed
Models
7.5-67
18-30
33-16
60-9
120-4.5
Program Resolution
Voltage
Current
1.2mV
5.2mA
1.2mV
4.6mV
3.6mA
4.6mV
5.1mV
2.9mA
5.1mV
9.3mV
1.3mA
9.3mV
18.6mV
0.7mA
18.6mV
OVP
Program Accuracy1
Voltage
10mV
75mV
75mV
150mV
±0.3%
80mA
±0.15%
600mV
180mV
±0.25%
80mA
±0.1%
1.2V
±0.12%
250mA
±0.1%
80mV
±0.12%
140mA
±0.1%
200mV
±0.12%
115mA
±0.15%
330mV
Current
OVP
Readback Resolution
Voltage
Current
1.2mV
5.2mA
4.6mV
3.6mA
5.1mV
2.4mA
9.3mV
1.3mA
18.6mV
0.7mA
Readback Accuracy1
Voltage
30mV
75mV
75mV
150mV
±0.3%
80mA
180mV
±0.25%
80mA
±0.12%
250mA
±0.1%
±0.12%
140mA
±0.1%
±0.2%
115mA
±0.15%
Current
±0.15%
±0.1%
1. Apply accuracy specifications according to the following voltage program accuracy example:
Set a model XPD 18-30 power supply to 10 volts.
The expected result will be within the range of 10 volts ± 75mV ± 0.12% of the set voltage of 10 volts.
Release 1.2
13
Features and Specifications
Specifications
14
Operating Manual for GPIB for XPD Series Power Supply
Section 2. Installation and Configuration
Introduction
To use this product, you must have the following equipment:
•
•
•
•
a compatible model of DC output power supply
IEEE-488 connector and cable
computer with an IEEE-488 interface
Computer-based communications software package
distributor or service center can also install the interface, especially for use in a
previously-purchased supply already on site. You must then configure the GPIB
Interface-enhanced supply for your system using the “Basic Setup Procedure” on
page 19. Refer also to Figure 2.1, pg. 16, Figure 2.2, pg. 17 and Figure 2.3, pg. 18
for drawings of the front panel, the interface subplate, and the GPIB interface printed
circuit board (PCB).
Initial Inspection
CAUTION
!
If you remove the unit's cover, use proper static control techniques to avoid damage
to static-sensitive components on the printed circuit board.
On first receiving your unit, perform a quick physical check.
•
Ensure each package contains a power supply with its GPIB interface board
installed, and manuals for the power supply and the GPIB interface. Any
additional parts shipped with the power supply will be identified in the supply's
documentation.
•
•
Inspect the unit for any signs of physical damage such as scratches, cracks, or
broken switches, connectors, or displays.
Check the printed circuit board and components if you suspect internal damage.
If the unit is damaged, save all packing materials and notify the carrier immediately.
For additional information, please see the section titled, “Returning Power Supplies
to the Manufacturer” in the manual shipped with your complete unit.
Release 1.2
15
Installation and Configuration
Initial Inspection
CAUTION
!
Use proper static control techniques to avoid damage to static-sensitive components
on the printed circuit board.
Service Request LED (SRQ)
Comes on at power up if the PON SRQ
switch is set to on. You can enable the
SRQ LED during normal operation with
the SRQ command.
Remote LED (REM)
Figure 2.1 Power Supply Front Panel with GPIB Interface Installed
16
Operating Manual for GPIB for XPD Series Power Supply
Installation and Configuration
Initial Inspection
S1 Switch
Address LED (ADR)
Indicates that the unit is
being addressed by the
master controller.
1 Remote/Local Startup
2 Power On Service Reques
(Enable/Disable)
3 Not Used
4-8 Primary Address
Selection (A1-A5)
Error LED (ERR)
Indicates that a programming
error has occurred. Clear with
error query command.
Switch Position
Reference markings
(0) (1)
IEEE 488 Connector
J21 User Signal
Connector
Figure 2.2 GPIB Interface Subplate
(Located on Power Supply Rear Panel)
CAUTION
!
Use proper static control techniques to avoid damage to static-sensitive components
on the printed circuit board
Release 1.2
17
Installation and Configuration
Initial Inspection
JUMPER SELECTION
J2
J3
Local OVP control selection
[closed] [default]. See page 23.
[open] Front Panel OVP Control.
User TTL shutdown (S/D) selection
[1-2] User TTL S/D line active low.
See page 27.
[2-3] [default] User TTL S/D line active high.
J20
Remote OVP Control Selection
[closed] [default]. See page 23.
[open]
Note: All other jumpers are not user-selectable.
LED INDICATORS
D1
D4
D5
Red Diagnostic LED
Red Diagnostic LED
Green Diagnostic LED
Bus error or soft restart on Slave circuitry.
Soft restart on Master circuitry.
Bus error on Master circuitry.
See page 48.
EPROMS
U18
U1
Slave EPROM
Master EPROM
See revision number stamped on EPROM.
See revision number stamped on EPROM.
Figure 2.3 GPIB Interface PCB
18
Operating Manual for GPIB for XPD Series Power Supply
Installation and Configuration
Basic Setup Procedure
Basic Setup Procedure
This procedure can be used as a quick reference for those familiar with the
configuration requirements for the GPIB interface as installed in the DC power
supply. For those who want more information, each step refers to more detailed
procedures located in subsequent sections. Execute each step of the procedure in the
sequence given.
Table 2.1 Setup Procedure
Step # Description Action
Reference
1
Selection
A1 to A5 to select a unique primary
address. Setting the address identifies
the power supply to the computer
controller in a GPIB system.
2
3
4
5
PON SRQ
Selection
the state of the Power ON Service
Request
(PON SRQ)” on page 21
Remote/Local
Operation
select remote or local startup of the
power supply.
page 21
IEEE-488
Controller
Connection
at connector J8.
Power ON
Power on the unit. Before proceeding,
check to ensure that the green REM
LED on the front panel is on.
See “Internal PCB Jumper
Selections” on page 23 and “User
Signals” on page 25 for information
about Local/Remote OVP, TTL
Shutdown, and auxiliary connector
J21 user signals.
6
7
Configure
Computer
Controller
Configure the controller to match the
power supply identification and
characteristics using one of the available National Instruments. This program
programs. is used here as an example only.
One such program is IBCONF
(Interface Bus Configuration) from
Test
Test the link by communicating with the Example: VSET2;ISET1
power supply. This command string sets power
supply voltage to 2V and its current
limit to 1A.
Example: ibwrt "vset2;iset1" As
above, using IBIC. *
*
This text uses National Instruments' IBIC (Interface Bus Interactive Control) program commands
developed for their GPIB interface for computer controllers as examples only.
Release 1.2
19
Installation and Configuration
IEEE-488 Primary Address Selection
IEEE-488 Primary Address Selection
30 which is unique to your IEEE-488 bus, that is, different from other device
addresses on the same bus.
2. Locate switch S1 on the GPIB interface rear panel. See “GPIB Interface
Subplate” on page 17 for the interface subplate drawing.
3. Use switch positions A1 to A5 to set the primary address for the power supply.
See Table 2.2, “IEEE-488 Primary Address Selection”.
Switch 0 = (OFF, OPEN) Switch 1 = (ON, CLOSED)
Table 2.2 IEEE-488 Primary Address Selection
Address
A5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
A4
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
A3
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
A2
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
A1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Address
16
A5
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
A4
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
A3
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
A2
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
A1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
1
17
2
18
3
19
4
20
5
21
6
22
7
23
8
24
9
25
10
11
12
13
14
15
26
27
28
29
30
Note: Ensure you assign one address to each GPIB controller board as well.
20
Operating Manual for GPIB for XPD Series Power Supply
Installation and Configuration
Power On Service Request (PON SRQ)
Power On Service Request (PON SRQ)
The Power ON Service Request (SRQ) switch is located on the GPIB subplate rear
panel S1 switch. Enabling the SRQ switch causes the power supply to send a service
re-initializes after a momentary power interrupt. When the PON SRQ state is tripped,
39 for information about the SRQ command. Table 2.3 shows the condition of the
SRQ switch in relation to the position reference markings on the rear panel subplate.
The location of the switch and reference markings can be found in Figure 2.2, “GPIB
Interface Subplate” on page 17.
Table 2.3 SRQ Switch Selection
Rear Panel SRQ Switch Position PON SRQ State
0
1
PON SRQ Enabled
PON SRQ Disabled
Remote/Local Start the power supply either in local mode or in remote mode by setting the power
ON remote (PON REM) switch which is located on the unit’s rear panel. See
Table 2.4 for the switch settings
Mode Startup
Table 2.4 Remote/Local Start-up Settings.
Switch Position
Power ON results
Unit in remote mode
Unit in local mode
0
1
With the rear panel PON REM switch set to 0, the power supply will start up in
remote mode. The green REM LED on the front panel will turn on, signaling that the
power supply is under the control of the digital interface card. The output of the
power supply is active on startup. See Table 2.5 for more information. To promote
load safety, power ON defaults are zero for the output voltage and current limit, and
110% of maximum output voltage for the OVP trip point. See Section 3, “Operation”
for more information about the interface commands listed in the table.
Release 1.2
21
Installation and Configuration
Remote/Local Operation
If the rear panel PON REM switch is set to 1, the power supply will power up in
local mode. Power supply control is at the front panel. During an operating
session, you can toggle between local mode and remote mode by sending
commands as described in “Remote Mode Operation” on page 22 and “Local
Mode Operation” on page 23.
Table 2.5 Remote Mode Power On Conditions
Condition
Voltage
Default Settings
7.5-140 Model Example
VSET 0
0 V
Current
0 A
ISET 0
Soft Voltage Limit
Soft Current Limit
OVP Trip Voltage
Delay
VMAX (see models)
VMAX 7.5
IMAX (see models)
IMAX 140
Model VMAX + 10%
OVSET 8.25
DLY 0.5S
0.5 s
OFF
ON
Foldback Protection
Output
FOLD OFF
OUT ON
Hold
OFF
NONE
OFF
OFF
OFF
HOLD OFF
UNMASK NONE
SRQ OFF
Unmask
Service Request Capability
AUXA
AUXA OFF
AUXB OFF
AUXB
Remote Mode
Operation
While in remote mode, use the interface commands to control the output of the
power supply from a computer. See Section 3, “Operation” for a complete list of
device-dependent commands available with this interface. For information about
how to use GPIB commands and GPIB lines, refer to the documentation for the
particular GPIB controller interface installed on your computer.
While in remote mode, you can change to local mode operation by sending the
GPIB GTL (Go to Local) command, or by negating the GPIB REN (Remote
Enable) line.
22
Operating Manual for GPIB for XPD Series Power Supply
Installation and Configuration
IEEE-488 Controller Connection
To return to remote mode, ensure that the REN line is asserted and then send any
valid GPIB or device-dependent command.
Local Mode
Operation
In local mode operation, the voltage and current output levels and the OVP trip
level are set with controls located on the front panel. Refer to the operating manual
for a description of the functions available at the front panel.
While in local mode operation, you can change power supply control to remote
mode by ensuring that the GPIB REN line is asserted and then sending any
software command to get into remote mode and the OUT ON command to restore
the output. You can return to local mode by sending the GPIB GTL command or
negate the REN line.
Example:
ibfind "devname"
Address the unit (devname or device name as
configured originally with ibconf).
Set unit to local mode.
ibloc
ibwrt"id?"
Any message to the unit now puts it back to
remote mode.
Toggle back to local mode.
ibloc
IEEE-488 Controller Connection
Use an approved IEEE-488 connector and cable when connecting the power
supply’s GPIB interface to your IEEE-488 GPIB network. The IEEE-488
connector uses mating connector J8 on the rear panel of the power supply.
Internal PCB Jumper Selections
CAUTION
!
If you remove the unit's cover, use proper static control techniques to avoid damage
to static-sensitive components on the printed circuit board.
You can select how you use OVP (over voltage protection) control and TTL
shutdown by changing jumper positions on the GPIB PCB. Refer to the operating
manual for information on how to use over voltage protection and TTL shutdown.
OVP
Selection
Over voltage protection (OVP) on the GPIB interface is set at the factory for
remote software operation. When operating the power supply in remote mode, you
control the OVP trip level using the OVSET software command. If you return the
power supply to local operation by using the GPIB software commands or the by
Release 1.2
23
Installation and Configuration
Internal PCB Jumper Selections
the front panel LOCAL switch, control of the OVP trip level changes from
software control to the front panel OVP potentiometer. The default OVP trip level
is set as 110% of the power supply's rated output voltage. See Table 2.5, on page
22 for a complete list of remote power ON default settings.
OVP Control jumper J2 and the Remote OVP Control jumper J20. The default
supply. By physically changing the jumper settings, you can isolate the location of
OVP control to software control only or front panel control only. Table 2.6, “OVP
Control Mode Selection” shows a table of jumper settings and OVP programming
selection. Refer to “Basic Setup Procedure” on page 19 for the positions of the
jumpers on the GPIB PCB.
Table 2.6 OVP Control Mode Selection
PCB Jumper J2 PCB Jumper
Position J20 Position
OVP Programming Selection
Closed (default) Closed (default) Software or Front Panel OVP control
(dependent on the power supply operating state)
Closed
Open
Open
Open
Closed
Open
Software OVP control only
Front Panel OVP control only
Front Panel OVP control only
TTL
Shutdown
You can use the Shutdown function to disable or enable the supply's output.
Disabling the supply using TTL shutdown allows you to make adjustments to the
load or to the power supply without shutting down the power supply. With the
J21 connector on the interface subplate. The shutdown user line uses a 0-5Vdc TTL
input with a high signal range of 2.2-5.0Vdc. The current range of the shutdown
Diagram” on page 27 for a schematic of the J21 connector containing the shutdown
user line.
You can select the logic level of the TTL input by changing the J3 connector on the
GPIB PCB. Table 2.7 shows the TTL signal levels for the J3 jumper settings. See
Figure 2.2-3 for the location of the J3 jumper on the printed circuit board.
24
Operating Manual for GPIB for XPD Series Power Supply
Installation and Configuration
User Signals
Table 2.7 Switch Settings for TTL Shutdown Circuit Logic
PCB Jumper J3 Position
TTL Signal Level Supply Output Condition
Pin 2 to Pin 3 (default)
HIGH
LOW
OFF
ON
Pin 1 to Pin 2
HIGH
LOW
ON
OFF
User Signals
Connector
J21 User
Signals
Auxiliary connector J21, located on the GPIB interface rear panel, provides several
signals to increase your operating control of the supply. These signals are
requires that you provide external Vcc and ground. Use a standard 8-position
telephone jack and data cable to connect to J21. To locate the connector, refer to
the GPIB interface subplate drawing in Figure 2.2, on page 21. See Figure 2.4,
“User Signals J21 Connector” on page 26 for pin descriptions. The J21 outputs can
sink a current of 5mA each. Figure 2.5, “J21 User Signal Connector Circuit Block
Diagram” on page 27 shows the portion of the option board schematic which
contains the J21 connector. Use the schematic as a reference when making input or
output connections.
Release 1.2
25
Installation and Configuration
User Signals
J21-1 External TTL shutdown input signal
(See “TTL Shutdown”)
J21-2 Polarity signal, open collector
(asserted by VSET -x)
J21-3 Isolation signal, open collector
(asserted by OUT OFF)
J21-4 Fault signal, open collector
J21
(asserted when bit set in fault register)
J21-5 External Vcc, 15V maximum
(supplied by connecting and operating an external source)
J21-6 External ground and shutdown return
(supplied by connecting and operating an external source)
J21-7 Open collector user signal
(asserted by AUXA ON)
J21-8 Open collector user signal
(asserted by AUXB ON)
Figure 2.4 User Signals J21 Connector
26
Operating Manual for GPIB for XPD Series Power Supply
Installation and Configuration
User Signals
Figure 2.5 J21 User Signal Connector Circuit Block Diagram
J21 Cable
Connection
Use a standard 8-position telephone jack and data cable to connect to J21. Add a
ferrite block to reduce radiated emission. The one inch square ferrite block with
built-in housing clip is packaged and shipped with the power supply interface card.
To install the ferrite block:
J21 user cable.
2. Open the ferrite block housing.
3. Loop the cable through the ferrite block. See Figure 2.6, “J21 User Cable with
Ferrite Block” on page 28.
4. Close the housing clip.
The ferrite block ensures that the power supply system meets radiated emission
requirement 89/336/EEC for CE mark approval. See the power supply's operating
manual for noise specifications.
Release 1.2
27
Section 3. Operation
Introduction
This section covers GPIB interface programming, starting with IEEE-488 functions,
continuing with an extensive set of device-dependent commands, and, finally,
providing error codes, and status and fault register information.
GPIB Operation
A GPIB interface controller card enables you to control an IEEE-488 bus system via
computer, identifying which of its interconnected devices are to send and receive
data. Interconnected devices could include programmable AC or DC power supplies,
oscilloscopes, signal generators, digital voltmeters, universal counters, readouts,
relays, and printers.
Use the GPIB interface to relay GPIB instructions from a computer controller to a
power supply located at a selected IEEE-488 address and then to return responses
from the power supply to the computer. You will also use the computer controller to
issue device-dependent commands such as output voltage level and status queries.
Note: This text employs National Instruments' IBIC (Interface Bus Interactive
Control) program commands developed for their GPIB interface for computer
controllers as examples only.
Release 1.2
29
Operation
GPIB Operation
Table 3.1 IEEE-488.1 Interface Functions Implemented
Mnemonic Capability
Description
SH1
AH1
Source Handshake
Device must properly transfer a multiline message.
Multiline
Control
Acceptor Handshake
Device must properly receive remote multiline
messages.
Functions
T6
Talker
Device must be able to transmit.
L4
Listener
Device must receive commands and data.
DC1
Device Clear
Device can be initialized to a previously determined
state.
Interface
Functions
DT1
Device Trigger
A device function can be initiated by a talker on the
bus.
E1
Open Collector Drivers Describes the type of electrical drivers in a device.
PP1
Parallel Poll
Upon controller request, device must uniquely
identify itself if it requires service.
RL1
SR1
SP1
Remote/Local
Service Request
Serial Poll
Device must be able to operate from front panel and
via remote information from bus.
Device can asynchronously request service from
controller.
All talkers on the bus assume a serial poll mode.
Each device when addressed will provide an 8-bit
word of status information.
Multiline The GPIB interface and the computer controller implement the Acceptor Handshake,
Source Handshake, Listener, and Talker functions. No user action is required. The
unit's ADR (Addressed) LED turns on when the power supply is addressed to listen
or talk.
Control
Functions
Device Clear The power supply will implement Device Clear regardless of whether it is in local or
remote control. Device Clear is typically used to send all or selected devices to a
known state with a single command. The power supply will be set to Initial (Power
On) Conditions after Device Clear.
Example:
ibfind "devname"
Address the unit (devname or device name as
configured originally with ibconf)
ibclr
Low level command directed to entire bus, or
ibwrt"clr"
Device-dependent command directed to a
specific device.
30
Operating Manual for GPIB for XPD Series Power Supply
Operation
GPIB Operation
Device Device Trigger will implement the most recently programmed values whether the
unit is in local or remote control. If the power supply is in local mode, the new values
will be implemented when it is switched from local to remote control. Device
Trigger is typically used to synchronize the operation of a number of addressed
devices.
Trigger
Example: Use HOLD Command to set values to be executed when triggered. See
“Command Reference” on page 39.
Then use:.
ibfind "devname"
Address the unit (devname or device name as
configured originally with ibconf)
ibtrg
Command directed to entire bus, or
ibwrt"trg"
Command directed to a specific device.
Parallel Poll Parallel Poll allows the computer controller to determine quickly which of a number
of instruments on the bus requested service. The parallel poll response corresponds
to bit 7 of the serial poll status byte. Parallel Poll does not reset the service request.
The power supply must be configured remotely to respond to a parallel poll with
either a "1" or "0" on one of the DIO lines if the unit is requesting service.
Example:
ibrpp
Conduct a parallel poll.
Service Service request is a uniline message asserted by the power supply at power on and
and Fault Registers” on page 46 for more information. Power ON (PON) can also be
flagged in the fault register if the supply's rear panel power on service request
(PON SRQ) switch is set to ON. See “Power On Service Request (PON SRQ)” on
page 21.
Request
Enabling or disabling a condition from asserting service request does not affect the
condition within the power supply, nor the external status indicators.
Release 1.2
31
Operation
GPIB Operation
Serial Poll In a serial poll, the controller polls each device.
Example:
ibrsp
Return serial poll byte.
The power supply responds with a 8-bit status byte defined as follows:
Table 3.2 Serial Poll Status Register
Bit
Decimal
Position Weight
0 (LSB)
1
Fault - Set when any bit in the fault
register is set by a fault condition in the
supply. See also “Accumulated
Status, Status, and Fault Registers”
on page 46.
FAULT? query to reset
1
2
3
4
2
Not used
Not used
Not used
4
8
16
ready to accept commands.
Power supply, during
command processing
period
5
32
Error (ERR) - Set when ERR bit
asserted in status register. See also
“Accumulated Status, Status, and
Fault Registers” on page 46.
ERR? query
6
64
Request Service (SRQ) - Set when
Serial Poll
power supply requests service.
7 (MSB) 128
Power On (PON) - Set when unit
CLR or Device Clear
initializes at power on.
32
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Syntax
Command Syntax
Manual The manual uses these conventions when displaying command information. These
characters are not part of the command but are used to denote parameters used with
the command.
Conventions
< > (angle brackets)
Angle brackets enclose a parameter. Do not include
the angle brackets in the command line you send to
the computer.
/ (slash)
Separates two alternative parameters. When a slash
separates two parameters, you can use either
parameter to achieve the same result.
Example: <1/ON>
Entering 1 or ON will achieve the same result.
COMPUTER ENTRY
Words typed on the computer are shown in Arial
text, full capitals.
parameters. A command is a one word code which either gives instructions to the
interface or asks for information from the interface. A command may be followed by
one or more parameters, a short code that changes the state of the power supply or
the state of the bit register. Table 3.3, “Command Parameters” lists the parameters
that affect the command set.
Format and
Parameters
Format:
COMMAND or
COMMAND <parameter> or
COMMAND <parameter>,<parameter>
•
•
You can enter commands in upper or lower case lettering.
Example: MASK FOLD = mask fold
Do not further abbreviate command names or parameters.
Example:
MASK FOLD ≠ MK FOLD
MASK FOLD ≠ MASK FD
•
Use a space between the command and the first parameter. Any number of
consecutive spaces is treated as one space. Numeric data may contain leading
spaces. Embedded spaces between digits or between a digit and a decimal point
are not accepted.
Example:
MASK FOLD = MASK
VOUT 3.4 = VOUT
FOLD
3.4
4
VOUT 3.4 ≠ VOUT 3.
Release 1.2
33
Operation
Command Syntax
•
Use commas between parameters in those commands with more than one
parameter, and between mnemonic parameters as in the MASK and UNMASK
commands. Only one comma is allowed and it may be preceded or followed by
any number of spaces.
Example:
MASK CV, OV, FOLD
Table 3.3 Command Parameters
Parameter
Description
Form
<current>, <Ihi>, <Ilo>
The current in amps or milliamps. If no unit is <float>
given, the default unit is amps.
<float>A
<float>mA
<time>
The time in seconds or milliseconds. If no unit <float>
is given, the default unit is seconds.
<float>s
<float>ms
<voltage>, <Vlo>, <Vhi> The voltage in volts or millivolts. If no unit is
given, the default unit is volts.
<float>
<float>V
<float>mV
<mnemonics>
A combination of CV, CC, CV, OV, OT, SD,
FOLD, ERR, PON, REM, ACF, OPF, and
SNSP. See MASK and UNMASK commands
in the command reference for use of the ALL
and NONE parameters.
See registers
on page 46.
<state>
<1/ON,
0/OFF>
Floating Point Number <float> Variables sent with command parameters are
floating point numbers. Table 3.4 defines the structure of floating point numbers for
use with the software commands.
Table 3.4 Floating Point Numbers
Floating Number Definition
Example
The floating point number has four significant fig-
ures. It can be of either sign, positive or negative.
1.234
-1.234
+1.234
A floating point number can have one decimal point. 0.123
1.2
123.4
Scientific Notation
123.0E-1
Use E or e after the number for a base ten exponent. 1.2E-1
An integer of either sign must follow an exponent.
10.00E+1
34
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Syntax
Command If you send more than one command line, separate the commands with a semicolon.
The semicolon may be preceded or followed by spaces.
Strings
Example:
ISET 2.0A; VSET 5V
ISET 2.0A; VSET 5V
Command Terminators indicate the end of a command string and tell the power supply to
execute the command. The termination character is LF (Line Feed).
Terminators
Format:
COMMAND <parameter>; COMMAND <parameter>, <parameter><LF>
Most computer controllers automatically send LF with output statements.
Order You may send commands in any order, keeping in mind that only those commands
received after a HOLD and before a TRG (trigger) will be released by the TRG
command. In addition, only these commands received after a supply disable and
before a RST (reset) or OUT ON command will be released by the RST command
or the OUT command. Commands are executed in the order they are received.
Release 1.2
35
Operation
Command Summary
Command Summary
Use these commands to control the operation of the supply. They are listed here
in order of function such as PROGRAMMING, QUERY, CALIBRATION, and
STATUS commands. See “Command Reference” on page 39 for more detailed
information about each command and its use.
Table 3.5 Programming Commands
Command Description
AUXA
AUXB
CLR
Selects the state of the AUXA output signal on the J21-7 connector.
Selects the state of the AUXB output signal on the J21-8 connector.
Initializes the power supply to its Power ON (PON) state.
DLY
Sets a programmable time delay which is executed by the supply
before reporting fault conditions after a new output voltage or current is
specified.
FOLD
HOLD
IMAX
Sets foldback mode for the supply.
Enables or disables voltage/current setting hold mode for the supply.
Sets an upper soft limit on the programmed output current for the
supply.
ISET
Sets the output current of the supply in amps (default) or in milliamps.
Enables or disables voltage/current output for the supply.
OUT
OVSET
Sets the over voltage protection trip point for the supply in volts
(default) or in millivolts.
RST
SRQ
TRG
Resets the supply to the present voltage and current settings if the
output is disabled by OVP or foldback protection.
Enables or disables the power supply's ability to generate a service
request.
Implements programmed voltage and current settings which had been
in hold mode.
VMAX
VSET
Sets an upper soft limit on the supply’s programmed output voltage.
Sets the output voltage of the power supply in volts (default) or in
millivolts.
36
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Summary
Table 3.6 Query Commands
Command Description
AUXA?
AUXB?
CMODE?
DLY?
Asks for the state of the set value for the AUXA command
Asks for the state of the set value for the AUXB command
Asks for the power supply’s calibration mode status.
Asks for the programmable time delay setting before the supply
reports fault conditions.
ERR?
Asks for the most recent remote programming error which occurred in
the supply since the last time the error query command (ERR?) was
used.
FOLD?
HOLD?
ID?
Asks for the supply’s present foldback setting.
Asks for the present hold mode setting.
Asks for the power supply’s model name and master EPROM version.
Asks for the supply’s soft current limit setting.
IMAX?
IOUT?
ISET?
OUT?
OVSET?
ROM?
Measures the supply’s actual current output.
Asks for the supply’s present output current limit setting.
Asks for the present enabled/disabled status of the supply’s output.
Asks for the supply’s present over voltage protection limit.
Asks for the version number of the master and slave EPROMs on the
interface PCB.
SRQ?
Asks for the present enabled/disabled status of the IEEE-488 Service
Requests generated by the supply.
VMAX?
VOUT?
VSET?
Asks for the supply’s soft voltage limit setting.
Measures the supply’s actual voltage output.
Asks for the supply’s present output voltage setting.
Release 1.2
37
Operation
Command Summary
Table 3.7 Calibration Commands
Command Description
CMODE
IDATA
IHI
Places the supply into calibration mode.
Calculates the slope and intercept for current programming.
Sets the current output to the high calibration point.
Sets the current output to the low calibration point.
Calculates the slope and intercept for current readback.
Sets the current output to the high readback point.
Sets the current output to the low readback point.
Calibrates the over voltage protection (OVP).
ILO
IRDAT
IRHI
IRLO
OVCAL
VDATA
VHI
Calculates the slope and intercept for voltage programming.
Sets the voltage output to the high calibration point.
Sets the voltage output to the low calibration point.
Calculates the slope and intercept for voltage readback.
Sets the voltage output to the high readback point.
Sets the voltage output to the low readback point.
VLO
VRDAT
VRHI
VRLO
Table 3.8 Status Commands
Command Description
ASTS?
Asks for the supply’s accumulated status register.
FAULT?
Asks for the supply’s fault register for the status preset operating
conditions.
MASK
Prevents the supply's previously unmasked operating conditions from
setting bits in the fault register.
STS?
Asks for the supply’s present status register.
UNMASK
Enables you to select those supply's operating conditions that you are
most interested in monitoring for fault occurrence.
UNMASK? Asks for the supply's fault conditions which are currently enabled
(unmasked).
38
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Reference
Command Reference
Table 3.9 Command Reference
Command
Description
ASTS?
Asks for the supply’s accumulated status register. The accumulated status
register stores any bit that was entered in the status register since the
accumulated status query command (ASTS?) was last used, regardless of
whether the condition still exists. The accumulated status register has the
same bits, weights, and conditions as the status register. A bit in the
accumulated status register will be set at 1 if the corresponding bit in the
status register has been 1 (TRUE) at any time since the register was last
read. See “Accumulated Status, Status, and Fault Registers” on page 46.
The ASTS? query clears the status register.
Response: ASTS <status mask> where status mask is the decimal
equivalent of the total bit weights for the operating conditions as listed in the
status register.
AUXA <1/ON>,<0/OFF>
AUXA?
Controls the AUXA output signal level at rear panel connector J21-7. Active
low.
Initial value: AUXA 0
Asks for the present set value of the AUXA output signal.
Response: AUXA 0 (OFF)
AUXA 1 (ON)
AUXB <1/ON>,<0/OFF>
AUXB?
Controls the AUXB output signal level at rear panel connector J21-8. Active
low.
Initial value: AUXB 0
Asks for the present set value of the AUXB output signal.
Response: AUXB 0 (OFF)
AUXB 1 (ON)
CLR
Initializes the power supply to its power ON condition. If issued while in local
mode, CLR will force power supply settings to register default values as in
but these default settings will not come into effect until the power supply is
switched to remote mode operation. The CLR commands will clear faults
from the fault register. CLR will not reset CMODE.
CMODE <1/ON>,<0/OFF> CMODE ON places the power supply into calibration mode for processing
calibration commands.
Initial value: CMODE OFF or CMODE 0
CMODE?
Asks for the power supply’s calibration mode status.
Response: CMODE 0 (disabled)
CMODE 1 (enabled)
Release 1.2
39
Operation
Command Reference
Command
Description
DLY <seconds>
Sets a programmable time delay employed by the supply before reporting
fault conditions. The power supply uses the time delay after receiving a new
output voltage or current setting via VSET or ISET, or after receiving RST,
TRG, or OUT ON commands. During the time delay, the power supply
disables CV, CC, and FOLD conditions from generating faults, preventing
possible nuisance foldback if the supply momentarily switches modes while
changing an output setting.
Range: 0 to 32 seconds, with 32ms resolution
Initial value: 0.5 second
DLY?
ERR?
Asks for the setting of the programmable time delay before the supply
reports fault conditions.
Response: DLY <seconds>
Asks for the most recent remote programming error. When the power
supply detects a programming error, it lights the ERR LED and sets the
ERR bit in the accumulated status and fault registers. If the error bit has
been masked using the MASK command, then the ERR bit in the registers
will not set. Once an error is detected, the remaining portion of the
command line is discarded. An error query clears the ERR bit in the
accumulated status register. See “Error Codes” on page 47.
Response: ERR <error number> Example: ERR 0 (if no error)
FAULT?
Asks for the state of the fault register. A bit is set in the fault register when a
fault arises for that condition. Lists the conditions which activate a fault bit.
You can use the MASK command to disable bits from being set in the fault
register.
When a bit is set in the fault register it also asserts a signal on the J21-4
user signal line. You can tie the J21-4 fault line signal to the power supply's
own External Shutdown user line, J21-1, so that the shutdown signal goes
low (active) in the case of a user-defined fault.
The FAULT? query clears bits in the supply's fault register and fault line.
Response: FAULT <fault mask> where fault mask is the decimal equivalent
of the total bit weights for the operating conditions as listed in the fault
register. See “Accumulated Status, Status, and Fault Registers” on page
46.
FOLD
<2/CC>, <1/CV>,
<0/OFF>
Sets foldback mode for the supply. Foldback protection disables the power
supply output when the output enters the fold condition. Reset with the RST
command.
Example: Specify FOLD 1 or FOLD CV (Constant Voltage) when you want
the supply to operate in Constant Current mode and have foldback
protection disable the output if the supply switches to Constant Voltage
mode.
Initial value: FOLD 0/OFF
40
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Reference
Command
Description
FOLD?
Asks for the supply’s present foldback setting.
Response: FOLD <mode> where mode is:
0 (OFF) or
1 (CV or Constant Voltage mode) or
2 (CC or Constant Current mode)
HOLD <1/ON>,<0/OFF>
Enables or disables voltage/current setting hold mode for the supply. When
HOLD ON is specified, hold mode is enabled so that all voltage and current
settings which would normally be implemented by the supply are held until a
TRG (trigger) command is received. This feature allows you to synchronize
the operation of several supplies.
Initial value: HOLD OFF or HOLD 0
HOLD?
Asks for the present hold mode setting.
Response: HOLD 0 (OFF or disabled) or
HOLD 1 (ON or enabled)
ID?
Asks for the power supply model and the master EPROM version.
Response: ID <model name><version>
IDATA <Ilo>,<Ihi>
Calculates and records the slope and offset for programmed current using
ILO and IHI data. Set CMODE ON before using this command. See also the
calibration procedures in Section 4.
<Ilo> and <Ihi> are in <current> format.
IHI
In response to this command, the power supply sends a programmed
current value to the output terminal. This value is at the high end of the
power supply’s current range and is read by an external device connected
as part of the calibration procedure. Refer to this value as IHI and record it
to use as input with the IDATA command. Set CMODE ON before using this
command. See also the calibration procedures in Section 4.
ILO
In response to this command, the power supply sends a programmed
current value to the output terminal. This value is at the low end of the
power supply’s current range and is read by an external device connected
as part of the calibration procedure. Refer to this value as ILO and record it
to use as input with the IDATA command. Set CMODE ON before using this
command. See also the calibration procedures in Section 4.
IMAX <current>
Sets an upper soft limit on the supply’s programmed output current. If the
soft limit is exceeded, or if the soft limit value is lower than the present
output current setting, the supply will ignore the command, turn on the
ERR LED, and set the ERR bit in the bit registers.
Range: 0 to model maximum output current (IMAX)
Initial value: model IMAX
IMAX?
IOUT?
Asks for the supply’s soft current limit setting.
Response: IMAX <current>
Measures the supply’s actual current output using the built-in current
readback circuitry.
Response: IOUT <current>
Release 1.2
41
Operation
Command Reference
Command
Description
IRDAT <Ilo>,<Ihi>
Calculates and records the slope and offset for readback voltage using
IRLO and IRHI data. Set CMODE ON before using this command. See also
the calibration procedures in Section 4.
<Ilo> and <Ihi> are in <current> format.
IRHI
The power supply outputs a current value to an external device connected
as part of the calibration procedure and records a current readback value
internally. These values are at the high end of the programmed current
range. Refer to the output value as IRHI and record it to use as input with
the IRDAT command. Set CMODE ON before using this command. See
also the calibration procedures in Section 4.
IRLO
The power supply outputs a current value to an external device connected
as part of the calibration procedure and records a current readback value
internally. These values are at the low end of the programmed current
range. Refer to the output value as IRLO and record it to use as input with
the IRDAT command. Set CMODE ON before using this command. See
also the calibration procedures in Section 4.
ISET <current>
Sets the power supply’s output current in amps (default) or in milliamps.
This programmed current is the actual output in CC mode or the current
limit in CV mode.
Range: 0 to model maximum output current (IMAX)
Initial value: 0 amps
ISET?
Asks for the supply’s present output current setting. Does not apply to
Response: ISET <current>
MASK <mnemonics>
Disables the supply's previously unmasked operating conditions from
setting bits in the fault and status registers. See “Accumulated Status,
Status, and Fault Registers” on page 46. Mnemonics are separated from
each other by commas and may be sent in any order.
Mnemonics: CV, CC, OV, OT, SD, FOLD, ERR, PON, REM, ACF, OPF,
SNSP
Note: UNMASK NONE = MASK ALL (Initial value)
MASK NONE = UNMASK ALL
OUT <1/ON>,<0/OFF>
Enables or disables the supply’s voltage/current output. The supply will
continue to accept new commands while the output is disabled but these
will not be implemented until OUT ON or OUT 1 is received. OUT ON is the
default setting. When you start the supply in remote mode, the output is
enabled.
OUT OFF (or OUT 0) also sets the isolation signal on the rear panel J21
connector, line 3. You can use the to trip external relays to isolate the power
supply from the load.
Initial value: OUT ON (or OUT 1) for output enabled
OUT?
Asks for the present enabled/disabled status of the supply’s output
voltage/current.
Response: OUT 1 output enabled or
OUT 0 output disabled
42
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Reference
Command
Description
OVCAL
Causes the master controller to perform automatic calibration of the
supply’s over voltage protection circuitry. Set CMODE ON before using this
command. Ensure jumper J2 on the GPIB Interface PCB is connected for
remote operation.
OVSET <voltage>
Sets the supply’s over voltage protection trip point in volts (default) or in
millivolts. If the trip point is exceeded, or if the trip point value is lower than
the present output voltage setting, the supply will ignore the command, turn
on the ERR LED, and set the ERR bit in the accumulated status register.
Reset with the RST command.
Range: 0 to 110% of model maximum output voltage (VMAX)
Initial value: 110% of model VMAX
OVSET?
ROM?
Asks for the supply’s present over voltage protection limit.
Response: OVSET <voltage>
Asks for the version number of the master and slave EPROMs located on
the interface PCB.
Response: ROM M:<version> S:<version>
RST
Resets the supply to present voltage and current settings if the output is
disabled by over voltage or foldback protection. Output values may be
changed via VSET, ISET, and OVSET while the unit is disabled, but those
values will not take effect until RST is applied.
SRQ <1/ON>,<0/OFF>
SRQ ON enables the supply to respond to a variety of fault conditions with a
request for service to the IEEE-488 bus controller. With SRQ ON, the SRQ
line will be asserted true whenever the FAU bit in the supply's serial poll
specifying which conditions set the FAU bit, also determines which
Use the FAULT? query to discover which condition caused the service
request. See “Accumulated Status, Status, and Fault Registers” on page
46. A request for service at Power ON (PON SRQ) is set via a rear panel
switch on the supply. See “Power On Service Request (PON SRQ)” on
page 21. SRQ remains disabled until the FAULT bit in the serial poll register
is cleared by a FAULT? query.
SRQ?
STS?
Asks for the supply's present ability to generate service requests.
Response: SRQ 0 (disabled)
SRQ 1 (enabled)
Asks for the supply’s present status register. Status conditions are stored in
the status register. Each bit represents a separate condition. When the
condition is true, the corresponding bit is 1 (true). Bits remain set in the
status register as long as the condition is true. See “Accumulated Status,
Status, and Fault Registers” on page 46.
Response: STS <status mask> where status mask is the decimal equivalent
of the total bit weights for the operating conditions as listed in the status
register.
Release 1.2
43
Operation
Command Reference
Command
Description
TRG
Implements programmed voltage and current settings which had been in
hold mode. The supply operates with previous values until the TRG (trigger)
command is sent.
UNMASK <mnemonics>
Enables you to select the supply operating conditions that you are most
interested in monitoring for fault occurrence. Mnemonics describing the
conditions are separated from each other by commas, and may be sent in
any order.
decimal equivalent of their total bit weight) enables the selected conditions
to set bits in the supply’s fault and status registers during operation. A bit is
set in the fault register when the corresponding bit in the status register
changes from 0 to 1 and the corresponding bit in the mask register is 1. See
“Accumulated Status, Status, and Fault Registers” on page 46.
Mnemonics: CV, CC, OV, OT, SD, FOLD, ERR, PON, REM, ACF, OPF,
SNSP, ALL, NONE
Initial value: UNMASK NONE
UNMASK?
(unmasked).
Response: UNMASK <fault mask> where fault mask is the decimal
equivalent of the total bit weights for the operating conditions as listed in the
Registers” on page 46.
VDATA <Vlo>,<Vhi>
VHI
Calculates and records the slope and offset for programmed voltage using
VLO and VHI data. Set CMODE ON before using this command. See also
the calibration procedures in Section 4.
<Vlo> and <Vhi> are in <voltage> format.
In response to this command, the power supply sends a programmed
voltage value to the output terminal. This value is at the high end of the
power supply’s voltage range and is read by an external device connected
as part of the calibration procedure. Refer to this value as VHI and record it
to use as input with the VDATA command. Set CMODE ON before using
this command. See also the calibration procedures in Section 4.
VLO
In response to this command, the power supply sends a programmed
power supply’s voltage range and is read by an external voltmeter
connected as part of the calibration procedure. Refer to this value as VLO
and record it to use as input with the VDATA command. Set CMODE ON
before using this command. See also the calibration procedures in
Section 4.
44
Operating Manual for GPIB for XPD Series Power Supply
Operation
Command Reference
Command
Description
VMAX <voltage>
Sets an upper soft limit on the supply’s programmed output voltage. If the
soft limit is exceeded, or if the soft limit value is lower than the present
output voltage setting, the supply will ignore the command, turn on the
ERR LED, and set the ERR bit in the accumulated status register.
Range: 0 to model maximum output voltage (VMAX)
Initial value: model VMAX
VMAX?
VOUT?
Asks for the supply’s soft voltage limit setting.
Response: VMAX <voltage>
Measures the supply’s actual voltage output using the built-in voltage
readback circuitry.
Response: VOUT <voltage>
VRDAT <Vlo>,<Vhi>
VRHI
Calculates and records the slope and offset for readback voltage using
VRLO and VRHI data. Set CMODE ON before using this command. See
also the calibration procedures in Section 4 .
<Vlo> and <Vhi> are in <voltage> format.
The power supply outputs a voltage value to an external voltmeter
connected as part of the calibration procedure and records a voltage
readback value internally. These values are at the high end of the
programmed voltage range. Refer to the output value as VRHI and record it
to use as input with the VRDAT command. Set CMODE ON before using
this command. See also the calibration procedures in Section 4.
VRLO
The power supply outputs a voltage value to an external voltmeter
connected as part of the calibration procedure and records a voltage
readback value internally. These values are at the low end of the
programmed voltage range. Refer to the output value as VRLO and record
it to use as input with the VRDAT command. Set CMODE ON before using
this command. See also the calibration procedures in Section 4.
VSET <voltage>
or
VSET <-voltage>
Sets the power supply’s output voltage in volts (default) or in millivolts. This
programmed voltage is the actual output in CV (constant voltage) mode or
the voltage limit in CC (constant current) mode.
If you enter a negative voltage value, the power supply will assert a signal
on the J21-4 user signal line. You can use the user signal to trip external
relays to switch the output polarity.
Range: 0 to model maximum output voltage (VMAX)
Initial value: 0 volts
VSET?
Asks for the power supply’s present output voltage setting. Does not apply
to voltage settings which are being held. See HOLD command.
Response: VSET <voltage>
Release 1.2
45
Operation
Accumulated Status, Status, and Fault Registers
Accumulated Status, Status, and Fault Registers
The GPIB option card uses three separate registers which are always active. They
are the accumulated status, status, and fault registers. You can use the status
commands shown in Table 3.8, “Status Commands” to activate the registers. The
bit register has twelve conditions, each assigned a bit weight. When querying a
register, the controller returns a response which is the sum of the weights of all
relevant conditions.
Example:
ASTS?
Query the Accumulated Status register.
Controller response.
ASTS <771>
771 = 512 + 256 + 2 + 1 = PON + REM + CC + CV
Table 3.10 Accumulated Status, Status, and Fault Registers
Condition
Mnemonic Bit Position Bit Weight
Constant voltage operation
Constant current operation
Not used
CV
0
1
2
3
4
5
6
7
8
1
CC
2
–
4
Overvoltage protection tripped
Over temperature protection tripped
Supply external shutdown active (J21-1)
Foldback mode operation
Remote programming error
OV
8
OT
16
32
64
128
256
SD
FOLD
ERR
PON
Power ON (accumulated status, status
registers only)
Remote mode (accumulated status, status REM
registers only)
9
512
AC fail condition
ACF
10
11
12
1024
2048
4096
Output fail condition
Sense protection tripped
OPF
SNSP
Notes:
1. All mnemonics can be masked or unmasked.
2. The error (ERR) bit is reset in the accumulated status, status, and serial poll registers with an
error query (ERR?).
3. The accumulated status register is cleared with an accumulated status query (ASTS?).
4. A fault is cleared with a fault query (FAULT?).
46
Operating Manual for GPIB for XPD Series Power Supply
Operation
Error Codes
Error Codes
If the ERR flag in the accumulated status or fault registers has been activated, an
ERR? query will return an error number which corresponds to an event described
in the following table. The ERR? query will also clear the ERR bit in the register.
Table 3.11 Error Codes
ERROR # ERROR IDENTIFICATION
EXPLANATION
0
4
No Errors
Unrecognized Character
Improper Number
Received a character such as @,*,$.
Received a numeric character but the
characters were not a proper number.
Example: VSET,±10.3
Unrecognized String
Syntax Error
Received an invalid command.
Received an incorrectly placed word,
number, separator, or terminator.
Example: OFF SRQ, VOUT 6, MASK,
ERR
5
6
Number Out of Range
Specified a value for the command
which was outside of the allowed range.
Attempt to Exceed Soft Limits Attempted to program a voltage or
current greater than the soft limit.
Example: VMAX 500; VSET 550 LF
7
8
Improper Soft Limit
Attempted to program a soft limit less
than the output value.
Data Requested without a
Query Being Sent
The controller requested data from the
power supply without first sending a
query command.
9
OVP Set Below Output
Sent an OVSET command with a trip
value lower than the output voltage.
10
12
Slave Processor Not
Responding
The interface PCB slave processor did
not respond.
Illegal Calibration
Attempted calibration when the supply
was not in calibration mode. See
CMODE command.
Release 1.2
47
Operation
Troubleshooting
Troubleshooting
WARNING
Exercise caution when using and servicing power supplies. High energy levels can
be stored at the output voltage terminals on all power supplies in normal operation.
In addition, potentially lethal voltages exist in the power circuit and the output
connector of power supplies which are rated at 40V and over. Filter capacitors store
potentially dangerous energy for some time after power is removed.
Diagnostic
LEDs
Computer Operating Properly (COP) LEDs The GPIB interface provides
three diagnostic LEDs, located at D5, D4, and D1 on its PCB. Refer to Figure 2.3,
‘GPIB Interface PCB” on page 18, for their locations. At present, these LEDs turn
on to signal COP events for the interface's microprocessors. Issue a RST (reset)
command to turn off the diagnostic LEDs.
The green COP LED at circuit designation D5 indicates that the GPIB interface
microprocessor successfully recovered from an illegal operating code. The event is
transparent to the GPIB communications bus and the GPIB interface continues to
function normally.
The red COP LED at D4 indicates that a transparent restart caused by noise in the
master processor circuitry has occurred.
The red COP LED at D1 indicates that a transparent restart caused by noise in the
slave processor circuitry has occurred.
48
Operating Manual for GPIB for XPD Series Power Supply
Section 4. Calibration
Introduction
WARNING
Exercise caution when using and servicing power supplies. High energy levels can
be stored at the output voltage terminals on all power supplies in normal operation. In
addition, potentially lethal voltages exist in the power circuit and the output connector
of power supplies which are rated at 40V and over. Filter capacitors store potentially
dangerous energy for some time after power is removed.
You can calibrate the GPIB interface by adjusting the signal levels on the interface
card so that they correspond to the expected signal levels on the power supply's main
assembly. You may need to recalibrate the interface if you replace parts either on the
interface board or on the main power supply board, or if the unit falls out of
specification due to component aging drifts.
You can calibrate the GPIB Interface for:
•
•
•
•
•
Voltage program
Voltage readback
Current program
Current readback
Overvoltage protection
The following equipment will be required to accurately calibrate your unit:
•
•
Digital Voltmeter, 5 1/2 digit, 0.1% accuracy or better, with test leads
Current sensing shunt resistor, rated for 150% of maximum output current,
0.25% accuracy or better
•
•
A GPIB equipped computer to send the calibration commands to the unit
Calibrate the unit according to the following procedures, referring to “Command
Reference” for more information about the calibration commands used.
The calibration procedures in this section are designed to be performed at an ambient
temperature of 25°C ± 5°C.
Release 1.2
49
Calibration
Voltage Mode Calibration
Voltage Mode Calibration
Voltage 1. Disconnect the load from the power supply which is to be calibrated.
Calibration
2. Connect a voltmeter across the power supply’s output terminals.
Setup
Power Supply
Power Supply
Positive Output
Negative Output
V
-
+
VOLTMETER
Figure 4.1 Voltage Calibration Setup
Voltage 1. Set the power supply for calibration as in Figure 4.1.
Program
Calibration
Procedure
2. Activate calibration mode by sending command CMODE ON or CMODE 1 to
the power supply.
3. Send command VLO; ILO to the power supply. Measure and record the output
shown on the external voltmeter.
4. Send command VHI; IHI to the supply. Measure and record the output voltage
as shown on the external voltmeter.
5. Send the command VDATA <vlo>,<vhi> where <vlo> and <vhi> are the values
read from the voltmeter when the VLO and VHI commands were sent. When the
are stored as constants.
6. Program the supply at various levels using the VSET command to confirm that
the calibration was successful and that linearity is observed. See the voltage
program accuracy specification in Section 1.
7. Turn off calibration mode by sending the command CMODE OFF or CMODE 0
to the power supply.
Voltage 1. Set the power supply for calibration as in Figure 4.1.
Readback
Calibration
Procedure
2. Activate calibration mode by sending command CMODE ON or CMODE 1 to
the power supply.
50
Operating Manual for GPIB for XPD Series Power Supply
Calibration
Voltage Mode Calibration
3. Send command VRLO; IRLO to the power supply. Wait for the supply to settle.
Measure and record the output shown on the external voltmeter. Send VRLO
again.
4. Send VRHI; IRHI to the supply. Wait for the supply to settle. Measure and
record the output voltage shown on the external voltmeter. Send VRHI again.
5. Send the command VRDAT <vlo>,<vhi> where <vlo> and <vhi> are the values
read from the voltmeter after the VRLO and VRHI commands were sent. The
processor calculates the offset value required to calibrate the power supply.
calibration values (offsets) are stored as constants.
6. Use commands VSET and VOUT? commands to confirm that the calibration
was successful and that linearity is observed. Refer to the voltage readback
accuracy specification in Section 1.
7. Turn off calibration mode by sending the command CMODE OFF or CMODE 0
to the power supply.
Release 1.2
51
Calibration
Current Mode Calibration
Current Mode Calibration
Current 1. Disconnect the load from the power supply to be calibrated.
Calibration
2. Connect a shunt across the supply's output terminals.
Setup
3. Connect a voltmeter across the shunt.
Power Supply
Power Supply
Positive Output
Negative Output
Current Sensing
Resistor
V
-
+
VOLTMETER
Figure 4.2 Current Calibration Setup
Current 1. Connect the shunt and voltmeter to the power supply as shown in Figure 4.2.
Program
Calibration
Procedure
2. Activate calibration mode by sending command CMODE ON or CMODE 1 to
the power supply.
3. Send command ILO; VLO to the power supply. Measure and record the output
shown on the external voltmeter.
4. Send command IHI; VHI to the supply Measure and record the output voltage
shown on the external voltmeter.
5. Calculate ILO and IHI from the voltages read from the external voltmeter and
the shunt resistance. I=V/R.
6. Send the command IDATA <ilo>,<ihi> to the power supply. <ilo> and <ihi> are
the current values obtained from sending the ILO and IHI commands to the
program calibration values are stored as constants.
7. Program the supply at various levels using the ISET command to confirm that
the calibration was successful and that linearity is observed. Refer to the current
program accuracy specification in Section 1.
8. Turn off calibration mode by sending the command CMODE OFF or CMODE 0
to the power supply.
52
Operating Manual for GPIB for XPD Series Power Supply
Calibration
Current Mode Calibration
Current 1. Connect the current shunt and voltmeter to the power supply as shown in
Readback
Calibration
Procedure
Figure 4.2.
2. Activate calibration mode by sending command CMODE ON or CMODE 1 to
the power supply.
3. Send command IRLO; VRLO to the power supply. Wait for the supply to settle.
Measure and record the output voltage shown on the external voltmeter. Send
IRLO again.
4. Send command IRHI; VRHI to the supply. Wait for the supply to settle. Measure
and record the output voltage shown on the external voltmeter. Send IRHI again.
5. Calculate IRLO and IRHI from the voltages taken from the external voltmeter
and the shunt resistance. I=V/R.
6. Send the command IRDAT <ilo>,<ihi> to the power supply. <ilo> and <ihi> are
the current values obtained from sending the IRLO and IRHI commands to the
readback calibration values are stored as constants.
7. Program the supply at various levels using the ISET command to confirm that
the calibration was successful and that linearity is observed. Refer to the current
readback accuracy specification in Section 1.
8. Turn off calibration mode by sending the command CMODE OFF or CMODE 0
to the power supply.
Release 1.2
53
Calibration
Over Voltage Protection (OVP) Calibration
Over Voltage Protection (OVP) Calibration
We recommend that you perform OVP calibration every six months. Connecting a
digital voltmeter as in “Voltage Calibration Setup” is optional.
1. Disconnect all loads from the power supply.
2. Ensure that jumper J2 on the interface PCB is CLOSED to enable remote OVP
calibration (Jumper J2 is closed at the factory). See for the location on the PCB
of jumper J2.
3. Activate calibration mode by sending command CMODE ON or CMODE 1 to
the power supply.
4. Send the command OVCAL to the power supply. The ADR LED will light
during OVP calibration. Calibration is complete when the ADR LED turns off.
This may take a few minutes.
confirming that the calibration was successful. When you trip the OVP level, the
red OVP LED will light and the voltage will drop to zero. Send the command
RST to clear the OVP condition. Refer to the OVP program accuracy
specification in Section 1.
6. Turn off calibration mode by sending the command CMODE OFF or CMODE 0
to the power supply.
54
Operating Manual for GPIB for XPD Series Power Supply
Xantrex Technology Inc.
8999 Nelson Way
Burnaby, British Columbia
Canada V5A 4B5
604 422 8595 Tel
604 421 3056 Fax
800 667 8422 Toll Free North America
PRINTED IN CANADA
TM-GPPD-01XN
|