background image

Operating Manual

Internal RS-232 Interface
for XPD Series
Programmable DC 
Power Supply

RS232-XPD

Summary of Contents for RS232-XPD

Page 1: ...Operating Manual Internal RS 232 Interface for XPD Series Programmable DC Power Supply RS232 XPD ...

Page 2: ......

Page 3: ...Operating Manual for Internal RS 232 Interface for XPD 500 Watt Series Programmable DC Power Supply ...

Page 4: ...ght 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 Xantre...

Page 5: ...he 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...

Page 6: ...NT 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 O...

Page 7: ...our 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 Xantrex Technology Inc 8999 Nelson Way Burnaby British Columbia Canada V5A 4B5 Information About Your Power Supply Pl...

Page 8: ...nergy 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 expe...

Page 9: ...ues 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 specification...

Page 10: ...About This Manual viii Operating Manual for RS 232 for XPD Series Power Supply ...

Page 11: ...rdware Flow Control 21 Connections 22 Transmit Receive Pin Selection 22 Remote Local Operation 23 Remote Local Mode Startup 23 Remote Mode Operation 24 Local Mode Operation 24 Remote Enable REM Command 25 RS 232 Connection 26 Power Supply Settings 27 User Options and Settings 28 OVP Selection 28 TTL Shutdown 29 User Signals 30 Connector J21 User Signals 30 J21 Cable Connection 31 Section 3 Operati...

Page 12: ...s 50 Section 4 Calibration Introduction 51 Voltage Mode Calibration 52 Voltage Calibration Setup 52 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 ...

Page 13: ...n 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 o...

Page 14: ...y 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 Functions Output voltage and current Soft limits for voltage and current Over voltage protection Output enable disable Maskable fault interrupt Hold and trigger Output relay signals Readback ...

Page 15: ...8 6mV 0 7mA 18 6mV Program Accuracy1 Voltage Current OVP 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 10mV 0 12 250mA 0 1 80mV 75mV 0 12 140mA 0 1 200mV 75mV 0 12 115mA 0 15 330mV 150mV 0 3 80mA 0 15 600mV 18...

Page 16: ...Features and Specifications Specifications 14 Operating Manual for RS 232 for XPD Series Power Supply ...

Page 17: ...ate and the RS 232 interface printed circuit board PCB Initial Inspection 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 a...

Page 18: ... for XPD Series Power Supply Figure 2 1Power Supply Front Panel with RS 232 Interface Installed 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 ...

Page 19: ...omponents on the printed circuit board S1 Switch 1 Remote Local Startup 2 Power On Service Request Enable Disable 3 Not Used 4 8 Primary Address Selection A1 A5 Switch Position Reference markings 0 1 Error LED ERR Indicates that a programming error has occurred Clear with error query command J21 User Signal Connector IEEE 488 Connector Address LED ADR Indicates that the unit is being addressed by ...

Page 20: ...n pin 3 J16 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 J17 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 us...

Page 21: ...rol Selection on page 20 3 Remote Local Operation Use the rear panel PON REM switch to select remote or local startup of the power supply See Remote Local Operation on page 23 4 RS 232 Connection Connect the RS 232 cable assembly to the supply at connector J4 See RS 232 Connection on page 26 5 User Signal Connector Configure and use the J21 connector signals if required See Connector J21 User Sign...

Page 22: ... Switch S1 Settings for Baud Rate 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 Selection 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 co...

Page 23: ...n the RS 232 cable The dedicated control line is needed so that the device can signal the controller when it is ready to receive data You can designate either RTS CTS or DTR DSR protocol for the RS 232 interface Set the XON switch for hardware control using the information in Table 2 4 With hardware flow control selected RS 232 Interface PCB jumpers J16 and J17 dictate the type of flow protocol Ta...

Page 24: ...ve data You can set the pin orientation you want by changing 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 ...

Page 25: ...he 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 swi...

Page 26: ...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 outp...

Page 27: ... 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 t...

Page 28: ...ting 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 WARNING Do not operate the power supply and the computer at significantly different frame potentials The interface connection system may not...

Page 29: ... 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 Setting Transmission Asynchronous Mode Full Duplex Speeds 75 150 300 600 1200 2400 4800 9600 Parity None Connector DB9 pin Male Start Bit 1 Stop Bit 1 Data Bits 8 Protocols XON XOFF CTS RTS DSR DTR NONE ...

Page 30: ...emote power ON default settings You can isolate the location of OVP control by changing the positions of the Local OVP Control jumper J2 and the Remote OVP Control jumper J20 both on the 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 ...

