Preen AFV-P Series Programming Manual

Preen AFV-P Series Programming Manual

Programmable
Hide thumbs Also See for AFV-P Series:

Advertisement

AFV-P SERIES
PROGRAMMABLE
AC POWER SOURCE
Programming Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AFV-P Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Preen AFV-P Series

  • Page 1 AFV-P SERIES PROGRAMMABLE AC POWER SOURCE Programming Manual...
  • Page 3: Table Of Contents

    Contents AFV-P Series CONTENTS SECTION 1 SCPI CONFORMANCE INFORMATION ......1-1 1.1 Introduction ................... 1-1 1.2 Parameter Definitions ................1-1 1.3 Units ...................... 1-1 1.4 Conventions ..................1-2 1.5 Queries ....................1-2 SECTION 2 POWER-ON AND RESET CONDITIONS ......2-1 Factory Defaults ..................
  • Page 4 AFV-P Series Contents SECTION 4 RS-232 INTERFACE ............4-1 RS-232 Interface Operation ..............4-1 RS-232 Characteristics ................. 4-1 RS-232 Connector ................4-2 APPENDIX A: STATUS REGISTER DEFINITIONS ......A-1 A.1 Status Byte ...................A-1 A.2 Standard Event Status Register ............A-2 A.3 Operation Status/ Questionable Status Registers ........A-3 A.4 Error/ Event Queue ................A-3...
  • Page 6: Section 1 Scpi Conformance Information

    Introduction This manual provides programming information for AFV-P series programmable AC power sources. The AFV-P Series power sources conform to all specifications for devices as defined in IEEE 488.2, and comply with SCPI command syntax version 1999.0. Parameter Definitions Type Valid Arguments <boolean>...
  • Page 7: Conventions

    SCPI Conformance Information AFV-P Series Conventions Commands enclosed by “[ ]” are optional. For example, [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] 120.0 can be written as, VOLTage 120.0 or VOLT 120.0 Queries The query syntax is identical to the command syntax, with a ”?” appended.
  • Page 8: Factory Defaults

    SECTION 2 POWER-ON AND RESET CONDITIONS The following sections define the factory and reset power-on conditions of the unit. Factory Defaults When the AFV-P unit is first powered up, the following factory defaults will be in place: GPIB Address: 115200 RS-232 Baud Rate: RS-232 Data Bits: RS-232 Stop Bits:...
  • Page 9: Reset Conditions

    Power-On and Reset Conditions AFV-P Series Reset Conditions When the *RST command is sent via SCPI, the following conditions apply: Faults are cleared The error queue is cleared The output relay is opened Changing Voltage Ranges Via Command Interface When the voltage range is changed using the command interface:...
  • Page 10: Section 3 Scpi Commands

    SECTION 3 SCPI COMMANDS MEASURE Commands :MEASure Measurement meter :ALL? Return all meters of testing. (MODE,OUTPUT,MEM,STEP,STATUS,TIME_UNIT,V,A, F,P,VA,CF,AP,Q,PF,T) :ALL? <value> Return results meters of the value. :ALL? <value1>,<value2> Return results meters from value1 to value2. :CURRent? Return measured current. :PEAK? Return the peak current measured. :FREQuency? Return the frequency measured.
  • Page 11: Source Commands

    SCPI Commands AFV-P Series SOURCE Commands [:SOURce] General mode parameters :VOLTage [:LEVel] [:IMMediate] [:AMPLitude]? Return output voltage value [:AMPLitude] <value> Set output voltage value :RANGe? Return output voltage range value :RANGe <value> Set output voltage range value<HIGH | AUTO>. :FREQuency [:IMMediate]? <value>...
  • Page 12 SCPI Commands AFV-P Series 3.4 BASIC Commands :BASIc Basic mode parameters :MEMory :NAME? <value> Return memory<1~50>’s file name :NAME <value>,<string> Set memory<1~50>’s, file name<”name”> :VOLTage [:LIMit] :HI? Return voltage hi limit for basic mode :HI <value> Set voltage hi limit for basic mode...
  • Page 13 SCPI Commands AFV-P Series 3.5 Advanced Command :ADVanced Advanced mode parameters :MEMory :NAME? <value> Return memory<1~50> file name :NAME <value>,<string> Set memory<1~50>,file name<”name”> :STARt? Return start memory value :STARt <value> Set start memory <1~50> :END? Return end memory value :END <value>...
  • Page 14 :UNIT? <value>,<value1> Return memory<1~50>,step<1-24>’s test time unit value :UNIT <value>,<value1>,<value2> Set memory<1~50>,step<1-24>’s test time unit value <SECond | MINUte | HOUR> :DELay? <value>,<value1> Return memory<1~50>,step<1-24>’s delay time value :DELay <value>,<value1>,<value2> Set memory<1~50>,step<1-24>’s delay time value :CONNect? <value>,<value1> Return memory<1~50>,step<1-24>’s connect value :CONNect <value>,<value1>,<value2>...
  • Page 15 SCPI Commands AFV-P Series :VOLTage [:LEVel] [:IMMediate] [:AMPLitude]? <value>,<value1> Return memory<1~50>,step<1-24>’s output voltage value [:AMPLitude] <value>,<value1>, Set memory<1~50>,step<1-24>’s, output voltage value <value2> :RANGe? <value> Return memory<1~50>,step<1-24>’s output voltage range value :RANGe <value>,<value1> Set memory<1~50>,step<1-24>’s, output voltage range value <HIGH | AUTO>...
  • Page 16: 3.6 Status Commands

    SCPI Commands AFV-P Series :RESistive [:LIMit] [:HI]? <value>,<value1> Return memory<1~50>,step<1-24>’s q hi limit value [:HI] <value>,<value1>,<value2> Set memory<1~50>,step<1-24>’s, q hi limit value :LO? <value>,<value1> Return memory<1~50>,step<1-24>’s q lo limit value :LO <value>,<value1>,<value2> Set memory<1~50>,step<1-24>’s, q lo limit value 3.6 STATUS Commands :STATus The status commands tree.
  • Page 17: 3.7 System Commands

    SCPI Commands AFV-P Series 3.7 SYSTEM Commands :SYSTem The system command tree. :ERRor [:NEXT]? Return error message. :COUNt? Return error counts. :VERSion? Return SCPI V1999.0. :LOCal The instrument return to local mode. :KLOCK? Returns ON, if the front panel programmable keys are locked out.
  • Page 18 SCPI Commands AFV-P Series :ANGLe The system command tree. :STARt? Return 0-359 :STARt <value> Set the instrument start angle. :END? Return 0-359 :END <value> Set the instrument end angle. :SYNChronous:SINGnal? Return OFF | ON | EVENt :SYNChronous:SINGnal <value> Set the instrument synchronous singnal...
  • Page 19 SCPI Commands AFV-P Series :GPIB:ADDRess? Return 1 - 30 :GPIB:ADDRess <value> Set the gpib card address. :ANALogy? Return OFF | ON :ANALogy <boolean> Set the analogy card on or off. :SERIALNO? D1234567890 Programming Manual...
  • Page 20: 3.6 Common Commands

    The following commands are common to all SCPI instruments and declared mandatory by IEEE 488.2. In the following table, the AFV-P Series will be defined as the “device” on the GPIB bus. These commands are further supported on the RS-232 command interface.
  • Page 21: Section 4 Rs-232 Interface

    SECTION 4 RS-232 INTERFACE This section describes how to connect the AFV-P for remote programming with a controller using the RS232 interface. The RS-232 interface provides a simpler 3-wire serial interface (compared to the GPIB parallel interface), while fully supporting the SCPI commands presented in Section 3.
  • Page 22: Rs-232 Connector

    RS-232 Interface AFV-P Series RS-232 Connector The RS-232 connector is a 9-pin male Subminiature-D type; its pinout is presented below: Pin Number Function Input/Output RxD, Receive Data Input TxD, Transmit Data Output Connected to Pin-6 — Signal Ground — Connected to Pin-4 —...
  • Page 23: Appendix A: Status Register Definitions

    GPIB serial poll. Either operation clears the contents of the Status Byte. The *CLS command clears the Status Byte. The AFV-P Series unit can be configured to request service from the GPIB controller by setting the appropriate bits in the Service Request Enable register. The SRE register has the same bit pattern as the Status Byte.
  • 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 AFV-P 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

    AFV-P Series Status Register Definitions Operation Complete Set whenever the last command is completed and the CW is ready to accept another command, or when query results are available. Query Error Set when a query is made for which no response is available.
  • Page 26 Status Register Definitions AFV-P Series This page intentionally left blank. Programming Manual...
  • Page 27: Appendix Berror Codes

    The following error codes are defined in the SCPI 1993.0 specification, and are supported by the AFV-P 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 Error Codes AFV-P Series -200, Execution error An error/event number in the range [-299, -200] indicates that an error has been detected by the instrument’s execution control block. The occurrence of any error in this class shall cause the execution error bit (bit 4) in the event status register to be set.
  • Page 29: Appendix C: Sample Programs

    The following examples will illustrate how to perform certain functions on the AFV-P using SCPI via the GPIB interface or the RS-232 channel. NOTE: See the AFV-P Series Operation Manual for examples of how to use Slave commands. Source AC from power up...
  • Page 30 Programming Manual...

Table of Contents