PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL CONTENTS PROGRAMMER MANUAL PAGE 1. INTRODUCTION .................................................................................1 2. CONNECTING THE PROGRAMMABLE POWER SUPPLY VIA GPIB INTERFACE ..............................................................................2 3. CONNECTING THE PROGRAMMABLE POWER SUPPLY VIA RS232 INTERFACE.............................................................................
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL 2. CONNECTING THE PROGRAMMABLE POWER SUPPLY VIA GPIB INTERFACE 1. INTRODUCTION In the modern automatic measurement system, communication between equipments and computers is essential.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL DC1 (Device Clear) DT0 (Device Trigger) C0 (Controller) : The power supply has Device clear capability to return the device to power on status. : The power supply has no Device Trigger interface function. : The power supply can not control other devices. PROGRAMMER MANUAL III. Turn on the programmable power supply. IV. Turn on the computer.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 3. CONNECTING THE PROGRAMMABLE POWER SUPPLY VIA RS232 INTERFACE The RS232 interface capabilities: The RS232 interface provides a point-to-point connection between two items of equipment such as a computer and the power supply. There are some parameters you need to set on the both sides. Once you have set these parameters, you can control the power supply through the RS232 interface.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL *idn? EQUIPMENT COMPUTER (DB9, DTE) (DB9, DTE) Pin2 Pin2 Pin3 Pin3 Pin5 Pin5 should return the Manufacturer, model number, serial number and firmware version in the following format: GW.Inc,PSM-2010,A000000,FW1.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 5. COMMANDS AND SYNTAX The GPIB commands of the programmable power supply are compatible with IEEE-488.2 and SCPI standards SCPI SCPI (Standard Commands for Programmable Instruments) is a standard that created by an international consortium of the major test and measurement equipment manufacturers. The IEEE-488.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Command Header Parameter The command header has a hierarchical structure that can be represented by a command tree (Figure 4). The top level of the tree is the root level. A root node is located at the root level. A root node and one or more lower-level nodes form a header path to the last node called the leaf node. If the commands have parameters, the values have to be included.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Combining Commands z RS232 message terminators You can use a semicolon (;) to combine commands. For example: As there is no signal of end message on RS232 bus, therefore, use LF as message terminator. When a series of commands are sent to the instrument, it must add a LF to be a judgment for message terminator.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL Note. “|” “{}” “[]” “<>” It separates one of two or more alternative parameters. It enclose parameters within a command string. It indicate optional keywords or parameters. It indicate to substitute a value or a code for the enclose parameters.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL z Status Commands PROGRAMMER MANUAL SYSTem:BEEPer:STATe {0|1|OFF|ON } STATus:QUEStionable:CONDition? SYSTem:BEEPer::STATe? STATus:QUEStionable:ENABle {0|1} SYSTem:BEEPer:[:IMMediate] STATus:QUEStionable:ENABle? SYSTem:ERRor[:NEXT]? STATus:QUEStionable[:EVENt]? SYSTem:VERSion? STATus:OPERation:CONDition? SYSTem:MEMory? STATus:OPERation:ENABle {0|1} *Arrange from dark to bright in the order of 0 ~ 4.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL * * 0: Voltage calibration, 1: OVP calibration, 2: Current calibration, 3: OCP calibration PROGRAMMER MANUAL z Miscellaneous Commands SYSTem:AUTO[:STATe] {OFF|ON} SYSTem:AUTO[:STATe]? z RS232 Interface Commands SYSTem:AUTO:STARt {0|1|2|…..|99} SYSTem:LOCal SYSTem:AUTO:STARt? SYSTem:REMote SYSTem:AUTO:CEASe {0|1|2|…..|99} SYSTem:RWLock SYSTem:AUTO:CEASe? z IEEE-488.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 6. DETAILS OF COMMAND REFERENCE Each command in this chapter will give a detailed description. The examples of each command will be provided and what query form might return. z PROGRAMMER MANUAL value of the binary bits of the ESER. Examples: *ESE 65 sets the ESER to binary 0100 0001. If the ESER contains the binary value 1000 0010, the *ESE? will return the value of 130. IEEE-488.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL *RST Examples: *IDN? Returns GW.Inc,PSM-2010,A1234567,FW1.00 *OPC Function: The command form (*OPC) sets the operation complete bit (bit 0) in the Standard Event Status Register (SESR) when all pending operations are finished. The query form (*OPC?) tells the programmable power supply to place an ASCII 1 in the Output Queue when the power supply completes all pending operations.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL *STB? Syntax: Function: The query of the Status Byte register (SBR) with *STB? will return a decimal number representing the bits that are set (true) in the status register. *RST *SAV Syntax: Function: Save the setting data to a specific memory location. *STB? Returns: Syntax: is in the range from 0 through 255. *SAV is in the range from 0 through 99.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL *TST? PROGRAMMER MANUAL Examples: Function: Self-test and test the RAM, ROM. :APPLy DEF, MAX Syntax: You can use DEF, MIN or MAX to replace voltage value or current value. *TST? Returns: 1) When select DEF, the voltage value is at 0, and the current value is at 20A(PSM-2010). Please refer to Table1-1, Table1-2 and Table1-3.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL Voltage Current Programming Range MAX Value MIN Value DEFault Value *RST Value MAX Ovp Value MIN Ovp Value Programming Range MAX Value MIN Value DEFault Value *RST Value MAX Ocp Value MIN Ocp Value 0-15V/7A Range 0V to15.45V 15.45V 0V 0V 0-30V/4A Range 0V to 30.9V 30.9V 0V 0V 0V 32V 0V 0A to 7.21A 7.21A 0A 7A 0A to 4.12A 4.12A 0A 4A Voltage Current Function: Set the output current value.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Syntax: Examples: :CURRent? returns +1.20000000E-02 if the current limit setting is 0.0120 amps(PSM-2010). :VOLTage? [MIN|MAX] Returns: :CURRent? MIN returns +0.00000000E+00(PSM-2010).. Scientific mark :CURRent? MAX returns +2.06000000E+01 (PSM-2010). Examples: :VOLTage :VOLTage? returns +1.20000000E-02 if the voltage limit setting is 0.0120 volts(PSM-2010). :VOLTage? MIN returns +0.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL :VOLTage:STEP 2) :CURRent:TRIGgered MAX sets the triggered current to the highest programmable triggered current levels. Function: Set or query the voltage step size. the triggered current to 3) :CURRent:TRIGgered 0.0000A(PSM-2010). :VOLTage:STEP {|DEFault} 4) :CURRent:TRIGgered? returns the present triggered current level.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 6) :VOLTage:TRIGgered? MIN returns the lowest programmable triggered voltage level. :MEASure:CURRent? PROGRAMMER MANUAL :CURRent:PROTection Function: Set the overcurrent protection value. Syntax: Function: Read the actual output current. :PROTection:CURRent {|MIN|MAX} Examples: Syntax: :CURRent:PROTection 10 sets the overcurrent protection value to 10.000A(PSM-2010).
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL :CURRent:PROTection:STATe Function: Set or query the overcurrent protection status. Syntax: :CURRent:PROTection:STATe {0|1|OFF|ON} :CURRent:PROTection? PROGRAMMER MANUAL Examples: :CURRent:PROTection:DELay 3 sets the OCP delay value to 3 sec. :CURRent:PROTection:DELay MIN sets the OCP delay value to 0.1 sec. :CURRent:PROTection:DELay MAX sets the OCP delay value to 10.0 sec.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL :VOLTage:PROTection MAX sets the overvoltage protection value to 22.000V(PSM-2010). Please refer to Table1-1, Table1-2 and Table1-3. :VOLTage:PROTection? Function: Query the overvoltage protection value. PROGRAMMER MANUAL :VOLTage:PROTection:TRIPped? Function: Query if the overvoltage protection circuit is tripped.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL When the panel displays the protective message, no further setting can be accepted by the device. Uses this command to clear the displayed messages in order to execute further setting. PROGRAMMER MANUAL Examples: :VOLTage:RANGe? returns the currently selected range. Examples: :VOLTage:PROTection:CLEar The returned parameter for the PSM-2010 will be “P8V” or “P20V”.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Returns Syntax: STATus:OPERation? Examples: Returns: STATus:OPERation:CONDition? returns 0. STATus:OPERation:ENABle Function: Set or query the enable mask that allows the masked conditions in the event register to be reported in the summary bit.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL STATus:QUEStionable:ENABle Function: Set or query the enable mask that allows the masked conditions in the event register to be reported in the summary bit. If a bit is 1 (true) in the enable register and its associated event bit changes to 1 (true), the associated summary bit will change to 1 (true). Even though this is a 16-bit register, only 15 bits (bit 0 through bit 14) are used. Bit 15 always reads 0.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Returns: SYSTem:AUTO:STARt Function: Set the start memory section for auto execute continuously. Examples: SYSTem:AUTO:DELay 1 sets auto delay time at 100ms for the memory of the specific section.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL z SYSTEM COMMANDS PROGRAMMER MANUAL Returns: SYSTem:ERRor? 1994.0 Function: Query the next error message from the Error/Event queue. The result of the query is the error number followed by the error text. SYSTem:BEEPer:STATe Syntax: Function: Set or query the currently beeper state.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Examples: SYSTem:REMote Function: This command is to set the power supply to the remote mode. During the operation of RS-232, all control knobs on the front panel are disabled except the “Local” key. Note: Under the operation of RS-232, it needs to send SYSTem:REMote in order to set the power supply to the remote mode, otherwise, an unexpectable result will be occurred.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL TRIGger:SOURce? Syntax: DISPlay:CONTrast {0|1|2|3|4}according to the sequence of 0 to 4 from dark to bright. z PROGRAMMER MANUAL TRIGGER COMMANDS The power supply’s triggering system allows a change in voltage and current when receiving a trigger, to select a trigger source, and to insert a trigger. Triggering the power supply is a multi-step process.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL CURR:TRIG 3.0 CALibration:VOLTage:MINimum TRIG:DEL 3.0 INIT CALibration:VOLTage:MIDDle *TRG After proceeding above program, the output will be change to 5V/3A immediately. z CALIBRATION COMMANDS CALibration:VOLTage:MAXimum Function: Input the voltage value separately. CALibration:PASSword Syntax: Function: Input Password to enter calibration mode.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Syntax: voltage meter, use the commands of CALibration:CURRent:MINimum CALibration:VOLTage:MINimum, CALibration:VOLTage:MIDDle < measured value >, CALibration:VOLTage:MAXimum < measured value > CALibration:CURRent:MIDDle CALibration:CURRent:MAXimum CALibration:CURRent:PROTection Function: Auto calibrate OCP.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL 7. STATUS AND ERROR REPORTING A set of status registers allows the user to quickly determine the power supply’s internal processing status. The status register, as well as the status and event reporting system, adhere to SCPI recommendations. Structure of System The sketch of the status and event reporting system is showed as figure 7.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Table 4: QUEStionable Status Register To SBR Bit 15 Condition Register Event Register Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 NU NU NU NU NU Summary OVP NU Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 NU NU NU NU NU NU ∗ Enable Register Figure 8: Status registers and related commands The CONDition register is a read-only register which monitors the pre
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL PROGRAMMER MANUAL Status Registers There are two status registers are included to the power supply defined by IEEE-488.1 and IEEE-488.2 standards. z z Status Byte Register (SBR) Standard Event Status Register (SESR) Standard Event Status Register (SESR), the Standard Event Status Register (SESR), and the Output Queue.
PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL z z z OPERation Enable Register QUEStionable Enable Register Service Request Enable Register (SRER) When one of the bits of the enable registers is high and the corresponding bit in the status register is high, the enable registers will perform a logical OR function, the output that controls the set bit of the Status Byte Register is high. Various commands set the bits in the enable registers.
PSM SERIES PROGRAMMABLE POWER SUPPLY PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL Queues PROGRAMMER MANUAL -123 Numeric overflow The output queue is included to power supplies. Output Queue: The programmable power supplies store query responses in the output queue by succeeding the IEEE 488.2 protocol. If the power supply receives a new command or query message after a message terminator, the power supply will clear and reset this queue each time.
PSM SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL -430 Query DEADLOCKED -440 Query UNTERMINATED after indefinite response ⎯ 68 ⎯