Xantrex RS232-XHR Operating Manual

Internal rs-232 interface for xhr/xfr series programmable dc power supplies

Advertisement

Internal RS-232 Interface
for XHR/XFR Series
Programmable DC Power
Supplies
RS232-XHR
RS232-XFR
RS232-XFR3
Operating Manual

Advertisement

Table of Contents
loading

Summary of Contents for Xantrex RS232-XHR

  • Page 1 Internal RS-232 Interface for XHR/XFR Series Programmable DC Power Supplies RS232-XHR RS232-XFR RS232-XFR3 Operating Manual...
  • Page 3 Operating Manual for Internal RS-232 Interface for XHR 1000 Watt Series, XFR 1200 Watt Series and XFR 2800 Watt Series Programmable DC Power Supplies...
  • Page 4 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.
  • Page 5 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.
  • Page 6 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...
  • Page 7 Please record the following information when you first open your Power Supply package: About Your Power Model Number Supply Serial Number Purchased From Purchase Date Release Release 3.1 (2002-06) © Copyright Printed in Canada Release 3.1 ______________________________________________ ______________________________________________ ______________________________________________ ______________________________________________ 2002 Xantrex Technology Inc. All rights reserved.
  • Page 8 Power Supply WARNING—High Energy and High Voltage Safety 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.
  • Page 9: About This Manual

    About This Manual This technical manual is for the RS-232 Interface; a microprocessor-controlled option card for all models of XFR Series and XHR 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.
  • Page 10 About This Manual viii Operating Manual for RS-232 for XHR/XFR Series Power Supply...
  • Page 11: Table Of Contents

    Contents About This Manual ........... vii Section 1.
  • Page 12 Contents Section 4. Calibration Command Reference44 Accumulated Status, Status, and Fault Registers51 Error Codes53 Troubleshooting54 Diagnostic LEDs54 Introduction55 Voltage Mode Calibration56 Voltage Calibration Setup56 Voltage Program Calibration Procedure56 Voltage Readback Calibration Procedure57 Current Mode Calibration58 Current Calibration Setup58 Current Program Calibration Procedure58 Current Readback Calibration Procedure59 Over Voltage Protection (OVP) Calibration60 Operating Manual for RS-232 for XHR/XFR Series Power Supply...
  • Page 13: Description

    Section 1. Features and Specifications Description The RS-232 Interface is a microprocessor-controlled option card for all models of the XHR series and XFR 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.
  • Page 14: Features And Functions

    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 •...
  • Page 15: 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 XFR 1200 W Series Supply with RS-232 Interface Installed (7.5 V to 40 V) Models 7.5-140 Program Resolution...
  • Page 16 Specifications Table 1.2 Specifications for XFR 1200 W Series Supply with RS-232 Interface Installed (60 V to 600 V) Models 60-20 Program Resolution Voltage 9.3mV Current 2.6mA 9.3mV Program Accuracy Voltage 150mV ±0.25% Current 120mA ±0.1% 600mV Readback Resolution Voltage 9.3mV Current 2.6mA...
  • Page 17 Table 1.3 Specifications for XFR 2800 W Series Supply with RS-232 Interface Installed (7.5 V to 40 V) Models 7.5-300 Program Resolution Voltage 1.2mV Current 11.3mA 1.2mV Program Accuracy Voltage 10mV ±0.12% Current 300mA ±0.15% 75mV Readback Resolution Voltage 1.2mV Current 11.3mA Readback Accuracy...
  • Page 18 Specifications Table 1.4 Specifications for XFR 2800 W Series Supply with RS-232 Interface Installed (60 V to 600 V) Models 60-46 Program Resolution Voltage 9.3mV Current 1.4mA 9.3mV Program Accuracy Voltage 150mV ±0.3% Current 80mA ±0.1% 600mV Readback Resolution Voltage 9.3mV Current 1.4mA...
  • Page 19 Table 1.5 Specifications for XHR 1000 W Series Supply with RS-232 Interface Installed (7.5 V to 60 V) Models 7.5-130 Program Resolution Voltage 1.2mV Current 18.3mA 1.2mV Program Accuracy Voltage 10mV ±0.12% Current 500mA ±0.1% 80mV Readback Resolution Voltage 1.2mV Current 18.3mA Readback Accuracy...
  • Page 20 Specifications Table 1.6 Specifications for XHR 1000 W Series Supply with RS-232 Interface Installed (100 V to 600 V) Models 100-10 Program Resolution Voltage 15.5mV Current 1.5mA 15.5mV Program Accuracy Voltage 150mV ±0.35% Current 80mA ±0.1% 1.0V Readback Resolution Voltage 15.5mV Current 1.5mA...
  • Page 21: Introduction

    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 The RS-232 interface is usually installed at the factory.
  • Page 22 Initial Inspection CAUTION Use proper static control techniques to avoid damage to static-sensitive components on the printed circuit board. Remote Programming LEDs: Address LED (ADR) Indicates that the master controller is addressing the unit. Service Request LED (SRQ) Comes on at power up if the PON SRQ switch is set to on.
  • Page 23 J7 User Signal Connector S1 Switch 1-1, 2, 3 Baud Rate Selection 1-4 Flow ON/OFF Selection 1-5 XON Switch Hardware/Software Flow Control Selection Note: On some models, the subplate is rotated 180 degrees. Figure 2.2 RS-232 Interface Subplate CAUTION Use proper static control techniques to avoid damage to static-sensitive components on the printed circuit board Release 3.1 Error LED (ERR)
  • Page 24 Initial Inspection J103 J216 J217 J218 Note: All other jumpers are not user-selectable. CR89 CR166 CR167 U117 U191 Figure 2.3 RS-232 Interface PCB JUMPER SELECTION Local OVP control selection [closed] [default]. See page 32. [open] Front Panel OVP Control. User TTL shutdown (S/D) [1-2] User TTL S/D line active low.
  • Page 25: 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.
  • Page 26: Communications

    Communications Communications Baud Rate Serial transmission sends and receives data in bit streams at fixed bit rates. Both the computer and the interface must have the same bit rate setting for proper Selection 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.
  • Page 27: Software Flow Control

    Once flow control is selected as option, two flow control methods are available. You 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 21.
  • Page 28: Configuration Communications

    Installation and Configuration Communications Table 2.6 Jumper/Pin Settings for DTR/DSR Flow Control (Default) DTR (Input to RS-232) DSR (Output to RS-232) 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.
  • Page 29: Remote/Local Operation

    Remote/Local Operation Remote / 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 Local Mode Table 2.9 for the switch settings. Startup Table 2.9 Remote/Local Start-up Settings.
  • Page 30: Remote Mode Operation

    Remote/Local Operation Table 2.10 Remote Mode Power On Conditions Condition Voltage Current Soft Voltage Limit Soft Current Limit OVP Trip Voltage Delay Remote Enable Foldback Protection Output Hold Unmask AUXA AUXB Remote Mode While in remote mode, use the interface commands to control the output of the power supply from a computer.
  • Page 31: Local Mode Operation

    Local Mode 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 Operation 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 REN is ON, then sending any software command and OUT ON to restore the output.
  • Page 32: Local Lockout (Llo) Command

    RS-232 Connection Local Use the Local Lockout command to disable the LOCAL button on the power supply front panel. With LLO in effect, you cannot return to local control by Lockout pressing the front panel LOCAL switch. You can still return to local mode by (LLO) sending the Go to Local (GTL) command.
  • Page 33: 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...
  • Page 34: User Options And Settings

    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.
  • Page 35: 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 Shutdown 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 J7 connector on the interface subplate.
  • Page 36: User Signals

    User Signals User Signals Connector J7 Auxiliary connector J7, located on the RS-232 interface rear panel, provides several signals to increase your operating control of the supply. These signals are User Signals dependent on the operator's design and uses. The operation of the J7 signal requires that you provide external Vcc and ground.
  • Page 37: J7 Cable Connection

    Figure 2.6 J7 User Signal Connector Circuit Block Diagram J7 Cable Use a standard 8-position telephone jack and data cable to connect to J7. Add a Connection 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.
  • Page 38 Installation and Configuration User Signals J7 User Cable Ferrite Block To J7 Connector To User Custom Interface Figure 2.7 J7 User Cable with Ferrite Block Operating Manual for RS-232 for XHR/XFR Series Power Supply...
  • Page 39: Introduction

    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.
  • Page 40: Command Format And Parameters

    Command Syntax Command The device-dependent language for the RS-232 Interface consists of commands and parameters. A command is a one word code which either gives instructions to the Format and interface or asks for information from the interface. A command may be followed by Parameters one or more parameters, a short code that changes the state of the power supply or the state of the bit register.
  • Page 41: Command Strings

    Table 3.1 Command Parameters Parameter <current>, <Ihi>, <Ilo> <time> <voltage>, <Vlo>, <Vhi> The voltage in volts or millivolts. If no unit is <mnemonics> <state> 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.
  • Page 42: Command Terminators

    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.
  • Page 43: 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 44 for more detailed information about each command and its use. Table 3.3 Programming Commands Command AUXA...
  • Page 44 Command Summary Table 3.4 Query Commands Command AUXA? AUXB? CMODE? DLY? ERR? FOLD? HOLD? IMAX? IOUT? ISET? OUT? OVSET? REN? ROM? VMAX? VOUT? VSET? Description 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.
  • Page 45 Table 3.5 Calibration Commands Command CMODE IDATA IRDAT IRHI IRLO OVCAL VDATA VRDAT VRHI VRLO Table 3.6 Status Commands Command ASTS? FAULT? MASK STS? UNMASK UNMASK? Release 3.1 Description Places the supply into calibration mode. Calculates the slope and intercept for current programming. Sets the current output to the high calibration point.
  • Page 46: Command Reference

    Operation Command Reference Command Reference Table 3.7 Command Reference Command ASTS? AUXA <1/ON>,<0/OFF> AUXA? AUXB <1/ON>,<0/OFF> AUXB? CMODE <1/ON>,<0/OFF> CMODE ON places the power supply into calibration mode for processing CMODE? Description 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.
  • Page 47 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.
  • Page 48 Command Reference Command Description FOLD? Asks for the supply’s present foldback setting. Response: FOLD <mode> where mode is: Go to local. Returns the power supply to local control. See LLO (Local Lockout). See also 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.
  • Page 49 Command Description IOUT? Measures the supply’s actual current output using the built-in current readback circuitry. Response: IOUT <current> 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.
  • Page 50 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.
  • Page 51 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.
  • Page 52 Command Reference Command Description In response to this command, the power supply sends a programmed voltage value to the output terminal. This value is at the low end of the power supply’s voltage range and is read by an external voltmeter connected as part of the calibration procedure.
  • Page 53 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.
  • Page 54 Accumulated Status, Status, and Fault Registers Table 3.8 Accumulated Status, Status, and Fault Registers Condition Constant voltage operation Constant current operation Not used Overvoltage protection tripped Over temperature protection tripped Supply external shutdown active (J7-1) Foldback mode operation Remote programming error Power ON (accumulated status, status registers only) Remote mode (accumulated status, status...
  • Page 55: 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 Release 3.1...
  • Page 56: Troubleshooting

    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.
  • Page 57 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.
  • Page 58 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 Figure 4.1 Voltage Calibration Setup Voltage 1. Set the power supply for calibration as in Figure 4.1. Program 2.
  • Page 59 Voltage 1. Set the power supply for calibration as in Figure 4.1. Readback 2. Activate calibration mode by sending command CMODE ON or CMODE 1 to Calibration the power supply. Procedure 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.
  • Page 60: Current Mode 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. Figure 4.2 Current Calibration Setup Current 1.
  • Page 61 Current 1. Connect the current shunt and voltmeter to the power supply as shown in Readback Figure 4.2. Calibration 2. Activate calibration mode by sending command CMODE ON or CMODE 1 to Procedure 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.
  • Page 62 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 J65 on the interface PCB is CLOSED to enable remote OVP calibration (Jumper J65 is closed at the factory).
  • Page 64 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 prg.info@xantrex.com www.xantrex.com TM-RSRF-01XN PRINTED IN CANADA...

This manual is also suitable for:

Rs232-xfrRs232-xfr3

Table of Contents