RS232-XPD
Operating Manual
Internal RS-232 Interface
for XPD Series
Programmable DC
Power Supply
Operating Manual for
Internal RS-232 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 RS-232 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 RS-232 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 RS-232 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 RS-232 for XPD Series Power Supply
About This Manual
This technical manual is for the RS-232 Interface; a microprocessor-controlled
option card for all models of XPD Series DC output power supplies. This manual
provides you with specifications, user options, and configuration instructions for the
interface, along with a command set which allows you to control your power supply
from a computer console. 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 interface and lists its
features and specifications.
Section 2 Installation and Configuration Goes through basic setup
procedures. Describes inspection, cleaning, shipping, and storage procedures.
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 RS-232 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
Basic Setup Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Configuration
Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Baud Rate Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Hardware Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Remote / Local Mode Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Remote Enable (REM) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
RS-232 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
OVP Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Connector J21 User Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Section 3. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Operation
Manual Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Command Format and Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Command Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Command Terminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Command Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Release 1.2
ix
Contents
Section 4. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Calibration
Voltage Program Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Voltage Readback Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Current Mode Calibration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Current Calibration Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Current Program Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Current Readback Calibration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Over Voltage Protection (OVP) Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
x
Operating Manual for RS-232 for XPD Series Power Supply
Section 1. Features and Specifications
Description
The RS-232 Interface is a microprocessor-controlled option card for all models of
the XPD Series of DC output power supply. Installed internally, the RS-232 interface
card gives you remote digital control of simple test systems. It features fast, 16-bit
resolution for programming and readback and uses bit serial protocol for sending
data between the computer and the interface. The RS-232 interface has an extensive
command set and uses most of the user-programmable features employed by all of
our interfaces.
In addition to the RS-232 port and its interface, this remote control application
requires a computer-based communications software package such as PROCOMM,
XTALK, Windows Terminal Program, equivalent communications software, or low
level or high level language programs. The RS-232 interface is an ideal tool for
reliable, remote power supply control of both research and development
applications.
Figure 1.1 Sample Configuration using RS232 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
Standardized commands for complete communication with any of the supplies
in the system
•
•
User-programmable isolated fault, polarity, isolation, and auxiliary, user-defined
output signals.
LED status signals: error, address, remote/local operation, and over voltage
protection.
•
•
Foldback in CV or CC mode with reset
Software calibration
Programmable • Output voltage and current
Functions
•
•
•
•
•
•
Soft limits for voltage and current
Over voltage protection
Output enable/disable
Maskable fault interrupt
Hold and trigger
Output relay signals
Readback • Actual voltage and current
Functions
•
•
•
•
•
•
•
Voltage and current settings
Soft voltage and current limits
Over voltage protection setting
Present and accumulated power supply status
Programming error codes
Fault codes
Power supply model and software version identification
12
Operating Manual for RS-232 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 RS-232 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 RS-232 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
serial extender cable (straight through)
computer with an RS-232 interface (serial port)
computer-based communications software package
service center can also install the interface, especially for use in a
previously-purchased supply already on site. You must then configure the RS-232
Interface-enhanced supply for your system using the “Basic Setup Procedure” on
page 19. Refer also to Figure 2.1, on page 16, Figure 2.2, on page 17 and Figure 2.3,
on page 18 for drawings of the front panel, the interface subplate, and the RS-232
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 RS-232 interface board
installed, and manuals for the power supply and the RS-232 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)
Only used for GPIB option
Remote LED (REM)
Figure 2.1Power Supply Front Panel with RS-232 Interface Installed
16
Operating Manual for RS-232 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 Request
(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 RS-232 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 28.
[open] Front Panel OVP Control.
User TTL shutdown (S/D)
selection
[1-2] User TTL S/D line active low. See page 31.
[2-3] [default] User TTL S/D line active high.
J20
J10
Remote OVP Control Selection
[closed] [default]. See page 28.
[open]
RS-232 (J4) transmit and
receive pin selection
[3-1] Receive on pin 3 [default]
[4-6] Transmit on pin 2 [default]
[3-5] Receive on pin 2
[4-2] Transmit on pin 3
J16
J17
RS-232 flow control selection of
RTS/CTS (ready to send/clear
to send) or DTR/DSR (data
terminal ready/data set ready)
[1-3][4-6] [default] RTS input on pin 7 (used with
CTS output on pin 8)
[3-5][4-6] DTR input on pin 4 (used with DSR
output on pin 6)
RS-232 flow control selection of
RTS/CTS or DTR/DSR
[2-4][[3-5] [default] CTS output on pin 8 (used
with RTS input on pin 7)
[2-4][1-3] DSR output on pin 6 (used with DTR
input on pin 4)
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.
EPROMS
U18
U1
Slave EPROM
Master EPROM
See revision number stamped on EPROM.
See revision number stamped on EPROM.
Figure 2.3 RS-232 Interface PCB
18
Operating Manual for RS-232 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 RS-232 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
1
Baud Rate
Selection
Select transmission speed
See “Baud Rate Selection” on
page 20.
2
Flow Control
Selection
Set flow control ON or OFF. If flow
control is set ON, choose
“Flow Control Selection” on page
20.
software-based XON/XOFF or
hardware-based CTS/RTS (Clear to
Send/Ready to Send) or DTR/DSR
(Data Terminal Ready/Data Set Ready)
communication control.
3
Remote/Local
Operation
select remote or local startup of the
power supply.
page 23.
4
5
6
RS-232
Connection
the supply at connector J4.
page 26
User Signal
Connector
Configure and use the J21 connector
signals, if required.
on page 30.
Power ON
Power on the unit. Before proceeding,
LED on the front panel is on.
See “User Options and Settings”
page 30 for information about
and auxiliary connector J21 user
signals.
7
8
Power Supply
Settings
Configure the controller’s operating
parameters to match the power supply
settings.
See “Power Supply Settings” on
page 27.
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.
See Section 3.
Release 1.2
19
Installation and Configuration
Communications
Communications
computer and the interface must have the same bit rate setting for proper
communication. Use switches B1, B2, and B3 on the rear panel S1 switch to select
the power supply's rate of transmission in bits per second. Table 2.2, “Switch S1
Settings for Baud Rate”summarizes the switch settings with the reference markings
on the rear panel subplate. Refer to Figure 2.2, on page 17 for the location of the S1
switch on the RS-232 interface subplate.
Selection
Table 2.2 Switch S1 Settings for Baud Rate
Baud Rate
9600
B3
1
B2
1
B1
1
4800
0
1
1
2400
1
0
1
1200
0
0
1
600
1
1
0
300
0
1
0
150
1
0
0
75
0
0
0
0 = OPEN/OFF
1 = CLOSED/ON
Note:When resetting switches B3, B2, and B1 during a working session, turn the
power supply OFF and then ON again to ensure that the new settings are put into
effect.
Flow Control Flow control signals regulate data flow for proper communication. Use the FLOW
switch on the rear panel S1 switch to select flow control or to disable flow control.
With flow control enabled, you can use either software or hardware protocols to
control flow rates. Table 2.3 gives the FLOW switch settings with regards to the
markings on the subplate rear panel. For a diagram of the rear panel subplate, see
Figure 2.2, on page 17.
Selection
Table 2.3 Flow Control Section
FLOW Switch Setting
Condition
1
0
Disable Flow Control
Enable Flow Control
20
Operating Manual for RS-232 for XPD Series Power Supply
Installation and Configuration
can use the rear panel XON switch to select either software-based XON/XOFF flow
protocol or hardware-based CTS/RTS or DTR/DSR flow protocol. Table 2.4 shows
the flow control conditions with regards to the markings on the rear panel subplate.
For a diagram of the rear panel subplate, see Figure 2.2, on page 17.
Table 2.4 Hardware/Software Flow Control Selection
XON Switch Setting
Condition
1
Hardware Flow Control
(CTS/RTS or DTR/DSR protocol)
0
Software Flow Control
(XON/XOFF protocol)
Software This software protocol uses special characters that synchronize device
when it is not ready to receive data. The device sends the control code XON (ASCII
value 11) when it is ready to resume receiving data.
Flow Control
To choose XON/XOFF protocol, select the XON switch position shown in
Table 2.4.
cable. The dedicated control line is needed so that the device can signal the controller
Flow Control
Set the XON switch for hardware control using the information in Table 2.4. With
the type of flow protocol. Table 2.5, “Jumper/Pin Settings for RTS/CTS Flow
Control (Default)” and Table 2.6, “Jumper/Pin Settings for DTR/DSR Flow Control
(Default)” identify jumper connections and input and output pin designations for
each protocol. See also “Transmit / Receive Pin Selection” on page 22 for RS-232
connector pinouts.
Note:When resetting the flow control switches during a working session, turn the
power supply OFF and then ON again to ensure that the new settings are put into
effect.
Table 2.5 Jumper/Pin Settings for RTS/CTS Flow Control (Default)
Jumper Connections
J17 to 2-4 and 3-5
J16 to 1-3 and 4-6
RS-232 Connector Pin
RTS (Input to RS-232)
CTS (Output to RS-232)
7
8
Release 1.2
21
Installation and Configuration
Communications
Table 2.6 Jumper/Pin Settings for DTR/DSR Flow Control (Default)
Jumper Connections
J17 to 2-4 and 1-3
J16 to 3-5 and 4-6
RS-232 Connector Pin
DTR (Input to RS-232)
DSR (Output to RS-232)
4
6
Connections
Use a 9-pin (DB9) to 9-pin parallel cable to connect the interface card to the
serial port on the host computer. If you need to use a 25-pin connector (DB25)
on the host interface, ensure the correct connections are made by referring
Table 2.7. If the proper cables are not available and you need to change the
transmit/receive pin configuration, see “Transmit / Receive Pin Selection”.
Table 2.7 Transmit/Receive Pin Connections
Power Supply (DCE)
Host Computer (DTE)
9-pin connector
Pin 2 (Receive)
Pin 3 (Transmit)
Pin 5 (Ground)
Pin 2
transmits to
receives from
connects to
Pin 3
Pin 5 (Ground)
25-pin connector
Pin 3 (Receive)
Pin 2 (Transmit)
Pin 7 (Ground)
Pin 2
transmits to
receives from
connects to
Pin 3
Pin 5 (Ground)
Transmit /
Receive Pin
Selection
The RS-232 interface can use either pin 2 or pin 3 of the RS-232 connector to
the position of the J10 jumper on the interface PCB. Table 2.8, “Jumper Settings
for Transmit/Receive Pin Selection” shows the transmit/receive pin selection on
the RS-232 connector in relation to the settings of the J10 jumper. See
Figure 2.3, “RS-232 Interface PCB” on page 18 to locate jumper J10.
Table 2.8 Jumper Settings for Transmit/Receive Pin Selection
Jumper J10 Connections
RS-232 Connector Pin
3
2
Transmit (TXD)
Receive (RXD)
4-6 (default)
4-2
2
3
3-1 (default)
3-5
22
Operating Manual for RS-232 for XPD Series Power Supply
Installation and Configuration
Remote/Local Operation
Remote/Local Operation
Remote /
Local Mode
Startup
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.9 for the switch settings.
Table 2.9 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. 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 Table 2.10. Refer to Section 3 for more information
about the interface commands listed in the table.
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 Table 2.10.
Release 1.2
23
Installation and Configuration
Remote/Local Operation
Table 2.10 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
ON
Remote Enable
Foldback Protection
Output
REM ON
OFF
ON
FOLD OFF
OUT ON
Hold
OFF
NONE
OFF
OFF
HOLD OFF
UNMASK NONE
AUXA OFF
AUXB OFF
Unmask
AUXA
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 for a complete list of
device-dependent commands available with this interface.
From remote mode, change to local mode operation by sending either the GTL (Go
to Local) command or the REM (Remote Enable) OFF command.
To return to remote mode, ensure that the REM command is set to ON and then
send any valid device-dependent command.
Local Mode
Operation
In local mode operation, you set the voltage and current output levels and the OVP
trip level 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 REM is ON, then sending any software command and OUT
ON to restore the output. Return to local mode by using the GTL command to send
24
Operating Manual for RS-232 for XPD Series Power Supply
Installation and Configuration
Remote/Local Operation
the power supply into local mode, or use the REM OFF command to turn off LLO
and return the power supply to local mode. When you toggle to remote mode from
local mode, the power supply has the same conditions are were last set.
Remote
Enable (REM)
Command
You can use the Remote Enable command to toggle between local mode and
remote mode. The default setting at startup is REM ON. With the remote enable
command set at REM ON, you can return the power supply to remote mode
whenever you send any command from the computer. Any time that you change
from local to remote mode during a session, the output is programmed to turn off,
since the remote mode settings may be different from the local mode settings. Send
the OUT ON command to restore the output.
You can turn off Remote Enable and move power supply control to the front panel
by sending the REM OFF command.To check whether the power supply is remote
enabled, use the REM? query command.
Example:
REM ON
Enable the power supply to be sent into
remote mode
VSET 10;ISET 2
Put the unit into remote operation mode
(Use any command to do this.)
Release 1.2
25
Installation and Configuration
RS-232 Connection
RS-232 Connection
WARNING
Do not operate the power supply and the computer at significantly different frame
potentials. The interface connection system may not be capable of handling the
resulting excessive ground currents.
Use an approved RS-232 connector and cable when connecting the RS-232
Interface to your computer. The RS-232 connector uses the 9 pin mating connector
J4 on the rear panel. Figure 2.4 shows the connector pinouts for the RS-232
connector. Refer to Figure 2.2, on page 17 for the position of the RS-232 connector
on the rear panel subplate.
Figure 2.4 RS-232 Connector (J4) Pinouts (default configuration)
26
Operating Manual for RS-232 for XPD Series Power Supply
Installation and Configuration
Power Supply Settings
Power Supply Settings
For serial communication, the computer and the RS-232 interface must share the
same communication settings. Make sure that the settings of the computer and of
the power supply agree with those shown in Table 2.11.
Table 2.11 Power Supply Settings
Parameter
Transmission
Mode
Setting
Asynchronous
Full Duplex
Speeds
75, 150, 300, 600, 1200, 2400, 4800, 9600
Parity
None
Connector
Start Bit
DB9-pin Male
1
1
8
Stop Bit
Data Bits
Protocols
XON/XOFF
CTS/RTS (DSR/DTR)
NONE
Release 1.2
27
Installation and Configuration
User Options and Settings
User Options and Settings
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 customize remote operation settings for OVP (over voltage protection)
control and TTL shutdown by changing jumper positions on the RS-232 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 RS-232 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 REM software command, 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.10, on page 24 for a complete list of remote
power ON default settings.
You can isolate the location of OVP control by changing the positions of the Local
RS-232 interface PCB. The default jumper settings allow control of OVP to depend
on the operating state of the power 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.12, “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 RS-232 PCB.
Table 2.12 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
28
Operating Manual for RS-232 for XPD Series Power Supply
Installation and Configuration
User Options and Settings
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
RS-232 interface installed, TTL shutdown is activated by a TTL signal to Pin 1 of
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
Block Diagram” on page 31 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
RS-232 PCB. Table 2.13 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.
Table 2.13 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
Release 1.2
29
Installation and Configuration
User Signals
User Signals
Connector
J21 User
Signals
Auxiliary connector J21, located on the RS-232 interface rear panel, provides
several signals to increase your operating control of the supply. These signals are
dependent on the operator's design and uses. The operation of the J21 signal
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 RS-232 interface subplate drawing in Figure 2.2, on page 21. See Figure 2.5 for
pin descriptions. The J21 outputs can sink a current of 5mA each. Figure 2.6, on
page 31 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.
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.5 User Signals J21 Connector
30
Operating Manual for RS-232 for XPD Series Power Supply
Installation and Configuration
User Signals
Figure 2.6 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.7, “J21 User Cable with
Ferrite Block” on page 32.
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
31
Section 3. Operation
Introduction
This section covers RS-232 interface programming, including an extensive set of
device-dependent commands, and providing error codes, and status and fault register
information.
RS-232 Operation
The RS-232 interface card lets you send and receive data between your power supply
and computer, relying on bit serial communication. You can use the computer
controller to issue commands to the power supply for programming, queries,
calibration, or status. The power supply responds to the complete command set of
device dependent software commands shown in “Command Reference” on page 40.
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.
Release 1.2
33
Operation
Command Syntax
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.1, “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.
•
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
34
Operating Manual for RS-232 for XPD Series Power Supply
Operation
Command Syntax
Table 3.1 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 47.
<state>
<1/ON,
0/OFF>
Floating Point Number <float> Variables sent with command parameters are
floating point numbers. Table 3.2 defines the structure of floating point numbers for
use with the software commands.
Table 3.2 Floating Point Numbers
Floating Number Definition
Example
The floating point number has four significant figures.
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
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
Release 1.2
35
Operation
Command Syntax
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.
36
Operating Manual for RS-232 for XPD Series Power Supply
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 40 for more detailed
information about each command and its use.
Table 3.3 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.
GTL
Sends the supply to local mode.
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
LLO
Sets the output current of the supply in amps (default) or in milliamps.
Local Lockout. Disables the front panel LOCAL button.
OUT
Enables or disables voltage/current output for the supply.
OVSET
Sets the over voltage protection trip point for the supply in volts
(default) or in millivolts.
RST
TRG
Resets the supply to the present voltage and current settings if the
output is disabled by OVP or foldback protection.
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.
Release 1.2
37
Operation
Command Summary
Table 3.4 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?
REM?
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 state of remote enable.
Asks for the version number of the master and slave EPROMs on the
interface PCB.
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.
38
Operating Manual for RS-232 for XPD Series Power Supply
Operation
Command Summary
Table 3.5 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.6 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).
Release 1.2
39
Operation
Command Reference
Command Reference
Table 3.7 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 47.
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)
40
Operating Manual for RS-232 for XPD Series Power Supply
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 49.
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
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
47.
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
Release 1.2
41
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)
GTL
Go to local. Returns the power supply to local control. See LLO (Local
Lockout). See also “Remote/Local Operation” on page 23.
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?
Asks for the supply’s soft current limit setting.
Response: IMAX <current>
42
Operating Manual for RS-232 for XPD Series Power Supply
Operation
Command Reference
Command
Description
IOUT?
Measures the supply’s actual current output using the built-in current
readback circuitry.
Response: IOUT <current>
IRDAT <Ilo>,<Ihi>
IRHI
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.
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?
LLO
Asks for the supply’s present output current setting. Does not apply to
current settings which are being held. See HOLD command.
Response: ISET <current>
Disables the front panel LOCAL switch. When LLO is in effect you can only
return to local mode using the GTL command. You can remove the local
page 23.
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 47. 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
Release 1.2
43
Operation
Command Reference
Command
Description
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
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 RS-232 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?
Asks for the supply’s present over voltage protection limit.
Response: OVSET <voltage>
REM <1/ON>,<0/OFF>
Remote Enable. When set to REM 0, the power supply is in local mode. If a
command is sent from the computer, the power supply does not respond
but remains in local mode. When set to REM 1, the power supply will enter
remote mode if a command is sent from the computer. See also
“Remote/Local Operation” on page 23.
REM?
ROM?
Asks for the state of the remote enable. See REM command.
Response: REM <state>
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.
44
Operating Manual for RS-232 for XPD Series Power Supply
Operation
Command Reference
Command
Description
STS?
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 47.
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.
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 47.
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 47.
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.
Release 1.2
45
Operation
Command Reference
Command
Description
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.
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?
46
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>
Operating Manual for RS-232 for XPD Series Power Supply
Operation
Accumulated Status, Status, and Fault Registers
Accumulated Status, Status, and Fault Registers
The RS-232 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.6, “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
The accumulated status register shows that PON, REM, CC and CV have all been
active since the last accumulated status register query.
Table 3.8 shows the mnemonics and bit weights which correspond to each register
condition. You can select conditions you want to monitor in the fault and status
register by using the MASK and UNMASK commands.
Release 1.2
47
Operation
Accumulated Status, Status, and Fault Registers
Table 3.8 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?).
48
Operating Manual for RS-232 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.9 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
49
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 RS-232 interface provides
three diagnostic LEDs, located at D5, D4, and D1 on its PCB. Refer to Figure 2.3,
‘RS-232 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 RS-232 interface
microprocessor successfully recovered from a timeout error due to a
communications bus error. The event is transparent to the RS-232 communications
line 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.
50
Operating Manual for RS-232 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 RS-232 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 RS-232 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
•
•
Connection wires rated for the unit's maximum output current and voltage
An RS-232 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
51
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.
52
Operating Manual for RS-232 for XPD Series Power Supply
Calibration
Voltage Mode Calibration
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.
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
53
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.
54
Operating Manual for RS-232 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
55
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 Figure 2.3 RS-232 Interface
PCB, p. 18 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 ADDR LED will light
during OVP calibration. Calibration is complete when the ADDR 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.
56
Operating Manual for RS-232 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-RSPD-01XN
|
Weider Home Gym WESY74090 User Manual
Westinghouse Indoor Furnishings W 224 User Manual
Westinghouse Outdoor Ceiling Fan UL ES Crusader WH09 User Manual
Whirlpool Dehumidifier AD65USM2 User Manual
Whynter Beverage Dispenser WC 211DZ User Manual
X10 Wireless Technology Home Security System MS15A User Manual
X10 Wireless Technology Universal Remote IR18A User Manual
Yamaha Guitar FX 310 User Manual
Yamaha Stereo Amplifier DSP A780 User Manual
Zanussi Dishwasher 534272 User Manual