Page 31: ... TTL input with a high signal range of 2 2 5 0Vdc The current range of the shutdown line is 1 10mA See Figure 2 6 J21 User Signal Connector Circuit 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 sett...

Page 32: ...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 Figure 2 5 User Signals J21 Connector J21 1 External TTL shutdown input signal See TTL Shutdown J21 2 Polarity signal open collector asserted by VSET x J21 3 Is...

Page 33: ... packaged and shipped with the power supply interface card To install the ferrite block 1 Position the block no more than 5 cm 2 from the power supply end of the 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 r...

Page 34: ...tion and Configuration User Signals 32 Operating Manual for RS 232 for XPD Series Power Supply Figure 2 7 J21 User Cable with Ferrite Block J21 User Cable Ferrite Block To User Custom Interface To J21 Connector ...

Page 35: ...s to the complete command set of device dependent software commands shown in Command Reference on page 40 Command Syntax Manual Conventions 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 angle brackets Angle brackets enclose a parameter Do not include the angle brackets in th...

Page 36: ...ameter 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 dig...

Page 37: ... unit is given the default unit is seconds float 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 The state o...

Page 38: ...AND 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 comm...

Page 39: ...urrent is specified GTL Sends the supply to local mode FOLD Sets foldback mode for the supply HOLD Enables or disables voltage current setting hold mode for the supply IMAX Sets an upper soft limit on the programmed output current for the supply ISET Sets the output current of the supply in amps default or in milliamps LLO Local Lockout Disables the front panel LOCAL button OUT Enables or disables...

Page 40: ...D Asks for the supply s present foldback setting HOLD Asks for the present hold mode setting ID Asks for the power supply s model name and master EPROM version IMAX Asks for the supply s soft current limit setting IOUT Measures the supply s actual current output ISET Asks for the supply s present output current limit setting OUT Asks for the present enabled disabled status of the supply s output O...

Page 41: ...amming VHI Sets the voltage output to the high calibration point VLO Sets the voltage output to the low calibration point VRDAT Calculates the slope and intercept for voltage readback VRHI Sets the voltage output to the high readback point VRLO Sets the voltage output to the low readback point Command Description ASTS Asks for the supply s accumulated status register FAULT Asks for the supply s fa...

Page 42: ...the operating conditions as listed in the status register AUXA 1 ON 0 OFF Controls the AUXA output signal level at rear panel connector J21 7 Active low Initial value AUXA 0 AUXA Asks for the present set value of the AUXA output signal Response AUXA 0 OFF AUXA 1 ON AUXB 1 ON 0 OFF Controls the AUXB output signal level at rear panel connector J21 8 Active low Initial value AUXB 0 AUXB Asks for the ...

Page 43: ...e 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 ...

Page 44: ...on 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 CMO...

Page 45: ...nd 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 m...

Page 46: ...rotection 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...

Page 47: ...he 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 Asks for the supply s fault c...

Page 48: ...Vlo and Vhi are in voltage format VRHI 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 ...

Page 49: ...h 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 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...

Page 50: ... query ASTS 4 A fault is cleared with a fault query FAULT Condition Mnemonic Bit Position Bit Weight Constant voltage operation CV 0 1 Constant current operation CC 1 2 Not used 2 4 Overvoltage protection tripped OV 3 8 Over temperature protection tripped OT 4 16 Supply external shutdown active J21 1 SD 5 32 Foldback mode operation FOLD 6 64 Remote programming error ERR 7 128 Power ON accumulated ...

Page 51: ...ctly placed word number separator or terminator Example OFF SRQ VOUT 6 MASK ERR 5 Number Out of Range Specified a value for the command which was outside of the allowed range 6 Attempt to Exceed Soft Limits Attempted to program a voltage or current greater than the soft limit Example VMAX 500 VSET 550 LF 7 Improper Soft Limit Attempted to program a soft limit less than the output value 8 Data Requ...

Page 52: ...cessor 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 circu...

Page 53: ...eads 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 calib...

Page 54: ...ord 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 power supply is calibrated the low to high voltage program calibration values are stored as constants 6 ...

Page 55: ... 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 When the power supply is calibrated the low to high voltage readback calibration values offsets are stored as constants 6 ...

Page 56: ...and 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 power supply When the power supply is calibrated the low...

Page 57: ...tage 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 power supply When the power supply is calibrated the low to high current readback calibration ...

Page 58: ... 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 5 Use the OVSET OVSET and VSET commands to trip the OVP level confirming that the calibration was s...

Page 59: ......

Page 60: ...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 RSPD 01XN PRINTED IN CANADA ...

Reviews: