Advertisement

Quick Links

Via Acquanera, 29
22100 Como
tel. 031.526.566 (r.a.) fax 031.507.984
info@calpower.it
www.calpower.it
Contact Information
Telephone: 800 733 5427 (toll free in North America)
858 450 0085 (direct)
Fax: 858 458 0267
Email:
Domestic Sales: domorders.sd@ametek.com
International Sales: intlorders.sd@ametek.com
Customer Service: service.ppd@ametek.com
Web:
www.programmablepower.com
March 2011
TrueWave
AC Power Source
TW SERIES
SCPI Programming Manual
Document No. M161469-02 Rev D

Advertisement

Table of Contents
loading

Summary of Contents for Ametek TW Series

  • Page 1 Via Acquanera, 29 22100 Como tel. 031.526.566 (r.a.) fax 031.507.984 info@calpower.it www.calpower.it TrueWave AC Power Source TW SERIES SCPI Programming Manual Contact Information Telephone: 800 733 5427 (toll free in North America) 858 450 0085 (direct) Fax: 858 458 0267 Email: Domestic Sales: domorders.sd@ametek.com...
  • Page 5: Table Of Contents

    TABLE OF CONTENTS SECTION 1 SCPI CONFORMANCE INFORMATION Parameter Definitions ..................1-1 Units .........................1-1 Conventions......................1-1 Queries ......................1-1 SECTION 2 POWER-ON AND RESET CONDITIONS Factory Defaults ....................2-1 Power-On Conditions ..................2-1 Reset Conditions ....................2-2 SECTION 3 SCPI COMMANDS Measure Commands..................3-1 Miscellaneous Commands................3-2 Source Commands ...................3-2 Status Commands ....................3-7 System Commands...................3-8 Common Commands ..................3-11...
  • Page 6 SCPI Programming APPENDIX C SAMPLE PROGRAMS Introduction ......................C-1 Source AC from Power Up ................C-1 Source DC from Power Up................C-1 Source ACDC from Power Up ................C-1 Perform AC Disturbance ..................C-1 Perform AC Disturbance with Ext Trigger ............C-2 Turn Off Front Panel Programmability .............C-2 Password Operations..................C-2 Provide Zero Crossing Pulses from Phase A ...........C-2 Master/Slave Operation ...................C-2...
  • Page 7: Section 1 Scpi Conformance Information

    SECTION 1 SCPI CONFORMANCE INFORMATION The Elgar TW Series conforms to all specifications for devices as defined in IEEE 488.2, and complies with SCPI command syntax version 1995.0. 1.1 PARAMETER DEFINITIONS Type Valid arguments <boolean> ON, OFF, 0, or 1 <value>...
  • Page 8 SCPI Programming This page intentionally left blank. Elgar TrueWave...
  • Page 9: Factory Defaults

    SECTION 2 POWER-ON AND RESET CONDITIONS The following sections define the factory and reset power-on conditions of the unit. 2.1 FACTORY DEFAULTS When the TW is first powered up, the following factory defaults will be in place: • GPIB Address: •...
  • Page 10: Reset Conditions

    SCPI Programming In addition, unique system settings are read in from the non-volatile EEROM memory: • Output Relay State, either Auto Start or Standby • Keyboard Lock State, either Front Panel Program Enabled or Disabled • Passcode Protection State, and the Passcode (if enabled) •...
  • Page 11: Section 3 Scpi Commands

    SECTION 3 SCPI COMMANDS 3.1 MEASURE COMMANDS MEASure[phase] :CURR-ent? :PEAK? :INRUSH? :FREQuency? :PEAKCURRent? :PHASe? :POWer? :TOTal? :POWERFACtor? :TOTal? :CRESTFACtor? :VA? :TOTal? :VOLTage? :VAB? :VBC? :VCA? Phase shall be 1, 2 or 3. :MEASure[phase] Measurement (readbacks) tree, Phase = 1,2,or 3 indicating phase to read.
  • Page 12: Miscellaneous Commands

    SCPI Programming 3.2 MISCELLANEOUS COMMANDS ASSYno <string> ASSYno? OUTPut? OUTPut <boolean> OUTPut :COUPling? :COUPling <AC,DC,AC+DC> :STATe? :STATe <boolean> :ASSYno ? Returns the assembly number. :OUTPut? Return the state of the output relay. :OUTPut <boolean> Set the output relay to open (OFF) or closed (ON). :OUTPut :COUPling? Return the present state of the output coupling electronics AC,...
  • Page 13 SCPI Programming [:LEVel] <value> :LEVel? :STATe <boolean> :STATe? :TRIPped? :FREQuency <value> :FREQuency? :DISTurbance :STATE <boolean> :STATE ? :STARTPHASE <value> :STARTPHASE ? :STOPPHASE <value> :STOPPHASE ? :CYCLES <value> :CYCLES ? :VOLTage <value> :VOLTage ? :TRIGger <GPIBGET,EXTERNAL, IMMEDIATE,DISABLE> :TRIGger ? :PHASe? :PHASe <value>...
  • Page 14 SCPI Programming If the phase is set to 0 at query time, the phase A value will be returned. :SOURce[phase] Source words: Phase = 0,1,2,or 3 indicating phase(s) to control. Phase = 0 will apply the specified value to all three phases for set operations.
  • Page 15 SCPI Programming :DISTurbance This set of words allows the operator to generate a change to the output waveforms of the TW. A number of cycles can be raised or lowered in voltage at any point in the rising or falling portion of a cycle. :STATE ? Returns the present state of the disturbance software.
  • Page 16 SCPI Programming :SENSe? Returns the present sense points LOCAL or REMOTE. :SENSe LOCal Specify that the amplifier(s) control circuit will use internal voltage readback points. :SENSe REMote Specify that the amplifier(s) control circuit will use external voltage readback points. :VOLTage? Return the present voltage of the specified phase.
  • Page 17: Status Commands

    SCPI Programming 3.4 STATUS COMMANDS :STATus :OPERation? :OPERation [:EVENt]? :CONDition? :ENABle <value> :ENABle? :PRESet :QUEStionable? :QUEStionable :CONDition? [:EVENt]? :ENABle <value> :ENABle? :STATus The status commands tree. :OPERation? SCPI commands returns ‘0’ always. :OPERation The SCPI Operation sub-tree. :[EVENt?] Returns ‘0’. :CONDition? Returns ‘0’.
  • Page 18: System Commands

    SCPI Programming 3.5 SYSTEM COMMANDS :SYSTem :AMPLIFier? :AMPLIFier <value> :CHASSIS? :CHASSIS <value> :CHAIN? :CHAIN <value> :CHECKSUM? :CHECKSUM :COMMunicate :GPIB [:SELF] :ADDRess <value> [,<value>] :ADDRess? [:CONFig] :STORe <value> :STORe ? :RECall <value> :ERRor? :EXTernal :CLOCk? :CLOCk <REFOUT,REFIN,TRIGIN,SYNCOUT> :LOCK? :DIRect <boolean> :DIRect ? :GAIN ? :GAIN <boolean>...
  • Page 19 SCPI Programming :SYSTem The system command tree. :AMPLIFier? Returns the quantity of amplifiers that are installed in the TW. :AMPLIFier <value> Set installed quantity amps (1..3). :CHASSIS? Returns the number of parallel connected chassis. :CHASSIS <value> Set the quantity of parallel connected chassis. If the number is 1, this TW is either an individual power supply or a chained slave.
  • Page 20 SCPI Programming :CLOCk <value> Set the Clock/Lock connector interface settings to: REFOUT : sends a TTL pulse out at each zero crossing of Phase A. REFIN : is used with the PLL and the TW will attempt to sync the outputs to the input TTL signal.
  • Page 21: Common Commands

    The following commands are common to all SCPI instruments and declared mandatory by IEEE 488.2. In the table below, the TW Series will be defined as the “device” on the GPIB bus. These commands are further supported on the RS-232 command interface.
  • Page 22 *IDN? Identification Query. Returns the device identity as an ASCII string: <manufacturer>, <model>, <serial number>, <firmware level>. Example: Elgar, TW Series 5256, 1234, 1.0. *OPC Operation Complete Command. Causes the Operation Complete bit to be set in the Standard Events Status Register when all pending operations are complete.
  • Page 23: Appendix A Status Register Definitions

    *SRE command, and can be read with the *SRE? command. For example, if the SRE register is set to 0x10 (MAV), when the TW Series unit has a message available, the Status Byte register will contain 0x50 (RQS and MAV) and the SRQ line of the GPIB bus will be pulled low indicating a request for service.
  • Page 24: Standard Event Status Register

    Status Enable register is set. Use the *ESE to set bits, and the *ESE? to read this register. To configure the TW Series to generate SRQ's based on the ESR, both the Standard Event Status Enable register and the Service Request Enable registers must be programmed.
  • Page 25: Operation Status / Questionable Status Registers

    Operation Status and Questionable Status registers. A.4 ERROR / EVENT QUEUE The TW Series maintains an Error/Event Queue as defined by SCPI. The queue holds up to 10 errors and events. It is queried using the SYSTem:ERRor? command, which reads in a first in, first out manner. The read operation removes the entry from the queue.
  • Page 26 SCPI Programming This page intentionally left blank. Elgar TrueWave...
  • Page 27: Appendix B Error Codes

    The following error codes are defined in the SCPI 1993.0 specification, and are supported by the TW Series. Error codes are in the range of [-32768, 32767]. SCPI reserves the negative error codes and 0, while error codes greater than 0 are device- specific errors.
  • Page 28: Device-Specific Error Codes

    SCPI Programming B.3 DEVICE–SPECIFIC ERROR CODES The TW power supply may experience various fault states during operation. The possible fault states can be generated by accidental overloading of the TW supply, or system failures within the TW. DSP Fault 0 DSP Initialization Error This error is reported when the DSP sub-processing system does not boot up.
  • Page 29 SCPI Programming PS A Fault 3 Phase 350 V DC Bus Overvolt Error This error is reported when a given Phase DC internal bus experiences a 350V threshold voltage condition. This error is a run-time recoverable error. From the front panel, press the ENTER key. Through SCPI, send the *RST command. PS A Fault 4 Phase 380 V DC Bus Overvolt Error This error is reported when a given Phase DC internal bus experiences a 380V...
  • Page 30 SCPI Programming This page intentionally left blank. Elgar TrueWave...
  • Page 31 APPENDIX C SAMPLE PROGRAMS C.1 INTRODUCTION The following examples illustrate how to perform certain functions on the TW via SCPI, via the GPIB interface, or via the RS-232 channel. C.2 SOURCE AC FROM POWER UP • SOUR0:VOLT:RANGE LOW Specify low range 0-156V 13 Amps •...
  • Page 32 SCPI Programming • SOUR1:DIST:VOLT 160 160 volts at disturbance time • SOUR1:DIST:TRIGGER IMMED Trigger the disturbance immediately • • • • OUTP OFF Turn off output relay when finished C.5 PERFORM AC DISTURBANCE WITH EXT TRIGGER • SOUR0:VOLT:RANGE LOW Specify low range •...
  • Page 33 SCPI Programming C.9 MASTER/SLAVE OPERATION For master/slave operation, refer to the TW Operation Manual, Elgar Document No. M161469-01. Elgar TrueWave...
  • Page 35 NOTES...
  • Page 36 NOTES Via Acquanera, 29 22100 Como tel. 031.526.566 (r.a.) fax 031.507.984 info@calpower.it www.calpower.it...

Table of Contents