Multi-Range DC Power Supply PSW Series PROGRAMMING MANUAL GW INSTEK PART NO.
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 .......................................... 11 Configuration Settings ......................... 17 REMOTE CONTROL ....................................................... 21 Interface Configuration ........................ 22 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 Disconnect the power cord before cleaning. Operation Environment 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. After going through the overview, please read the theory of operation to become familiar with the operating modes, protection modes and other safety considerations. PSW Series Overview ....................................................... 9 Series lineup...............................................................................
GETTING STARTED PSW Series Overview Series lineup The PSW series consists of 6 models, divided into 3 different model types covering 3 power capacities: Type I (360 Watt), Type II (720 Watt) and Type III (1080 Watt). Model name Type Voltage Rating Current Rating Power PSW 30-36 Type I 0~30V 0~36A 360W PSW 80-13.5 Type I 0~80V 0~13.5A 360W PSW 30-72 Type II 0~30V 0~72A 720W PSW 80-27 Type II 0~80V 0~27A 720W PSW 30-108 Type III 0~30V 0~108A 1080W PSW 80-40.5 Type III 0~80V 0~40.
PSW Series Programming Manual Main Features Performance Features Interface 10 High performance/power Power efficient switching type power supply Low impact on load devices Fast transient recovery time of 1ms Fast output response time OVP, OCP and OTP protection Adjustable voltage and current slew rates User adjustable bleeder control to quickly dissipate the power after shutdown to safe levels.
GETTING STARTED Appearance PSW Front Panel PSW 80-27, PSW 30-72 (720W) 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 PSW 80-13.5, PSW 30-36 (360W) PSW 80-40.
PSW Series Programming Manual Function Keys The Function keys along with the Output key will light up when a key is active. Function OVP/OCP Display Indicators Set the over current or over voltage protection levels. Set Sets the current and voltage limits. Test Used to run customized scripts for testing. Please contact GW Instek for more details. Lock/Local Locks or unlocks the panel keys to prevent accidentally changing panel settings.
GETTING STARTED ISR 20 40 60 80 100 %W Current Slew Rate 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.
PSW Series Programming Manual Rear Panel PSW 80-27, PSW 30-72 (720W) Sense+ terminal Analog control connector USB B port Output terminal (+) Senseterminal SER.NO. LABEL Output terminal (-) Fan LAN LAN AC 100 47 63Hz 240V 1000VA MAX. AC Input PSW 80-13.5, PSW 30-36 (360W) PSW 80-40.5, PSW 30-108 (1080W) AC Input SER.NO. LABEL LAN N AC 100 47 63Hz L AC 100 47 63Hz 240V 500VA MAX. 240V 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 Chassis ground Sense (-) and Sense (+) terminals. USB B port The USB B port is used for remote control.
PSW Series Programming Manual Type I: PSW 30-36/80-13.5 Line Voltage Input Type II: PSW 30-72/80-27 (Type I/TypeII) Line Voltage Input (Type III) 16 N L Voltage Input: 100~240 VAC Line frequency: 50Hz/60 Hz (Automatically switchable) Type III: PSW 30-108/80-40.
GETTING STARTED Configuration Settings Setting Configuration Settings Background Note The normal configuration settings (F-01~F-61, F-88, F-89) are used to configure or view system settings. Use the following operation steps when configuring the interface settings used in the Remote Control chapter on page 18. Ensure the load is not connected. Ensure the output is off. Configuration settings F-90~F-95 cannot be edited in the Normal Function Settings. See the user manual for details.
PSW Series Programming Manual 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 Press the Function key again to exit the configuration settings. The function key light will turn off. Current Voltage Function Configuration Table Please use the configuration settings listed below when applying the configuration settings.
GETTING STARTED Rising current slew rate F-06 Falling current slew rate F-07 Internal resistance setting F-08 Bleeder circuit control F-09 Buzzer ON/OFF control F-10 USB/GPIB settings Front panel USB State F-20 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~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.
PSW Series Programming Manual 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-43 F-44 F-45 F-46 F-47 F-48 F-49 F-50 F-51 F-52 F-53 F-54 F-57 F-59 F-60 F-61 Factory Set Value F-88 Show Version F-89 20 0~255 0~255 0~255 0~255 0~255 0~255 0~255 0~255 0~255 0~255 0~255 0~255 0 = Disable, 1 = Enable 0 = Disable
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 .................................................. 22 Socket Server Examples .................................................. 32 Command Syntax ........................................................... 36 Command List .................................................
PSW Series Programming Manual Interface Configuration USB Remote Interface ........................................................... 22 Configure GPIB Interface ..................................................... 23 Configure Ethernet Connection ........................................... 24 USB Remote Control Function Check................................ 26 Web Server Remote Control Function Check ................... 27 Socket Server 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 17 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 for web sockets control.
PSW Series Programming Manual F-46 = 0 F-43 = 172 F-44 = 16 F-45 = 21 F-46 = 101 F-57 = 1 Note 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. USB Remote Control Function Check Functionality check Invoke a terminal application such as Hyper Terminal.
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 24). http:// XXX.XXX.XXX.XXX The web browser interface appears. Socket Server Function Check Background Requirements Functionality check 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.com.
PSW Series Programming Manual 2. From the Configuration panel access; My System>Devices and Interfaces>Network Devices 3. Press Add New Network Device>Visa TCP/IP Resource… 3 2 4. Select Manual Entry of Raw Socket from the popup window.
REMOTE CONTROL 5. Enter the IP address and the port number of the PSW. The port number is fixed at 2268. 6. Double click the Validate button. 5 6 7. Next configure the Alias (name) of the PSW connection. In this example the Alias is: PSW_DC1 8. Click finish.
PSW Series Programming Manual 9. The IP address of the PSW will now appear under Network Devices in the configuration panel. Select this icon now. 10. Press Open VISA Test Panel. 10 9 11. Under the Template > Property Node tabs, set Termination Char Enable from the Attribute Name list to VI_TRUE.
REMOTE CONTROL 12. Under the Basic I/O >Write tabs, Enter the *IDN? query into the Buffer, if it is not already there. 13. Click the Execute button. 12 13 14. In the Basic I/O > Read tabs, the return parameter for the *IDN? query should be returned to the buffer area: GW-INSTEK,PSW-8013,,T1.12.20111013 14 Note For further details, please see the following programming examples.
PSW Series Programming Manual Socket Server Examples Visual Basic Example ............................................................. 32 C++ Example .......................................................................... 33 LabVIEW Example ................................................................ 35 Visual Basic Example Background 32 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.
REMOTE CONTROL C++ Example Background Note 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.
PSW Series Programming Manual 34
REMOTE CONTROL LabVIEW Example Background The following picture shows a LabView programming example for the PSW.
PSW Series Programming Manual 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.
REMOTE CONTROL 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.
PSW Series Programming Manual 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.
REMOTE CONTROL 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 ...................................................................................... 42 Apply Commands APPLy .......
PSW Series Programming Manual OUTPut[:STATe][:IMMediate] ............................................ 48 OUTPut[:STATe]:TRIGgered .............................................. 48 OUTPut:PROTection:CLEar ............................................... 49 OUTPut:PROTection:TRIPped ........................................... 49 Status Commands STATus:OPERation[:EVENt] ............................................. 50 STATus:OPERation:CONDition ........................................
REMOTE CONTROL SYSTem:CONFigure:VOLTage:CONTrol ....................... 64 SYSTem:CONFigure:MSLave .............................................. 65 SYSTem:CONFigure:OUTPut:EXTernal[:MODE] ........ 65 SYSTem:CONFigure:OUTPut:PON[:STATe] ................. 65 SYSTem:COMMunicate:ENABle ....................................... 66 SYSTem:COMMunicate:GPIB[:SELF]:ADDRess ........... 67 SYSTem:COMMunicate:LAN:IPADdress......................... 67 SYSTem:COMMunicate:LAN:GATEway .........................
PSW Series Programming Manual Abort Commands ABORt ...................................................................................... 42 ABORt Set Description The ABORt command will cancel any triggered actions. Syntax ABORt APPLy Commands APPLy ....................................................................................... 42 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 .............................................. 45 INITiate[:IMMediate]:NAME Set Description The INITiate command starts the TRANsient or OUTPut trigger.
PSW Series Programming Manual Measure Commands MEASure[:SCALar]:CURRent[:DC] ................................... 46 MEASure[:SCALar]:VOLTage[:DC] ................................... 46 MEASure[:SCALar]:POWer[:DC] ....................................... 46 MEASure[:SCALar]:CURRent[:DC] Description Query Takes a measurement and returns the average output current Syntax MEASure[:SCALar]:CURRent[:DC]? Returns the current in amps.
REMOTE CONTROL Output Commands OUTPut:DELay:ON .............................................................. 47 OUTPut:DELay:OFF ............................................................ 47 OUTPut:MODE ..................................................................... 48 OUTPut[:STATe][:IMMediate] ............................................ 48 OUTPut[:STATe]:TRIGgered .............................................. 48 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 Status Commands STATus:OPERation[:EVENt] ............................................. 50 STATus:OPERation:CONDition ........................................ 50 STATus:OPERation:ENABle .............................................. 50 STATus:OPERation:PTRansition ....................................... 51 STATus:OPERation:NTRansition ...................................... 51 STATus:QUEStionable[:EVENt] ........................................ 51 STATus:QUEStionable:CONDition .
REMOTE CONTROL 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.
PSW Series Programming Manual 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.
REMOTE CONTROL 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.
PSW Series Programming Manual Source Commands [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] 54 [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] . 55 [SOURce:]CURRent:PROTection[:LEVel] ........................ 55 [SOURce:]CURRent:PROTection:STATe ......................... 56 [SOURce:]CURRent:SLEW:RISing ..................................... 56 [SOURce:]CURRent:SLEW:FALLing ................................
REMOTE CONTROL [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.
PSW Series Programming Manual 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 buzzer off. OFF Turns the buzzer on. 1 Turns the buzzer on. ON Return parameter Example Returns bleeder resistor status (0 or 1). SOUR:CURR:PROT:STAT OFF Turns OCP off.
REMOTE CONTROL Syntax [SOURce:]CURRent:SLEW:FALLing {|MIN|MAX} Query Syntax [SOURce:]CURRent:SLEW:FALLing? [MIN|MAX] 0.01A/s~200% (PSW 30-36) Parameter/Return NRf MIN MAX Example 0.1A/s~200% (PSW 30-72) 0.1A/s~200% (PSW 30-108) 0.01A/s~200% (PSW 80-13.5) 0.01A/s~200% (PSW 80-27) 0.01A/s~200% (PSW 80-40.5) Minimum falling current slew rate Maximum falling current slew rate SOUR:CURR:SLEW:FALL 1 Sets the falling current slew rate to 1A/s.
PSW Series Programming Manual Syntax [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] {|MIN|MAX} Query Syntax [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MIN|MAX] Parameter/Return 0~105% of the rated output voltage in volts. Minimum voltage level MIN Maximum voltage level MAX Example SOUR:VOLT:LEV:IMM:AMPL 10 Sets the voltage level to 10 volts.
REMOTE CONTROL Parameter/Return MIN MAX Example 10%~110% of the rated output voltage in volts. Minimum OVP level Maximum OVP level SOUR:VOLT:PROT:LEV MAX Sets the OVP level to its maximum. Set [SOURce:]VOLTage:SLEW:RISing Query Description Sets or queries the rising voltage slew rate. This is only applicable for CV slew rate priority mode. Syntax [SOURce:]VOLTage:SLEW:RISing {|MIN|MAX} Query Syntax [SOURce:]VOLTage:SLEW:RISing? [MIN|MAX] Parameter/Return 0.
PSW Series Programming Manual Trigger Commands The trigger commands generate and configure software triggers. TRIGger:TRANsient[:IMMediate] ...................................... 60 TRIGger:TRANsient:SOURce ............................................. 60 TRIGger:OUTPut[:IMMediate] ........................................... 60 TRIGger:OUTPut:SOURce ..................................................
REMOTE CONTROL 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. Waits for the Parameter/Return BUS IMMediate Example *TRG (or IEEE 488.1 “get” group execute trigger) command to start the trigger. Starts the trigger immediately. (default) TRIG:OUTP:SOUR BUS Sets the trigger source of the output system as BUS.
PSW Series Programming Manual System Function Command SYSTem:CONFigure:BEEPer[:STATe] ............................. 62 SYSTem:CONFigure:BLEeder[:STATe] ............................ 63 SYSTem:CONFigure:BTRip[:IMMediate] ......................... 63 SYSTem:CONFigure:BTRip:PROTection ......................... 63 SYSTem:CONFigure:CURRent:CONTrol ........................ 64 SYSTem:CONFigure:VOLTage:CONTrol........................ 64 SYSTem:CONFigure:MSLave ..............................................
REMOTE CONTROL 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|0|1} Query Syntax Parameter SYSTem:CONFigure:BLEeder[:STATe]? Turns the bleeder resistor off. 0 Turns the bleeder resistor off. OFF Turns the bleeder resistor on. 1 Turns the bleeder resistor on. ON Return parameter Returns bleeder resistor status.
PSW Series Programming Manual Set SYSTem:CONFigure:CURRent:CONTrol Query Description Sets or queries the CC control mode (local control (panel), external voltage control, external resistance control). This setting is applied only after the unit is reset.
REMOTE CONTROL Set SYSTem:CONFigure:MSLave Query Description Sets or queries the unit operation mode. This setting is only applied after the unit has been reset.
PSW Series Programming Manual Query Syntax Parameter SYSTem:CONFigure:OUTPut:PON[:STATe]? Output off at power up 0 Output off at power up OFF Output on at power up 1 Output on at power up ON Output off at power up Return Parameter 0 Output on at power up 1 Set SYSTem:COMMunicate:ENABle Query Description Enables/Disables LAN, GPIB or USB remote interfaces as well as remote services (Sockets, Web Server).
REMOTE CONTROL SYSTem:COMMunicate:GPIB[:SELF]:ADDR ess Set Query Description Sets or queries the GPIB address. 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. Set SYSTem:COMMunicate:LAN:IPADdress Query Description Sets or queries LAN IP address.
PSW Series Programming Manual Set SYSTem:COMMunicate:LAN:SMASk Query Description Sets or queries the LAN subnet mask. Syntax SYSTem:COMMunicate:LAN:SMASk Query Syntax SYSTem:COMMunicate:LAN:SMASk? Parameter/Return Subnet mask in string format ( “mask”) Applicable ASCII characters: 20H to 7EH Example SYST:COMM:LAN:SMASk “255.255.0.0” Sets the LAN mask to 255.255.0.0. SYSTem:COMMunicate:LAN:MAC Description Query Returns the unit MAC address as a string.
REMOTE CONTROL Set SYSTem:COMMunicate:LAN:DNS Query Description Sets or queries the DNS address. 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. SYSTem:COMMunicate:LAN:HOSTname Description Query Queries the host name.
PSW Series Programming Manual Set SYSTem:COMMunicate:LAN:WEB:PASSword Query Description Sets or queries the web password. 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. SYSTem:COMMunicate:USB:FRONt:STATe Description Query Queries the front panel USB-A port state.
REMOTE CONTROL Example SYSTem:ERRor? -100, “Command error” Set SYSTem:KLOCk Query Description Enables or disables the front panel key lock. Syntax SYSTem:KLOCk { OFF | ON | 0 | 1} Query Syntax Parameter SYSTem:KLOCk? Panel keys unlocked 0 Panel keys unlocked OFF Panel keys locked 1 Panel keys locked ON Panel keys unlocked Return parameter 0 Panel keys locked 1 SYSTem:INFormation Description Query Queries the system information.
PSW Series Programming Manual SYSTem:PREset Set Description Resets all the settings to the factory default settings. See page 96 for details. Syntax SYSTem:PREset SYSTem:VERSion Query Description Returns the version of the SCPI specifications that the unit complies with. Query Syntax Return SYSTem:VERSion? <1999.0> Always returns the SCPI version: 1999.0. IEEE 488.2 Common Commands *CLS .......................................................................................... 73 *ESE ..........
REMOTE CONTROL *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.
PSW Series Programming Manual 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.
REMOTE CONTROL 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).
PSW Series Programming Manual 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 .................................... 76 The Status Registers ................................................................ 77 Questionable Status Register Group ................................... 78 Operation Status Register Group ..
REMOTE CONTROL 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 Not Used 14
PSW Series Programming Manual Questionable Status Register Group The Questionable Status Register Group indicates if any protection modes or limits have been tripped.
REMOTE CONTROL 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.
PSW Series Programming Manual Operation Status Register Group The Operation Status Register Group indicates the operating status of the power supply.
REMOTE CONTROL 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.
PSW Series Programming Manual Enable Register 82 The Enable register determines which registered Events in the Event Register will be used to set the OPER bit in the Status Byte Register.
REMOTE CONTROL 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.
PSW Series Programming Manual 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.
REMOTE CONTROL 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.
PSW Series Programming Manual (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.
REMOTE CONTROL Error List Command Errors .................................................................... 87 Execution Errors ..................................................................... 91 Device Specific Errors ........................................................... 93 Query Errors ............................................................................ 94 Command Errors Overview An in the range [ -199 , 100 ] indicates that an IEEE 488.
PSW Series Programming Manual 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.
REMOTE CONTROL -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.
PSW Series Programming Manual -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.
REMOTE CONTROL 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.
PSW Series Programming Manual -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.
REMOTE CONTROL -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.
PSW Series Programming Manual 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.
REMOTE CONTROL 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).
APPENDIX Falling current slew rate F-07 Internal resistance setting Bleeder circuit control Buzzer ON/OFF control USB/GPIB setting Rear Panel USB Mode GPIB address 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-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) 0.
PSW Series Programming Manual Error Messages & Messages The following error messages or messages may appear on the PSW screen during operation. Error Messages Err 001 Err 002 Err 003 Description USB Mass Storage is not present No (such)file in USB mass storage Empty memory location Messages MSG 001 Description External control of output. Output off (F-94=0, High=on) External control of output.
INDEX INDEX Caution symbol ............................ 4 Cleaning the instrument ............. 6 Configuration normal function settings operation ...................................17 table ................................................18 Default settings .......................... 96 Display format ........................... 98 Disposal instructions ................... 6 EN61010 measurement category ...................5 pollution degree..............................6 Environment safety instruction .