Multi-Range DC Power Supply PSW Series PROGRAMMING MANUAL VERSION: 1.
This manual contains proprietary information, which is protected by copyright. All rights are reserved. No part of this manual may be photocopied, reproduced or translated to another language without prior written consent of Good Will company. The information in this manual was correct at the time of printing. However, Good Will continues to improve products and reserves the rights to change specification, equipment, and maintenance procedures at any time without notice. Good Will Instrument Co., Ltd. No.
Table of Contents Table of Contents SAFETY INSTRUCTIONS ................................................... 4 GETTING STARTED ........................................................... 8 PSW Series Overview ............................. 9 Appearance .......................................... 14 Configuration Settings ......................... 21 REMOTE CONTROL ........................................................ 29 Interface Configuration ........................ 30 Socket Server Examples ............
PSW Series Programming Manual SAFETY INSTRUCTIONS This chapter contains important safety instructions that you must follow during operation and storage. Read the following before any operation to insure your safety and to keep the instrument in the best possible condition. Safety Symbols These safety symbols may appear in this manual or on the instrument. WARNING Warning: Identifies conditions or practices that could result in injury or loss of life.
SAFETY INSTRUCTIONS Do not dispose electronic equipment as unsorted municipal waste. Please use a separate collection facility or contact the supplier from which this instrument was purchased. Safety Guidelines General Guideline CAUTION Do not place any heavy object on the PSW. Avoid severe impact or rough handling that leads to damaging the PSW. Do not discharge static electricity to the PSW. Use only mating connectors, not bare wires, for the terminals.
PSW Series Programming Manual Cleaning the PSW Operation Environment Disconnect the power cord before cleaning. Use a soft cloth dampened in a solution of mild detergent and water. Do not spray any liquid. Do not use chemicals containing harsh material such as benzene, toluene, xylene, and acetone.
SAFETY INSTRUCTIONS Power cord for the United Kingdom When using the power supply in the United Kingdom, make sure the power cord meets the following safety instructions.
PSW Series Programming Manual GETTING STARTED This chapter describes the power supply in a nutshell, including its main features and front / rear panel introduction, as well as an overview of the configuration settings. PSW Series Overview ......................................................... 9 Series lineup .............................................................................. 9 Main Features ......................................................................... 10 Accessories ............
GETTING STARTED PSW Series Overview Series lineup The PSW series consists of 15 models, divided into 3 different model types covering 3 power capacities: Type I (360 Watt), Type II (720 Watt) and Type III (1080 Watt). Note Throughout the user manual, PSW 30, PSW 80, PSW 160, PSW 250 or PSW 800 will refer to any of the PSW models with a maximum voltage rating of 30V, 80V, 160V, 250V or 800V, respectively.
PSW Series Programming Manual Apart from the differences in output, each unit differs in size. The 720 and 1080 watt models are larger than the 360 watt models to accommodate the increase in power.
GETTING STARTED Interface Ethernet port Analog connector for analog voltage and current monitoring USB host and device port Accessories Please check the contents before using the PSW.
PSW Series Programming Manual Download PSW-002 Simple IDC Tool PSW-003 Contact Removal Tool PSW-005 Series operation cable for 2 units. PSW-006 Parallel operation cable for 2 units. PSW-007 Parallel operation cable for 3 units. GRA-410-J Rack mount adapter (JIS) GRA-410-E Rack mount adapter (EIA) GUG-001 GPIB to USB adapter GTL-240 USB Cable 57RG-30B00201 Large filter (Type II/III) Name Description psw_cdc.
GETTING STARTED PSW-008 Basic Accessory Kit: (Air filter x1, Analog control protection dummy x1, Analog control lock level x1 Optional Accessories Part number Description GET-002 Extended terminal PSW-001 Accessory Kit: Pin contact x10, Socket x1, Protection cover x1 Download PSW-002 Simple IDC Tool PSW-003 Contact Removal Tool PSW-006 Parallel operation cable for 2 units. PSW-007 Parallel operation cable for 3 units.
PSW Series Programming Manual Appearance PSW Front Panel 720W: PSW 30-72, 80-27, 160-14.4, 250-9, 800-2.88 PSW 30-72 Display Multi-Range DC Power Supply 720W VSR Voltage Voltage knob Current Current knob W CV V RMT ALM 20 40 60 80 100 %W DLY W CC A ISR Cover panel Function OVP/OCP Set Test Lock/Local PWR DSPL Output key Output Power switch Function keys USB A port 1080W: PSW 30-108, 80-40.5, 160-21.6, 250-13.5, 800-4.32 PSW 30-108 360W: PSW 30-36, 80-13.5, 160-7.
GETTING STARTED Function Keys The Function keys along with the Output key will light up when a key is active. Function OVP/OCP Display Indicators The Function key is used to configure the power supply. Set the over current or over voltage protection levels. Set Sets the current and voltage limits. Test Used to run customized scripts for testing. Lock/Local Locks or unlocks the panel keys to prevent accidentally changing panel settings. PWR DSPL Toggles the display from viewing V/AV/WA/W.
PSW Series Programming Manual 20 40 60 80 100 %W Power bar Indicates the current power output as a percentage. Voltage Knob Voltage Sets the voltage. Current Knob Current Sets the current. Output Output Press to turn on the output. The Output key will light up when the output is active. USB USB A port for data transfer, loading test scripts etc. Power Switch Used to turn the power on/off.
GETTING STARTED Rear Panel 720W: PSW 30-72, 80-27, 160-14.4 Sense+ terminal Analog control connector USB B port Output terminal (+) Chassis ground Senseterminal SER.NO. LABEL Output terminal (-) Fan LAN LAN AC 100 47 63Hz 1080W: PSW 30-108, 80-40.5, 160-21.6 240V 1000VA MAX. AC Input 360W: PSW 30-36, 80-13.5, 160-7.2 AC Input SER.NO. LABEL LAN N AC 100 47 63Hz L AC 100 47 63Hz 240V 500VA MAX. 240V 1500VA MAX.
PSW Series Programming Manual 720W: PSW 250-9, 800-2.88 Sense+ terminal Analog control connector USB B port Output terminals +V Senseterminal V SN.C. S V SER.NO. LABEL Chassis ground Output terminals -V Fan LAN LAN AC 100 240V 47 63Hz 1000VA MAX. AC Input 1080W: PSW 250-13.5, 800-4.32 360W: PSW 250-4.5, 800-1.44 AC Input V SN.C. S LAN V SER.NO. LABEL N V SN.C. S V AC 100 240V 47 63Hz 500VA MAX. L AC 100 240V 47 63Hz 1500VA MAX.
GETTING STARTED Standard 26 pin MIL connector (OMRON XG4 IDC plug). Analog Control Connector The analog control connector is used to monitor current and voltage output, machine status (OVP, OCP, OTP etc.), and for analog control of the current and voltage output. Use an OMRON XG5 IDC socket as the mating socket. Positive (+) and negative (-) output terminals. Output Terminals (30, 80, 160 volt models) Chassis ground Sense (-S) and Sense (+S) terminals.
PSW Series Programming Manual USB B port The USB B port is used for remote control. Fans Temperature controlled fans Ethernet Port The ethernet port is used for remote control and digital monitoring from a PC. LAN Line Voltage Input Type I: PSW 30-36/80-13.5/ 160-7.2/250-4.5, 800-1.44 (Type I/TypeII) Type II: PSW 30-72/80-27/ 160-14.4/250-9, 800-2.
GETTING STARTED Configuration Settings Configuration of the PSW power supplies is divided into five different configuration settings: Normal Function, USB/GPIB, LAN, Power ON Configuration, Calibration Settings and System Settings. Power ON Configuration differs from the other settings in that the settings used with Power ON Configuration settings can only be set during power up. The other configuration settings can be changed when the unit is already on.
PSW Series Programming Manual 3. Rotate the voltage knob to change the F setting. Range F-00~ F-61, F-88~F-89 4. Use the current knob to set the parameter for the chosen F setting. 5. Press the Voltage knob to save the configuration setting. ConF will be displayed when successful. Exit Voltage Press the Function key again to exit the configuration settings. The function key light will turn off.
GETTING STARTED Steps 6. Hold the Function key whilst turning the power on. 7. The display will show F-90 on the top and the configuration setting for F-90 on the bottom. 8. Rotate the voltage knob to change the F setting. Range Multi-Range DC Power Supply 360W VSR Voltage W CV V RMT ALM 20 40 60 80 100 %W DLY Current W CC A ISR Function OVP/OCP Set Test Lock/Local PWR DSPL Output Voltage F-90~ F-95 9. Use the current knob to set the parameter for the chosen F setting. 10.
PSW Series Programming Manual Configuration Table Please use the configuration settings listed below when applying the configuration settings. Normal Function Settings Output ON delay time Output OFF delay time Setting F-01 F-02 V-I mode slew rate select F-03 Rising voltage slew rate F-04 Falling voltage slew rate F-05 Rising current slew rate 24 F-06 Setting Range 0.00s~99.99s 0.00s~99.99s 0 = CV high speed priority 1 = CC high speed priority 2 = CV slew rate priority 3 = CC slew rate priority 0.
GETTING STARTED Falling current slew rate F-07 Internal resistance setting F-08 Bleeder circuit control F-09 Buzzer ON/OFF control F-10 Measurement Average F-17 Setting Lock Mode F-19 USB/GPIB settings Front panel USB State F-20 Rear panel USB State F-21 0.01A/s~72.00A/s (PSW 30-36) 0.1A/s~144.0A/s (PSW 30-72) 0.1A/s~216.0A/s (PSW 30-108) 0.01A/s~27.00A/s (PSW 80-13.5) 0.01A/s~54.00A/s (PSW 80-27) 0.01A/s~81.00A/s (PSW 80-40.5) 0.01A/s~14.40A/s (PSW 160-7.2) 0.01A/s~28.80A/s (PSW 160-14.4) 0.
PSW Series Programming Manual Rear panel USB mode F-22 GPIB address LAN settings MAC Address-1 MAC Address-2 MAC Address-3 MAC Address-4 MAC Address-5 MAC Address-6 LAN DHCP IP Address-1 IP Address-2 IP Address-3 IP Address-4 Subnet Mask-1 Subnet Mask-2 Subnet Mask-3 Subnet Mask-4 Gateway-1 Gateway-2 Gateway-3 Gateway-4 DNS address -1 DNS address -2 DNS address-3 DNS address-4 Sockets active Web Server active Web password active Web setting password System Settings F-23 0 = Disable, 1 = GPIB-USB adapter
GETTING STARTED Show Version F-89 0, 1 = PSW version 2, 3 = PSW build year 4, 5 = PSW build month/day 6, 7 = Keyboard CPLD version 8, 9 = Analog-Control CPLD version A, B = Reserved C, D = Kernel build year E, F = Kernel build month/day G, H = Test command version I, J = Test command build year K, L = Test command build month/day M, N = USB Driver version.
PSW Series Programming Manual *Note 28 Power On and Calibration settings can only be set during power up.
REMOTE CONTROL REMOTE CONTROL This chapter describes basic configuration of IEEE488.2 based remote control. For a command list, refer to the programming manual, downloadable from GW Instek website, www.gwinstek.com Interface Configuration ................................................... 30 Socket Server Examples ................................................... 45 Command Syntax ............................................................ 49 Command List ..............................................
PSW Series Programming Manual Interface Configuration USB Remote Interface .......................................................... 30 Configure GPIB Interface .................................................... 31 Configure Ethernet Connection .......................................... 32 USB Remote Control Function Check ............................... 34 Using Realterm to Establish a Remote Connection ......... 35 Web Server Remote Control Function Check ...................
REMOTE CONTROL Configure GPIB Interface To use GPIB, the optional GPIB to USB (GUG-001) adapter must be used. The GPIB to USB adapter must be connected before the PSW is turned on. Only one GPIB address can be used at a time. Configure GPIB 1. Ensure the PSW is off before proceeding. 2. Connect the USB cable from the rear panel USB B port on the PSW to the USB A port on the GPIB to USB adapter. 3. Connect a GPIB cable from a GPIB controller to the GPIB port on the adapter.
PSW Series Programming Manual Configure Ethernet Connection The Ethernet interface can be configured for a number of different applications. Ethernet can be configured for basic remote control or monitoring using a web server or it can be configured as a socket server. The PSW series supports both DHCP connections so the instrument can be automatically connected to an existing network or alternatively, network settings can be manually configured.
REMOTE CONTROL 2. Press the Function key to enter the Page 21 Normal configuration settings. Set the following LAN settings: F-36 = 1 F-37 = 1 F-59 = 1 Note Enable LAN Turn DHCP to enable Turn the web server on It may be necessary to cycle the power or refresh the web browser to connect to a network. Sockets Server Configuration Configuration This configuration example will configure the PSW sockets server.
PSW Series Programming Manual F-44 = 255 F-45 = 128 F-46 = 0 F-43 = 172 F-44 = 16 F-45 = 21 F-46 = 101 F-57 = 1 Note Subnet Mask part 2 of 4 Subnet Mask part 3 of 4 Subnet Mask part 4 of 4 Gateway part 1 of 4 Gateway part 2 of 4 Gateway part 3 of 4 Gateway part 4 of 4 Enable Sockets The socket function is only available for firmware version V1.12 or above. See the user manual to check your firmware version number.
REMOTE CONTROL Manufacturer: GW-INSTEK Model number : PSW-3036 Serial number : TW123456 Firmware version : 01.00.20110101 Using Realterm to Establish a Remote Connection Background Realterm is a terminal program that can be used to communicate with a device attached to the serial port of a PC or via an emulated serial port via USB. The following instructions apply to version 2.0.0.70.
PSW Series Programming Manual The baud rate, stop bit and parity settings can be viewed for the virtual COM port by rightclicking connected device and selecting the Properties option. 4. Start Realterm on the PC as an administrator. Click: Start menu>All Programs>RealTerm>realterm Tip: to run as an administrator, you can right click the Realterm icon in the Windows Start menu and select the Run as Administrator option.
REMOTE CONTROL 5. After Realterm has started, click on the Port tab. Enter the Baud, Parity, Data bits, Stop bits and Port number configuration for the connection. The Hardware Flow Control, Software Flow Control options can be left at the default settings. Press Open to connect to the PSW.
PSW Series Programming Manual 6. Click on the Send tab. In the EOL configuration, check on the +CR and +LF check boxes. Enter the query: *idn? Click on Send ASCII. 7. The terminal display will return the following: GW-INSTEK,PSW-XXX-X,TW123456,01.00.20110101 (manufacturer, model, serial number, version) 8. If Realterm fails to connect to the PSW, please check all the cables and settings and try again.
REMOTE CONTROL Web Server Remote Control Function Check Functionality check Enter the IP address of the power supply in a web browser after the instrument has been configured as a web server (page 32). http:// XXX.XXX.XXX.XXX The web browser interface appears. Socket Server Function Check Background To test the socket server functionality, National Instruments Measurement and Automation Explorer can be used. This program is available on the NI website, www.ni.
PSW Series Programming Manual 2. From the Configuration panel access; My System>Devices and Interfaces>Network Devices 3. Click Create New... . 4. Select Visa TCP/IP Resource.
REMOTE CONTROL 5. Select Manual Entry of Raw Socket from the popup window. 6. Click Next. 5 6 7. Enter the IP address and the port number of the PSW. The port number is fixed at 2268. 8. Click the Validate button. A popup box will appear when successful. 9. Click Next.
PSW Series Programming Manual 7 8 9 10. Next configure the Alias (name) of the PSW connection. In this example the Alias is: PSW_DC1 11. Click finish. 10 11 12. The IP address of the PSW will now appear under Network Devices in the configuration panel. Select this icon now. 13. Press Open VISA Test Panel.
REMOTE CONTROL 13 12 14. Click Configuration icon. 15. In the I/O Settings tab, select the Enable Termination Character check box. Ensure Line Feed - \n is selected as the line feed character. 16. Click Apply Changes. 14 15 16 17. Click the Input/Output icon. 18. Ensure *IDN?\n is selected in the Select or Enter Command dropdown text box. 19. Click the Query button. 20. The *IDN? query should be returned to the buffer area: GW-INSTEK,PSW250-9,,01.54.
PSW Series Programming Manual 17 18 19 20 Note 44 For further details, please see the following programming examples.
REMOTE CONTROL Socket Server Examples Visual Basic Example ............................................................ 45 C++ Example ........................................................................ 46 LabVIEW Example ............................................................... 48 Visual Basic Example Background The following visual basic programming example uses the VISA COM 3.0 Type Library. The example will connect to the PSW using the IP address of 172.15.5.133 over port 2268.
PSW Series Programming Manual C++ Example Background Note 46 The following program creates a connection to the PSW and sets the voltage to 3.3 volts and the current 1.5 amps. The voltage and current reading is then read back and the connection is closed. Add visa32.lib to the project library when building the following sample program.
REMOTE CONTROL 47
PSW Series Programming Manual LabVIEW Example Background 48 The following picture shows a LabView programming example for the PSW.
REMOTE CONTROL Command Syntax Compatible Standard Command Structure IEEE488.2 Partial compatibility SCPI, 1999 Partial compatibility SCPI commands follow a tree-like structure, organized into nodes. Each level of the command tree is a node. Each keyword in a SCPI command represents each node in the command tree. Each keyword (node) of a SCPI command is separated by a colon (:). For example, the diagram below shows an SCPI sub-structure and a command example.
PSW Series Programming Manual Query A query is a simple or compound command followed by a question mark (?). A parameter (data) is returned. Example meas:curr:dc? Compound Two or more commands on the same command line. Compound commands are separated with either a semicolon (;) or a semi-colon and a colon (;:). A semi-colon is used to join two related commands, with the caveat that the last command must begin at the last node of the first command.
REMOTE CONTROL Command Forms Commands and queries have two different forms, long and short. The command syntax is written with the short form of the command in capitals and the remainder (long form) in lower case. The commands can be written in capitals or lower-case, just so long as the short or long forms are complete. An incomplete command will not be recognized. Below are examples of correctly written commands.
PSW Series Programming Manual integers 0, 1, 2, 3 decimal numbers 0.1, 3.14, 8.5 floating point 4.5e-1, 8.25e+1 any of NR1, 2, 3 1, 1.5, 4.5e-1 Definitive length arbitrary block data. A single decimal digit followed by data. The decimal digit specifies how many 8-bit data bytes follow. Message Terminator LF Line feed code Command List Abort Commands ABORt ....................................................................................
REMOTE CONTROL Output Commands OUTPut:DELay:ON............................................................. 61 OUTPut:DELay:OFF ........................................................... 61 OUTPut:MODE.................................................................... 62 OUTPut[:STATe][:IMMediate] ........................................... 62 OUTPut[:STATe]:TRIGgered ............................................. 62 OUTPut:PROTection:CLEar ..............................................
PSW Series Programming Manual Trigger Commands TRIGger:TRANsient[:IMMediate] ...................................... 76 TRIGger:TRANsient:SOURce ............................................ 76 TRIGger:OUTPut[:IMMediate] .......................................... 77 TRIGger:OUTPut:SOURce ................................................. 77 Trigger Command Examples ............................................... 77 System Commands SYSTem:BEEPer[:IMMediate] ............................................
REMOTE CONTROL Common Commands *CLS ........................................................................................ 92 *ESE ........................................................................................ 92 *ESR ........................................................................................ 92 *IDN ....................................................................................... 92 *OPC .......................................................................................
PSW Series Programming Manual Abort Commands ABORt .................................................................................... 56 ABORt Set Description The ABORt command will cancel any triggered actions. Syntax ABORt APPLy Commands APPLy ..................................................................................... 56 Set APPLy Description Query The APPLy command is used to set both the voltage and current.
REMOTE CONTROL Parameter MIN MAX Return parameter Example 0% ~ 105% of the rated output voltage. 0% ~ 105% of the rated output current. 0 volts/0 amps Maxium value for the present range. Returns the voltage and current. APPL 5.05,1.1 Sets the voltage and current to 5.05V and 1.1A. Query Example APPL? +5.050, +1.100 Returns voltage (5.05V) and current (1.1A) setting. Display Commands DISPlay:MENU[:NAME] ....................................................
PSW Series Programming Manual Example DISP:MENU:NAME 0 Sets the display to the Voltage/Current display screen. DISPlay[:WINDow]:TEXT:CLEar Set Description Clears the text on the main screen from the DISPlay[:WINDow]:TEXT[:DATA] command . Syntax DISPlay[:WINDow]:TEXT:CLEar Set DISPlay[:WINDow]:TEXT[:DATA] Query Description Sets or queries the data text that will be written to the display. Writing to the display will overwrite data that is currently on the screen.
REMOTE CONTROL Parameter 0 OFF 1 ON Return parameter 0 1 Example Turns blink OFF Turns blink OFF Turns blink ON Turns blink ON Turns blink OFF Turns blink ON DISP:BLIN 1 Turns blink ON. Initiate Commands INITiate[:IMMediate]:NAME ............................................. 59 INITiate[:IMMediate]:NAME Description Set The INITiate command starts the TRANsient or OUTPut trigger. See the trigger commands on page 76 for usage details.
PSW Series Programming Manual Measure Commands MEASure[:SCALar]:CURRent[:DC] ................................... 60 MEASure[:SCALar]:VOLTage[:DC] .................................. 60 MEASure[:SCALar]:POWer[:DC]....................................... 60 MEASure[:SCALar]:CURRent[:DC] Description Query Takes a measurement and returns the average output current Syntax MEASure[:SCALar]:CURRent[:DC]? Return parameter Returns the current in amps.
REMOTE CONTROL Output Commands OUTPut:DELay:ON............................................................. 61 OUTPut:DELay:OFF ........................................................... 61 OUTPut:MODE.................................................................... 62 OUTPut[:STATe][:IMMediate] ........................................... 62 OUTPut[:STATe]:TRIGgered ............................................. 62 OUTPut:PROTection:CLEar ..............................................
PSW Series Programming Manual Set OUTPut:MODE Query Description Sets the PSW output mode. This is the equivalent to the F-03 (V-I Mode Slew Rate Select) settings. Syntax OUTPut:MODE {|CVHS|CCHS|CVLS|CCLS} Return Syntax Parameter OUTPut:MODE? CV high speed priority 0 CV high speed priority CVHS CC high speed priority 1 CC high speed priority CCHS CV slew rate priority 2 CV slew rate priority CVLS CC slew rate priority 3 CC slew rate priority CCLS Return parameter Returns the output mode.
REMOTE CONTROL Parameter 0 OFF 1 ON Return parameter Turns the output off when a software trigger is generated. Turns the output off when a software trigger is generated. Turns the output on when a software trigger is generated. Turns the output on when a software trigger is generated. Returns output trigger status of the instrument. OUTPut:PROTection:CLEar Set Description Clears over-voltage, over-current and overtemperature (OVP, OCP, OTP) protection circuits.
PSW Series Programming Manual Sense Commands SENSe:AVERage:COUNt ................................................... 64 Set SENSe:AVERage:COUNt Query Description Determines the level of smoothing for the average setting. This is the equivalent to the F-17 function setting. Syntax SENSe:AVERage:COUNt {| LOW | MIDDle | HIGH} Query Syntax Parameter SENSe:AVERage:COUNt? Low level of smoothing. 0 | LOW 1 | MIDDle Middle level of smoothing. High level of smoothing.
REMOTE CONTROL Status Commands STATus:OPERation[:EVENt] ............................................ 65 STATus:OPERation:CONDition ....................................... 65 STATus:OPERation:ENABle ............................................. 65 STATus:OPERation:PTRansition ....................................... 66 STATus:OPERation:NTRansition ...................................... 66 STATus:QUEStionable[:EVENt] ....................................... 66 STATus:QUEStionable:CONDition ....................
PSW Series Programming Manual Syntax STATus:OPERation:ENABle Query Syntax STATus:OPERation:ENABle? Parameter 0~32767 Return parameter 0~32767 Set STATus:OPERation:PTRansition Query Description Sets or queries the bit sum of the positive transition filter of the Operation Status register.
REMOTE CONTROL STATus:QUEStionable:CONDition Description Query Queries the status (bit sum) of the Questionable Status register. This query will not clear the register. Query Syntax STATus:QUEStionable:CONDition? Parameter 0~32767 Return parameter 0~32767 Set STATus:QUEStionable:ENABle Query Description Sets or queries the bit sum of the Questionable Status Enable register.
PSW Series Programming Manual Parameter Return parameter 0~32767 0~32767 STATus:PRESet Description Set This command resets the ENABle register, the PTRansistion filter and NTRansistion filter on the Operation Status and Questionable Status Registers. The registers/filters will be reset to a default value.
REMOTE CONTROL Source Commands [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] 69 [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude].. 70 [SOURce:]CURRent:PROTection[:LEVel] ....................... 70 [SOURce:]CURRent:PROTection:STATe ......................... 71 [SOURce:]CURRent:SLEW:RISing .................................... 71 [SOURce:]CURRent:SLEW:FALLing ................................ 72 [SOURce:]RESistance[:LEVel][:IMMediate] [:AMPLitude] ..............................................................
PSW Series Programming Manual [SOURce:]CURRent[:LEVel]:TRIGgered [:AMPLitude] Set Query Description Sets or queries the current level in amps when a software trigger has been generated. Syntax [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] {|MIN|MAX} Query Syntax [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude]? [MIN|MAX] Parameter/Return 0%~105% of the rated current output in amps. Minimum current level. MIN Maximum current level. MAX Example SOUR:CURR:LEV:TRIG:AMPL? MAX 37.
REMOTE CONTROL Set [SOURce:]CURRent:PROTection:STATe Query Description Turns OCP (over-current protection) on or off. Syntax [SOURce:]CURRent:PROTection:STATe {0|1|OFF|ON} Query Syntax [SOURce:]CURRent:PROTection:STATe? Turns the buzzer off. Parameter/Return 0 Turns the OCP off. OFF Turns the OCP on. 1 Turns the OCP on. ON Return parameter Example Returns the protection status (0 or 1). SOUR:CURR:PROT:STAT OFF Turns OCP off.
PSW Series Programming Manual Example SOUR:CURR:SLEW:RIS 72 Sets the rising current slew rate to 72A/s. Set [SOURce:]CURRent:SLEW:FALLing Query Description Sets or queries the falling current slew rate. This is only applicable for CC slew rate priority mode. Syntax [SOURce:]CURRent:SLEW:FALLing {|MIN|MAX} Query Syntax [SOURce:]CURRent:SLEW:FALLing? [MIN|MAX] Parameter/Return NRf 0.01A/s~72.00A/s (PSW 30-36) MIN MAX Example 0.1A/s~144.0A/s (PSW 30-72) 0.1A/s~216.0A/s (PSW 30-108) 0.01A/s~27.
REMOTE CONTROL Query Syntax [SOURce:]RESistance[:LEVel][:IMMediate][:AMPLitude] ? [MIN|MAX] Parameter/Return Resistance in ohms: MIN MAX Example 0.000Ω~0.833Ω (PSW 30-36) 0.000Ω~0.417Ω (PSW 30-72) 0.000Ω~0.278Ω (PSW 30-108) 0.000Ω~5.926Ω (PSW 80-13.5) 0.000Ω~2.963Ω (PSW 80-27) 0.000Ω~1.975Ω (PSW 80-40.5) 0.000Ω~22.222Ω (PSW 160-7.2) 0.000Ω~11.111Ω (PSW 160-14.4) 0.000Ω~7.407Ω (PSW 160-21.6) 0.00Ω ~ 55.55Ω (PSW 250-4.5) 0.00Ω ~ 27.77Ω (PSW 250-9) 0.00Ω ~ 18.51Ω (PSW 250-13.5) 0.0Ω ~ 555.
PSW Series Programming Manual [SOURce:]VOLTage[:LEVel]:TRIGgered [:AMPLitude] Set Query Description Sets or queries the voltage level in volts when a software trigger has been generated. Syntax [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] {|MIN|MAX} Query Syntax [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude]? [MIN|MAX] Parameter/Return 0%~105% of the rated voltage output in volts. Minimum current level. MIN Maximum current level.
REMOTE CONTROL Syntax [SOURce:]VOLTage:SLEW:RISing {|MIN|MAX} Query Syntax [SOURce:]VOLTage:SLEW:RISing? [MIN|MAX] Parameter/Return 0.01V/s~60.00V/s (PSW 30-XX) MIN MAX Example 0.1V/s~160.0V/s (PSW 80-XX) 0.1V/s~320.0V/s (PSW 160-XX) 0.1V/s~500.0V/s (PSW 250-XX) 1V/s~1600V/s (PSW 800-XX) Minimum rising voltage slew rate. Maximum rising voltage slew rate. SOUR:VOLT:SLEW:RIS MAX Sets the rising voltage slew rate to its maximum.
PSW Series Programming Manual Trigger Commands The trigger commands generate and configure software triggers. TRIGger:TRANsient[:IMMediate]...................................... 76 TRIGger:TRANsient:SOURce ............................................ 76 TRIGger:OUTPut[:IMMediate] .......................................... 77 TRIGger:OUTPut:SOURce ................................................. 77 Trigger Command Examples ...............................................
REMOTE CONTROL TRIGger:OUTPut[:IMMediate] Set Description Generates a software trigger for the output trigger system. On a trigger, sets the output state. Refer to the :OUTP:TRIG command on page 62. Syntax TRIGger:OUTPut[:IMMediate] Related commands OUTPut[:STATe]:TRIGgered Set TRIGger:OUTPut:SOURce Query Description Sets or queries the trigger source for the output system. Syntax TRIGger:OUTPut:SOURce [BUS | IMMediate] Query Syntax TRIGger:OUTPut:SOURce? Internal software trigger.
PSW Series Programming Manual 2. The transient system for the trigger in BUS mode. Example 2 TRIG:TRAN:SOUR BUS CURR:TRIG MAX VOLT:TRIG 5 INIT:NAME TRAN TRIG:TRAN (or *TRG) <==The current changes to the maximum, and the voltage changes to 5V. 3. The output system for the trigger in immediate mode. Example 3 TRIG:OUTP:SOUR IMM OUTP:TRIG 1 INIT:NAME OUTP <==The output changes to ON. 4. The output system for the trigger in BUS mode.
REMOTE CONTROL System Function Command SYSTem:BEEPer[:IMMediate] ............................................ 80 SYSTem:CONFigure:BEEPer[:STATe] ............................. 80 SYSTem:CONFigure:BLEeder[:STATe]............................ 81 SYSTem:CONFigure:BTRip[:IMMediate] ......................... 81 SYSTem:CONFigure:BTRip:PROTection ........................ 81 SYSTem:CONFigure:CURRent:CONTrol ........................ 82 SYSTem:CONFigure:VOLTage:CONTrol .......................
PSW Series Programming Manual Set SYSTem:BEEPer[:IMMediate] Query Description This command causes an audible tone to be generated by the instrument. The duration time is specified in seconds. Syntax SYSTem:BEEPer[:IMMediate] {|MINimum|MAXimum} Query Syntax Parameter SYSTem:BEEPer[:IMMediate]? [MINimum|MAXimum] 0 ~ 3600 seconds.
REMOTE CONTROL Parameter 0 OFF 1 ON Turns the buzzer off. Turns the buzzer off. Turns the buzzer on. Turns the buzzer on. Return parameter Returns the buzzer status. Set SYSTem:CONFigure:BLEeder[:STATe] Query Description Sets or queries the status of the bleeder resistor. Syntax SYSTem:CONFigure:BLEeder[:STATe] {OFF|ON|AUTO|0|1|2} Query Syntax Parameter SYSTem:CONFigure:BLEeder[:STATe]? Turns the bleeder resistor off. 0 Turns the bleeder resistor off.
PSW Series Programming Manual Parameter 0 OFF 1 ON Disables the power switch trip for OVP or OCP. Disables the power switch trip for OVP or OCP. Enables the power switch trip for OVP or OCP. Enables the power switch trip for OVP or OCP. Return parameter Returns power switch trip setting. Set SYSTem:CONFigure:CURRent:CONTrol Query Description Sets or queries the CC control mode (local control (panel), external voltage control, external resistance control).
REMOTE CONTROL 2 3 External resistance control; 10kΩ = Vo max, 0kΩ = Vo min. External resistance control; 10kΩ = Vo min, 0kΩ = Vo max. Set SYSTem:CONFigure:MSLave Query Description Sets or queries the unit operation mode. This setting is only applied after the unit has been reset. Syntax SYSTem:CONFigure:MSLave { 0 | 1 | 2 | 3 | 4 } Query Syntax SYSTem:CONFigure:MSLave? Series mode is only supported for 30V, 80V and 160V models.
PSW Series Programming Manual Set SYSTem:CONFigure:OUTPut:PON[:STATe] Query Description Sets the unit to turn the output ON/OFF at powerup. This setting is only applied after the unit has been reset.
REMOTE CONTROL Example SYST:COMM:ENAB 1,USB Turns the USB interface on. Query Example SYST:COMM:ENAB? USB 1 Queries the USB state, returns 1 (USB is on). SYSTem:COMMunicate:GPIB[:SELF]:ADDR ess Set Query Description Sets or queries the GPIB address. This setting is applied only after the unit is reset. Syntax SYSTem:COMMunicate:GPIB[:SELF]:ADDRess Query Syntax SYSTem:COMMunicate:GPIB[:SELF]:ADDRess? Parameter/Return 0~30 Example SYST:COMM:GPIB:SELF:ADDR 15 Sets the GPIB address to 15.
PSW Series Programming Manual Syntax SYSTem:COMMunicate:LAN:GATEway Query Syntax SYSTem:COMMunicate:LAN:GATEway? Parameter/Return Gateway address in string format ( “address”) Applicable ASCII characters: 20H to 7EH Example SYST:COMM:LAN:GATE “172.16.0.254” Sets the LAN gateway to 172.16.0.254. Set SYSTem:COMMunicate:LAN:SMASk Query Description Sets or queries the LAN subnet mask. This setting is applied only after the unit is reset.
REMOTE CONTROL OFF 1 ON Return parameter 0 1 DHCP off DHCP on DHCP on DHCP off DHCP on Set SYSTem:COMMunicate:LAN:DNS Query Description Sets or queries the DNS address. This setting is applied only after the unit is reset. Syntax SYSTem:COMMunicate:LAN:DNS Query Syntax SYSTem:COMMunicate:LAN:DNS? Parameter/Return DNS in string format ( “mask”) Applicable ASCII characters: 20H to 7EH Example SYST:COMM:LAN:DNS “172.16.1.252” Sets the DNS to 172.16.1.252.
PSW Series Programming Manual 1 ON Return parameter 0 1 Web password on Web password on Web password off Web password on Set SYSTem:COMMunicate:LAN:WEB:PASSword Query Description Sets or queries the web password. This setting is applied only after the unit is reset. Syntax SYSTem:COMMunicate:LAN:WEB:PASSword Query Syntax SYSTem:COMMunicate:LAN:WEB:PASSword? Parameter/Return 0 ~ 9999 SYST:COMM:LAN:WEB:PASS 1234 Example Set the web password as 1234.
REMOTE CONTROL SYSTem:COMMunicate:USB:FRONt:STATe Description Query Queries the front panel USB-A port state. Query Syntax SYSTem:COMMunicate:USB:FRONt:STATe? Absent Return parameter 0 Mass Storage 1 SYSTem:COMMunicate:USB:REAR:STATe Description Query Queries the rear panel USB-B port state.
PSW Series Programming Manual Query Syntax SYSTem:ERRor? Paramter/Return , Example Returns an error code followed by an error message as a string. The string is returned as “string”. SYSTem:ERRor? -100, “Command error” Set SYSTem:KEYLock:MODE Query Description Sets or queries the key lock mode. This setting is the equivalent of the F-19 function setting. Syntax SYSTem:KEYLock:MODE {0|1} Query Syntax SYSTem:KEYLock:MODE? Panel lock: allow output off.
REMOTE CONTROL Query Example SYST:INF? #3212MFRS GW-INSTEK,Model PSW80-13.5,SN TW0123456789,Firmware-Version 01.43.20130424, Keyboard-CPLD 0x30c,AnalogControl-CPLD 0x421,Kernel-BuiltON 2013-3-22,TEST-Version 01.00,TEST-BuiltON 2011-8-1,MAC 02-80-ad-20-31-b1 Returns the system information as a block data. SYSTem:PRESet Set Description Resets all the settings to the factory default settings. See page 115 for details.
PSW Series Programming Manual *CLS Description Set The *CLS command clears the Standard Event Status, Operation Status and Questionable Status registers. The corresponding Enable registers in each of the above registers are not cleared. If a newline code immediately precedes a *CLS command, the Error Que and the MAV bit in the Status Byte Register is also cleared. Syntax *CLS Set *ESE Query Description Sets or queries the Standard Event Status Enable register.
REMOTE CONTROL Return parameter Returns the instrument identification as a string in the following format: GW-INSTEK,PSW-3036,TW123456,01.00.20110101 Manufacturer: GW-INSTEK Model number : PSW-3036 Serial number : TW123456 Firmware version : 01.00.20110101 Set *OPC Description Query The *OPC command sets the OPC bit (bit0) of the Standard Event Status Register when all current commands have been processed. The *OPC? Query returns 1 when all the outstanding commands have completed.
PSW Series Programming Manual Parameter Return parameter 0~255 Returns the bit sum of the Service Request Enable register. *STB Description Query Queries the bit sum of the Status Byte register with MSS (Master summary Status). Query Syntax *STB? Return parameter Returns the bit sum of the Status Byte register with the MSS bit (bit 6). *TRG Set Description The *TRG command is able to generate a “get” (Group Execute Trigger).
REMOTE CONTROL Status Register Overview To program the PSW power supply effectively, the Status registers need to be understood. This chapter explains in detail how the Status registers are used and how to configure them. Introduction to the Status Registers .................................... 95 The Status Registers .............................................................. 96 Questionable Status Register Group ................................... 97 Operation Status Register Group ...................
PSW Series Programming Manual The Status Registers Questionable Status Register Event Enable OV (Over-Voltage) Condition PTR/NTP 0 0 0 0 OC (Over-Current) 1 1 1 1 Not Used 2 2 2 2 POW (AC Power Off) 3 3 3 3 OT (Over-Temperature) 4 4 4 4 Not Used 5 5 5 5 Not Used 6 6 6 6 Not Used 7 7 7 7 VL (Voltage-Limit) 8 8 8 8 CL (Current-Limit) 9 9 9 9 Not Used 10 10 10 10 SD (Shutdown Alarm) 11 11 11 11 Power-Limit 12 12 12 12 Not Used 13 13 13 13
REMOTE CONTROL Questionable Status Register Group The Questionable Status Register Group indicates if any protection modes or limits have been tripped.
PSW Series Programming Manual OT (Over Temperature) 4 16 8 256 9 512 SD (Shutdown Alarm) 11 2048 PL (Power-Limit) 12 4096 Over temperature protection has been tripped VL (Voltage Limit) Voltage limit has been reached CL (Current Limit) Current limit has been reached Condition Register The Questionable Status Condition Register indicates the status of the power supply. If a bit is set in the Condition register, it indicates that the event is true.
REMOTE CONTROL Operation Status Register Group The Operation Status Register Group indicates the operating status of the power supply.
PSW Series Programming Manual CC (Constant current mode) 10 1024 11 2048 12 4096 13 8192 Indicates if the PSW is in CC mode. OND (Output ON Delay) Indicates if Output ON delay time is active OFD (Output OFF Delay) Indicates if Output OFF delay time is active PR (Program Running) Indicates if a Test is running Condition Register The Operation Status Condition Register indicates the operating status of the power supply. If a bit is set in the Condition register, it indicates that the event is true.
REMOTE CONTROL Enable Register The Enable register determines which registered Events in the Event Register will be used to set the OPER bit in the Status Byte Register.
PSW Series Programming Manual Standard Event Status Register Group Overview The Standard Event Status Register Group indicates if any errors have occurred. The bits of the Event register are set by the error event queue.
REMOTE CONTROL EXE (Execution Error) 4 16 5 32 URQ (User Request) 6 64 PON (Power On) 7 128 The EXE bit indicates an execution error due to one of the following: illegal command parameter, parameter out of range, invalid parameter, the command didn’t execute due to an overriding operation condition. CME (Command Error) The CME bit is set when a syntax error has occurred. The CME bit can also be set when a command is received within a program message. Indicates the power is turned on.
PSW Series Programming Manual Status Byte Register & Service Request Enable Register Overview The Status Byte register consolidates the status events of all the status registers. The Status Byte register can be read with the *STB? query and can be cleared with the *CLS command.
REMOTE CONTROL (ESB) Event Summary Bit. The ESB is the summary bit for the Standard Event Status Register group. 5 32 MSS Bit 6 64 The MSS Bit is the summary of the Status Byte Register and Service Request register (bits 1-5, 7). This will be set to 1. OPER (Operation Status Register) 7 128 OPER bit is the summary bit for the Operation Status Register Group.
PSW Series Programming Manual Error List Command Errors ................................................................. 106 Execution Errors ................................................................. 110 Device Specific Errors ........................................................ 112 Query Errors ........................................................................ 113 Command Errors Overview An in the range [ -199 , 100 ] indicates that an IEEE 488.
REMOTE CONTROL Error Code Description -100 Command Error This is the generic syntax error for devices that cannot detect more specific errors. This code indicates only that a Command Error as defined in IEEE 488.2,11.5.1.1.4 has occurred. -102 Syntax error An unrecognized command or data type was encountered; for example, a string was received when the device does not accept strings.
PSW Series Programming Manual -112 Program mnemonic too long The header contains more that twelve characters (see IEEE 488.2, 7.6.1.4.1). -113 Undefined header The header is syntactically correct, but it is undefined for this specific device; for example, *XYZ is not defined for any device. -114 Header suffix out of range The value of a numeric suffix attached to a program mnemonic, see Syntax and Style section 6.2.5.2, makes the header invalid.
REMOTE CONTROL -141 Invalid character data Either the character data element contains an invalid character or the particular element received is not valid for the header. -148 Character data not allowed A legal character data element was encountered where prohibited by the device. -151 Invalid string data A string data element was expected, but was invalid for some reason (see IEEE 488.2, 7.7.5.2); for example, an END message was received before the terminal quote character.
PSW Series Programming Manual Execution Errors Overview An 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 (IEEE 488.2, section 11.5.1) to be set.
REMOTE CONTROL -201 Invalid while in local Indicates that a command is not executable while the device is in local due to a hard local control (see IEEE 488.2, 5.6.1.5); for example, a device with a rotary switch receives a message which would change the switches state, but the device is in local so the message can not be executed. -203 Command protected Indicates that a legal password-protected program command or query could not be executed because the command was disabled.
PSW Series Programming Manual -222 Data out of range Indicates that a legal program data element was parsed but could not be executed because the interpreted value was outside the legal range as defined by the device (see IEEE 488.2, 11.5.1.1.5.). -224 Illegal parameter value Used where exact value, from a list of possibles, was expected.
REMOTE CONTROL or query errors; see the other error definitions in this section. Error Code Description -310 System error Indicates that some error, termed “system error” by the device, has occurred. This code is device-dependent. -320 Storage fault Indicates that the firmware detected a fault when using data storage. This error is not an indication of physical damage or failure of any mass storage element.
PSW Series Programming Manual Error Code Description -400 Query error This is the generic query error for devices that cannot detect more specific errors. This code indicates only that a Query Error as defined in IEEE 488.2, 11.5.1.1.7 and 6.3 has occurred.
PSW Series Programming Manual APPENDIX PSW Default Settings The following default settings are the factory configuration settings for the power supply (Function settings/Test settings). Initial Settings Output LOCK Voltage Current OVP OCP Normal Function Settings Output ON delay time Output OFF delay time V-I mode slew rate select Rising voltage slew rate Default Setting Off 0 (Disabled) 0V 0A Maximum Maximum Setting F-01 F-02 F-03 F-04 Falling voltage slew rate F-05 Default Setting 0.00s 0.
PSW Series Programming Manual Rising current slew rate F-06 Falling current slew rate F-07 Internal resistance setting Bleeder circuit control Buzzer ON/OFF control Measurement Average Setting Lock Mode USB/GPIB setting Rear Panel USB Mode GPIB address 116 F-08 72.00A/s (PSW 30-36) 144.0A/s (PSW 30-72) 216.0A/s (PSW 30-108) 27.00A/s (PSW 80-13.5) 54.00A/s (PSW 80-27) 81.00A/s (PSW 80-40.5) 14.40A/s (PSW 160-7.2) 28.80A/s (PSW 160-14.4) 43.20A/s (PSW 160-21.6) 9.000A/s (PSW 250-4.5) 18.
APPENDIX LAN setting LAN DHCP Sockets active Web Server active Web password active Web setting password Power On Configuration CV Control CC Control Power-ON Output Master/Slave External Out Logic Power Switch trip F-36 F-37 F-57 F-59 F-60 F-61 1 = Enable 1 = Enable 1 = Enable 1 = Enable 1 = Enable 0000 F-90 F-91 F-92 F-93 F-94 F-95 0= Panel control (local) 0= Panel control (local) 0 = OFF at startup 0 = Master/Local 0= High ON 0 = Enable 117
PSW Series Programming Manual Error Messages & Messages The following error messages or messages may appear on the PSW screen during operation.
INDEX INDEX Accessories ................................. 11 Caution symbol ............................ 4 Cleaning the instrument ............. 6 Configuration normal function settings operation ................................... 21 overview ........................................ 21 power on configuration operation22 table ................................................ 24 Connector plug manufacturer.. 19 DECA SwitchLab ....................... 19 Display format .........................