User Manual for KIKUSUI models including: PBZ20-20, PBZ20-20A, PBZ20-10, Bipolar Power Supply PBZ Series
Support: Operation manuals User's Manual/5.4MB Specification/2.7MB
Support: Operation manuals
Part No. IB027585 Jun 2021 Communication Interface Manual BIPOLAR POWER SUPPLY PBZ Series PBZ20-20 PBZ20-20A PBZ40-10 PBZ60-6.7 PBZ80-5 About the Operation Manuals 2 Notations Used in This Manual 2 Remote Control Overview 3 VISA Library 4 Interface Setup 5 Using the RS232C Interface 5 Using the GPIB Interface 7 Using the USB Interface 8 Using the LAN Interface (Option) 9 Accessing and Operating the PBZ from a Web Browser (LAN interface) 11 Message Overview 14 SCPI Command Syntax 14 Parameters 17 Command Description in This Manual 19 IEEE 488.2 Common Commands 20 Output Setting Commands 24 CV/CC Mode and Bipolar/Unipolar Mode 24 Selecting the Signal Source (Internal or External) and Setting the External Signal Source 24 DC Signal Setting 26 Output, Trigger Signals, and Screen Contrast 36 Protection Features Commands 39 Mode 39 Activation points (OCP/OVP) 39 Activation points (I.LIM/ V.LIM) 41 Mode and activation points (legacy command) 42 Clearing Alarms 43 Measurement Function Commands 44 Trigger Function 45 Memory Function Commands 53 Preset Memory 53 Setup Memory 53 Sequence Function Commands 55 Editing Programs and Steps 55 Executing Programs 64 Editing Scripts 65 System Settings Commands 66 CONFIG Settings 66 Basic System Settings 70 IEEE 488.2 Register Model 74 SCPI Register Model 76 Default State 81 Processing time of Commands 86 List of Messages 87 List of Errors 96 Tutorial (Visual Basic 2008) 99 INDEX103 About the Operation Manuals There are five PBZ Series Manuals listed as follows. · Setup Guide Paper PDF This manual is intended for first-time users of this product. It provides an overview of the product and notes on usage. It also explains how to set up the product for testing the DUT. Always read this manual before using the product. · User's Manual PDF This manual is intended for first-time users of this product. It provides an overview of the product and notes on usage. It also explains how to configure the product, operate the product, perform maintenance on the product, and so on. · Communication Interface Manual PDF (this manual) This manual contains details about remotely controlling the tester using SCPI commands. The interface manual is written for readers with sufficient basic knowledge of how to control measuring instruments using a PC. · Quick Reference Paper PDF This manual explains Panel description and operation briefly. · Safety Information Paper PDF This document contains general safety precautions for this product. Keep them in mind and make sure to observe them. PBZ series manuals is intended for users of the product or persons teaching other users on how to operate the bipolar power supply. PBZ series manuals assumes that the reader has electrical knowledge. PDF is provided on the included CD-ROM. Adobe Acrobat Reader is required to view the PDF file. Product firmware versions This manual applies to products with firmware versions 2.2X (PBZ20-20/ PBZ40-10/ PBZ60-6.7/ PBZ80-5), 1.0X (PBZ20-20A). When contacting us about the product, please provide us with: The model (marked in the top section of the front panel) The firmware version (see the user's manual) The serial number (marked in the top section of the rear panel) Before reading this manual First read the User's Manual, which includes information on the product's hardware, to avoid connecting or operating the product incorrectly. Trademarks Company names and product names used in this manual are trademarks or registered trademarks of their respective companies. Copyrights The contents of this manual may not be reproduced, in whole or in part, without the prior consent of the copyright holder. The specifications of this product and the contents of this manual are subject to change without prior notice. © 2013 Kikusui Electronics Corporation Notations Used in This Manual · The bipolar power supply PBZ series is referred to as the PBZ in this manual. · The word "PC" used in this manual is a generic term for personal computers and workstations. · The following markings are used in this manual. WARNING Indicates a potentially hazardous situation which, if ignored, could result in death or serious injury. CAUTION Indicates a potentially hazardous situation which, if ignored, may result in damage to the product or other property. Indicates information that you should know. DESCRIPTION Explanation of terminology or operation principle. See Indicates reference to detailed information. 2 PBZ_INTERFACE 1 Remote Control Overview See p. 14 This chapter provides a general explanation of the remote control function. In addition to controlling the PBZ from the front panel, you can control it remotely through the following standard-equipped interfaces. · RS232C interface · GPIB interface · USB interface · LAN interface (factory option) If the factory option interface board is installed, you can use LAN. You cannot control the PBZ through RS232C, GPIB, USB, and LAN at the same time. The remote interfaces comply with IEEE Std 488.2-1992 and SCPI Specification 1999.0. Familiarize yourself with the syntax of the SCPI commands that are used with the PBZ before you use them to control the product. The RMT icon is displayed in the screen's status display area when the PBZ is in remote mode. To use the front panel to switch the PBZ back to local mode, press the LOCAL key. Measurement instrument interface standards The PBZ complies with the following standards. · IEEE Std 488.2-1992 IEEE Standard Codes, Formats, Protocols, and Common Commands For Use With IEEE Std 488.1-1987 · IEEE Std 488.1-1987 IEEE Standard Digital Interface for Programmable Instrumentation · Standard Commands for Programmable Instruments (SCPI) version 1999.0 · Universal Serial Bus Specification Rev 2.0 · Universal Serial Bus Test and Measurement Class Specification (USBTMC) Rev 1.0 · Universal Serial Bus Test and Measurement Class, Subclass USB488 Specification (USBTMC-USB488) Rev 1.0 · TCP/IP Instrument Protcol Specification VXI-11 · LXI 1.4 Core Device Specification 2011 PBZ_INTERFACE 3 Remote Control Overview VISA Library To use the VISA library (VISA COM) with the I/O library, the VISA library must be installed on the controller (the host PC). To use the USB interface to control the PBZ, a driver that supports the USB Test & Measurement Class (USBTMC) must be installed on the controller. The USBTMC driver is installed automatically by the VISA library. When the product is controlled by the LAN interface, middleware which applies to the VXI-11 protocol is required. Middleware is automatically installed by VISA library. VISA (Virtual Instrument Software Architecture) was developed by the VXIplug&play Systems Alliance. It is the standard specification for measurement instrument connection software. You have to install one of the following VISA libraries (driver software that is implemented according to the VISA specifications). Do not install multiple VISA libraries on the same PC. Doing so may cause errors. VISA libraries that are older than the versions listed here do not support USB. · NI-VISA by National Instruments Corporation (version 5.1.1 or later) · Keysight VISA by Keysight Technologies, Inc. (Keysight IO Librarys Suite 16.0 or later) · KI-VISA version 5.0..4 or later KI-VISA is an original VISA library developed by Kikusui Electronics Corporation that supports the VXIplug&play VISA specifications. You can download the most recent version of this library from the Kikusui Electronics Corporation website (http://www.kikusui.co.jp/ download/). If NI-VISA or Keysight VISA is already installed on your PC, you do not need to install KI-VISA. You can download the "KI-VISA Library Programming Guide" from the Kikusui Electronics Corporation website. 4 PBZ_INTERFACE 2 Interface Setup Using the RS232C Interface The PBZ RS232C interface is a standard D-sub, 9-pin male connector. Check that the PBZ and your PC are off, and connect them with a standard cross cable (nullmodem cable). Use a D-sub, 9-pin, female-to-female AT cross cable. The figure below shows the port pinout. The PBZ does not use hardware handshaking (cross cable example 2). 1: CD (carrier detect) 2: RXD (receive data) 3: TXD (transmit data) 4: DTR (data terminal ready) 5: GND (signal ground) #4-40UNC inch screw #4-40UNC inch screw 9: RI (ring indicator) 8: CTS (clear to send) 7: RTS (request to send) 6: DSR (data set ready) Facing the PBZ rear panel 1 2 3 4 5 6 7 8 9 D-sub 9-pin female 1 2 3 4 5 6 7 8 9 D-sub 9-pin female Cross cable example 1 1 2 3 4 5 6 7 8 9 D-sub 9-pin female 1 2 3 4 5 6 7 8 9 D-sub 9-pin female Cross cable example 2 PBZ_INTERFACE 5 Interface Setup RS232C Settings Press Config key to set the interface type and communication parameters using CONFIG[6]. Protocol The RS232C protocol. In the following table, the underlined values are the factory default settings. Item Connector Baud rate Data length Stop bits Parity Flow control Setting Rear panel, D-sub, 9-pin connector 1200, 2400, 4800, 9600, 19200, or 38400 bps 7 or 8 1 or 2 None (fixed) ON or OFF Flow control Use flow control for RS232C transmission and reception. Device Control (DC) codes are used for this purpose. Data may not be received properly if flow control is not used. Code DC1 (Xon) DC3 (Xoff) Function Request to send Transmission stop request ASCII code 11H 13H PBZ TXD RXD DC3 Pause DC1 Resume transmission Within 10 characters After receiving DC3, the RS232C terminal must pause transmission within 10 characters. Break signal The break signal is used as a substitute for the IEEE488.1 dcl/sdc (Device Clear, Selected Device Clear) message. 6 PBZ_INTERFACE Using the GPIB Interface Interface Setup Setting the GPIB address The factory default GPIB address is "1." You can set the address to a number from 1 to 30. Press Config key to set the interface type and GPIB address using CONFIG[6]. GPIB feature Function Source handshaking Acceptor handshaking Talker Listener Service request Remote local Parallel polling Device clear Device trigger Controller Electrical interface Subset SH1 AH1 T6 L4 SR1 RL1 PP0 DC1 DT1 C0 E1 Description Full capability Full capability Function available Function available Full capability Full capability No capability Full capability Full capability No capability Open-collector driver Service request The PBZ is equipped with service request and serial polling functions. PBZ_INTERFACE 7 Interface Setup Using the USB Interface To use the USB interface to control the PBZ, a driver that supports the USB Test & Measurement class (USBTMC) must be installed on the controller. The USBTMC driver is installed automatically by the VISA library. USB settings Press Config key to set the interface type using CONFIG[6]. USB feature · Complies with USB specification 2.0 · Complies with USBTMC specification 1.0 and USBTMC-USB488 specification 1.0 · Baud rate: 12 Mbps maximum (full speed) · VID (vendor ID): 0x0B3E · PID (product ID): 0x1012 Service request The PBZ is equipped with service request and serial polling functions. 8 PBZ_INTERFACE Using the LAN Interface (Option) Interface Setup See p. 11 The LAN interface is a factory option. To use the LAN interface to control the PBZ, middleware that supports the VXI-11 protocol must be installed on the controller. The middleware is installed automatically by the VISA library. There is a Web browser interface to the PBZ embedded in the LAN interface board. You can configure the LAN interface settings from your PC's Web browser. For information on topics such as connecting to your corporate LAN, your IP address, your host name, and security, contact your network administrator. LAN connections Use a standard LAN cable (category 5 and straight) to connect the PBZ to a network hub or router. Use a crossover cable when making a direct connection. LAN settings Usually, LAN settings are configured using a DHCP server. If you want to use a fixed IP address, you cannot set it from the panel. Set it from a Web browser. CONFIG settings Press Config key to set the interface type and communication parameters using CONFIG[6]. Normally, you should set DHCP and AUTO IP to ON to set the IP address automatically. For direct connections, set DHCP to OFF and AUTO IP to ON and set the IP address automatically. You cannot set the IP address from the panel. To set a fixed IP address, first set the IP address automatically, and then set a fixed address by accessing the PBZ through a Web browser. When you are going to use a fixed IP address over a long period of time or at intervals, we recommend that you specify a host name. To set a host name, access the PBZ through a Web browser. Service request The PBZ is equipped with service request and serial polling functions. LAN feature Depending on the operation that you perform through your Web browser, the PBZ may need to connect to the Internet. Complies with the LXI 1.4 Core 2011 Complies with the VXI-11/ SCPI-RAW protocol Baud rate: 100 Mbps maximum (auto negotiation) DHCP client feature AUTO IP feature From your Web browser, you can (Internet Explorer; Mozilla Firefox; Safari/ Mobile Safari; Google Chrome): Change LAN and security settings. Use simple control applications. Update the LAN board PBZ_INTERFACE 9 Interface Setup LAN RESET switch and DEFAULT switch LAN RESET switch DEFAULT switch DEFAULT * Use a thin-tipped tool to press the switches. n LAN RESET switch Holding down this switch for 3 seconds resets the LAN interface settings, except for Hostname and Hostname Description, to their factory default values. You can use this switch if you forget the security password. n DEFAULT switch Hold down this switch for 3 seconds or more to reset the LAN interface settings to the factory default values. You can use this switch if you forget the security password or IP address. Neither of these switches affects the PBZ's panel settings. If the PBZ is in remote mode, pressing one of these switches will change the PBZ back into local mode (panel operation). WARNING · The LAN interface can be accessed from anywhere on the network that the PBZ is connected to. Change the security settings if necessary. Refer to " Accessing and Operating the PBZ from a Web Browser (LAN interface)" on p. 11 for setting procedure. · Do not use the DEFAULT and LAN RESET switches carelessly. This may cause the LAN interface to malfunction. · The LAN interface is different from the other remote interfaces in that you have to use the "SYSTem:REMote" command to switch the PBZ to remote mode. When you are carrying out remote programming, send this command at the beginning of the program. 10 PBZ_INTERFACE Interface Setup Accessing and Operating the PBZ from a Web Browser (LAN interface) For LAN interface, the detailed setting can be operated from the browser on the PC. The URL of Web site is defined as adding "http://" in front of the IP address. The URL can be entered directly on the address bar of the browser by confirming the IP address of the config setting (CONFIG[6] > LAN > IP ADDRESS). (Example) When the IP address is 169.254.7.8 http://169.254.7.8 When VISA library is used, there is the function to retrieve the VXI-11 measuring instrument by the application program provided by VISA vendors (National Instruments NI-MAX, Agilent Connection Expert, and Kikusui KI-VISA Instrument Explorer, etc.). You can access the PBZ by clicking on the Web link from the retrieval results. The following browsers are applied. · Internet Explorer · Mozilla Firefox · Google Chrome · Safari/ Mobile Safari WELCOME page When you access the PBZ from a Web browser, the WELCOME page is displayed first. The instrument information, network information, and VISA resource (I/O resource) information appear on the display. Clicking Turn ON Identify displays "Device Identify" on the PBZ series front panel display. This enables you to check which PBZ series is being controlled through the LAN interface. Click the navigation menu to move to the other page. Navigation menu Move to the page which clicked. PBZ_INTERFACE 11 Interface Setup Remote Control page You can set and control voltage, current, and output settings; view measured values; configure the protection feature. Monitor Output: on/off The input form for the item you click appears in the lower area. Enter the settings and click Enter to change the PBZ settings. LAN config page Config page for the network settings. Click Modify Now to assign the IP address, set the host name, and so on. If you set the host name, you can use it in place of the IP address to access the LAN interface. After you enter the settings, click Apply to apply the settings. 12 PBZ_INTERFACE Interface Setup STATUS page This page shows the LAN board revision and OSS license information. SECURITY page This page is for the security setting. This page can allow you to set the change of the password protection. The password protection is an effective security features to the Web site. It prevents from being changed inadvertently. The password can be used for any alphanumeric characters, the hyphen, and the underscore. PBZ_INTERFACE 13 3 Message Overview The information that is transferred between the controller (the host PC) and the PBZ is referred to as "messages." The PBZ uses the SCPI language for these messages. The messages that the PC sends to the PBZ are commands. The messages that the PBZ sends to the PC are responses. Commands are used to execute functions or change settings on the PBZ or to query the PBZ's settings or status. Responses are used to return the PBZ's settings or status. SCPI Command Syntax Command hierarchy SCPI is an ASCII-based command language that was designed for test and measuring equipment. The command structure is composed of the common roots and nodes that are the building blocks of the SCPI subsystem. A command consists of a program header, parameters, and punctuation marks. The following table uses the SOURce subsystem as an example to explain the hierarchy. Program header SOURce Parameter Node level Root node :SWEep :FREQuency :STARt :STOP :FUNCtion <numeric> <numeric> {SIN|SQE|TRI|USER[1]... USER[16]} 2nd level 3rd level 4th level 4th level 2nd level · A colon (:) separates a higher node from a lower node. · If the program header starts with a colon, the first node is a root node. 14 PBZ_INTERFACE Message Overview Command syntax l Format In this manual, SCPI commands are expressed in the following format. Example: [SOURce:]FUNCtion[:SHAPe][:IMMediate] {SINusoid|SQUare|TRIangle|USER[1]..USER16} · SCPI commands can be written in long form (with all the characters) or in short form (omitting the lowercase characters). SCPI commands can be transmitted in either long form or short form. · SCPI commands are not case sensitive. VOLT, Volt, and volt are all received as the short form of the VOLTage command. VOLUME, Volume, and volume are all received as the long form of the VOLume command. · A space separates a program header and its parameters. · Multiple parameters are separated by commas. l Compound commands Compound commands can be created by concatenating two commands with a semicolon. Example (compound command): CURRent:PROTection:LOWer -5.0;UPPer 10.0 You can use a compound command to send a command that is the same as the two following commands. Example (individual commands): CURRent:PROTection:LOWer -5.0 CURRent:PROTection:UPPer 10.0 In the first command, CURRent:PROTection:LOWer -5.0, the path is set to CURRent: PROTection. Therefore, in the second command, CURRent:PROTection can be omitted. If you specify a node that is not defined in the current path (except for OVER, UND, UPP, LOW, STAT, and PASS), an error will occur. l Compound command (clearing the specified path) Example: SENSe:FUNCtion DC;:INITiate There are two root nodes in this compound command: SENSe and INITiate. When the second command or later begins with a colon, the path that was specified by the previous command is cleared. · Program headers are separated by colons. · By using colons and semicolons, you can concatenate commands of different subsystems. · The maximum length of a command that you can transmit on a single line is 128 bytes. PBZ_INTERFACE 15 Message Overview Special symbols and characters The special symbols and characters that are used in this manual for the SCPI command syntax are explained below. Symbol or character < > { } [ ] Description Character strings inside the < and > symbols indicate program data. Do not include the < and > symbols in the actual program. Characters and numbers delimited by "|" inside the { and } symbols indicate that one of the delimited items is to be selected.Do not include the { and } symbols in the actual program. Character strings inside [ and ] indicate optional data. When optional data is not sent with the program, the default value is sent. Do not include the [ and ] symbols in the actual program. Queries You can query the PBZ settings and status. To make a query, append a question mark to the end of the program header section. If the query has parameters, insert a space after the question mark, and then write the parameters. Example: VOLTAGE:AC? MIN If you want to send two queries on separate lines, send the second query after you have received the response to the first one. If you send query commands on two lines at the same time, you may receive an incomplete response. Terminating character strings All commands must be terminated with a valid terminator. The available terminators are <line feed> (ASCII 0x0A) and EOI (end-or-identify). You can use any one of these terminators to terminate a command. EOI does not exist in the RS232C specification, so be sure to use <line feed>. When you terminate a command string, the path is reset to the root level. CR (ASCII 0x0D) is not a terminator. See p. 20 Common commands There are commands that are common to the IEEE-488.2 and SCPI standards for functions such as resetting devices and performing self-diagnoses. These common commands start with an asterisk ("*"). These commands may have one or multiple parameters. 16 PBZ_INTERFACE Parameters Message Overview The SCPI parameter format is derived from the program parameter format that is defined in IEEE 488.2. The program data expression format that the PBZ uses is shown below. Non-numeric parameters The PBZ uses the following three parameter types. Symbol or character String data (String) Character data (Character) Boolean data (Boolean) Description Used when a series of ASCII characters are requested. Be sure to enclose strings in single or double quotation marks. The opening and closing quotation marks must match (you cannot mix single and double quotation marks). Example: PROGram NAME "PBZ" If you want to include a quotation mark as part of the string, enter consecutive quotation marks (with no characters between them). ASCII codes 20H to 7EH can be used in strings. Used when only a limited number of values are available for a program setting. Responses are returned in short form. Example: TRIGger:SOURce {BUS|IMMediate} Used to express a condition of 1 or 0, or ON or OFF. Responses are returned as 1 or 0. Example: OUTPut {ON|OFF|1|0} Numeric parameters The PBZ uses the following five parameter types. Symbol or character NR1 NR2 NR3 NRf Numeric Description Represents an integer value.1 Represents a real number in floating-point format.1 Represents a real number in scientific notation.1 Response data is normally returned with six decimal places.If the 380 is returned in the response data, it is returned as +3.800000+E02. This product has queries that return data with five decimal places. NRf is a generic term that includes NR1, NR2, and NR3. Represents values such as the decimal point, optional prefixes, and measurement units. Numbers are expressed the same as NRf. MINimum and MAXimum are available as substitutes for declaring certain values. You can also use units such as V, A, and S in numeric parameters. If a value that cannot be assigned is entered, the PBZ rounds the value to the closest possible value. Example: SYSTem:CONFigure:BEEPer:VOLume 0.56 The buzzer volume must be set to a value from 0.1 to 1.0, so if you send the query SYST:CONF:BEEP:VOL?, 0.6 will be returned. 1 Details are given in the "IEEE 488.2 Standard Digital Interface for Programmable Instrumentation." PBZ_INTERFACE 17 Message Overview Special form numeric parameters The special form numeric parameters MINimum and MAXimum can be used as substitutes for the actual maximum and minimum values when the parameter is numeric. The following example sets the measurement time to the minimum value. SENSe:APERture MINimum You can query the minimum and maximum values for most parameters. SENSe:APERture? MIN SENSe:APERture? MAX Measurement units The default measurement units are listed below. Commands are accepted even if measurement units are not specified. · A (current) · V (voltage) · A/V (current/voltage) · V/V (voltage/voltage) · W (power) · S (seconds) · PCT (%) · HZ (frequency) · DEG (degrees) The following optional prefixes are supported. To enter "µ" in the parameter, use "U." · M (milli) · K (kilo) · U (micro) The unit symbols in the International System of Units contain lowercase characters. The IEEE standard uses uppercase characters. SCPI commands are not case sensitive. 18 PBZ_INTERFACE Command Description in This Manual In this manual, commands are described in the following manner. Commands that have these marks are affected when an *RST or *RCL command is sent. The settings for the command are changed to the values that are shown in the "Default State" section. The parameters are listed. In this command, the parameter is numeric. In addition to specifying the desired value, CURR:PROT:OVER you can specify the minimum or maximum value. * RST * RCL The commands are Sets the positive OCP's current activation point. listed in the long form. The lowercase characters can be omitted. Command [SOURce:]CURRent:PROTection[:LEVel]:OVER {<numeric>|MIN|MAX} Sections that are enclosed in braces ([ ]) [SOURce:]CURRent:PROTection[:LEVel]:OVER? can also be omitted. Parameter The selectable range is given. Optional symbols such as m and µ can also be used. Value: -1 % to 110 % of the rated output current (The default value is 110 % of the rated output current.) Unit: A Specify MAX to set the maximum value. The unit for the value being set. The unit can be omitted. Response Specify MIN to set the minimum value. Returns the positive current activation point in <NR3> format. The format of the value that is returned when a query is sent. References to command descriptions Item Command syntax Parameters Units Default state * RST Queries List of messages List of errors * RCL See Page 14 17 18 81 16 87 96 PBZ_INTERFACE 19 4 IEEE 488.2 Common Commands *CLS See p. 72 Clears all event registers including the status byte, event status, and error queue. Command *CLS *ESE See p. 76 Sets the event status enable register that is counted by the event summary bit (ESB) of the status byte. Command *ESE <NR1> *ESE? Parameter Value: 0 to 255 An SCPI error (-222, "Data out of range") occurs if the specified value is outside the range. Example When *ESE 16 is transmitted, bit 4 of the event status enable register is set. Each time the execution error bit (bit 4) of the event status register is set, the summary bit (ESB) of the status byte is set. Response Returns the value of the event status enable register in <NR1> format. *ESR See p. 76 Queries the event status register. Registers that are read are cleared. Command *ESR? Response Returns the value of the event status register in <NR1> format and clears the register. *IDN Queries the model name, serial number, and firmware version of the PBZ. Command *IDN? Response The response to *IDN? is indicated below. Example For a PBZ20-20 with serial number AB123456 and firmware version 1.00, *IDN? returns: KIKUSUI,PBZ20-20,AB123456,1.00. 20 PBZ_INTERFACE IEEE 488.2 Common Commands *OPC See IEEE 488.2-1992 Section 10.18 Sets the OPC bit (bit 0) of the event status register when all the commands that are in standby have been processed. Command *OPC *OPC? Response Returns "1" when all the commands that are in standby have been processed. *OPT Queries the options that are installed in the PBZ. Command *OPT? Response If the factory option LAN interface board is installed, "LAN" is returned. Returns "0" if no options are installed. *PSC See IEEE 488.2-1992 Section 10.25 When the result of rounding the specified value is a number other than zero, it is interpreted as one, and this command sets the service request enable and event status enable registers to their initial values when the PBZ restarts. Command *PSC <NR1> *PSC? Parameter Value: -32767 to +32767 Response Returns "1" when the result of rounding the specified value is a number other than zero. *RCL See p. 81 Aborts measurement and loads the settings that have been saved to setup memory. This command performs the same function as the MEM:SET:RCL command. For the commands that are affected by *RCL, see " Default State"." Command *RCL <NR1> Parameter Value: 0 to 9 Memory number An SCPI error (-222, "Data out of range") occurs if the specified value is outside the range. *RST See p. 81 Aborts measurement and initializes the PBZ to the factory default settings. For the commands that are affected by *RST, see " Default State"." Command *RST PBZ_INTERFACE 21 IEEE 488.2 Common Commands *SAV See p. 81 Saves the current settings to setup memory. This command performs the same function as the MEM:SET:SAV command. For the commands that are affected by *RCL, see " Default State"." Command *SAV <NR1> Parameter Value: 0 to 9 Memory number An SCPI error (-222, "Data out of range") occurs if the specified value is outside the range. *SRE Sets the service request enable register. The service request enable register can be used to select which summary messages in the status byte register will perform service requests. To clear the service request enable register, send *SRE 0. If the register is cleared, service requests cannot be generated by status information. Command *SRE <NR1> *SRE? Parameter Value: 0 to 255 An SCPI error (-222, "Data out of range") occurs if the specified value is outside the range. Example Sending *SRE 8 sets bit 3 of the service request enable register. Each time the summary bit (bit 3) of the QUEStionable status register in the status byte is set, a service request message is generated. Response Returns the value of the service request enable register in <NR1> format. *STB See p. 74 Queries the contents of the status byte register and the MSS (master summary status) message. The response is the same as serial polling only with the exception that the MSS message appears in place of the RQS message in bit 6. Command *STB? Response Returns the value of the status byte register and the MSS message (bit 6) in <NR1> format. *TRG See IEEE 488.2-1992 Section 10.37 Trigger command. This is a substitute command for the IEEE 488.1 get message (Group Execute Trigger). If the PBZ is in a state in which it does not accept triggers, an SCPI error (-211, "Trigger ignored") occurs. Command *TRG 22 PBZ_INTERFACE IEEE 488.2 Common Commands *TST See IEEE 488.2-1992 Section 10.38 Executes a self-test. You can query which error occurred by sending the SYST:ERR? command. Command *TST? Response Returns "0" if no errors are detected. Returns the error code if an error is detected. *WAI Prevents the PBZ from executing subsequent commands until all operations that are in standby have completed. Command *WAI PBZ_INTERFACE 23 5 Output Setting Commands CV/CC Mode and Bipolar/Unipolar Mode FUNC:MODE Sets the CV/CC mode setting. Command [SOURce:]FUNCtion:MODE {CC|CV} [SOURce:]FUNCtion:MODE? * RST * RCL Parameter Value: CC CV CC mode CV mode (default) Response Returns the setting in <character> format in response to the FUNC:MODE? query. FUNC:POL Sets the bipolar/unipolar mode setting. Command [SOURce:]FUNCtion:POLarity {BIPolar|UNIPolar} [SOURce:]FUNCtion:POLarity? * RST * RCL Parameter Value: BIPolar UNIPolar Bipolar mode (default) Unipolar mode Response Returns the setting in <character> format in response to the FUNC:POL? query. Selecting the Signal Source (Internal or External) and Setting the External Signal Source FUNC:SOUR * RST * RCL Sets the signal source (internal, external, or both). Command [SOURce:]FUNCtion:SOURce {INTernal|EXTernal|BOTH} [SOURce:]FUNCtion:SOURce? Parameter Value: INTernal EXTernal BOTH Internal signal source (default) External signal source Internal signal source and external signal source are added (ADD) Response Returns the setting in <character> format in response to the FUNC:SOUR? query. 24 PBZ_INTERFACE Output Setting Commands FUNC:EXT:TERM * RST * RCL Selects the external signal source terminal. Command [SOURce:]FUNCtion:EXTernal:TERMinal {BNC|J1|BOTH} [SOURce:]FUNCtion:EXTernal:TERMinal? Parameter Value: BNC J1 BOTH BNC terminal (default) J1 connector BNC terminal + J1 connector Response Returns the setting in <character> format in response to the FUNC:EXT:TERM? query. FUNC:EXT:CURR:GAIN FUNC:EXT:VOLT:GAIN * RST * RCL Sets the gain of the external signal source BNC terminal input. Command [SOURce:]FUNCtion:EXTernal:CURRent:GAIN {<numeric>|MIN|MAX} [SOURce:]FUNCtion:EXTernal:VOLTage:GAIN {<numeric>|MIN|MAX} Command [SOURce:]FUNCtion:EXTernal:CURRent:GAIN? [{MIN|MAX}] [SOURce:]FUNCtion:EXTernal:VOLTage:GAIN? [{MIN|MAX}] Parameter Value: Unit: PBZ20-20/ PBZ20-20A: 0 to 20 (CV or CC mode) PBZ40-10: 0 to 40 (CV mode), 0 to 10 (CC mode) PBZ60-6.7: 0 to 60 (CV mode), 0 to 6.7 (CC mode) PBZ80-5: 0 to 80 (CV mode), 0 to 5 (CC mode) (The default value is 0.) A/V or V/V Response Returns the gain in <NR3> format in response to the FUNC:EXT:CURR:GAIN? and FUNC:EXT:VOLT:GAIN? queries. PBZ_INTERFACE 25 Output Setting Commands DC Signal Setting VOLT CURR Sets the DC signal voltage and current. Command [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] {<numeric>|MIN|MAX} [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] {<numeric>|MIN|MAX} * RST * RCL Command [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]? [{MIN|MAX}] [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude]? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output (The default value is 0 % of the rated output.) V or A Response Returns the voltage setting in <NR3> format in response to the VOLT? and CURR? queries. VOLT:TRIG CURR:TRIG Sets the DC signal voltage and current when software triggers are received. Command [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] {<numeric>|MIN|MAX} [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] {<numeric>|MIN|MAX} Command [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude]? [{MIN|MAX}] [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude]? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output V or A Response Returns the setting in <NR3> format in response to the VOLT:TRIG? and CURR:TRIG? queries. 26 PBZ_INTERFACE AC Signal Command Output Setting Commands Setting the AC Signal On/Off State AC:STAT Sets the AC signal on/off state. Command [SOURce:]AC:STATe {ON|OFF|1|0} [SOURce:]AC:STATe? * RST * RCL Parameter Value: ON (1) OFF (0) On Off (default) Response Returns the AC signal on/off state in <NR1> format in response to the AC:STAT? query. AC:STAT:TRIG Sets the AC signal on/off state when software triggers are received. Command [SOURce:]AC:STATe:TRIGgered {ON|OFF|1|0} [SOURce:]AC:STATe:TRIGgered? Parameter Value: ON (1) On OFF (0) Off Response Returns the AC signal on/off state in <NR1> format in response to the AC:STAT:TRIG? query. Fixed Waveforms and User-defined Arbitrary Waveforms FUNC Selects the AC signal waveform. Command [SOURce:]FUNCtion[:SHAPe][:IMMediate] {SINusoid|SQUare|TRIangle|USER[1]..USER16} [SOURce:]FUNCtion[:SHAPe][:IMMediate]? * RST * RCL Parameter Value: SINusoid SQUare TRIangle USER[1] to USER16 Sine wave(default) Square wave Triangle wave User-defined arbitrary waveform (ARB1 to ARB16) Response Returns the AC signal waveform type in <character> format in response to the FUNC? query. PBZ_INTERFACE 27 Output Setting Commands FUNC:TRIG Selects the AC signal waveform when software triggers are received. The settable ranges for the VOLT:TRIG, CURR:TRIG, VOLT:AC:TRIG, and CURR:AC:TRIG commands differ based on the FUNC:TRIG setting. When this command is received, the PBZ first checks the relationship between these settings. To ensure proper operation, send the FUNC:TRIG command first. When the FUNC:TRIG command is received, the PBZ immediately sets the VOLT:TRIG, CURR:TRIG, VOLT:AC:TRIG, and CURR:AC:TRIG values to the current values. Command [SOURce:]FUNCtion[:SHAPe]:TRIGgered {SINusoid|SQUare|TRIangle|USER[1]..USER16} [SOURce:]FUNCtion[:SHAPe]:TRIGgered? Parameter Value: SINusoid SQUare TRIangle USER[1] to USER16 Sine wave Square wave Triangle wave User-defined arbitrary waveform Response Returns the AC signal waveform type in <character> format. USER{[1]|2|...|16}:TITL Sets the user-defined arbitrary waveform's title to a string of 15 characters in length. A space character(0x20) is inserted automatically in case of a string of less than 15 characters in length. The user-defined arbitrary waveforms are from USER1 to USER16. You can write USER1 as USER (omitting the "1"). Command [SOURce:]USER{[1]|2|..|16}:TITLe <"string"> [SOURce:]USER{[1]|2|..|16}:TITLe? Parameter Value: "string" Example "My Waveform" Response Returns the user-defined arbitrary waveform's title in <"string"> format. USER{[1]|2|...|16}:DATA:FORM:BORD Sets the binary transmission data byte order of the user-defined arbitrary waveform. This command cannot be used with the RS232C interface. Command [SOURce:]USER{[1]|2|..|16}:DATA:FORMat:BORDer {NORMal|SWAPped} [SOURce:]USER{[1]|2|..|16}:DATA:FORMat:BORDer? Parameter Value: NORMal Big endian (most significant byte first) SWAPped Little endian (least significant byte first) Response Returns the binary transmission data byte order of the user-defined arbitrary waveform in <character> format. 28 PBZ_INTERFACE Output Setting Commands USER{[1]|2|...|16}:DATA Sets the user-defined arbitrary waveform pattern. The user-defined arbitrary waveforms are from USER1 to USER16. You can write USER1 as USER (omitting the "1"). This command cannot be used with the RS232C interface or LAN interface. To use the RS232C or LAN interface to set a user-defined arbitrary waveform pattern, use USER{[1]|2|...|16}:DATA:VAL. Command [SOURce:]USER{[1]|2|..|16}:DATA <arbitrary block data> [SOURce:]USER{[1]|2|..|16}:DATA? Parameter Value: Arbitrary block data (in binary block format) Response Returns the user-defined arbitrary waveform pattern in <arbitrary block data> format. Binary block format data Waveform data is represented as integer values that are composed of 2 bytes (16 bits) of binary data. Therefore, the total number of bytes used for a waveform's data is the number of data points in the waveform times two. This number is always even. For example, if the number of waveform data points is 1024, the total number of bytes in the waveform data is 2048. Example USER2:DATA #420487FFF8000...7FFF...7FFF8000 #42048 7FFF8000...7FFF...7FFF8000 Number of bytes that follow Number of digits that follow 2 bytes (these represent the number of bytes) Start of the data block Data points 0 (2048 bytes) 2 bytes 1024 7FFF (H) 32767 Signed 16-bit data 8000 (H) -32768 Data points 0 Order setting for the pairs of bytes for each data point USER2:DATA:FORM:BORD NORM: 7FFF SWAP: FF7F 1024 PBZ_INTERFACE 29 Output Setting Commands USER{[1]|2|...|16}:DATA:VAL Sets the waveform data relative to the waveform peak value for any of 1024 divisions of one period of a user-defined arbitrary waveform. These waveform divisions are referred to as "addresses." The user-defined arbitrary waveforms are from USER1 to USER16. You can write USER1 as USER (omitting the "1"). Command [SOURce:]USER{[1]|2|..|16}:DATA:VALue <addr_NR1>,<data_NR1> [SOURce:]USER{[1]|2|..|16}:DATA:VALue? <addr_NR1> Parameter <addr_NR1>Address Value: 0 to 1 023 <data_NR1>Waveform data Value: -32768 to +32767 Example USER10:DATA:VAL 0,32767 Sets address 0 of the user-defined arbitrary waveform pattern to 32767. To enter data for a square wave, set addresses 0 to 511 to +32767, and set addresses 512 to 1023 to -32768. Response Returns the value at an address in a user-defined arbitrary waveform pattern in <NR1> format. Signal Amplitude, Frequency, and Start Phase, and Square Wave Duty Cycle VOLT:AC * RST * RCL Sets the AC signal voltage. Command [SOURce:]VOLTage:AC[:IMMediate][:AMPLitude] {<numeric>|MIN|MAX} [SOURce:]VOLTage:AC[:IMMediate][:AMPLitude]? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output voltage (The default value is 0 % of the rated output voltage.) VPP Response Returns the setting in <NR3> format in response to the VOLT:AC? query. CURR:AC * RST * RCL Sets the AC signal current. Command [SOURce:]CURRent:AC[:IMMediate][:AMPLitude] {<numeric>|MIN|MAX} [SOURce:]CURRent:AC[:IMMediate][:AMPLitude]? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output (The default value is 0 % of the rated output current.) APP Response Returns the setting in <NR3> format in response to the CURR:AC? query. 30 PBZ_INTERFACE Output Setting Commands VOLT:AC:TRIG CURR:AC:TRIG Sets the AC signal voltage and current when software triggers are received. Command [SOURce:]VOLTage:AC:TRIGgered[:AMPLitude]{<numeric>|MIN|MAX} [SOURce:]CURRent:AC:TRIGgered[:AMPLitude]{<numeric>|MIN|MAX} Command [SOURce:]VOLTage:AC:TRIGgered[:AMPLitude]? [{MIN|MAX}] [SOURce:]CURRent:AC:TRIGgered[:AMPLitude]? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output VPP or APP Response Returns the setting in <NR3> format in response to the VOLT:AC:TRIG? and CURR:AC:TRIG? queries. FREQ * RST * RCL Sets the AC signal frequency. Command [SOURce:]FREQuency[:IMMediate] {<numeric>|MIN|MAX} [SOURce:]FREQuency[:IMMediate]? [{MIN|MAX}] Parameter Value: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: +1.0E-02 Hz to +1.0E+05 Hz (The default value is 1 kHz.) Maximum CV mode: +1.0E+05 (100 kHz) CC mode: +1.0E+05 (100 kHz) Unit: PBZ20-20A: +1.0E-02 Hz to +2.0E+05 Hz (The default value is 1 kHz.) Maximum CV mode: +2.0E+05 (200 kHz) CC mode: +2.0E+05 (200 kHz) HZ Response Returns the setting in <NR3> format in response to the FREQ? query. FREQ:TRIG Sets the AC signal frequency when software triggers are received. Command [SOURce:]FREQuency:TRIGgered{<numeric>|MIN|MAX} [SOURce:]FREQuency:TRIGgered? [{MIN|MAX}] Parameter Value: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: +1.0E-02 Hz to +1.0E+05 Hz Maximum CV mode: +1.0E+05 (100 kHz) CC mode: +1.0E+05 (100 kHz) Unit: PBZ20-20A: +1.0E-02 Hz to +2.0E+05 Hz Maximum CV mode: +2.0E+05 (200 kHz) CC mode: +2.0E+05 (200 kHz) HZ Response Returns the setting in <NR3> format in response to the FREQ:TRIG? query. PBZ_INTERFACE 31 Output Setting Commands PHAS Sets the AC signal start phase angle. Command [SOURce:]PHASe {<numeric>|MIN|MAX},{ON|OFF|1|0} [SOURce:]PHASe? * RST * RCL Parameter Value: Unit: 0 to 359 (The default value is 0.) DEG (degrees) Parameter Value: ON (1) OFF (0) Set the start phase angle (default) Do not set the start phase angle Response Returns the start phase angle setting and whether the start phase angle is set or not in <NR3>,<NR1> format in response to the PHAS? query. SQU:DCYC Sets the square wave signal duty cycle. Command [SOURce:]SQUare:DCYCle {<numeric>|MIN|MAX} [SOURce:]SQUare:DCYCle? [{MIN|MAX}] * RST * RCL Parameter Value: Unit: 0.1 % to 99.9 % (The default value is 50.0 %.) The settable range depends on the settings of the AC signal frequency. PCT Response Returns the setting in <NR3> format in response to the SQU:DCYC? query. Frequency Sweep SWE:STAT Turns the AC signal frequency sweep on and off. Command [SOURce:]SWEep:STATe {ON|OFF|1|0} [SOURce:]SWEep:STATe? * RST * RCL Parameter Value: ON (1) OFF (0) Frequency sweeps are executed. Frequency sweeps are not executed (default). Response Returns whether frequency sweeps are on or off in <NR1> format in response to the SWE:STAT? query. 32 PBZ_INTERFACE Output Setting Commands SWE:SPAC Sets the AC signal frequency sweep mode. Command [SOURce:]SWEep:SPACing {LOGarithmic|LINear} [SOURce:]SWEep:SPACing? * RST * RCL Parameter Value: LOGarithmic Logarithmic sweep (default) LINear Linear sweep Response Returns the AC signal frequency sweep mode in <character> format in response to the SWE:SPAC? query. SWE:TIME Sets the AC signal frequency sweep time. Command [SOURce:]SWEep:TIME {<numeric>|MIN|MAX} [SOURce:]SWEep:TIME? [{MIN|MAX}] * RST * RCL Parameter Value: Unit: 0.0001 to 1000 (The default value is 1.) S Response Returns the sweep time in <NR3> format in response to the SWE:TIME? query. SWE:FREQ:STAR SWE:FREQ:STOP * RST * RCL Sets the AC signal frequency sweep start and stop frequencies. Command [SOURce:]SWEep:FREQuency:STARt[:IMMediate] {<numeric>|MIN|MAX} [SOURce:]SWEep:FREQuency:STOP[:IMMediate] {<numeric>|MIN|MAX} Command [SOURce:]SWEep:FREQuency:STARt[:IMMediate]? [{MIN|MAX}] [SOURce:]SWEep:FREQuency:STOP[:IMMediate]? [{MIN|MAX}] Parameter Value: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: CV mode +1.0E-2 Hz to +1.0E+05 Hz CC mode +1.0E-2 Hz to +1.0E+05 Hz The default start frequency is 100 Hz. The default stop frequency is 1 kHz. PBZ20-20A: CV mode +1.0E-2 Hz to +2.0E+05 Hz CC mode +1.0E-2 Hz to +2.0E+05 Hz The default start frequency is 100 Hz. The default stop frequency is 1 kHz. Unit: HZ Response Returns the start or stop frequency in <NR3> format in response to the SWE:FREQ:STAR? or SWE:FREQ:STOP? query. PBZ_INTERFACE 33 Output Setting Commands MARK * RST * RCL Sets the type of output that the TRIG OUT terminal generates. Select MARKER signals or SYNC signals.The setting of the type of the TRIG OUT terminalt output is valid when trigger signal output setting is on. Command [SOURce:]MARKer {ON|OFF|1|0} [SOURce:]MARKer? Parameter Value: ON (1) OFF (0) MARKER signals SYNC signals (default) Response Returns the type of output that the TRIG OUT terminal generates in <NR1> format in response to the MARK? query. MARK:FPO Sets the marker frequency of the AC signal frequency sweep. Command [SOURce:]MARKer:FPOint {<numeric>|MIN|MAX} [SOURce:]MARKer:FPOint? [{MIN|MAX}] * RST * RCL Parameter Value: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: CV mode +1.0E-2 Hz to +1.0E+05 Hz (The default value is 500 Hz.) CC mode +1.0E-2 Hz to +1.0E+05 Hz (The default value is 500 Hz.) The settable frequency range is greater than the start frequency and less than the stop frequency. MIN is the sweep start or stop frequency, whichever is lower. MAX is the sweep start or stop frequency, whichever is higher. PBZ20-20A: CV mode +1.0E-2 Hz to +2.0E+05 Hz (The default value is 500 Hz.) CC mode +1.0E-2 Hz to +2.0E+05 Hz (The default value is 500 Hz.) The settable frequency range is greater than the start frequency and less than the stop frequency. MIN is the sweep start or stop frequency, whichever is lower. MAX is the sweep start or stop frequency, whichever is higher. Unit: HZ Response Returns the marker frequency in <NR3> format in response to the MARK:FPO? query. 34 PBZ_INTERFACE Output Setting Commands Collective Settings (Waveform, Frequency, Signal Amplitude, and DC Signal) APPL:DC APPL:SIN APPL:SQU APPL:TRI APPL:USER{[1]|2|...|16} APPL * RST * RCL Collectively sets the signal type, AC signal frequency, AC signal amplitude, and DC signal setting. Command DC signal. AC signal frequency and AC signal amplitude are void. [SOURce:]APPLy:DC <freq_numeric>,<ac_numeric>,<dc_numeric> Command AC signal (sine wave) [SOURce:]APPLy:SIN <freq_numeric>[,<ac_numeric>[,<dc_numeric>]] Command AC signal (square wave) [SOURce:]APPLy:SQU <freq_numeric>[,<ac_numeric>[,<dc_numeric>]] Command AC signal (triangular wave) [SOURce:]APPLy:TRI <freq_numeric>[,<ac_numeric>[,<dc_numeric>]] Command Arbitrary waveform (USER{[1]|2|...|16}) [SOURce:]APPLy:USER{[1]|2|..|16} <freq_numeric>[,<ac_numeric> [,<dc_numeric>]] Command [SOURce:]APPLy? Parameter <freq_numeric>AC signal frequency Value: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: CV mode +1.0E-2 Hz to +1.0E+05 Hz (AC signal) CC mode +1.0E-2 Hz to +1.0E+05 Hz (AC signal) PBZ20-20A: CV mode +1.0E-2 Hz to +2.0E+05 Hz (AC signal) CC mode +1.0E-2 Hz to +2.0E+05 Hz (AC signal) Unit: HZ Parameter <ac_numeric>AC signal amplitude Value: 0 % to 105 % of the rated output (AC signal) Unit: VPP or APP Parameter <dc_numeric>DC signal setting Value: 0 % to 105 % of the rated output (DC signal) Unit: V or A When you are setting the DC signal, frequency and amplitude settings for the AC signal are invalid. Response Returns the signal type (DC, SIN, SQU, TRI, USER{1|2|...|16}), AC signal frequency, AC signal amplitude, and DC signal setting in the following order in response to APPLy?. <character>,<NR3>,<NR3>,<NR3> PBZ_INTERFACE 35 Output Setting Commands Amplifier Responses CURR:RESP VOLT:RESP * RST * RCL Sets the amplifier's response. Set this separately for CV mode and CC mode. Command [SOURce:]CURRent:RESPonse {<numeric>|MIN|MAX} [SOURce:]VOLTage:RESPonse {<numeric>|MIN|MAX} Command [SOURce:]CURRent:RESPonse? [{MIN|MAX}] [SOURce:]VOLTage:RESPonse? [{MIN|MAX}] Parameter Value: CC mode (PBZ20-20/ PBZ60-6.7/ PBZ80-5) 35 US 35 µs (default) 100 US 100 µs 350 US 350 µs 1 MS 1 ms Parameter Value: CC mode (PBZ40-10) 70 US 70 µs (default) 100 US 100 µs 350 US 350 µs 1 MS 1 ms Parameter Value: Unit: CV mode (PBZ models) 3.5 US 3.5 µs (default) 10 US 10 µs 35 US 35 µs 100 US 100 µs US and MS Response Returns the response in <NR3> format in response to the CURR:RESP? and VOLT:RESP? queries. Output, Trigger Signals, and Screen Contrast Turning Output On and Off OUTP Turns output on and off. Command OUTPut[:STATe][:IMMediate] {ON|OFF|1|0} OUTPut[:STATe][:IMMediate]? * RST * RCL Parameter Value: ON (1) OFF (0) Turns output on Turns output off (default) Response Returns whether output is on or off in <NR1> format in response to the OUTP? query. 36 PBZ_INTERFACE Output Setting Commands OUTP:TRIG Turns output on and off when software triggers are received. Command OUTPut[:STATe]:TRIGgered {ON|OFF|1|0} OUTPut[:STATe]:TRIGgered? Parameter Value: ON (1) OFF (0) Turns output on Turns output off Response Returns whether output is on or off in <NR1> format in response to the OUTP:TRIG? query. OUTP:PON:STAT Sets whether output turns on or off when the PBZ turns on. Command OUTPut:PON:STATe {RST|AUTO} OUTPut:PON:STATe? * RST * RCL Parameter Value: RST AUTO Output is off when the PBZ turns on (default). Output turns on when the PBZ turns on. Response Returns whether output turns on or off when the PBZ turns on in <character> format in response to the OUTP:PON:STAT? query. OUTP:EXT * RST * RCL Sets the polarity of the external control signal that is used to turn output on. Command OUTPut:EXTernal {NORMal|INVerted} OUTPut:EXTernal? Parameter Value: NORMal INVerted A high level signal turns the output on (default). A low level signal turns the output on. Response Returns the polarity of the external control signal in <character> format in response to the OUTP:EXT? query. Option Output OUTP:PORT Turns signal output from the J1 connector and option terminal on and off. Command OUTPut:PORT {ON|OFF|1|0} OUTPut:PORT? * RST * RCL Parameter Value: ON (1) OFF (0) Generate signal output Do not generate signal output (default) Response Returns whether output is on or off in <NR1> format in response to the OUTP:PORT? query. PBZ_INTERFACE 37 Output Setting Commands Trigger Signals (TRIG IN and TRIG OUT) OUTP:TRIG:STAT * RST * RCL Turns trigger signal output (TRIG OUT) on and off. When trigger signal output setting is on, the TRIG OUT terminal can transmit MARKER or SYNC signals. Command OUTPut:TRIGger:STATe {ON|OFF|1|0} OUTPut:TRIGger:STATe? Parameter Value: ON (1) OFF (0) Generate trigger signal output Do not generate trigger signal output (default) Response Returns whether trigger signal output (TRIG OUT) is on or off in <NR1> format in response to the OUTP:TRIG:STAT? query. OUTP:TRIG:POL Sets the polarity of the trigger signal output (TRIG OUT). Command OUTPut:TRIGger:POLarity {POSitive|NEGative} OUTPut:TRIGger:POLarity? * RST * RCL Parameter Value: POSitive NEGative Rising (default) Falling Response Returns the polarity of the trigger signal output (TRIG OUT) in <character> format in response to the OUTP:TRIG:POL? query. INP:TRIG:POL Sets the polarity of the trigger signal input (TRIG IN). Command INPut:TRIGger:POLarity {POSitive|NEGative} INPut:TRIGger:POLarity? * RST * RCL Parameter Value: POSitive NEGative High level (default) Low level Response Returns the polarity of the trigger signal input (TRIG IN) in <character> format in response to the INP:TRIG:POL? query. Screen Contrast DISP:CONT Sets the screen contrast. Command DISPlay:CONTrast {<numeric>|MIN|MAX} DISPlay:CONTrast? [{MIN|MAX}] * RST * RCL Parameter Value: Unit: 0.0 to 1.0 (The default value is 0.7.) None Response Returns the screen contrast in <NR3> format in response to the DISP:CONT? query. 38 PBZ_INTERFACE 6 Protection Features Commands Mode CURR:PROT:STAT VOLT:PROT:STAT * RST * RCL Sets the mode (I/V-LIMIT or OCP/OVP) of the overvoltage and overcurrent protection features. Command [SOURce:]CURRent:PROTection:STATe {LIMit|TRIP} [SOURce:]VOLTage:PROTection:STATe {LIMit|TRIP} Command [SOURce:]CURRent:PROTection:STATe? [SOURce:]VOLTage:PROTection:STATe? Parameter Value: LIMit TRIP Voltage or current limit is used.(default) OVP/OCP is used. Returns the mode in <character> format in response to the {CURR|VOLT}:PROT:STAT? query. Activation points (OCP/OVP) Use SYST:CONF:BTR:PROT to set the protection operation to perform (power off or output off) when OCP or OVP is activated. CURR:PROT:OVER VOLT:PROT:OVER * RST * RCL Sets the value of the positive OCP or OVP trip point for the current or voltage. Command [SOURce:]CURRent:PROTection[:LEVel]:OVER {<numeric>|MIN|MAX} [SOURce:]VOLTage:PROTection[:LEVel]:OVER {<numeric>|MIN|MAX} Command [SOURce:]CURRent:PROTection[:LEVel]:OVER? [{MIN|MAX}] [SOURce:]VOLTage:PROTection[:LEVel]:OVER? [{MIN|MAX}] Parameter Value: Unit: +1 % to +110 % of the rated value (The default value is +110 % of the rated value.) A or V Response Returns the setting in <NR3> format in response to the {CURR|VOLT}:PROT:OVER? query. PBZ_INTERFACE 39 Protection Features Commands CURR:PROT:UND VOLT:PROT:UND * RST * RCL Sets the value of the negative OCP or OVP trip point for the current or voltage. Command [SOURce:]CURRent:PROTection[:LEVel]:UNDer {<numeric>|MIN|MAX} [SOURce:]VOLTage:PROTection[:LEVel]:UNDer {<numeric>|MIN|MAX} Command [SOURce:]CURRent:PROTection[:LEVel]:UNDer? [{MIN|MAX}] [SOURce:]VOLTage:PROTection[:LEVel]:UNDer? [{MIN|MAX}] Parameter Value: Unit: -110 % to -1 % of the rated value (The default value is -110 % of the rated value.) A or V Response Returns the setting in <NR3> format in response to the {CURR|VOLT}:PROT:UND? query. 40 PBZ_INTERFACE Activation points (I.LIM/ V.LIM) Protection Features Commands CURR:LIM:UPP VOLT:LIM:UPP * RST * RCL Sets the value of the positive I.LIM or V.LIM trip point for the current or voltage. Command [SOURce:]CURRent:LIMit[:LEVel]:UPPer {<numeric>|MIN|MAX} [SOURce:]VOLTage:LIMit[:LEVel]:UPPer {<numeric>|MIN|MAX} Command [SOURce:]CURRent:LIMit[:LEVel]:UPPer? [{MIN|MAX}] [SOURce:]VOLTage:LIMit[:LEVel]:UPPer? [{MIN|MAX}] Parameter Value: Unit: +1 % of rated value +I.LIM +110 % of the rated value -110 % of rated value -V.LIM +V.LIM +110 % of the rated value (The default value is +110 % of the rated value.) A or V Response Returns the setting in <NR3> format in response to the {CURR|VOLT}:LIM:UPP? query. CURR:LIM:LOW VOLT:LIM:LOW * RST * RCL Sets the value of the negative I.LIM or V.LIM trip point for the current or voltage. Command [SOURce:]CURRent:LIMit[:LEVel]:LOWer {<numeric>|MIN|MAX} [SOURce:]VOLTage:LIMit[:LEVel]:LOWer {<numeric>|MIN|MAX} Command [SOURce:]CURRent:LIMit[:LEVel]:LOWer? [{MIN|MAX}] [SOURce:]VOLTage:LIMit[:LEVel]:LOWer? [{MIN|MAX}] Parameter Value: Unit: -110 % of rated value -I.LIM -1 % of the rated value -110 % of rated value -V.LIM +V.LIM +110 % of the rated value (The default value is -110 % of the rated value.) A or V Response Returns the setting in <NR3> format in response to the {CURR|VOLT}:LIM:LOW? query. PBZ_INTERFACE 41 Protection Features Commands Mode and activation points (legacy command) The following commands were used up to firmware version 2.19. When creating a new program, use the commands listed under the aforementioned OVP or OCP trip point or V.LIM or I.LIM trip point. The CURR:PROT:UPP and CURR:PROT:LOW commands apply to the protection mode (OCP or current limit) selected with CURR:PROT:STAT. The VOLT:PROT:UPP and VOLT:PROT:LOW commands apply to the protection mode (OVP or voltage limit) selected with VOLT:PROT:STAT. To use a program that you were using for firmware version 2.19 or earlier, check that the protection mode is set before the trip points are set. Use SYST:CONF:BTR:PROT to set the protection operation to perform (power off or output off) when OVP or OCP is activated. $6331305611PQFSBUJPOFYBNQMF OCP CURR:PROT:UPP +I.LIM *G$633130545"553*1 JTTQFDJpFE UIFDPNNBOE TFUT0$1 *G$633130545"5-*. JTTQFDJpFE UIFDPNNBOE TFUT*-*. CURR:PROT:UPP * RST * RCL If CURR:PROT:STAT LIM is specified, this command sets the value of the positive I.LIM trip point. If CURR:PROT:STAT TRIP is specified, this command sets the value of the positive OCP trip point. Command [SOURce:]CURRent:PROTection[:LEVel]:UPPer {<numeric>|MIN|MAX} [SOURce:]CURRent:PROTection[:LEVel]:UPPer? [{MIN|MAX}] Parameter Value: Unit: +1 % to +110 % of the rated value (The default value is +110 % of the rated value.) A Response Returns the setting in <NR3> format in response to the CURR:PROT:UPP? query. VOLT:PROT:UPP * RST * RCL If VOLT:PROT:STAT LIM is specified, this command sets the value of the positive V.LIM trip point. If VOLT:PROT:STAT TRIP is specified, this command sets the value of the positive OVP trip point. Command [SOURce:]VOLTage:PROTection[:LEVel]:UPPer {<numeric>|MIN|MAX} [SOURce:]VOLTage:PROTection[:LEVel]:UPPer? [{MIN|MAX}] Parameter Value: Unit: -110 % of rated value -V.LIM +V.LIM +110 % of the rated value% (when VOLT:PROT:STAT LIM is specified) +1 % to +110 % of the rated value (when VOLT:PROT:STAT TRIP is specified) (The default value is +110 % of the rated value.) V Response Returns the setting in <NR3> format in response to the VOLT:PROT:UPP? query. 42 PBZ_INTERFACE Protection Features Commands CURR:PROT:LOW * RST * RCL If CURR:PROT:STAT LIM is specified, this command sets the value of the negative I.LIM trip point. If CURR:PROT:STAT TRIP is specified, this command sets the value of the negative OCP trip point. Command [SOURce:]CURRent:PROTection[:LEVel]:LOWer {<numeric>|MIN|MAX} [SOURce:]CURRent:PROTection[:LEVel]:LOWer? [{MIN|MAX}] Parameter Value: Unit: -110 % to -1 % of the rated value (The default value is -110 % of the rated value.) A Response Returns the setting in <NR3> format in response to the CURR:PROT:LOW? query. VOLT:PROT:LOW * RST * RCL If VOLT:PROT:STAT LIM is specified, this command sets the value of the negative V.LIM trip point. If VOLT:PROT:STAT TRIP is specified, this command sets the value of the negative OVP trip point. Command [SOURce:]VOLTage:PROTection[:LEVel]:LOWer {<numeric>|MIN|MAX} [SOURce:]VOLTage:PROTection[:LEVel]:LOWer? [{MIN|MAX}] Parameter Value: Unit: -110 % of rated value -V.LIM +V.LIM +110 % of the rated value% (when VOLT:PROT:STAT LIM is specified) -110 % to -1 % of the rated value (when VOLT:PROT:STAT TRIP is specified) (The default value is -110 % of the rated value.) V Response Returns the setting in <NR3> format in response to the VOLT:PROT:LOW? query. Clearing Alarms OUTP:PROT:CLE Clears alarms. Command OUTPut:PROTection:CLEar PBZ_INTERFACE 43 7 Measurement Function Commands SENS:FUNC Sets the measurement function. Command SENSe:FUNCtion {DC|AC|DCAC|PEAK} SENSe:FUNCtion? * RST * RCL Parameter Value: DC AC DCAC PEAK DC (default) AC RMS DC + AC RMS DC + the peak AC value Response Returns the measurement function in <character> format in response to the SENS:FUNC? query. SENS:APER Sets the measurement time. Command SENSe:APERture {<numeric>|MIN|MAX} SENSe:APERture? [{MIN|MAX}] * RST * RCL Parameter Value: Unit: 0.0001 to 3600 (The default value is 0.1.) S Response Returns the measurement time in <NR3> format in response to the SENS:APER? query. SENS:TRIG:SOUR Sets the measurement start trigger source. * RST * RCL Command SENSe:TRIGger:SOURce {AUTO|INTernal|EXTPOS|EXTNEG} SENSe:TRIGger:SOURce? Parameter Value: AUTO INTernal EXTPOS EXTNEG Start measuring automatically (default). Start measuring whenever a setting is changed. Start measuring when a rising edge is applied to the TRIG IN terminal. Start measuring when a falling edge is applied to the TRIG IN terminal. Response Returns the measurement start trigger source in <character> format in response to the SENS:TRIG:SOUR? query. 44 PBZ_INTERFACE Measurement Function Commands SENS:TRIG:DEL Sets the trigger delay. Command SENSe:TRIGger:DELay {<numeric>|MIN|MAX} SENSe:TRIGger:DELay? [{MIN|MAX}] * RST * RCL Parameter Value: Unit: 0.000 00 to 3600 (The default value is 0.00000) S Response Returns the delay time in <NR3> format in response to the SENS:TRIG:DEL? query. Trigger Function The PBZ has the following four trigger functions. · SEQuence1 (TRANsient) Specify FUNCtion, FREQuency, CURRent (DC and AC), and VOLTage (DC and AC) settings in advance, and use trigger timing to set them. · SEQuence2 (OUTPut) Specify OUTPUT ON/OFF settings in advance, and use trigger timing to set them. · SEQuence3 (ACQuire) Use trigger timing to start measuring or query the measured values. · SEQuence4 (PROGram) Use trigger timing to carry out PROGram or SCRipt execution. You have to specify the execution conditions in advance. SEQuence1 (TRANsient) The following table shows items that you can use trigger timing to set (<transient_item>). You can set the items immediately after a trigger occurs or wait for a software trigger and then set the items. l CV mode <transient_item> [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] [SOURce:]VOLTage:AC:TRIGgered[:AMPLitude] Description DC signal voltage AC signal voltage See Page 26 31 l CC mode <transient_item> [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] [SOURce:]CURRent:AC:TRIGgered[:AMPLitude] Description DC signal current AC signal current See Page 26 31 PBZ_INTERFACE 45 Measurement Function Commands l CV mode and CC mode <transient_item> Description [SOURce:]AC:STAT:TRIGgered [SOURce:]FUNCtion[:SHAPe]:TRIGgered [SOURce:]FREQuency:TRIGgered AC signal: on/off AC signal waveform AC signal frequency INIT INIT:NAME TRAN Starts the TRANsient trigger function. Command INITiate[:IMMediate][:SEQuence[1]] INITiate[:IMMediate]:NAME TRANsient See Page 27 28 31 TRIG TRIG:TRAN Executes a software trigger for the SEQuence1 (TRANsient) group. Command TRIGger[:SEQuence[1]][:IMMediate] TRIGger:TRANsient[:IMMediate] TRIG:SOUR TRIG:TRAN:SOUR Sets an applicable trigger source for the SEQuence1 (TRANsient) group. Command TRIGger[:SEQuence[1]]:SOURce {BUS|IMMediate} TRIGger[:SEQuence[1]]:SOURce? * RST * RCL Command TRIGger:TRANsient:SOURce {BUS|IMMediate} TRIGger:TRANsient:SOURce? Parameter Value: BUS IMMediate Software trigger Wait for a *TRG or IEEE 488.1 get (Group Execute Trigger) command, and then begin execution. Immediately begin execution (default) Response Returns the current trigger source setting in <character> format. 46 PBZ_INTERFACE Measurement Function Commands SEQuence2 (OUTPut) The following table shows the item that you can use trigger timing to set (<output_item>). You can set the item immediately after a trigger occurs or wait for a software trigger and then set the item. <output_item> OUTput[:STATe]:TRIGgered Description Output: on/off See Page 37 INIT:SEQ2 INIT:NAME OUTP Starts the OUTPut trigger function. Command INITiate[:IMMediate]:SEQuence2 INITiate[:IMMediate]:NAME OUTPut TRIG:SEQ2 TRIG:OUTP Executes a software trigger for the SEQuence2 (OUTPut) group. Command TRIGger:SEQuence2[:IMMediate] TRIGger:OUTPut[:IMMediate] TRIG:SEQ2:SOUR TRIG:OUTP:SOUR Sets an applicable trigger source for the SEQuence2 (OUTPut) group. Command TRIGger:SEQuence2:SOURce {BUS|IMMediate} TRIGger:SEQuence2:SOURce? * RST * RCL Command TRIGger:OUTPut:SOURce {BUS|IMMediate} TRIGger:OUTPut:SOURce? Parameter Value: BUS IMMediate Software trigger Wait for a *TRG or IEEE 488.1 get (Group Execute Trigger) command, and then begin execution. Immediately begin execution (default) Response Returns the current trigger source setting in <character> format. PBZ_INTERFACE 47 Measurement Function Commands TRIG:SEQ2:SST:RISE TRIG:OUTP:SST:RISE * RST * RCL Sets the soft start time for the SEQuence2 (OUTPut) group. Command TRIGger:SEQuence2:SSTart:RISE {<numeric>|MIN|MAX} TRIGger:SEQuence2:SSTart:RISE? [{MIN|MAX}] Command TRIGger:OUTPut:SSTart:RISE {<numeric>|MIN|MAX} TRIGger:OUTPut:SSTart:RISE? [{MIN|MAX}] Parameter Value: Unit: 0.000 1 to 1000 (The default value is 0.0000.) S Response Returns the soft start time in <NR3> format. TRIG:SEQ2:SST:FALL TRIG:OUTP:SST:FALL * RST * RCL Sets the soft stop time for the SEQuence2 (OUTPut) group. Command TRIGger:SEQuence2:SSTart:FALL {<numeric>|MIN|MAX} TRIGger:SEQuence2:SSTart:FALL? [{MIN|MAX}] Command TRIGger:OUTPut:SSTart:FALL {<numeric>|MIN|MAX} TRIGger:OUTPut:SSTart:FALL? [{MIN|MAX}] Parameter Value: Unit: 0.000 1 to 1000 (The default value is 0.0000.) S Response Returns the soft stop time in <NR3> format. 48 PBZ_INTERFACE Measurement Function Commands SEQuence3 (ACQuire) The following table shows items that you can use trigger timing to measure (<meas_item>). You can measure the items immediately after a trigger occurs or wait for a software trigger and then measure the items. <meas_item> VOLTage[:DC] VOLTage:AC VOLTage:{MINimum | MAXimum} CURRent[:DC] CURRent:AC CURRent:{MINimum | MAXimum} Measurement description See DC voltage AC voltage Page 26 30 Peak voltage, minimum, and maximum DC current 26 AC current 30 Peak current, minimum, and maximum The following table shows the different measurement operations that are available (FETC, READ, and MEAS). READ and MEASure operate exactly the same, as they are aliases. Measurement operation and command syntax :FETCh[:SCALar]:<meas_item>? :READ[:SCALar]:<meas_item>? :MEASure[:SCALar]:<meas_item>? Measurement operation description Query the measured value without starting a new measurement. Start a new measurement, and query the measured value. FETC:<meas_item> Queries the measured value that is specified by <meas_item> without starting a new measurement. Command FETCh[:SCALar]:<meas_item>? Response Returns the measured value in <NR3> (number of digits to the right of the decimal is 5) format. READ:<meas_item> MEAS:<meas_item> Starts a new measurement, and queries the measured value that is specified by <meas_item>. Command READ[:SCALar]:<meas_item>? MEASure[:SCALar]:<meas_item>? Response Returns the measured value in <NR3> (number of digits to the right of the decimal is 5) format. PBZ_INTERFACE 49 Measurement Function Commands INIT:SEQ3 INIT:NAME ACQ Starts the ACQuire trigger function. When an INIT command is sent, the measured value that is currently saved is deleted and invalidated. If you send a FETC? query immediately after you send an INIT command, the PBZ returns the measured value after it completes the measurement. Command INITiate[:IMMediate]:SEQuence3 INITiate[:IMMediate]:NAME ACQuire TRIG:SEQ3 TRIG:ACQ Executes a software trigger for the SEQuence3 (ACQuire) group. Command TRIGger:SEQuence3[:IMMediate] TRIGger:ACQuire[:IMMediate] TRIG:SEQ3:SOUR TRIG:ACQ:SOUR Sets an applicable trigger source for the SEQuence3 (ACQuire) group. Command TRIGger:SEQuence3:SOURce {BUS|IMMediate} TRIGger:SEQuence3:SOURce? * RST * RCL Command TRIGger:ACQuire:SOURce {BUS|IMMediate} TRIGger:ACQuire:SOURce? Parameter Value: BUS IMMediate Software trigger Wait for a *TRG or IEEE 488.1 get (Group Execute Trigger) command, and then begin measuring. Immediately begin measuring (default) Response Returns the current trigger source setting in <character> format. 50 PBZ_INTERFACE Measurement Function Commands SEQuence4 (PROGram) This trigger function is used to carry out PROGram or SCRipt execution. You have to specify the execution conditions in advance. You can execute the program or script immediately after a trigger occurs or wait for a software trigger and then carry out execution. INIT:SEQ4 INIT:NAME PROG Starts the PROGram trigger function. Command INITiate[:IMMediate]:SEQuence4 INITiate[:IMMediate]:NAME PROGram TRIG:SEQ4 TRIG:PROG Executes a software trigger for the SEQuence4 (PROgram) group. Command TRIGger:SEQuence4[:IMMediate] TRIGger:PROGram[:IMMediate] TRIG:SEQ4:SOUR TRIG:PROG:SOUR * RST * RCL Sets an applicable trigger source for the SEQuence4 (PROgram) group. Command TRIGger:SEQuence4:SOURce {BUS|IMMediate|EXTernal} TRIGger:SEQuence4:SOURce? Command TRIGger:PROGram:SOURce {BUS|IMMediate} TRIGger:PROGram:SOURce? Parameter Value: BUS IMMediate EXTernal Software trigger Wait for a *TRG or IEEE 488.1 get (Group Execute Trigger) command, and then begin execution. Immediately begin execution (default) Begin execution when an edge is applied to the TRIG IN terminal Response Returns the current trigger source setting in <character> format. PBZ_INTERFACE 51 Measurement Function Commands SEQuence1 to SEQuence4 Shared Command ABOR Aborts measurement. The PBZ's trigger state immediately after it turns on is the same as its trigger state after it receives an ABOR command. If you send an ABOR command while the PBZ is executing measurements, the measured data is discarded. If you send an ABOR command without first sending an INIT command and if the measurement data that is held in the PBZ is valid, the measured data is not discarded. Command ABORt 52 PBZ_INTERFACE 8 Memory Function Commands Preset Memory MEM:PRES:RCL Loads preset memory entries. Command MEMory:PRESet:RCL {1|2|3} Parameter Value: 1 2 3 Preset memory A Preset memory B Preset memory C MEM:PRES:SAV Saves the current settings to preset memory. Command MEMory:PRESet:SAV {1|2|3} Parameter Value: 1 2 3 Preset memory A Preset memory B Preset memory C Setup Memory MEM:SET:RCL Loads the setup memory entry that you specify by its memory number. Command MEMory:SETup:RCL {0|1|2|3|4|5|6|7|8|9} Parameter Value: 0 to 9 Memory number PBZ_INTERFACE 53 Memory Function Commands MEM:SET:SAV Saves the current settings to the setup memory entry that you specify by its memory number. Command MEMory:SETup:SAV {0|1|2|3|4|5|6|7|8|9} Parameter Value: Parameter Value: 0 to 9 Memory number MEM:SET:TITL Specify the setup memory number and sets the name to a string of 15 characters in length. A space character(0x20) is inserted automatically in case of a string of less than 15 characters in length. Command MEMory:SETup:TITLe {0|1|2|3|4|5|6|7|8|9},<"string"> MEMory:SETup:TITLe? {0|1|2|3|4|5|6|7|8|9} Parameter Value: 0 to 9 Memory number Parameter Value: <"string"> Character string Response Returns the name of the setup memory entry in <"string"> format in response to the MEMory:SETup:TITLe? {0|1|2|3|4|5|6|7|8|9} query. 54 PBZ_INTERFACE 9 Sequence Function Commands Editing Programs and Steps Selecting Programs PROG:NAME * RST * RCL Selects the program that corresponds to the specified program number, or clears the current selection. Command PROGram:NAME <"string"> PROGram:NAME? Parameter Value: "1" to "16" "" Program number Blank string (clears the current selection; default) Response Returns the name of the program in <"string"> format in response to the PROG:NAME? query. Editing Programs PROG:EDIT:ADD Adds the specified number of steps to the selected program. Steps are added after the program's final step. Command PROGram:EDIT:ADD <NRf> Parameter Value: 1 to 1024 Number of steps to add PROG:EDIT:COUN Queries the number of steps in the selected program. Command PROGram:EDIT:COUNt? Response Returns the number of steps in the program in <NR1> format in response to the PROG:EDIT:COUN? query. PBZ_INTERFACE 55 Sequence Function Commands PROG:EDIT:COUN:FREE Queries the number of steps that can be added to the selected program. Command PROGram:EDIT:COUNt:FREE? Response Returns the number of steps that can be added to the program in <NR1> format in response to the PROG:EDIT:COUN:FREE? query. PROG:EDIT:DEL Deletes all of the selected program's steps. Command PROGram:EDIT:DELete PROG:EDIT:TITL Sets the name of the selected program to a string of 15 characters in length. A space character(0x20) is inserted automatically in case of a string of less than 15 characters in length. Command PROGram:EDIT:TITLe <"string"> PROGram:EDIT:TITLe? Parameter Value: "string" Example "My Program" Response Returns the selected program's name in <"string"> format. PROG:EDIT:FUNC:MODE Sets the selected program's CV/CC mode setting. Command PROGram:EDIT:FUNCtion:MODE {CC|CV} PROGram:EDIT:FUNCtion:MODE? Parameter Value: CC CV CC mode CV mode Response Returns the setting in <character> format in response to the PROG:EDIT:FUNC:MODE? query. PROG:EDIT:FUNC:POL Sets the selected program's bipolar/unipolar mode setting. Command PROGram:EDIT:FUNCtion:POLarity {BIPolar|UNIPolar} PROGram:EDIT:FUNCtion:POLarity? Parameter Value: BIPolar UNIPolar Bipolar mode (default) Unipolar mode Response Returns the setting in <character> format in response to the PROG:EDIT:FUNC:POL? query. 56 PBZ_INTERFACE Sequence Function Commands PROG:EDIT:LOOP Sets the number of times that the selected program will repeat. Command PROGram:EDIT:LOOP <NRf> PROGram:EDIT:LOOP? Parameter Value: 1 to 10 000 10 001 (infinity) Response Returns the number of times that the program will repeat in <NR3> format in response to the PROG:EDIT:LOOP? query. Selecting Steps PROG:EDIT:STEP:SEL Selects the selected program's step that corresponds to the specified step number. Command PROGram:EDIT:STEP:SELect <NRf> PROGram:EDIT:STEP:SELect? Parameter Value: 1 to 1024 Step number: The maximum value is the number of steps that have been added to the program. Response Returns the step number in <NR1> format in response to the PROG:EDIT:STEP:SEL? query. Returns <-1> if there are no steps in the selected program. PBZ_INTERFACE 57 Sequence Function Commands Editing Steps (DC Signal Settings) PROG:EDIT:STEP:CURR PROG:EDIT:STEP:VOLT Sets the DC signal voltage, current, and how the signal will change over time for the selected step. If you specify IMMediate, the DC signal voltage and current are set to the specified values immediately at the start of the step. If you specify RAMP, the DC signal voltage and current increase or decrease gradually from the start of the step and are set to the specified values at the end of the step. If the step time exceeds 1000 seconds, the DC signal level after 1000 seconds is the same as the DC signal stop setting (STOP). If you want to perform a ramp transition that takes longer than 1000 seconds, you have to combine multiple steps. Command PROGram:EDIT:STEP:VOLTage[:LEVel] {<numeric>|MIN|MAX}[,<character>] PROGram:EDIT:STEP:VOLTage[:LEVel]? [{MIN|MAX}] Command PROGram:EDIT:STEP:CURRent[:LEVel] {<numeric>|MIN|MAX}[,<character>] PROGram:EDIT:STEP:CURRent[:LEVel]? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output V or A Parameter Value: IMMediate Change levels immediately RAMP Change levels gradually The default is IMMediate. Response Returns the settings in <NR3>,<character> format in response to the PROG:EDIT:STEP:VOLT? or PROG:EDIT:STEP:CURR? query. PROG:EDIT:STEP:CURR:RAMP PROG:EDIT:STEP:VOLT:RAMP Sets the value of the DC signal current and voltage at the start of the step when the selected step is set to RAMP (change gradually). Command PROGram:EDIT:STEP:VOLTage:RAMP {<numeric>|MIN|MAX} PROGram:EDIT:STEP:VOLTage:RAMP? [{MIN|MAX}] Command PROGram:EDIT:STEP:CURRent:RAMP {<numeric>|MIN|MAX} PROGram:EDIT:STEP:CURRent:RAMP? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output V or A Response Returns the setting in <NR3> format in response to the PROG:EDIT:STEP:VOLT:RAMP? or PROG:EDIT:STEP:CURR:RAMP? query. 58 PBZ_INTERFACE Editing Steps (AC Signal Settings) Sequence Function Commands PROG:EDIT:STEP:FUNC Sets the AC signal waveform of the selected step. There are three types of fixed waveforms (sine, square, and triangle waves), and you can store up to 16 user-defined arbitrary waveforms. Command PROGram:EDIT:STEP:FUNCtion[:SHAPe] {SINusoid|SQUare|TRIangle|USER[1]..USER16} PROGram:EDIT:STEP:FUNCtion[:SHAPe]? Parameter Value: SINusoid SQUare TRIangle USER[1] to USER16 Sine wave Square wave Triangle wave User-defined arbitrary waveform Response Returns the AC signal waveform type in <character> format in response to the PROG:EDIT:STEP:FUNC? query. PROG:EDIT:STEP:CURR:AC PROG:EDIT:STEP:VOLT:AC Sets the AC signal voltage, current, and how the signal will change over time for the selected step. If you specify IMMediate, the AC signal voltage and current are set to the specified values immediately at the start of the step. If you specify SWEep, the AC signal voltage and current increase or decrease gradually from the start of the step and are set to the specified values at the end of the step. Command PROGram:EDIT:STEP:VOLTage:AC {<numeric>|MIN|MAX}[,<character>] PROGram:EDIT:STEP:VOLTage:AC? [{MIN|MAX}] Command PROGram:EDIT:STEP:CURRent:AC {<numeric>|MIN|MAX}[,<character>] PROGram:EDIT:STEP:CURRent:AC? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output VPP or APP Parameter Value: IMMediate Change levels immediately SWEep Change levels gradually The default is IMMediate. Response Returns the settings in <NR3>,<character> format in response to the PROG:EDIT:STEP:VOLT:AC? or PROG:EDIT:STEP:CURR:AC? query. PBZ_INTERFACE 59 Sequence Function Commands PROG:EDIT:STEP:CURR:AC:SWE PROG:EDIT:STEP:VOLT:AC:SWE Sets the value of the AC signal current and voltage at the start of the step when the selected step is set to SWEep (change gradually). If the step time exceeds 1000 seconds, the AC signal amplitude level after 1000 seconds is the same as the stop amplitude setting (STOP). If you want to perform an AC signal amplitude sweep that takes longer than 1000 seconds, you have to combine multiple steps. Command PROGram:EDIT:STEP:VOLTage:AC:SWEep {<numeric>|MIN|MAX} PROGram:EDIT:STEP:VOLTage:AC:SWEep? [{MIN|MAX}] Command PROGram:EDIT:STEP:CURRent:AC:SWEep {<numeric>|MIN|MAX} PROGram:EDIT:STEP:CURRent:AC:SWEep? [{MIN|MAX}] Parameter Value: Unit: 0 % to 105 % of the rated output VPP or APP Response Returns the setting in <NR3> format in response to the PROG:EDIT:STEP:VOLT:AC:SWE? or PROG:EDIT:STEP:CURR:AC:SWE? query. PROG:EDIT:STEP:AC:STAT Sets the selected step's AC signal on/off state. Command PROGram:EDIT:STEP:AC:STATe {ON|OFF|1|0} PROGram:EDIT:STEP:AC:STATe? Parameter Value: ON (1) On OFF (0) Off Response Returns the selected step's AC signal on/off state in <NR1> format in response to the PROG:EDIT:STEP:AC:STAT? query. 60 PBZ_INTERFACE Sequence Function Commands PROG:EDIT:STEP:FREQ Sets the AC signal frequency and how the frequency will change over time for the selected step. If you specify IMMediate, the AC signal frequency is set to the specified value immediately at the start of the step. If you specify SWEep, the AC signal frequency increases or decreases gradually from the start of the step and it is set to the specified value at the end of the step. Command PROGram:EDIT:STEP:FREQuency {<numeric>|MIN|MAX}[,<character>] PROGram:EDIT:STEP:FREQuency? [{MIN|MAX}] Parameter Value: Unit: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: +1.0E-02 Hz to +1.0E+05 Hz Maximum CV mode: +1.0E+05 (100 kHz) CC mode: +1.0E+05 (100 kHz) PBZ20-20A: +1.0E-02 Hz to +2.0E+05 Hz Maximum CV mode: +2.0E+05 (200 kHz) CC mode: +2.0E+05 (200 kHz) HZ Parameter Value: IMMediate Change levels immediately SWEep Change levels gradually The default is IMMediate. Response Returns the settings in <NR3>,<character> format in response to the PROG:EDIT:STEP:FREQ? query. PROG:EDIT:STEP:FREQ:SWE Sets the AC signal frequency sweep mode and the frequency at the start of the step for the selected step. If the step time exceeds 1000 seconds, the frequency sweep from the specified start frequency to the specified stop frequency is repeated after 1000 seconds. If you want to perform an AC signal frequency sweep that takes longer than 1000 seconds, you have to combine multiple steps. Command PROGram:EDIT:STEP:FREQuency:SWEep [<character>],{<numeric>|MIN|MAX} PROGram:EDIT:STEP:FREQuency:SWEep? <character>[,{MIN|MAX}] Parameter Value: LOG LINear Logarithmic sweep Linear sweep Parameter Value: PBZ20-20/PBZ40-10/PBZ60-6.7/PBZ80-5: +1.0E-02 Hz to +1.0E+05 Hz (start frequency) Maximum CV mode: +1.0E+05 (100 kHz) CC mode: +1.0E+05 (100 kHz) Unit: PBZ20-20A: +1.0E-02 Hz to +2.0E+05 Hz (start frequency) Maximum CV mode: +2.0E+05 (200 kHz) CC mode: +2.0E+05 (200 kHz) HZ Response Returns the settings in <character>,<NR3> format in response to the PROG:EDIT:STEP:FREQ:SWE? query. PBZ_INTERFACE 61 Sequence Function Commands PROG:EDIT:STEP:PHAS Sets AC signal start phase angle and whether to set the start phase angle or not for the selected step. Command PROGram:EDIT:STEP:PHASe {<numeric>|MIN|MAX},{ON|OFF|1|0} PROGram:EDIT:STEP:PHASe? Parameter Value: Unit: 0 to 359 DEG (degrees) Parameter Value: ON (1) OFF (0) Set the start phase angle Do not set the start phase angle Response Returns the start phase angle setting and whether the start phase angle is set or not in <NR3>,<NR1> format in response to the PROG:EDIT:STEP:PHAS? query. PROG:EDIT:STEP:SQU:DCYC Sets the square wave signal duty cycle for the selected step. Command PROGram:EDIT:STEP:SQUare:DCYCle {<numeric>|MIN|MAX} PROGram:EDIT:STEP:SQUare:DCYCle? [{MIN|MAX}] Parameter Value: Unit: 0.1 % to 99.9 % (The default value is 50.0 %.) PCT Response Returns the setting in <NR3> format in response to the PROG:EDIT:STEP:SQU:DCYC? query. 62 PBZ_INTERFACE Sequence Function Commands Editing Steps (Execution Time, Turning Output On and Off, and Trigger I/O) PROG:EDIT:STEP:TIME Sets the execution time for the selected step. The DC signal ramp and AC signal amplitude sweep both stop after 1000 seconds. The AC signal frequency sweep repeats once every 1000 seconds. If you want to perform these functions for lengths of time exceeding 1000 seconds, you have to combine multiple steps. Command PROGram:EDIT:STEP:TIME {<numeric>|MIN|MAX} PROGram:EDIT:STEP:TIME? [{MIN|MAX}] Parameter Value: Unit: 0.0001 to 3600000 S Response Returns the setting in <NR3> (number of digits to the right of the decimal is 5) format in response to the PROG:EDIT:STEP:TIME? query. PROG:EDIT:STEP:STAT Sets the selected step to turn output on or off and sets the selected step's trigger signal I/O. Command PROGram:EDIT:STEP:STATe {ON|OFF|1|0},{ON|OFF|1|0},{ON|OFF|1|0} PROGram:EDIT:STEP:STATe? Parameter Value: ON (1) OFF (0) Turns output on Turns output off Parameter Value: ON (1) OFF (0) Generate trigger signal output Do not generate trigger signal output Parameter Value: ON (1) OFF (0) Wait for trigger signal input Ignore trigger signal input Response Returns the settings in <NR1>,<NR1>,<NR1> format in response to the PROG:EDIT:STEP:STAT? query. PBZ_INTERFACE 63 Sequence Function Commands Executing Programs PROG:EXEC:STAT Changes the execution state of the selected program. Command PROGram:EXECute:STATe {RUN|PAUSE|STOP|CONTinue} Parameter Value: RUN PAUSE STOP CONTinue Execute the program Pause execution Stop execution Continue execution PROG:EXEC Queries the execution state of the selected program. Command PROGram:EXECuting? Response Returns the execution state, time that has passed since execution began, the number of times that the program will repeat, the current step number, and the program number in <character>,<NR3> (number of digits to the right of the decimal is 5),<NR1>,<NR1>, <"string"> format in response to the PROG:EXEC? query. Response format <character>: The execution state (RUN, PAUSE, STOP, or WAIT). <NR3>: The time that has passed since execution began. <NR1>: The number of times that the program will repeat. <NR1>: The current step number. <"string">: The program number. Example When the execution mode is RUN: RUN,+1.00000E+00,1,1,"1". Example When the execution mode is STOP: STOP,0,0,-1,"". 64 PBZ_INTERFACE Editing Scripts Sequence Function Commands SCR:NAME Selects the script or clears the current selection. Command SCRipt:NAME <"string"> SCRipt:NAME? * RST * RCL Parameter Value: "CC" "CV" "" CC script CV script Blank string (clears the current selection; default) Response Returns the name of the script in <"string"> format in response to the SCR:NAME? query. SCR:EDIT Sets the contents of the selected script. Command SCRipt:EDIT <"string"> SCRipt:EDIT? Parameter Value: "DO Pn,Rn" "DO LOOP Ln" "END LOOP" Selects a program number. Pn: Program number (1 to 16). Rn: The number of times Pn will repeat (1 to 10000; 10001 for infinity). Loop start command. Ln: The number of times the loop will repeat (1 to 10000; 10001 for infinity). Loop end command. Example SCR:EDIT "DO P1,R1;DO P2,R1;DO LOOP L2;DO P3,R1;END LOOP" Parameters are separated by semicolons. Response Returns the script editing string in <"string"> format in response to the SCR:EDIT? query. SCR:EDIT:TITL Sets the name of the selected script to a string of 15 characters in length. A space character(0x20) is inserted automatically in case of a string of less than 15 characters in length. Command SCRipt:EDIT:TITLe <"string"> SCRipt:EDIT:TITLe? Parameter Value: "string" Example "My SCRipt" Response Returns the selected script's name in <"string"> format. PBZ_INTERFACE 65 10 System Settings Commands CONFIG Settings SYST:CONF:BTR Trips the breaker (turns the POWER switch off). Command SYSTem:CONFigure:BTRip[:IMMediate] SYST:CONF:BTR:PROT Sets whether to trip the breaker or not when overvoltage protection (OVP) and overcurrent protection (OCP) are activated. Command SYSTem:CONFigure:BTRip:PROTection {ON|OFF|1|0} SYSTem:CONFigure:BTRip:PROTection? Parameter Value: ON (1) OFF (0) Trip the breaker Do not trip the breaker Response Returns whether the breaker trips (the POWER switch turns off) or not in <NR1> format in response to the SYST:CONF:BTR:PROT? query. SYST:CONF:PAR Sets the number of units that are operating in parallel. This can only be set on the master unit. This cannot be set when the output is on. This setting is changed after the PBZ is reset. Command SYSTem:CONFigure:PARallel {1|2|3|4|5} SYSTem:CONFigure:PARallel? Parameter Value: 1 to 5 (The default value is 1.) Response Returns the setting for the number of units that are operating in parallel in <NR1> format in response to the SYST:CONF:PAR? query. 66 PBZ_INTERFACE System Settings Commands SYST:CONF:MSL Sets the PBZ's parallel operation mode. This setting is changed after the PBZ is reset. Command SYSTem:CONFigure:MSLave {MASTer|PARallel} SYSTem:CONFigure:MSLave? Parameter Value: PARallel MASTer Slave unit Master unit or independent operation Response Returns the parallel operation mode in <character> format in response to the SYST:CONF:MSL? query. SYST:CONF:SYNC:OPER Sets the PBZ's synchronous operation mode. Command SYSTem:CONFigure:SYNC:OPERation {OFF|MASTer|SLAVe|STERmination} SYSTem:CONFigure:SYNC:OPERation? * RST * RCL Parameter Value: OFF MASTer SLAVe STERmination Do not perform synchronous operation (default) Master unit Slave unit Slave end unit Response Returns the synchronous operation mode in <character> format in response to the SYST:CONF:SYNC:OPER? query. SYST:CONF:TRAC Executes a debug trace and sets whether communication errors are displayed or not. If you turn the debug trace feature on, error numbers, such as Err-100, are displayed on the screen. Command SYSTem:CONFigure:TRACe {ON|OFF|1|0} SYSTem:CONFigure:TRACe? Parameter Value: ON (1) OFF (0) Communication errors are displayed. Communication errors are not displayed. Response Returns whether communication errors are displayed or not in <NR1> format in response to the SYST:CONF:TRAC? query. SYST:CONF:PRES:RCL:MOD * RST * RCL Sets the method for loading preset memory entries. Command SYSTem:CONFigure:PRESet:RCL:MODe {<numeric>|MIN|MAX} SYSTem:CONFigure:PRESet:RCL:MODe? Parameter Value: 1 2 1KEY mode 2KEY mode (default) Response Returns the method for loading preset memory entries in <NR1> format in response to the SYST:CONF:PRES:RCL:MOD? query. PBZ_INTERFACE 67 System Settings Commands SYST:CONF:RSEN Sets whether to perform remote sensing or not. Command SYSTem:CONFigure:RSENsing {ON|OFF|1|0} SYSTem:CONFigure:RSENsing? Parameter Value: ON (1) OFF (0) Perform remote sensing Do not perform remote sensing Response Returns whether remote sensing is performed or not in <NR1> format in response to the SYST:CONF:RSEN? query. SYST:CONF:KLOC:LEV Sets the key lock security level for the front panel keys. Command SYSTem:CONFigure:KLOCk:LEVel {1|2|3|MIN|MAX]} SYSTem:CONFigure:KLOCk:LEVel? * RST * RCL Parameter Value: Unit: 1 2 3 None Level 1 Level 2 Level 3 (default) Response Returns the key lock security level for the front panel keys in <NR1> format in response to the SYST:CONF:KLOC:LEV? query. SYST:CONF:BEEP:STAT Turns the buzzer on and off. Command SYSTem:CONFigure:BEEPer:STATe {ON|OFF|1|0} SYSTem:CONFigure:BEEPer:STATe? * RST * RCL Parameter Value: ON (1) OFF (0) On (default) Off Response Returns whether the buzzer is on or off in <NR1> format in response to the SYST:CONF:BEEP:STAT? query. SYST:CONF:BEEP:VOL * RST * RCL Sets the buzzer volume. Command SYSTem:CONFigure:BEEPer:VOLume {<numeric>|MIN|MAX} SYSTem:CONFigure:BEEPer:VOLume? [{MIN|MAX}] Parameter Value: Unit: 0.0 to 1.0 (The default value is 1.0.) None. Response Returns the buzzer volume setting in <NR3> format. 68 PBZ_INTERFACE System Settings Commands SYST:CONF:PON:STAT Sets the power-on state. Command SYSTem:CONFigure:PON:STATe {DEFault|LAST} SYSTem:CONFigure:PON:STATe? * RST * RCL Parameter Value: LAST DEFault The settings that were in use immediately before the POWER switch was turned off (default). The factory default settings. Response Returns the power-on state in <character> format in response to the SYST:CONF:PON:STAT? query. SYST:CONF:SEQ:PON:STAT Sets the program or script to execute when the PBZ turns on. Command SYSTem:CONFigure:SEQuence:PON:STATe <"string"> SYSTem:CONFigure:SEQuence:PON:STATe? * RST * RCL Parameter Value: "1" to "16" "CV" "CC" "" Program number CV script CC script Blank string (clears the current selection; default) Response Returns the name of the program or script to execute when the PBZ turns on in <"string"> format in response to the SYST:CONF:SEQ:PON:STAT query. PBZ_INTERFACE 69 System Settings Commands Basic System Settings SYST:ERR Retrieves the oldest error from the error queue. The error queue can hold up to 255 errors. The error queue is cleared if a *CLS command is sent. Command SYSTem:ERRor[:NEXT]? Response Returns the oldest error held in the error queue in <NR1>,<"string"> format. Example If there are no errors: 0,"No error" Example If there is a command error: -100,"Command error" SYST:KLOC Locks and unlocks the panel keys. Command SYSTem:KLOCk {ON|OFF|1|0} SYSTem:KLOCk? Parameter Value: ON (1) OFF (0) Lock the panel keys Unlock the panel keys Response Returns whether the panel keys are locked or not in <NR1> format. SYST:LOC Sets the PBZ to local mode (panel operation). This is a substitute command for the IEEE 488.1 REN message (Remote Enable). You can switch the PBZ back to remote mode by sending the SYST:REM or SYST:RWL command. If the PBZ is using the GPIB interface, an SCPI error (-200, "Execution error") occurs. Command SYSTem:LOCal SYST:REM Sets the PBZ to remote mode. All panel keys, except the LOCAL key, are locked. This is a substitute command for the IEEE 488.1 REN message (Remote Enable). This is also the substitute command for address specification. You can switch the PBZ back to local mode by sending the SYST:LOC command. If the PBZ is using the GPIB interface, an SCPI error (-200, "Execution error") occurs. Command SYSTem:REMote 70 PBZ_INTERFACE System Settings Commands SYST:RWL Sets the PBZ to remote mode. All panel keys (including the LOCAL key) are locked. This is a substitute command for the IEEE 488.1 llo message (Local Lock Out). You can switch the PBZ back to local mode by sending the SYST:LOC command. If the PBZ is using the GPIB interface, an SCPI error (-200, "Execution error") occurs. Command SYSTem:RWLock SYST:OPT Queries the options that are installed in the PBZ. This command performs the same function as the *OPT? command. Command SYSTem:OPTion? Response If the factory option LAN interface board is installed, "LAN" is returned. Returns "0" if no options are installed. SYST:VERS Queries the version of the SCPI specifications that the PBZ complies with. Command SYSTem:VERSion? Response Always returns 1999.0. PBZ_INTERFACE 71 11 Status Register and Status Report Function IEEE 488.2 and SCPI registers are used for status reports. In each SCPI status register, there are the following sub registers: the CONDition register, the EVENt register, the ENABle register, the PTRansition filter, and the NTRansition filter. The figure on page 73 shows the SCPI status register structure. A "+" represents the logical OR of the register bits. The tables on pages 74 to 78 provide the bit numbers, bit weights, bit names, and the meaning of each bit. CONDition register The CONDition register transits automatically and reflects the condition of the PBZ in real time. Reading this register does not affect its contents. EVENt register The EVENt register bits are automatically set according to the changes in the CONDition register. The rule for setting the bits varies depending on the positive and negative transition filters (PTRansition and NTRansition). The EVENt register is reset when it is read. ENABle register The ENABle register enables reports to the summary bit or status bit of the event bits. Transition filter Use the PTRansition (positive transition) filter to report events when the condition changes from false to true. Use the NTRansition (negative transition) filter to report events when the condition changes from true to false. If both the positive filter and negative filter are set to true, events can be reported each time the status changes. If both filters are cleared, event reporting is disabled. 72 PBZ_INTERFACE SCPI status registers OV(OVER VOLTAGE) OC(OVER CURRENT) Not Used POW(AC POWER OFF) OT(OVER Temperature) OP(OVER POWER) Not Used Not Used V-LIMIT(VOLTAGE LIMIT) I-LIMIT(CURRENT LIMIT) Not Used SD(SHUTDOWN ALARM) P-LIMIT(POWER LIMIT) UNLOCKED Not Used Not Used* Not Used Not Used Not Used Not Used Not Used Not Used CV Not Used CC TDEL(TRANSIENT DELAY) Not Used Not Used PROGRAM Not Used Status Register and Status Report Function Partially changed SCPI Standard 1999.0 Volume 1 fig. 9-1 PBZ_INTERFACE 73 Status Register and Status Report Function IEEE 488.2 Register Model Status Byte Register The status byte register stores STB and RQS (MSS) messages as defined by the IEEE 488.1 standard.The status byte register can be read by using IEEE 488.1 serial polling or the IEEE 488.2 common command *STB?. When the controller executes serial polling, bit 6 responds with request service (RQS). The status byte value is not changed by serial polling. *STB? makes the PBZ transmit the contents of the status byte register and the master status summary (MSS) message. *STB? does not change the status byte, MSS, and RQS. Bit 0 1 2 3 4 5 6 7 8-15 Bit weight 1 2 4 8 16 32 64 128 Bit name Reserved Reserved Error/Event Queue Questionable Status Register (QUES) Message Available (MAV) Standard Event Status Bit Summary (ESB) Request Service (RQS) Master Status Summary (MSS) Operation Status Register (OPER) NOT USED Description Reserved for future use by IEEE 488. The bit value is notified as zero. If data exists in the error or event queue, this bit is set to true. This bit is set to true when a bit is set in the QUEStionable event status register and the corresponding bit in the QUEStionable status enable register is true. This bit is set to true when a request is received from the digital programming interface and the PBZ is ready to generate the data byte. This bit is set to true when a bit is set in the event status register. This bit is set to true when a bit is set in the service request enable register and the corresponding bit exists in the status byte. The SRQ line of the GPIB is set. This bit is set to true when any bit in the status byte register is set to 1 and the corresponding bit in the service request enable register is set to 1. This bit is set to true when a bit is set in the OPERation event status register and the corresponding bit in the OPERation status enable register is set. -- 74 PBZ_INTERFACE Status Register and Status Report Function Event Status Register (Standard Event Status Register) The event status register bits are set when certain events occur during PBZ operation. All the event status register bits are set by the error event queue. This register is defined by the IEEE 488.2 standard and is controlled by the IEEE 488.2 common commands *ESE, *ESE?, and *ESR?. Bit 0 1 2 3 4 5 6 7 8-15 Bit weight 1 2 4 8 16 32 64 128 Bit name Description Operation Complete (OPC) Request Control (RQC) Query Error (QYE) Device Dependent Error (DDE) Execution Error (EXE) Command Error (CME) User Request (URQ) Power ON (PON) Reserved Set when an *OPC command is received and all operations in standby complete. -- Set when an attempt is made to read data from the output queue when there is no data or when the output queue is not in the wait state. This indicates that there is no data in the output queue. Set when there is a device-specific error. Set when the PBZ evaluates that the program data after the header is outside the formal input range or does not match the specifications of the PBZ. This indicates that a valid SCPI command may not be executed correctly depending on the state of the PBZ. Set when an IEEE 488.2 syntax error is detected by the parser, when an unidentifiable header is received, or when a group execution trigger enters the internal IEEE 488.2 SCPI command input buffer. -- Set when the power is turned on. -- PBZ_INTERFACE 75 Status Register and Status Report Function SCPI Register Model OPERation Status Register (STATus:OPERation) The OPERation status register is a 16-bit register that contains information about conditions that are part of normal PBZ operation. Bit Bit Bit name weight 0 1 NOT USED 1 2 NOT USED 2 4 NOT USED 3 8 NOT USED 4 16 MEASuring 5 32 Waiting for TRIGger 6 64 NOT USED 7 128 NOT USED 8 256 Constant Voltage 9 512 NOT USED 10 1024 Constant Current 11 2048 TRANsient Delay 12 4096 NOT USED 13 8192 NOT USED 14 16384 PROGram 15 32768 NOT USED Description -- -- -- -- Indicates whether measurement is in progress on the PBZ. Indicates whether the PBZ is waiting for a trigger (TRIG). -- -- Indicates whether the PBZ is in CV mode. -- Indicates whether the PBZ is in CC mode. Indicates whether the PBZ is delaying execution. -- -- Indicates whether the PBZ is executing a program. -- STAT:OPER Queries the event of the OPERation status register. A query clears the contents of the register. Command STATus:OPERation[:EVENt]? Response Returns the event of the OPERation status register in <NR1> format. STAT:OPER:COND Queries the condition of the OPERation status register. A query does not clear the contents of the register. Command STATus:OPERation:CONDition? Response Returns the condition of the OPERation status register in <NR1> format. 76 PBZ_INTERFACE Status Register and Status Report Function STAT:OPER:ENAB Sets the enable register of the OPERation status register. Command STATus:OPERation:ENABle <NRf> STATus:OPERation:ENABle? Parameter Value: 0 to 32 767 Response Returns the enable register of the OPERation status register in <NR1> format. STAT:OPER:PTR Sets the positive transition filter of the OPERation status register. Command STATus:OPERation:PTRansition <NRf> STATus:OPERation:PTRansition? Parameter Value: 0 to 32 767 Response Returns the positive transition filter of the OPERation status register in <NR1> format. STAT:OPER:NTR Sets the negative transition filter of the OPERation status register. Command STATus:OPERation:NTRansition <NRf> STATus:OPERation:NTRansition? Parameter Value: 0 to 32 767 Response Returns the negative transition filter of the OPERation status register in <NR1> format. PBZ_INTERFACE 77 Status Register and Status Report Function QUEStionable Status Register (STATus:QUEStionable) The QUEStionable status register is a 16-bit register that stores information related to the PBZ's status and the questionable events that occur during PBZ operation. These register bits may indicate that there are problems with the PBZ's measured data. Bit Bit Bit name weight 0 1 Over Voltage 1 2 Over Current 2 4 Not Used 3 8 AC Power OFF 4 16 Over Temp 5 32 Over Power 6 64 Not Used 7 128 Not Used 8 256 V-Limit 9 512 I-Limit 10 1024 Not Used 11 2048 Shutdown Alarm 12 4096 Power Limit 13 8192 UNLOCKED 14 16384 Not Used 15 32768 Not Used Description Overvoltage protection has been activated. Overcurrent protection has been activated. -- The POWER switch is off. The overheat sensor has been activated. The power limit protection has been activated. -- -- The voltage limit has been activated. The current limit has been activated. -- The POWER switch was turned off. The power limit has been activated. The PBZ is unsynchronized. -- -- STAT:QUES Queries the event of the QUEStionable status register. A query clears the contents of the register. Command STATus:QUEStionable[:EVENt]? Response Returns the event of the QUEStionable status register in <NR1> format. STAT:QUES:COND Queries the condition of the QUEStionable status register. A query does not clear the contents of the register. Command STATus:QUEStionable:CONDition? Response Returns the condition of the QUEStionable status register in <NR1> format. 78 PBZ_INTERFACE Status Register and Status Report Function STAT:QUES:ENAB Sets the enable register of the QUEStionable status register. Command STATus:QUEStionable:ENABle <NRf> STATus:QUEStionable:ENABle? Parameter Value: 0 to 32 767 Response Returns the enable register of the QUEStionable status register in <NR1> format. STAT:QUES:PTR Sets the positive transition filter of the QUEStionable status register. Command STATus:QUEStionable:PTRansition <NRf> STATus:QUEStionable:PTRansition? Parameter Value: 0 to 32 767 Response Returns the positive transition filter of the QUEStionable status register in <NR1> format. STAT:QUES:NTR Sets the negative transition filter of the QUEStionable status register. Command STATus:QUEStionable:NTRansition <NRf> STATus:QUEStionable:NTRansition? Parameter Value: 0 to 32 767 Response Returns the negative transition filter of the QUEStionable status register in <NR1> format. PBZ_INTERFACE 79 Status Register and Status Report Function Preset Status STAT:PRES Resets the ENABle, PTRansition, and NTRansition filter registers of all status registers (including sub registers) to their default values. Default values: STATus:ENABle = 0x0000 STATus:PTRansition = 0x7FFF STATus:NTRansition = 0x0000 Command STATus:PRESet Configures the status data, and enables certain events to be reported at a high level by the status reporting mechanism. These events are summarized in the OPERation status register and the QUEStionable status register that are part of the required structure. STAT:PRES only affects the transition filter registers of the ENABle register and the status data structure. STAT:PRES does not clear any event registers, nor does it clear any items from the error or event queues. To reset all event registers and the queues in the device's status reporting mechanism, send the *CLS command. For status data that SCPI requires, STAT:PRES sets the transition filters so that they recognize only positive transitions and sets the ENABle register to all 0. The service request enable register, parallel polling enable register, memory registers that are related to the *SAV command, the PBZ's address, the output queue, and the power-on status clear flag are not affected by this command. Register preset values that can be set by the user Register QUEStionable OPERation Filter or enable Enable register Positive transition filter Negative transition filter Preset value All zeros All ones All zeros 80 PBZ_INTERFACE 12 Default State The following tables show the PBZ settings (default state) when you send a *RST, *RCL, or MEAS? command or when you turn PBZ on. In each table, "MEAS?" represents the MEAS:<meas_item> command. SYSTem subsystem Command SYST:KLOC SYST:CONF:BTR:PROT Setting *RST *RCL MEAS? SYST:CONF:PAR SYST:CONF:MSL SYST:CONF:SYNC:OPER OFF SYST:CONF:TRAC Depends on the settings in the memory SYST:CONF:PRES:RCL :MOD 2 SYST:CONF:RSEN SYST:CONF:KLOC:LEV 3 SYST:CONF:BEEP:STAT 1 (ON) SYST:CONF:BEEP:VOL 1.0 SYST:CONF:PON:STAT LAST SYST:CONF:SEQ:PON:ST AT "" (Blank string) Depends on the settings in the memory Power on Unit Function Panel key lock Breaker tripping when a protection feature is activated Number of units in parallel operation Parallel operation: master/slave The settings that were in use immediately before the POWER switch was turned off. Synchronous operation: master/slave Communication error display Preset memory loading method Remote sensing Panel key lock and key lock level Buzzer: on/off Buzzer volume Power-on state Program or script to execute when the PBZ turns on DISPlay subsystem Command DISP:CONT Setting *RST *RCL 0.7 MEAS? Power on Unit Function The setting that was in use immediately before the POWER switch was turned off. Screen contrast PBZ_INTERFACE 81 Default State OUTPut subsystem Command OUTP OUTP:TRIG OUTP:PON:STAT OUTP:EXT OUTP:TRIG:POL OUTP:TRIG:STAT OUTP:PORT Setting *RST 0 (OFF) *RCL 0 (OFF) MEAS? IMMediate IMMediate RST NORMal POSitive 0 (OFF) Depends on the settings in the memory 0 (OFF) Unit Power on The settings that were in use immediately before the POWER switch was turned off. Function Output: on/off Output: on/off according to software triggers Output: on/off when the PBZ turns on Output-on control signal polarity Trigger signal output polarity Trigger signal output: on/ off J1 connector and option terminal output: on/off SENSe subsystem Command SENS:APER SENS:FUNC SENS:TRIG:DEL SENS:TRIG:SOUR Setting *RST 0.1 DC 0 AUTO *RCL MEAS? Depends on the settings in the memory Unit Power on The settings that S were in use immediately before the S POWER switch was turned off. Function Measurement time Measurement function Trigger delay Measurement start trigger source 82 PBZ_INTERFACE Default State [SOURce] subsystem Command FUNC:MODE FUNC:POL FUNC:SOUR FUNC:EXT:TERM FUNC:EXT:CURR:GAIN FUNC:EXT:VOLT:GAIN FUNC FUNC:TRIG AC:STAT AC:STAT:TRIG VOLT VOLT:TRIG VOLT:AC VOLT:AC:TRIG CURR CURR:TRIG CURR:AC CURR:AC:TRIG FREQ FREQ:TRIG PHAS SQU:DCYC SWE:STAT SWE:SPAC SWE:TIME SWE:FREQ:STAR SWE:FREQ:STOP MARK MARK:FPO APPL:DC APPL:SIN APPL:SQU APPL:TRI APPL:USER{[1]...16} Setting *RST *RCL MEAS? Power on Unit Function CV CV/CC mode BIPolar Bipolar/unipolar mode INTernal BNC 0 0 Depends on the settings in the memory Signal source selection External signal source terminal selection A/V External signal source gain V/V External signal source gain SIN AC signal selection IMMediate IMMediate AC signal source selection according to software triggers 0 (OFF) Depends on the settings in the memory AC signal: on/off IMMediate IMMediate AC signal: on/off according to software triggers 0 Depends on the IMMediate settings in the 0 memory V DC signal voltage value V DC signal voltage value according to software triggers VPP AC signal voltage value IMMediate IMMediate VPP AC signal voltage value according to software triggers 0 Depends on the IMMediate settings in the 0 memory IMMediate IMMediate A The settings that were in use A immediately before the APP POWER switch was turned off. APP DC signal current value DC signal current value according to software triggers AC signal current value AC signal current value according to software triggers 1 kHz Depends on the settings in the memory HZ AC signal frequency value IMMediate IMMediate HZ AC signal frequency value according to software triggers 0 or 1 (ON) DEG AC signal start phase angle 50.0 PCT Square wave signal duty cycle 0 (OFF) Frequency sweep: on/off LINear 1 100 Hz 1 kHz Depends on the settings in the memory Frequency sweep mode S Frequency sweep time HZ Frequency sweep start frequency HZ Frequency sweep stop frequency 0 (OFF) TRIG OUT terminal output type 500 Hz HZ Marker frequency HZ VPP APP V A Collective settings (AC signal waveform, frequency, amplitude, and DC signal) PBZ_INTERFACE 83 Default State [SOURce] subsystem Command CURR:RESP VOLT:RESP CURR:PROT:OVER CURR:LIM:UPP CURR:PROT:UPP VOLT:PROT:OVER VOLT:LIM:UPP VOLT:PROT:UPP CURR:PROT:UND CURR:LIM:LOW CURR:PROT:LOW VOLT:PROT:UND VOLT:LIM:LOW VOLT:PROT:LOW CURR:PROT:STAT VOLT:PROT:STAT Setting *RST *RCL 35 MEAS? 70 3.5 110 % of the rated value 110 % of the rated value 110 % of the rated value 110 % of the rated value LIMIT LIMIT Depends on the settings in the memory Power on Unit Function CC mode response US (PBZ20-20/ PBZ60-67/ PBZ80-5) US CC mode response (PBZ40-10) US CV mode response The settings that A were in use immediately before the POWER switch V was turned off. A Positive current activation point Positive voltage activation point Negative current activation point V Negative voltage activation point OCP mode OVP mode MEASure & TRIGger subsystem Command TRIG:SOUR TRIG:TRAN:SOUR TRIG:SEQ2:SOUR TRIG:OUTP:SOUR TRIG:SEQ2:SST:RISE TRIG:OUTP:SST:RISE TRIG:SEQ2:SST:FALL TRIG:OUTP:SST:FALL TRIG:SEQ3:SOUR TRIG:ACQ:SOUR TRIG:SEQ4:SOUR TRIG:PROG:SOUR Setting *RST *RCL IMMediate MEAS? Power on IMMediate IMMediate IMMediate IMMediate IMMediate 0.0 Depends No on the change No change settings in 0.0 the No memory change No change IMMediate IMMediate IMMediate IMMediate IMMediate IMMediate Unit Function SEQuence1 trigger source SEQuence2 trigger source S SEQuence2 soft start time S SEQuence2 soft stop time SEQuence3 trigger source SEQuence4 trigger source INPut subsystem Command INP:TRIG:POL Setting *RST *RCL MEAS? POSitive Depends on the settings in the memory Power on Unit Function The setting that was in use immediately before the POWER switch was turned off. Trigger signal input polarity 84 PBZ_INTERFACE Default State PROGram subsystem Command PROG:NAME PROG:EDIT:FUNC:MODE PROG:EDIT:FUNC:POL PROG:EDIT:LOOP PROG:EDIT:STEP:CURR PROG:EDIT:STEP:VOLT Setting *RST *RCL MEAS? "" (Blank string) "" (Blank string) PROG:EDIT:STEP:CURR:RAMP PROG:EDIT:STEP:VOLT:RAMP PROG:EDIT:STEP:FUNC PROG:EDIT:STEP:CURR:AC PROG:EDIT:STEP:VOLT:AC PROG:EDIT:STEP:CURR:AC:SWE PROG:EDIT:STEP:VOLT:AC:SWE PROG:EDIT:STEP:AC:STAT PROG:EDIT:STEP:FREQ PROG:EDIT:STEP:FREQ:SWE PROG:EDIT:STEP:PHAS PROG:EDIT:STEP:SQU:DCYC 50 % PROG:EDIT:STEP:TIME PROG:EDIT:STEP:STAT Power on Unit Function Program selection and selection clearing Program: CV/CC mode Program: bipolar/ unipolar mode Number of times that the program will repeat V A Step's DC signal value; value at the end of step if RAMP is specified Step's signal change V Step's DC signal RAMP A start value Step's AC signal waveform VPP APP The settings that were in use VPP immediately APP before the POWER switch was turned off. Step's AC signal value; value at the end of step if SWE is specified Step's AC signal SWE start value Step's AC signal on/off Step's AC signal frequency change Step's AC signal frequency sweep mode Step's AC signal HZ frequency sweep start frequency Step's AC signal HZ frequency sweep stop frequency DEG Step's AC signal start phase angle PCT Step's square wave duty cycle S Step execution time Output: on/off Trigger signal output Trigger signal input SCRipt subsystem Command SCR:NAME Setting *RST *RCL MEAS? "" (Blank string) "" (Blank string) Power on Unit Function The setting that was in use immediately before the POWER switch was turned off. Script selection and selection clearing PBZ_INTERFACE 85 13 Processing time of Commands The command processing time is the time until the next command is accepted. The processing times indicated here are typical values. They are not warranted. The processing times vary depending on the settings and the measurement conditions. It does not include the response time of the hardware. Command VOLT 20 MEAS:VOLT?4 CURR 20 MEAS:CURR?*4 *RST GPIB1 Processing Time (ms) 47 145 47 145 260 USB Processing Time (ms) 47 145 47 145 260 RS232C2 Processing Time (ms) 47 145 47 145 260 LAN3 Processing Time (ms) 47 145 47 145 260 Description Sets the DC signal voltage value. Queries the DC voltage measurement. Sets the DC signal current value. Queries theDC current measurement. Performs a device reset. 1 Using GPIB-USB-B by National Instruments. 2 Data rate setting: 38400 bps. Flow control: On 3 100BASE-TX Ethernet 4 Measurement time: 0.1 s 86 PBZ_INTERFACE 14 List of Messages SCPI Command: Command name in the short form. Effect: "Yes" for commands that are affected by the *RST and *RCL commands. R/W: "R" for query commands and "W" for set commands. : "1" for SCPI standard commands, "2" for commands that are being reviewed, and "3" for original commands developed by Kikusui Electronics Corporation. SYSTem subsystem SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W SYST :CONF :BTR Breaker tripping W3 :BTR:PROT bool ON | OFF NR1 Breaker tripping when a protection feature is activated R/W 3 :PAR NRf 1 to 5 NR1 Number of units in parallel operation R/W 3 :MSL character MAST | PAR char Parallel operation: master/slave R/W 3 :SYNC:OPER character OFF | MAST | SLAV | ATER char Synchronous operation: master/ slave R/W 3 :TRAC bool ON | OFF NR1 Communication error display R/W 3 :PRES:RCL: MOD numeric 1 | 2 2 NR1 Preset memory loading method R/W 3 :RSEN bool ON | OFF NR1 Remote sensing R/W 3 :KLOC:LEV numeric 1 | 2 | 3 3 NR1 Panel key lock and key lock level R/W 3 :BEEP :STAT bool ON | OFF ON NR1 Buzzer: on/off R/W 3 :VOL numeric 0.0 to 1.0 1.0 NR3 Buzzer volume R/W 3 :PON:STAT character DEF | LAST LAST char Power-on state R/W 3 :SEQ:PON:S TAT string "1" to "16", "CV", "CC", or "" "" (Blank string) string Program or script to execute when the PBZ turns on R/W 3 :ERR[:NEXT] NR1, string Queries error and event information R1 :KLOC bool ON | OFF NR1 Panel key lock R/W 3 :LOC Switches to local mode W2 :REM Switches to remote mode; locks all keys other than LOCAL and STOP W 2 :RWL Switches to remote mode; locks all keys other than STOP W 2 :OPT Queries options R3 :VERS 1 999.0 Queries the version of the compliant SCPI specifications R1 DISPlay subsystem SCPI command Program header Parameter DISP :CONT numeric Setting Unit Default Response Effect Description 0.0 to 1.0 0.7 NR3 Screen contrast R/W R/W 3 PBZ_INTERFACE 87 List of Messages MEMory subsystem SCPI command Program header Parameter MEM :PRES :RCL NRf :SAV NRf :SET :RCL NRf :SAV NRf :TITL NRf string Setting Unit Default Response Effect Description R/W 1 to 3 1 to 3 0 to 9 0 to 9 0 to 9 string Preset memory loading Preset memory saving W3 W3 Setup memory loading W3 Setup memory saving W3 NR1 string Setup memory name and memory number R/W 3 OUTPut subsystem SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W OUTP [:STAT] bool ON | OFF OFF NR1 Output: on/off R/W 3 :TRIG bool ON | OFF IMM NR1 Output: on/off according to software triggers R/W 3 :PON:STAT character RST | AUTO RST char Output: on/off when the PBZ turns on R/W 3 :EXT character NORM | INV NORM char Output-on external control signal polarity R/W 3 :TRIG:POL character POS | NEG POS char Trigger signal output polarity R/W 3 :TRIG:STAT bool ON | OFF OFF NR1 Trigger signal output: on/off R/W 3 :PORT bool ON | OFF OFF NR1 Option output: on/off R/W 3 :PROT:CLE Alarm clearing W3 INPut subsystem SCPI command Program header Parameter INP :TRIG:POL character Setting Unit Default Response Effect Description POS | NEG POS char Trigger signal input polarity R/W R/W 3 SENSe subsystem SCPI command Setting Program header Parameter Unit SENS :APER numeric 0.0001 to 3600 :FUNC character DC | AC | DCAC | PEAK :TRIG:DEL numeric 0.00000 to 3600 :TRIG:SOUR AUTO | INT | character EXTPOS | EXTNEG Default Response Effect Description 0.1 NR3 Yes Measurement time DC char Measurement function 0 NR3 Yes Trigger delay AUTO char Measurement start trigger source R/W R/W 3 R/W 3 R/W 3 R/W 3 88 PBZ_INTERFACE List of Messages [SOURce] subsystem SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W [SOUR:] FUNC character SIN | SQU | TRI | USER[1] to 16 SIN char Yes AC signal selection R/W 3 :MODE character CV | CC CV char Yes CV/CC mode R/W 3 :POL character BIP | UNIP BIP char Yes Bipolar/unipolar mode R/W 3 :SOUR character INT| EXT | BOTH INT char Yes Signal source selection R/W 3 TRIG character SIN | SQU | TRI | USER[1] to 16 IMM char Yes AC signal source selection according to software triggers R/W 3 :EXT:TER M character BNC| J1 | BOTH BNC char Yes External signal source terminal selection R/W 3 :EXT:CUR R:GAIN numeric 0 to 20 or 0 to 10 A/V 0 NR3 Yes External signal source gain R/W 3 :EXT:VOLT :GAIN numeric 0 to 20 or 0 to 40 V/V 0 NR3 Yes External signal source gain R/W 3 USERx:TITL string string User-defined arbitrary waveform's name R/W 3 USERx:DATA string string User-defined arbitrary waveform's pattern R/W 3 USERx:DATA :FORM:BOR character D NORM | SWAP User defined arbitrary char Yes waveform's binary transmission R/W 3 data byte order USERx:DATA :VAL numeric addr:0 to 1023 data:-32 768 to +32 767 Sets the value at an address in NR1 a user-defined arbitrary R/W 3 waveform pattern. VOLT numeric 0 % to 105 % of the rated value V 0 NR3 Yes DC signal voltage value R/W 3 :TRIG numeric 0 % to 105 % of the rated value V IMM NR3 Yes DC signal voltage value according to software triggers R/W 3 :AC numeric 0 % to 105 % of the rated value VPP 0 NR3 Yes AC signal voltage value R/W 3 :TRIG numeric 0 % to 105 % of the rated value VPP IMM NR3 Yes AC signal voltage value according to software triggers R/W 3 :PROT :OVER numeric +1 % to +110 % of the rated value V +110 % NR3 Yes Positive OVP activation point R/W 3 :UND numeric -110 % to -1 % of the rated value V -110 % NR3 Yes Negative OVP activation point R/W 3 :UPP +OVP: +1 % to +110 % of the rated value numeric -110 % -V.LIM +V.LIM V +110 % +110 % of the rated NR3 Yes Positive OVP/V.LIM activation point R/W 3 value :LOW -OVP: -110 % to -1 % of the rated value numeric -110 % -V.LIM +V.LIM V -110 % +110 % of the rated NR3 Yes Negative OVP/V.LIM activation point R/W 3 value :STAT character LIMIT | TRIP LIMIT char Yes OVP mode R/W 3 :LIM :UPP -110 % -V.LIM +V.LIM numeric +110 % of the rated V +110 % NR3 Yes Positive V.LIM activation point R/W 3 value :LOW -110 % -V.LIM +V.LIM numeric +110 % of the rated V -110 % NR3 Yes Negative V.LIM activation point R/W 3 value PBZ_INTERFACE 89 List of Messages SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W [SOUR:] CURR numeric 0 % to 105 % of the rated value A 0 NR3 Yes DC signal current value R/W 3 :TRIG numeric 0 % to 105 % of the rated value A IMM NR3 Yes DC signal current value according to software triggers R/W 3 :AC numeric 0 % to 105 % of the rated value APP 0 NR3 Yes AC signal current value R/W 3 :TRIG numeric 0 % to 105 % of the rated value APP IMM NR3 Yes AC signal current value according to software triggers R/W 3 :PROT :OVER numeric +1 % to +110 % of the rated value A -110 % NR3 Yes Positive OCP activation point R/W 3 :UND numeric -110 % to -1 % of the rated value A -110 % NR3 Yes Negative OCP activation point R/W 3 :UPP numeric +1 % to +110 % of the rated value A +110 % NR3 Yes Positive OCP/I.LIM activation point R/W 3 :LOW numeric -110 % to -1 % of the rated value A -110 % NR3 Yes Negative OCP/I.LIM activation point R/W 3 :STAT character LIMIT | TRIP LIMIT char Yes OCP mode R/W 3 :PROT :UPP numeric +1 % to +110 % of the rated value A +110 % NR3 Yes Positive I.LIM activation point R/W 3 :LOW numeric -110 % to -1 % of the rated value A -110 % NR3 Yes Negative I.LIM activation point R/W 3 FREQ numeric CV:1.0E-02 to 1.0E+05 CC:1.0E-02 to 1.0E+05 HZ 1.0E+03 NR3 AC signal frequency value Yes (PBZ20-20/PBZ40-10/PBZ60- 6.7/PBZ80-5) R/W 3 numeric CV:1.0E-02 to 2.0E+05 CC:1.0E-02 to 2.0E+05 HZ 1.0E+03 NR3 Yes AC signal frequency value (PBZ20-20A) R/W 3 :TRIG numeric CV:1.0E-02 to 1.0E+05 CC:1.0E-02 to 1.0E+05 HZ IMM NR3 AC signal frequency value Yes according to software triggers (PBZ20-20/PBZ40-10/PBZ60- 6.7/PBZ80-5) R/W 3 numeric CV:1.0E-02 to 2.0E+05 CC:1.0E-02 to 2.0E+05 HZ IMM NR3 AC signal frequency value Yes according to software triggers (PBZ20-20A) R/W 3 PHAS numeric bool 0 to 359 ON | OFF DEG 0 ON NR3 NR1 Yes Yes AC signal start phase angle R/W 3 R/W 3 SQU:DCYC numeric 0.1 to 99.9 PCT 50.0 NR3 Yes Square wave signal duty cycle R/W 3 SWE :STAT bool ON | OFF OFF NR1 Yes Frequency sweep: on/off R/W 3 :SPAC character LOG | LIN LIN char Yes Frequency sweep mode R/W 3 :TIME numeric 0.0001 to 1000 S 1 NR3 Yes Frequency sweep time R/W 3 :FREQ :STAR numeric CV:1.0E-02 to 1.0E+05 CC:1.0E-02 to 1.0E+05 HZ 1.0E+02 NR3 Frequency sweep start Yes frequency (PBZ20-20/PBZ40- 10/PBZ60-6.7/PBZ80-5) R/W 3 numeric CV:1.0E-02 to 2.0E+05 CC:1.0E-02 to 2.0E+05 HZ 1.0E+02 NR3 Yes Frequency sweep start frequency (PBZ20-20A) R/W 3 :STOP numeric CV:1.0E-02 to 1.0E+05 CC:1.0E-02 to 1.0E+05 HZ 1.0E+03 NR3 Frequency sweep stop Yes frequency (PBZ20-20/PBZ40- 10/PBZ60-6.7/PBZ80-5) R/W 3 numeric CV:1.0E-02 to 2.0E+05 CC:1.0E-02 to 2.0E+05 HZ 1.0E+03 NR3 Yes Frequency sweep stop frequency (PBZ20-20A) R/W 3 MARK bool ON | OFF OFF NR1 Yes TRIG OUT terminal output type R/W 3 :FPO numeric CV:1.0E-02 to 1.0E+05 CC:1.0E-02 to 1.0E+05 HZ 500 NR3 Yes Marker frequency (PBZ20-20/ PBZ40-10/PBZ60-6.7/PBZ80-5) R/W 3 numeric CV:1.0E-02 to 2.0E+05 CC:1.0E-02 to 2.0E+05 HZ 500 NR3 Yes Marker frequency (PBZ20-20A) R/W 3 90 PBZ_INTERFACE List of Messages SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W [SOUR:] APPL :DC :SIN :SQU :TRI :USERx numeric CV:1.0E-02 to 1.0E+05 CC:1.0E-02 to 1.0E+05 HZ char Collective settings (AC signal waveform) R/W 3 Collective settings (AC signal NR3 Yes frequency) (PBZ20-20/PBZ40- R/W 3 10/PBZ60-6.7/PBZ80-5) numeric CV:1.0E-02 to 2.0E+05 CC:1.0E-02 to 2.0E+05 HZ NR3 Yes Collective settings (AC signal frequency) (PBZ20-20A) R/W 3 numeric 0 % to 105 % of the rated value APP NR3 Yes Collective settings (AC signal amplitude) R/W 3 numeric 0 % to 105 % of the rated value V NR3 Yes Collective settings (DC signal) R/W 3 CURR:RESP numeric 35| 100 | 350 | 1000 US 35 NR3 Yes CC mode response (PBZ20-20/ PBZ20-20/PBZ80-5) R/W 3 numeric 70| 100 | 350 | 1000 US 70 NR3 Yes CC mode response (PBZ40-10) R/W 3 VOLT:RESP numeric 3.5| 10 | 35 | 100 US 3.5 NR3 Yes CV mode response R/W 3 :AC :STAT bool ON | OFF OFF NR1 Yes AC signal: on/off R/W 3 :STAT:TRI G bool ON | OFF IMM NR1 Yes AC signal: on/off according to software triggers R/W 3 MEASure/TRIGger subsystem SCPI command Setting Program header Parameter Unit FETC[:SCAL] | READ[:SCAL] | MEAS[:SCAL] :CURR [:DC] A :AC A :MIN APP :MAX APP :VOLT [:DC] :AC :MIN V V VPP :MAX VPP ABOR INIT[:IMM] Default Response Effect Description NR3 DC current measurement NR3 AC current measurement (RMS) NR3 Minimum current measurement (bottom value) NR3 Maximum current measurement (peak value) NR3 DC voltage measurement NR3 AC voltage measurement (RMS) NR3 Minimum voltage measurement (bottom value) NR3 Maximum voltage measurement (peak value) Measurement aborting R/W R3 R3 R3 R3 R3 R3 R3 R3 W1 PBZ_INTERFACE 91 List of Messages SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W [:SEQ[1]] Starts the trigger function that sets the voltage, current, AC waveform, and W1 frequency :SEQ2 Starts the trigger function that turns output on and off W 1 :SEQ3 Starts the trigger function that starts measurements and queries measured W1 results :SEQ4 Starts the trigger function that executes programs and scripts W1 [:IMM]:NAME TRAN Starts the trigger function that sets the voltage, current, AC waveform, and W1 frequency [:IMM]:NAME OUTP Starts the trigger function that turns output on and off W 1 [:IMM]:NAME ACQ Starts the trigger function that starts measurements and queries measured W1 results [:IMM]:NAME PROG Starts the trigger function that executes programs and scripts W1 TRIG [:SEQ[1]] Executes SEQuence1 software triggers W 1 :SOUR character IMM | BUS IMM char Yes SEQuence1 trigger source selection R/W 3 :SEQ2 Executes SEQuence2 software triggers W 1 :SOUR character IMM | BUS IMM char Yes SEQuence2 trigger source selection R/W 3 :SST:RISE numeric 0.0001 to 1000 S 0.0000 NR3 Yes SEQuence2 soft start time R/W 3 :SST:FALL numeric 0.0001 to 1000 S 0.0000 NR3 Yes SEQuence2 soft stop time R/W 3 :SEQ3 Executes SEQuence3 software triggers W 1 :SOUR character IMM | BUS IMM char Yes SEQuence3 trigger source selection R/W 3 :SEQ4 Executes SEQuence4 software triggers W 1 :SOUR character IMM | BUS | EXT IMM char Yes SEQuence4 trigger source selection R/W 3 :TRAN Executes SEQuence1 software triggers W 1 :SOUR character IMM | BUS IMM char Yes SEQuence1 trigger source selection R/W 3 :OUTP Executes SEQuence2 software triggers W 1 :SOUR character IMM | BUS IMM char Yes SEQuence2 trigger source selection R/W 3 :OUTP:SST:RI SE numeric 0.0001 to 1000 S 0.000 0 NR3 Yes SEQuence2 soft start time R/W 3 :OUTP:SST:F ALL numeric 0.0001 to 1000 S 0.000 0 NR3 Yes SEQuence2 soft stop time R/W 3 :ACQ Executes SEQuence3 software triggers W 1 :SOUR character IMM | BUS IMM char Yes SEQuence3 trigger source selection R/W 3 :PROG Executes SEQuence4 software triggers W 1 :SOUR character IMM | BUS | EXT IMM char Yes SEQuence4 trigger source selection R/W 3 92 PBZ_INTERFACE List of Messages PROGram subsystem SCPI command Program header Parameter PROG Setting Unit :NAME string 1 to 16 | "" :EDIT :ADD NRf :COUN :FREE :DEL :TITL string :FUNC:MOD E character CC | CV :FUNC:POL character BIP | UNIP :LOOP :STEP :SEL NRf 1 to 10000 | 10 001 NRf :FUNC :CURR SIN | SQU | character TRI | USER[1] to 16 0 % to numeric 105 % of the A rated value character IMM | RAMP :CURR:RA MP :CURR:AC numeric numeric 0 % to 105 % of the rated value 0 % to 105 % of the rated value A APP character IMM | SWE :VOLT 0 % to numeric 105 % of the V rated value character IMM | RAMP :VOLT:RA MP :VOLT:AC numeric numeric 0 % to 105 % of the rated value 0 % to 105 % of the rated value V VPP character IMM | SWE :FREQ CV:1.0E-02 numeric to 1.0E+05 CC:1.0E-02 HZ to 1.0E+05 CV:1.0E-02 numeric to 2.0E+05 CC:1.0E-02 HZ to 2.0E+05 character IMM | SWE Default "" (Blank string) Response Effect Description R/W string Program selection and selection clearing R/W 3 NR1 NR1 string char char NR3 Number of steps to add W3 Queries the number of steps R3 Queries the number of steps that can be added R3 Deletes all steps from the selected program W3 Selected program's name R/W 3 Selected program's CV/CC mode R/W 3 Selected program's bipolar/unipolar mode R/W 3 Number of times that the selected program will repeat R/W 3 NR1 Selected program's step number selection R/W 3 char Selected step's AC signal waveform selection R/W 3 NR3 char NR3 NR3 char NR3 char NR3 NR3 char NR3 Selected step's DC signal current Yes value; value at the end of step if RAMP is specified Selected step's DC signal current change R/W 3 R/W 3 Yes Selected step's DC signal RAMP start value R/W 3 Selected step's AC signal current Yes value; value at the end of step if SWE R/W 3 is specified Selected step's AC signal current change R/W 3 Selected step's DC signal voltage Yes value; value at the end of step if RAMP is specified R/W 3 Selected step's DC signal voltage change R/W 3 Yes Selected step's DC signal RAMP start value R/W 3 Selected step's AC signal voltage Yes value; value at the end of step if SWE R/W 3 is specified Selected step's AC signal voltage change R/W 3 Selected step's AC signal frequency Yes (PBZ20-20/PBZ40-10/PBZ60-6.7/ PBZ80-5) R/W 3 NR3 char Yes Selected step's AC signal frequency (PBZ20-20A) R/W 3 Selected step's AC signal frequency change R/W 3 PBZ_INTERFACE 93 List of Messages SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W PROG:EDIT:STEP :FREQ:S WE character LOG | LIN char Yes Selected step's AC signal frequency sweep mode R/W 3 CV:1.0E-02 numeric to 1.0E+05 CC:1.0E-02 HZ to 1.0E+05 NR3 Selected step's AC signal frequency Yes sweep start frequency (PBZ20-20/ PBZ40-10/PBZ60-6.7/PBZ80-5) R/W 3 CV:1.0E-02 numeric to 2.0E+05 CC:1.0E-02 HZ NR3 Yes Selected step's AC signal frequency sweep stop frequency (PBZ20-20A) R/W 3 to 2.0E+05 :PHAS numeric 0 to 359 DEG bool ON | OFF NR3 NR1 Yes Selected step's AC signal start phase R/W 3 Yes angle R/W 3 :SQU:DCY C numeric 0.1 to 99.9 PCT 50 NR3 Yes Selected step's square wave signal duty cycle R/W 3 :AC:STAT bool ON | OFF NR1 Yes Selected step's AC signal on/off R/W 3 :TIME numeric 0.0001 to 3 600 000 S NR3 Yes Selected step's frequency sweep time R/W 3 :STAT bool ON | OFF bool ON | OFF bool ON | OFF NR1 NR1 NR1 Yes Yes Selected step's output on/off and trigger signal I/O Yes R/W 3 R/W 3 R/W 3 PROGram:EXECute subsystem SCPI command Program header Parameter PROG :EXEC:STAT character :EXEC Setting Unit Default Response Effect Description R/W RUN | PAUSE | STOP | CONT char NR3 NR1 NR1 string Selected program's execution state W 3 Selected program's execution state R 3 (RUN, PAUSE, STOP, or WAIT), time that has passed since execution began, number of times that program will repeat, current R3 R3 R3 step number, and program number. R3 SCRipt subsystem SCPI command Program header Parameter Setting Unit Default Response Effect Description R/W SCR :NAME string "CV", "CC", "" (Blank string) "" (Blank string) string Script selection and selection clearing R/W 3 :EDIT string "DO Pn,R1" string Selected script's contents: program R/W 3 string "DO LOOP Ln" string numbers, repetitions, loop start commands, number of times script R/W 3 will repeat, and loop end commands string "END LOOP" string R/W 3 :EDIT:TITL string string Selected script's name R/W 3 94 PBZ_INTERFACE List of Messages STATus subsystem SCPI command Program header Parameter STAT :OPER [:EVEN] :COND Setting Unit :ENAB :NTR :PTR NRf 0 to 32767 NRf 0 to 32767 NRf 0 to 32767 :PRES :QUES [:EVEN] :COND :ENAB :NTR :PTR NRf 0 to 32767 NRf 0 to 32767 NRf 0 to 32767 Default Response Effect Description NR1 NR1 NR1 NR1 NR1 NR1 NR1 NR1 NR1 NR1 Queries events1 Queries the condition of the register1 Enable register1 Negative transition filter1 Positive transition filter1 Resets filter registers to default values Queries events2 Queries the condition of the register2 Enable register2 Positive transition filter2 Negative transition filter2 1 OPERation status register 2 QUEStionable status register R/W R1 R1 R/W 1 R/W 1 R/W 1 W1 R1 R1 R/W 1 R/W 1 R/W 1 IEEE 488.2 common commands *CLS *ESE *ESR *IDN *OPC *OPT *PSC *RCL *RST *SAV *SRE *STB *TRG *TST *WAI IEEE 488.2 Common Commands Parameter Description R/W NR1 NR1 NR1 NR1 Clears all the event registers. W Sets or queries the event status enable register bits. R/W Queries the event status register. R Queries the identification string (manufacturer information). R Causes the PBZ to generate the operation complete message in the event status register when all pending device operations have finished. R/W Queries the options that are installed in the PBZ. R Sets or queries whether the service request enable register and the event status enable register are reset to their default values when the PBZ's power is reset. R/W Aborts measurement and loads the settings that have been saved to setup memory. W Performs a device reset. Configures the PBZ to a known condition independent from the usage history of the device. W Saves the current settings to setup memory. W Sets the service request enable register. R/W Queries the contents of the status byte register and the master summary status message. R Trigger command. W Executes a self-test. R Prevents the PBZ from executing subsequent commands or queries until all operations that are in standby have completed. W PBZ_INTERFACE 95 15 List of Errors Command errors An error in the range [-199, -100] indicates that an IEEE 488.2 syntax error has been detected by the instrument's parser. The occurrence of any error in this class causes the Command Error bit (bit 5) in the event status register to be set. -100 -101 -102 -103 -104 -105 -108 -109 -110 -120 Error code Command error Invalid character Syntax error Invalid separator Data type error GET not allowed Parameter not allowed Missing parameter Command header error Numeric data error -130 -131 -134 -138 -140 -141 Suffix error Invalid suffix Suffix too long Suffix not allowed Character data error Invalid character data -144 -148 -150 -160 -170 -180 Character data too Long Character data not allowed String data error Block data error Expression error Macro error Error message description Generic syntax error. A syntactic element contains an invalid character. An unrecognized command or data type was encountered. The parser was expecting a separator and encountered an illegal character. The parser recognized a data element different than one allowed. A Group Execute Trigger was received in a program message. More parameters were received than expected for the header. Fewer parameters were received than required for the header. An error was detected in the header. Generated when parsing a data element which appears to be numeric, including the nondecimal numeric types. Generated when parsing a suffix. The suffix does not follow the syntax, or the suffix is inappropriate for the PBZ. The suffix contained more than twelve characters. A suffix was encountered after a numeric element that does not allow suffixes. Generated when parsing a character data element. Either the character data element contains an invalid character, or the element is not valid. The character data element contains more than twelve characters. A legal character data element was encountered where prohibited by the PBZ. Generated when parsing a string data element. Generated when parsing a block data element. Generated when parsing an expression data element. Generated when defining a macro or executing a macro. 96 PBZ_INTERFACE List of Errors Execution errors An error 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 causes the Execution Error bit (bit 4) in the event status register to be set. -200 -203 -210 -211 -213 Error code Execution error (generic) Command protected Trigger error Trigger ignored Init ignored -214 Trigger deadlock -220 -221 -222 -223 -224 -230 -241 Parameter error Settings conflict Data out of range Too much data Illegal parameter value Data corrupt or stale Hardware missing Error message description A generic PBZ error. Password protected program or query command cannot be executed. A trigger error. A trigger was received but ignored. A measurement initiate operation was ignored because measurement is in progress. A deadlock occurred because a query was received before the software trigger. A program data element related error occurred. A command was received that the PBZ cannot execute in its current condition. Program value was outside the legal range. Too many parameters were received for the requirements. Received invalid parameter data. Received a data query before the measurement completed. Cannot be executed because the optional hardware is not installed. Device-specific errors -330 -360 -362 -363 -365 Error code Self-test failed Communication error Framing error in program message Input buffer overrun Time out error Error message description The self-test failed. A communication error occurred. The stop bit cannot be detected. An overrun occurred in the input buffer. A time out error occurred. PBZ_INTERFACE 97 List of Errors Query errors An error in the range [-499, -400] indicates that the output queue control of the instrument has detected a problem with the message exchange protocol described in IEEE 488.2, chapter 6. The occurrence of any error in this class causes the Query Error bit (bit 2) in the event status register to be set. -400 -410 -420 Error code Query error (generic) Query INTERRUPTED Query UNTERMINATED -430 Query DEADLOCKED -440 Query UNTERMINATED after indefinite response Error message description A generic PBZ error. Received a new command before the response was read. The controller attempted to read the response after the device received an unsupported query or has not received a query. The -100 "Command error" and this error are stored in the error queue. The controller will time out. The error queue, input buffer, and output buffer are full when sending large binary data as a response, and the transmission timing is off. Received a separate query in semicolon-delimited format after a query that returns a response in an indefinite form. Example: *IDN?;SYST:ERR? Operation complete event errors An error in the range [-899, -800] is used when the PBZ wants to report an IEEE 488.2 operation complete event. This event occurs when the instrument's synchronization protocol, having been enabled by an *OPC command, completes all selected pending operations. The occurrence of this event causes the Operation Complete bit (bit 0) in the event status register to be set. -800 Error code Operation complete Error message description All selected pending operations in accordance with the IEEE 488.2, 12.5.2 synchronization protocol have completed. PBZ-specific errors Error code 101 Operation denied while in LOCal state 102 Operation denied while in OUTPut ON state 103 Operation denied while in PROTection state 104 Operation denied while in SLAVe mode 105 Operation denied due to incompatible FUNCtion SOURce 106 Operation denied due to PROGRAM RUNNING 107 Operation denied due to Empty PROGram Error message description The operation was denied because the PBZ is in local mode. The operation was denied because the output is on. The operation was denied because a protection feature is activated. The operation was denied because the PBZ is set to slave mode in parallel operation. The operation was denied because the signal source is incompatible. The operation was denied because a sequence program is being executed. The operation was denied because there is no sequence program. 98 PBZ_INTERFACE 16 Tutorial (Visual Basic 2008) Communicate with the PBZ series using VISA through GPIB, RS232C, USB or LAN. Setting the "Project" At first, set the communication driver (VISA liabrary) for the "Project". Click "Project" on the menu bar, then select "Add Reference" to refer "VISA COM 3.0 Type Library". PBZ_INTERFACE 99 Tutorial (Visual Basic 2008) Communication through GPIB, RS232C, USB, or LAN After setting the communication driver, it enables to communicate by GPIB, RS232C, USB, or LAN. The following describes the communication procedure for via VISA. n Open the VISA To communicate with the device of GPIB, RS232C, USB, or LAN via VISA, it requires to open the VISA first. When opening the VISA, specify the I/O resource. Example : To open VISA by using USB Set rm = CreateObject("VISA.GlobalRM") Set msg = rm.Open("USB::0x0B3E::0x1012::00000001::INSTR", NO_LOCK, 0, "") "USB::0x0B3E::0x1014::00000001::INSTR" is the I/O resource. The I/O resource is specified by the following constructions. The part indicated with [ ] can be abbreviated. Enter the appropriate value in the part specified in oblique characters. GPIB Seria (RS232C) USB LAN1 VXI-11 See p. 11 SCPIRAW GPIB[board]::PrimaryAddress[::SecondaryAddress][::INSTR] Example : The primary address 3 of the measuring instrument connected to GPIB0. GPIB0::3::INSTR ASRL[board][::INSTR] Example : The measuring instrument connected to the serial port COM1. ASRL1::INSTR USB[board]::VendorID::ProductID::SerialNumber[::InterfaceNumber][::INSTR] Example : The USNTMC measuring instrument having with the vendor ID (VID)2878, Product ID(PID)4114 and serial number "00000001". USB0::0x0B3E::0x1012::00000001::INSTR TCPIP[board]::LAN device name[::inst0][::INSTR] The measuring instrument whose IP address (LAN device name) is 169.254.7.8. TCPIP::169.254.7.8::INSTR You can also set the LAN device name using the host name. TCPIP[board]::LAN device name::portno::SOCKET Example :The measuring instrument whose IP address (LAN device name) is 169.254.7.8. (The "portno" setting of the PCR is normally 5025.) TCPIP::169.254.7.8::5025::SOCKET You can also set the LAN device name using the host name. 1 The hostname must be a valid mDNS hostname (a Bonjour hostname that ends in ".local") or a DNS hostname that is managed by an external DNS server (a full-qualified domain name-- FQDN). If you are using an mDNS hostname, Apple Bonjour (alternatively, iTunes or Safari) must be installed on your PC. For VISA, the alias can be used for the I/O resource. When using the alias for the I/O resource, even the alias name to be hard coating directly in the application, it can be easily converted to the appropriate I/O resource name. Example : When using the alias (MYPIA) for the I/O resource. Set msg = rm.Open("MYPIA", NO_LOCK, 0, "") When the alias is used, the actual I/O resource is specified by such an external configuration table. When using the USB (example for KI-VISA) 100 PBZ_INTERFACE Tutorial (Visual Basic 2008) ±® Óåìåãô ùïõò äåóéòåä É¯Ï òåóïõòãå MYDEV1 ²® Åîôåò ôèå îáíå ïæ áìéáó In case of using VISA other than KI-VISA, please refer to the applied VISA manual. PBZ_INTERFACE 101 Tutorial (Visual Basic 2008) n Controlling the devices Next, using such a "Read", "Write" to control the devices. Example: msg.WriteString ("FUNC:MODE CV") 'Specify a CV mode. msg.WriteString ("VOLT 10.0") 'Set 10.0 V. msg.WriteString ("OUTP 1") 'Output ON. n Closing the VISA. Close the VISA at the end. A command for "Open" and "Close" of the VISA is required only once in the program. msg.Close Sample program Imports Ivi.Visa.Interop Public Class Form1 Dim rm As ResourceManager Dim msg As IMessage Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load rm = CreateObject("VISA.GlobalRM") 'msg = rm.Open("GPIB0::1::INSTR", AccessMode.NO_LOCK, 0, "") 'Example: GPIB 'msg = rm.Open("MYDEV1", AccessMode.NO_LOCK, 0, "") 'Example: Using a alias 'msg = rm.Open("TCPIP::169.254.178.141::INSTR", AccessMode.NO_LOCK, 0, "") 'Example: LAN msg = rm.Open("USB0::0x0B3E::0x1012::FF012345::INSTR", AccessMode.NO_LOCK, 0, "")'Example: USB End Sub 'Query the instrument identity Private Sub cmdIdn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdIdn.Click msg.WriteString("*IDN?") TextBox1.Text = msg.ReadString(256) End Sub 'Set the operation mode and voltage Private Sub cmdCurr_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCurr.Click msg.WriteString("OUTP 0") 'Output OFF msg.WriteString("FUNC:MODE CV") 'Specify a CV mode msg.WriteString("VOLT 10.0") 'Set 10.0 V. msg.WriteString("OUTP 1") 'Output ON End Sub 'Query the instrument identity Private Sub cmdMeas_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdMeas.Click msg.WriteString("MEAS:CURR?") TextBox1.Text = msg.ReadString(256) End Sub Private Sub Form1_Disposed(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Disposed msg.Close() End Sub End Class 102 PBZ_INTERFACE INDEX B boolean data .................................................................................. 17 C character data ............................................................................... 17 command description ....................................................................... 19 hierarchy .......................................................................... 14 syntax ................................................................................ 15 units ................................................................................... 18 common commands ............................................................ 16, 20 compound commands ............................................................... 15 CONDition register ...................................................................... 72 D default state ................................................................................... 81 DEFAULT switch ............................................................................ 10 E ENABle register ............................................................................. 72 EVENt register ................................................................................ 72 event status register .................................................................... 75 F firmware version ..............................................................................2 G GPIB address, setting .....................................................................7 GPIB interface ...................................................................................7 I I/O library ...........................................................................................4 IEEE 488.1 serial polling .............................................................. 74 IEEE 488.2 common command ................................................ 74 IEEE Std 488.2 ...................................................................................3 interface .............................................................................................3 K KI-VISA .................................................................................................4 L LAN Interface ....................................................................................9 LAN RESET switch ......................................................................... 10 LAN settings ......................................................................................9 list of errors ..................................................................................... 96 M measurement instrument interface standards ......................3 messages ......................................................................................... 14 list ....................................................................................... 87 N non-numeric parameters ........................................................... 17 NRf ..................................................................................................... 17 Numeric ........................................................................................... 17 numeric parameters .................................................................... 17 O OPERation status register .......................................................... 76 P parameters ..................................................................................... 17 Q queries ............................................................................................. 16 QUEStionable status register .................................................... 78 R remote control list of errors ...................................................................... 96 remote interfaces ........................................................................... 3 RS232C interface ............................................................................. 5 RS232C protocol ............................................................................. 6 RS232C settings .............................................................................. 6 S SCPI .............................................................................................. 3, 14 SCPI command syntax ................................................................ 14 SCPI status registers ..................................................................... 73 SEQuence1 ...................................................................................... 45 SEQuence2 ...................................................................................... 47 SEQuence3 ...................................................................................... 49 SEQuence4 ...................................................................................... 51 status byte register ...................................................................... 74 status register ................................................................................ 72 string data ....................................................................................... 17 T terminator ....................................................................................... 16 transition filter ............................................................................... 72 U USB interface .................................................................................... 8 USB settings ..................................................................................... 8 V version ................................................................................................ 2 VISA library ....................................................................................... 4 PBZ_INTERFACE 103 If you find any misplaced or missing pages in the manuals, they will be replaced. If the manual gets lost or soiled, a new copy can be provided for a fee. In either case, please contact your Kikusui agent or distributor. At that time, inform your agent or distributor of the "PART NO." written on the front cover of this manual. Every effort has been made to ensure the accuracy of this manual. However, if you have any questions or find any errors or omissions, please contact your Kikusui agent or distributor. After you have finished reading this manual, store it so that you can use it for reference at any time. KIKUSUI ELECTRONICS CORP. 1-1-3 Higashiyamata, Tsuzuki-ku, Yokohama, 224-0023, Japan Tel: +81-45-482-6353 Fax: +81-45-482-6261 Website http://www.kikusui.co.jp/en