YOKOGAWA PZ4000 User Manual
YOKOGAWA PZ4000 User Manual

YOKOGAWA PZ4000 User Manual

Power analyzer communication interface
Hide thumbs Also See for PZ4000:

Advertisement

Quick Links

Power Analyzer
Communication Interface
IM 253710-11E
2nd Edition

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PZ4000 and is the answer not in the manual?

Questions and answers

Summary of Contents for YOKOGAWA PZ4000

  • Page 1 Power Analyzer Communication Interface IM 253710-11E 2nd Edition...
  • Page 2: Introduction

    GP-IB and serial interfaces. To ensure proper use of the GP-IB/serial interfaces, please read this manual thoroughly. Keep the manual in a safe place for quick reference whenever a question arises. Two manuals are provided with the PZ4000 including this Communication Interface User’s Manual. Manual Name Manual No.
  • Page 3: How To Use This Manual

    How to Use this Manual Structure of this Manual This User’s Manual consists of five chapters, an Appendix and an Index as described below. Chapter 1 Overview of the GP-IB Interface Describes the functions and specifications of GP-IB. Chapter 2 Overview of the Serial Interface Describes the functions and specifications of serial.
  • Page 4: Table Of Contents

    Contents Introduction ............................i How to Use this Manual ......................... iii Chapter 1 Overview of the GP-IB Interface Names of the Parts and Their Functions ................1-1 Connecting the GP-IB Cable ..................... 1-2 GP-IB Interface Functions ....................1-3 GP-IB Interface Specifications ..................1-4 Setting Addressable Mode ....................
  • Page 5 Contents 4.22 TIMebase Group ......................4-76 4.23 TRIGger Group ....................... 4-77 4.24 WAVeform Group ......................4-80 4.25 ZOOM Group ........................4-83 4.26 Common Command Group ..................... 4-85 Chapter 5 Status Report Overview of the Status Report ..................5-1 Status Byte ........................5-2 Standard Event Register ....................
  • Page 6: Chapter 1 Overview Of The Gp-Ib Interface

    Chapter 1 Overview of the GP-IB Interface 1.1 Names of the Parts and Their Functions Front Panel POWER ANALYZER DC - 2 MHz 5 MS/s CONFIGURATION TRIG’ D SETUP INPUT MEASURE TRIGGER DISPLAY MATH CURSOR ZOOM REMOTE indicator REMOTE Lit while remote mode is FILE MISC HELP...
  • Page 7: Connecting The Gp-Ib Cable

    1.2 Connecting the GP-IB Cable GP-IB Cable The GP-IB connector on the side panel of the PZ4000 is a 24-pin connector that conforms to IEEE Standard 488-1978. Use a GP-IB cable that also conforms to IEEE Standard 488-1978. Connection Method Connect the GP-IB cable as shown below.
  • Page 8: Gp-Ib Interface Functions

    1.3 GP-IB Interface Functions GP-IB Interface Functions Listener function • Allows you to make the settings which you can make using the panel keys on the instrument, except for the power ON/OFF and GP-IB communications settings. • Receives commands from a controller requesting output of set-up and waveform data. Also receives status report commands.
  • Page 9: Gp-Ib Interface Specifications

    1.4 GP-IB Interface Specifications GP-IB Interface Specifications Electrical and mechanical specifications : Conforms to IEEE Standard 488-1978. Interface functions : Refer to the table below. Protocol : Conforms to IEEE Standard 488.2-1987. Code : ISO (ASCII) code Mode : Addressable mode Address setting : Addresses 0 to 30 can be selected from the GP-IB setting screen, displayed when you...
  • Page 10: Setting Addressable Mode

    1.5 Setting Addressable Mode Before You Begin When you make settings which can be made using the front panel keys of the instrument or when you output set-up data or waveform data using the controller, the following settings must be made. Setting the address This function allows you to set the instrument’s address for addressable mode within the range of 0 to 30.
  • Page 11: Response To Interface Messages

    1.6 Response to Interface Messages Response to Interface Messages Response to a uni-line message IFC (Interface Clear) Clears the talker and listener. Stops output if data is being output. REN (Remote Enable) Switches between remote and local modes. IDY (Identify) is not supported. Response to a multi-line message (address command) GTL (Go To Local) Switches to local mode.
  • Page 12 Secondary address address command Messages marked with a “ ” are interface messages supported by the PZ4000 Note Differences between SDC and DCL The SDC command is an address command and requires that both the talker and listener be designated; however DCL is a universal command and does not require that the talker and listener be designated.
  • Page 13: Chapter 2 Overview Of The Serial Interface

    Chapter 2 Overview of the Serial Interface 2.1 Names of the Parts and Their Functions Front Panel POWER ANALYZER DC - 2 MHz 5 MS/s CONFIGURATION TRIG’ D SETUP INPUT MEASURE TRIGGER DISPLAY MATH CURSOR ZOOM REMOTE indicator REMOTE Lit while remote mode is FILE MISC HELP...
  • Page 14: Serial Interface Functions And Specifications

    2.2 Serial Interface Functions and Specifications Receiving Function It is possible to make the same settings via the serial interface as can be made using the front panel keys. Measured/computed data, panel set-up information and error codes can be received. Sending Function Measured/computed data can be output.
  • Page 15: Connecting The Serial Interface Cable

    2.3 Connecting the Serial Interface Cable When connecting this instrument to a computer, make sure that the handshaking method, data transmission rate and data format selected for the instrument match those selected for the computer. For details, refer to the following pages. Also make sure that the correct interface cable is used.
  • Page 16 Request to send CA (RTS) Clear to send CB (CTS) Signal line connection example The pin numbers shown are that of 9-pin connectors. In general, use a cross cable. • OFF-OFF / XON-XON • XON-RTS(XON-RS) • CTS-RTS(CS-RS) PZ4000 PZ4000 PZ4000 IM 253710-11E...
  • Page 17: Handshaking

    2.4 Handshaking To use an serial interface for transferring data between this instrument and a computer, it is necessary to use certain procedures by mutual agreement to ensure the proper transfer of data. These procedures are called “handshaking.” Various handshaking systems are available depending on the computer to be used;...
  • Page 18 2.4 Handshaking 3 XON-RS • Transmission data control A software handshake status is established between the instrument and host computer. The instrument will stop a data transmission when an X-OFF signal is received from the host computer, and will resume transmission when the next X-ON signal is received.
  • Page 19: Matching The Data Format

    2.5 Matching the Data Format The serial interface of this instrument performs communications using start-stop synchronization. In start-stop synchronization, one character is transmitted at a time. Each character consists of a start bit, data bits, a parity bit and a stop bit. Refer to the figure below.
  • Page 20: Setting Up This Instrument

    2.6 Setting up this Instrument Before You Begin When using the controller to set the items which can be set locally using the keys on the instrument, or when outputting the setup information or the waveform data to the controller, set the following items. Baud rate Select from the following choices.
  • Page 21: Chapter 3 Before Programming

    3.1 Messages Chapter 3 Before Programming 3.1 Messages Program message unit format Blocks of message data are transferred between the The format of a program message unit is shown below. controller and this instrument during communications. Messages sent from the controller to this instrument <Program header>...
  • Page 22 3.1 Messages Response message unit format • If a program message of more than one unit is sent The format of a program message unit is shown below. and some of the units are incomplete, this instrument receives program message units which the instrument thinks complete and attempts to <Response header>...
  • Page 23: Commands

    3.2 Commands 3.2 Commands When Concatenating Commands There are three types of command (program header) Command Group which can be sent from the controller to this A command group is a group of commands which have instrument. They differ in the format of their program the same compound header.
  • Page 24 3.2 Commands When Separating Commands with <PMT> • Any part of a command enclosed by [ ] can be If a terminator is used to separate two commands, omitted. each command is a separate message. Therefore, the Example common header must be typed in for each command “...
  • Page 25: Response

    3.3 Response/3.4 Data 3.3 Response 3.4 Data On receiving a query from the controller, this Data instrument returns a response message to the A data section comes after the header. A space must controller. A response message is sent in one of the be included between the header and the data.
  • Page 26 3.4 Data <Voltage>, <Current>, <Time>, <Frequency> <Register> <Voltage>, <Current>, <Time> and <Frequency> <Register> indicates an integer, and can be expressed indicate decimal values which have physical in hexadecimal, octal or binary as well as as a decimal significance. <Multiplier> or <Unit> can be attached to number.
  • Page 27: Synchronization With The Controller

    3.5 Synchronization with the Controller 3.5 Synchronization with the If a character string contains a double quotation mark Controller " ), the double quotation mark will be replaced by two concatenated double quotation marks ( ). This rule Overlap Commands and Sequential Commands """...
  • Page 28 3.5 Synchronization with the Controller Using the COMMunicate:OVERlap command Using the *OPC? query The “ COMMunicate:OVERlap ” command is used to *OPC? query generates a response when an enable or disable overlap operation. overlap operation has been completed. Example Example :COMMunicate:OVERlap #HFFBF;:FILE:LOAD:SETup :COMMunicate:OPSE #H0040;:FILE:LOAD:SETup "FILE1";:CHANnel1:VOLTage:VOLTage:RANGe?<PMT>...
  • Page 29 3.5 Synchronization with the Controller Using the extended event register Changes in the condition register are reflected in the extended event register (page 5-4). Example :STATus:FILTer1 FALL;:STATus:EESE 1;EESR?; *SRE 8;:SSTart<PMT> (Response to is decoded.) STATus:EESR? (Service request is awaited.) :WAVeform:SEND?<PMT> The “...
  • Page 30: Chapter 4 Commands

    4.1 Command Listing Chapter 4 Commands 4.1 Command Listing Command Function Page ABORt Group :ABORt Aborts data acquisition. 4-11 ACQuire Group :ACQuire? Queries all settings related to data acquisition. 4-11 :ACQuire:DIVision Sets whether or not to divide the record length or queries the current setting. 4-11 :ACQuire:RLENgth Sets the record length or queries the current setting.
  • Page 31 4.1 Command Listing Command Function Page :CURSor:HORizontal:TRACe Sets the waveform on which to place the H cursor or queries the current setting. 4-19 Queries the Y-axis value of the H cursor. 4-20 :CURSor:HORizontal:Y<x>? Queries all settings related to the marker. 4-20 :CURSor:MARKer? :CURSor:MARKer:DX?
  • Page 32 4.1 Command Listing Command Function Page :DISPlay[:NUMeric]:NORMal? Queries all settings related to the numerical display during normal measurement. 4-27 :DISPlay[:NUMeric]:NORMal:FCURsor Sets the cursor position of the numerical display (All display) during normal measurement or queries the current setting. 4-28 :DISPlay[:NUMeric]:NORMal:IAMount Sets the numerical display format during normal measurement or queries the current setting.
  • Page 33 4.1 Command Listing Command Function Page :FILE:LOAD:ABORt Aborts loading a file. 4-34 Loads a setup parameter file. 4-35 :FILE:LOAD:SETup Loads a waveform data file. 4-35 :FILE:LOAD:WAVE :FILE:MDIRectory Creates a directory. 4-35 :FILE:PATH? Queries the absolute path of the current directory. 4-35 :FILE:SAVE? Queries all settings related to saving a file.
  • Page 34 4.1 Command Listing Command Function Page [:INPut]:MODUle? Queries the model name of each input module. 4-44 [:INPut]:MOTor? Queries all settings related to the motor module. 4-44 [:INPut]:MOTor:FILTer? Queries all settings related to the filter for the motor module. 4-44 [:INPut]:MOTor:FILTer[:LINE] Sets the line filter for the motor module or queries the current setting.
  • Page 35 4.1 Command Listing Command Function Page [:INPut][:POWer]:CURRent:TERMinal? Queries the current measurement terminals of all elements with the power measurement modules. 4-49 [:INPut][:POWer]:CURRent:TERMinal[:ALL] Sets the current measurement terminals of all elements with the power measurement modules. 4-49 [:INPut][:POWer]:CURRent:TERMinal:ELEMent<x> Sets the current measurement terminals of each element with the power measurement module or queries the current setting.
  • Page 36 4.1 Command Listing Command Function Page MATH Group :MATH<x>? Queries all settings related to computations. 4-53 :MATH<x>:EXECute Executes computation. 4-53 :MATH<x>:EXPRession Sets the equation or queries the current setting. 4-54 Queries all settings related to the FFT. 4-54 :MATH<x>:FFT? Sets the number of points for the FFT or queries the current setting. 4-54 :MATH<x>:FFT:POINt Sets the window function for the FFT or queries the current setting.
  • Page 37 4.1 Command Listing Command Function Page :MEASure:PERiod:ZCRoss[:SYNChronize]:ELEMent<x> Sets the synchronizing source for each element when using the zero crossing detection to determine the computation period. 4-60 :MEASure:PHASe Sets the display format of the phase difference or queries the current setting. 4-60 :MEASure:SFORmula Sets the equation used to determine S (apparent power) or queries the current setting.
  • Page 38 4.1 Command Listing Command Function Page :STATus:EESR?(Extended Event Status Register) Queries and clears the extended event register. 4-71 :STATus:ERRor? Queries the code and information of the error. 4-72 :STATus:FILTer<x> Sets the transition filteror queries the current setting. 4-72 Sets whether or not to store messages other than errors in the error queue or queries the :STATus:QENable current setting.
  • Page 39 4.1 Command Listing Command Function Page :TRIGger:WINDow:CENTer Sets the center level for the window trigger or queries the current setting. 4-79 Sets the trigger condition for the window trigger or queries the current setting. 4-79 :TRIGger:WINDow:CONDition Sets the window width for the window trigger or queries the current setting. 4-79 :TRIGger:WINDow:WIDTh WAVeform Group...
  • Page 40: Abort Group

    ” commands, see the :ABORt STOP PZ4000 User’s Manual. 4.3 ACQuire Group The commands in the ACQuire Group deal with data acquisitions. These commands can be used to make the same settings and inquiries as when the ACQ (SHIFT + TRIGGER) key on the front panel is pressed.
  • Page 41: Channel Group

    4.4 CHANnel Group 4.4 CHANnel Group The commands in the CHANnel Group deal with the vertical axis of each channel. These commands can be used to make the same settings and inquiries as when the CH1 to CH8 keys on the front panel are pressed.
  • Page 42 4.4 CHANnel Group :CHANnel<x>:CURRent:SRATio :CHANnel<x>? Function Sets the current sensor’s transformation ratio of Function Queries all settings related to the vertical axis of the current input channel or queries the current each channel. setting. Syntax :CHANnel<x>? Syntax :CHANnel<x>:CURRent:SRATio {NRf>} <x> = 1 to 8 <x>...
  • Page 43 4.4 CHANnel Group :CHANnel<x>:LABel :CHANnel<x>:SPEed:FRANge Function Sets the waveform label of each channel or Function Sets the frequency range of the revolution queries the current setting. sensor signal input channel (pulse input) or Syntax :CHANnel<x>:LABel {<string>} queries the current setting. :CHANnel<x>:LABel? Syntax :CHANnel<x>:SPEed:FRANge {<frequency>|...
  • Page 44 :CHANnel<x>:VZoom {<NRf>} Syntax :CHANnel<x>:TORQue:RANGe {<voltage>| AUTO} :CHANnel<x>:VZoom? <x> = 1 to 8 :CHANnel<x>:TORQue:RANGe? <NRf> = 0.1 to 100 (See the PZ4000 <x> = 8 (fixed) User’s Manual) <voltage> = 1, 2, 5, 10, 20, and 50(V) Example :CHANNEL1:VZOOM 1 AUTO = Auto range :CHANNEL1:VZOOM?→:CHANNEL1:VZOOM 1.00...
  • Page 45: Communicate Group

    4.5 COMMunicate Group 4.5 COMMunicate Group The commands in the COMMunicate Group deal with communications. There are no front-panel keys that correspond to the commands in this group. :COMMunicate HEADer <Space> <NRf> LOCKout <Space> <NRf> OPSE <Space> <Register> OPSR OVERlap <Space>...
  • Page 46 4.5 COMMunicate Group :COMMunicate:OPSE :COMMunicate:STATus? (Operation Pending Status Enable register) Function Queries the line-specific status. Function Sets the overlap commands for *OPC *OPC? Syntax :COMMunicate:STATus? *WAI or queries the current setting. Example :COMMUNICATE:STATUS?→:COMMUNICATE: Syntax :COMMunicate:OPSE <Register> STATUS 0 :COMMunicate:OPSE? Description The meaning of each status bit is as follows: <Register>...
  • Page 47: Cursor Group

    4.6 CURSor Group 4.6 CURSor Group The commands in the CURSor Group deal with cursor measurements. These commands can be used to make the same settings and inquiries as when the CURSOR key on the front panel is pressed. :CURSor TYPE <Space>...
  • Page 48 4.6 CURSor Group VERTical TRACe <Space> <NRf> MATH <x> POSition <x> <Space> <Time> <x> <Space> <Frequency> <NRf> <x> PERDt TRACe POSition <x> <Space> <NRf> <x> :CURSor? :CURSor:HORizontal:POSition<x> Function Queries all settings related to cursor Function Sets the H cursor position or queries the current measurements.
  • Page 49 4.6 CURSor Group :CURSor:HORizontal:Y<x>? :CURSor:MARKer:FFT<x> Function H Queries the Y-axis value (physical value) of Function Sets the X-axis value of the marker position for the H cursor. the FFT result or queries the current setting. Syntax :CURSor:HORizontal:Y<x>? Syntax :CURSor:MARKer:FFT<x> {<frequency>| Example :CURSOR:HORIZONTAL:Y1?→50.000E+00 <NRf>}...
  • Page 50 4.6 CURSor Group :CURSor:MARKer:POSition<x> :CURSor[:TYPE] Function Sets the X-axis value (physical value) of the Function Sets the marker/cursor type or queries the marker position or queries the current setting. current setting. Syntax :CURSor:MARKer:POSition<x> {<time>| Syntax :CURSor[:TYPE] {OFF|MARKer|HORizontal| <NRf>} VERTical|HAVertical} :CURSor:MARKer:POSition<x>? :CURSor:TYPE? <time>...
  • Page 51 4.6 CURSor Group :CURSor:VERTical:PERDt? :CURSor:XY:DX? Function Queries the 1/∆ value (physical value) of the Function Queries the X-axis value (physical value) horizontal axis between the V cursors. between the XY cursors. Syntax :CURSor:VERTical:PERDt? Syntax :CURSor:XY:DX? Example :CURSOR:VERTICAL:PERDT?→16.667E+00 Example :CURSOR:XY:DX?→150.00E+00 :CURSor:VERTical:POSition<x> :CURSor:XY:POSition<x>...
  • Page 52: Display Group

    4.7 DISPlay Group 4.7 DISPlay Group The commands in the DISPlay Group deal with the screen display These commands can be used to make the same settings and inquiries as when the DISPLAY key on the front panel is pressed. :DISPlay FORMat <Space>...
  • Page 53 4.7 DISPlay Group INTerpolate <Space> LINE GRATicule <Space> GRID FRAMe CROSshair SVALue <Space> <NRf> TLABel <Space> <NRf> MAPPing MODE <Space> AUTO FIXed USER CHANnel <x> <Space> <NRf> MATH <x> XTRace <Space> <NRf> MATH <x> POSition <Space> <Time> <Time> <NRf> <NRf> <Space>...
  • Page 54 4.7 DISPlay Group VECTor NUMeric <Space> <NRf> UMAG <Space> <NRf> IMAG <Space> <NRf> DATE <Space> <NRf> :DISPlay? :DISPlay:BAR:ITEM<x> Function Queries all settings related to the screen Function Sets the bar graph display items (function, display. element) or queries the current setting. Syntax :DISPlay? Syntax...
  • Page 55 4.7 DISPlay Group :DISPlay:DATE :DISPlay[:NUMeric]:HARMonics? Function Turns ON/OFF the date and time displays or Function Queries all settings related to the numerical queries the current setting. display during harmonic measurement. Syntax :DISPlay:DATE {<Boolean>} Syntax :DISPlay[:NUMeric]:HARMonics? :DISPlay:DATE? Example • Example when the numerical display Example :DISPLAY:DATE ON format...
  • Page 56 1 to 4) display order when Reset Exec of the Display <Order> = {TOTal|DC|<NRf>}(<NRf> = 1 to setting menu, which is displayed on the PZ4000 500) screen, is executed. For details related to the Example...
  • Page 57 Reset Exec of the Display <NRf> = Displays the numerical display items in setting menu, which is displayed on the PZ4000 the order of item numbers. ( screen, is executed. For details related to the <NRf>...
  • Page 58 4.7 DISPlay Group :DISPlay:VECTor:NUMeric :DISPlay:WAVE:GRATicule Function Turns ON/OFF the numerical data display Function Sets the graticule type (grid) or queries the during vector display or queries the current current setting. setting. Syntax :DISPlay:WAVE:GRATicule {GRID|FRAMe| Syntax :DISPlay:VECTor:NUMeric {<Boolean>} CROSshair} :DISPlay:VECTor:NUMeric? :DISPlay:WAVE:GRATicule? Example :DISPLAY:VECTOR:NUMERIC ON Example...
  • Page 59 4.7 DISPlay Group :DISPlay:WAVE:MAPPing[:MODE] :DISPlay:XY:FFT Function Sets the waveform mapping method for the split Function Sets the range of the FFT waveform to be screen or queries the current setting. displayed on the X-Y display or queries the Syntax :DISPlay:WAVE:MAPPing[:MODE] {AUTO| current setting.
  • Page 60 4.7 DISPlay Group * Function selection (<Function>) list :DISPlay:XY:POSition Function Sets the range of the T-Y waveform to be (1) Functions in the normal measurement mode displayed on the X-Y display or queries the Applicable commands current setting. :DISPlay[:NUMeric]:NORMal:FCURsor Syntax :DISPlay:XY:POSition {<time>, :DISPlay[:NUMeric]:NORMal:ITEM<x>...
  • Page 61 4.7 DISPlay Group : ηmA MAETa TORQue : Torque : ηmB MBETa SYNC : SyncSpd * SPEed, TORQue, SYNC, SLIP, PM, MAETa, SLIP : Slip and MBETa are applicable when the motor : Pm : ηmA module is installed. MAETa : ηmB MBETa (2) Functions in the harmonic measurement...
  • Page 62: File Group

    4.8 FILE Group 4.8 FILE Group The commands in the FILE Group deal with file operations. These commands can be used to make the same settings and inquiries as when the FILE key on the front panel is pressed. :FILE DRIVe <Space>...
  • Page 63 4.8 FILE Group LOAD SETup <Space> <Filename> WAVE <Space> <Filename> ABORt DELete SETup <Space> <Filename> IMAGe TIFF <Space> <Filename> PSCRipt WAVE BINar y <Space> <Filename> ASCii FLOat NUMeric ASCii <Space> <Filename> FLOat FORMat <Space> DD64 DD72 HD12 HD14 :FILE? :FILE:DELete:WAVE:{BINary|ASCii|FLOat} Function Queries all settings related to file operations.
  • Page 64 4.8 FILE Group :FILE:LOAD:SETup :FILE:SAVE:NUMeric? Function Loads a setup parameter file. Function Queries all settings related to saving the Syntax :FILE:LOAD:SETup {<Filename} numerical data to a file. Example :FILE:LOAD:SETUP "SETUP1" Syntax :FILE:SAVE:NUMeric? Example :FILE:SAVE:NUMERIC?→:FILE:SAVE:NUMERIC: TYPE FLOAT :FILE:LOAD:WAVE Function Loads a waveform data file. :FILE:SAVE:NUMeric[:EXECute] Syntax :FILE:LOAD:WAVE {<Filename>}...
  • Page 65 4.8 FILE Group :FILE:SAVE:NUMeric:TYPE :FILE:SAVE:WAVE:TYPE Function Sets the format of the numerical data being Function Sets the format of the waveform data being saved or queries the current setting. saved or queries the current setting. Syntax :FILE:SAVE:NUMeric:TYPE {ASCii|FLOat} Syntax :FILE:SAVE:WAVE:TYPE {BINary|ASCii| :FILE:SAVE:NUMeric:TYPE? FLOat} Example...
  • Page 66: Hcopy Group

    4.9 HCOPy Group 4.9 HCOPy Group The commands in the HCOPy Group deal with the output of screen data to the built-in printer (option) or other devices. These commands can be used to make the same settings and inquiries as when the COPY or MENU (SHIFT+COPY) key on the front panel is pressed.
  • Page 67 4.9 HCOPy Group :HCOPy? :HCOPy:DIRection Function Queries all settings related to screen data Function Sets the output destination of the data or output. queries the current setting. Syntax :HCOPy? Syntax :HCOPy:DIRection {PRINter|CENTronics| Example :HCOPY?→:HCOPY:DIRECTION PRINTER; FILE} COMMENT "THIS IS TEST." :HCOPy:DIRection? Example :HCOPY:DIRECTION PRINTER...
  • Page 68 4.9 HCOPy Group :HCOPy:SAVE:COMMent :HCOPy:{TIFF|BMP}:COMPression Function Sets the comment that is attached to the file Function TIFF/BMP Sets whether or not to compress the being saved or queries the current setting. data in TIFF/BMP format or queries the current setting. Syntax :HCOPy:SAVE:COMMent {<string>} :HCOPy:SAVE:COMMent?
  • Page 69: Image Group

    4.10 IMAGe Group 4.10 IMAGe Group The commands in the IMAGe Group deal with the output of screen image data. There are no front-panel keys that correspond to the commands in this group. :IMAGe FORMat <Space> TIFF COLor <Space> COLor REVerse SEND :IMAGe?
  • Page 70: Input Group

    4.11 INPut Group 4.11 INPut Group The commands in the INPut Group deal with the measurement conditions of each input module. These commands can be used to make the same settings and inquiries as when the INPUT key on the front panel is pressed.
  • Page 71 4.11 INPut Group FILTer LINE <Space> <Frequency> ELEMent <x> <Space> <Frequency> ZCRoss <Space> <Frequency> ELEMent <x> <Space> <Frequency> SCALing STAT e <Space> <NRf> ELEMent <x> <Space> <NRf> <Space> <NRf> ELEMent <x> <Space> <NRf> SFACtor 4-42 IM 253710-11E...
  • Page 72 4.11 INPut Group MOTor SPEed RANGe <Space> <Voltage> AUTO TYPE <Space> <Voltage> AUTO FRANge <Space> <Frequency> AUTO PULSe <Space> <NRf> SCALing <Space> <NRf> UNIT <Space> <String> TORQue RANGe <Space> <Voltage> AUTO SCALing <Space> <NRf> UNIT <Space> <String> SCALing <Space> <NRf> UNIT <Space>...
  • Page 73 4.11 INPut Group :INPut? [:INPut]:MOTor:FILTer[:LINE] Function Queries all settings related to all input modules. Function Sets the line filter for the motor module or Syntax :INPut? queries the current setting. Example • When the motor module is not installed Syntax [:INPut]:MOTor:FILTer[:LINE] {OFF| :INPUT?→(Same as the response to <frequency>}...
  • Page 74 4.11 INPut Group [:INPut]:MOTor:PM:UNIT [:INPut]:MOTor:SPEed:FRANge Function Sets the unit to add to the motor output Function Sets the frequency range of the revolution computation result or queries the current sensor signal input (pulse input) for the motor setting. module or queries the current setting. Syntax [:INPut]:MOTor:PM:UNIT {<string>} Syntax...
  • Page 75 4.11 INPut Group [:INPut]:MOTor:SPEed:UNIT [:INPut]:MOTor:SPEed:RANGe Function Sets the unit to add to the rotating speed Function Sets the voltage range of the revolution sensor computation result or queries the current signal input for the motor module or queries the setting. current setting.
  • Page 76 4.11 INPut Group [:INPut]:MOTor:TORQue:SCALing [:INPut]:POWer? Function Sets the scaling factor used during torque Function Queries all settings related to the power computation on the motor module or queries measurement module. the current setting. Syntax [:INPut]:POWer? Syntax [:INPut]:MOTor:TORQue:SCALing {<NRf>} Example :INPUT:POWER?→:INPUT:POWER:VOLTAGE: [:INPut]:MOTor:TORQue:SCALing? RANGE:ELEMENT1 2.00E+03;...
  • Page 77 4.11 INPut Group [:INPut][:POWer]:CURRent:AUTO? [:INPut][:POWer]:CURRent:RANGe[:ALL] Function Queries the ON/OFF state of the current auto Function Sets the current range of all elements with the range function of all elements with the power power measurement modules. measurement modules. Syntax [:INPut][:POWer]:CURRent:RANGe[: Syntax [:INPut][:POWer]:CURRent:AUTO? ALL] {<current>|<voltage>|AUTO} Example...
  • Page 78 4.11 INPut Group [:INPut][:POWer]:CURRent:SRATio? [:INPut][:POWer]:CURRent:TERMinal[:ALL] Function Queries the current sensor’s transformation Function Sets the current input terminals of all elements ratio of all elements with the power with the power measurement modules. measurement modules. Syntax [:INPut][:POWer]:CURRent:TERMinal[: Syntax [:INPut][:POWer]:CURRent:SRATio? ALL] {<current>|SENSor} Example :INPUT:POWER:CURRENT:SRATIO?→:INPUT: <current>...
  • Page 79 4.11 INPut Group [:INPut][:POWer]:FILTer:LINE? [:INPut][:POWer]:FILTer:ZCRoss:ELEMent<x> Function Queries the line filter setting of all elements with Function Sets the zero crossing filter of each element the power measurement modules. with the power measurement module or queries Syntax [:INPut][:POWer]:FILTer:LINE? the current setting. Example :INPUT:POWER:FILTER:LINE?→:INPUT:POWER: Syntax...
  • Page 80 4.11 INPut Group [:INPut][:POWer]:SCALing:{PT|CT|SFACtor}: [:INPut][:POWer]:VOLTage:AUTO? Function Queries the ON/OFF state of the voltage auto ELEMent<x> range function of all elements with the power Function Sets the PT ratio/CT ratio/power coefficient of measurement modules. each element with the power measurement Syntax [:INPut][:POWer]:VOLTage:AUTO? module or queries the current setting.
  • Page 81 4.11 INPut Group [:INPut][:POWer]:VOLTage:RANGe: ELEMent<x> Function Sets the voltage range of each element with the power measurement module or queries the current setting. Syntax [:INPut][:POWer]:VOLTage:RANGe: ELEMent<x> {<voltage>|AUTO} [:INPut][:POWer]:VOLTage:RANGe: ELEMent<x>? <x> = 1 to 4 <voltage> = 30, 60, 120, 200, 300, 600, 1200, 2000(V) AUTO = AUTO RANGE Example...
  • Page 82: Math Group

    4.12 MATH Group 4.12 MATH Group The commands in the MATH Group deal with computations. These commands can be used to make the same settings and inquiries as when the MATH key on the front panel is pressed. :MATH <x> MODE <Space>...
  • Page 83 4.12 MATH Group :MATH<x>:EXPRession :MATH<x>:FUNCtion Function Sets the equation or queries the current setting. Function Enables/disables the computation function or Syntax :MATH<x>:EXPRession {<string>} queries the current setting. :MATH<x>:EXPRession? Syntax :MATH<x>:FUNCtion {<Boolean>} <x> = 1, 2 :MATH<x>:FUNCtion? <string> = 50 characters or less <x>...
  • Page 84 4.12 MATH Group :MATH<x>:SCALing:MODE Function Sets the converting the scale or queries the current setting. Syntax :MATH<x>:SCALing:MODE {AUTO|MANual} :MATH<x>:SCALing:MODE? <x> = 1, 2 Example :MATH1:SCALING:MODE AUTO :MATH1:SCALING:MODE?→:MATH1:SCALING: MODE AUTO :MATH<x>:SCALing:VALue Function Sets the upper and lower limits for manual scaling or queries the current setting. Syntax :MATH<x>:SCALing:VALue {<NRf>,<NRf>} :MATH<x>:SCALing:VALue?
  • Page 85: Measure Group

    4.13 MEASure Group 4.13 MEASure Group The commands in the MEASure Group deal with measurements. These commands can be used to make the same settings and inquiries as when the MEASURE key on the front panel is pressed. MODE <Space> :MEASure <NRf>...
  • Page 86 4.13 MEASure Group AVERaging STAT e <Space> <NRf> COUNt <Space> <NRf> PHASe <Space> <NRf> <Space> <NRf> <x> <Space> <NRf> HARMonics ORDer <Space> <NRf> <NRf> <Space> TOTal FUNDamental :MEASure? :MEASure:AVERaging:COUNt Function Queries all settings related to measurements. Function Sets the number of averaging counts or queries Syntax :MEASure? the current setting.
  • Page 87 4.13 MEASure Group :MEASure:DMeasure :MEASure:FUNCtion<x>:UNIT Function Sets the delta computation or queries the Function Sets the unit to attach to the computed result of current setting. the user-defined function or queries the current Syntax :MEASure:DMeasure {OFF|U1_U2|I1_I2| setting. P3W3_V3A3|DT_ST|ST_DT} Syntax :MEASure:FUNCtion<x>:UNIT {<string>} :MEASure:DMeasure? :MEASure:FUNCtion<x>:UNIT? Example...
  • Page 88 4.13 MEASure Group :MEASure:PC? :MEASure:PERiod:CURSor[:POSition] Function Queries all settings related to determination of Function Sets the computation period when specifying Pc (Corrected Power). the period with the cursors or queries the current setting. Syntax :MEASure:PC? Example :MEASURE:PC?→:MEASURE:PC:IEC 1976; Syntax :MEASure:PERiod:CURSor[: P1 0.5000;P2 0.5000 POSition] {<time>,<time>|<NRf>,<NRf>} :MEASure:PERiod:CURSor:POSition?
  • Page 89 4.13 MEASure Group :MEASure:PERiod:EXECute :MEASure:PHASe Function Executes the computation. Function Sets the display format of the phase difference Syntax :MEASure:PERiod:EXECute or queries the current setting. Example :MEASURE:PERIOD:EXECUTE Syntax :MEASure:PHASe {<NRf>} :MEASure:PHASe? :MEASure:PERiod[:MODE] <NRf> = 180, 360 Example :MEASURE:PHASE 180 Function Sets the method used to specify the :MEASURE:PHASE?→:MEASURE:PHASE 180 computation period or queries the current...
  • Page 90: Null Group

    4.14 NULL Group 4.14 NULL Group The commands in the NULL Group deal with the NULL function. These commands can be used to make the same settings and inquiries as when the NULL key on the front panel is pressed. :NULL <Space>...
  • Page 91: Numeric Group

    4.15 NUMeric Group 4.15 NUMeric Group The commands in the NUMeric Group deal with the output of numerical data. There are no front-panel keys that correspond to the commands in this group. :NUMeric FORMat <Space> ASCii FLOat NORMal VALue <Space> <NRf>...
  • Page 92 4.15 NUMeric Group :NUMeric? :NUMeric:HARMonics:CLEar Function Queries all settings related to the numerical Function Clears the numerical data output items during data output. harmonic measurement (sets them to NONE). Syntax :NUMeric? Syntax :NUMeric:HARMonics:CLEar {ALL| Example :NUMERIC?→:NUMERIC:FORMAT <NRf>[,<NRf>]} ASCII;NORMAL:NUMBER 8;ITEM1 URMS,1; First <NRf>...
  • Page 93 4.15 NUMeric Group :NUMeric:HARMonics:PRESet :NUMeric:LIST:ITEM Function Sets the numerical data output items to a preset Function Sets the output items of the numerical list data pattern during harmonic measurement. during harmonic measurement or queries the Syntax :NUMeric:HARMonics:PRESet {<NRf>} current setting. <NRf>...
  • Page 94 4.15 NUMeric Group :NUMeric[:NORMal]:CLEar :NUMeric[:NORMal]:PRESet Function Clears the numerical data output items during Function Sets the numerical data output items to a preset normal measurement (Sets them to “ NONE ”). pattern during normal measurement. Syntax :NUMeric[:NORMal]:CLEar {ALL| Syntax :NUMeric[:NORMal]:PRESet {<NRf>} <NRf>[,<NRf>]} <NRf>...
  • Page 95 4.15 NUMeric Group * A list of numerical data output items that are preset UAC, (1) Preset pattern of normal measurement numerical data IRMS, output items IMN, Applicable command “ :NUMeric[:NORMal]:PRESet ” IDC, Pattern 1 IAC, ITEM<x> <Function>, <Element> URMS, IRMS, LAMBda, PHI,...
  • Page 96 4.15 NUMeric Group Pattern 3 ITEM<x> <Function>, <Element>, <Order> TOTal ETA, TOTal 31 to 60 URMS to ETA, TOTal 61 to 90 URMS to ETA, TOTal 91 to 120 URMS to ETA, TOTal 121 to 150 URMS to ETA, SIGMA LAMBda, TOTal 151 to 180...
  • Page 97 4.15 NUMeric Group ITHD, PTHD, STHD, QTHD, 31 to 60 U to QTHD, TOTal to 1 61 to 90 U to QTHD, TOTal to 1 91 to 120 U to QTHD, TOTal to 1 121 to 150 U to QTHD, SIGMA, TOTal to 1 151 to 180 U to QTHD,...
  • Page 98: Setup Group

    4.16 SETup Group 4.16 SETup Group The commands in the SETup Group deal with setting the measurement mode. These commands can be used to make the same settings and inquiries as when the SETUP key on the front panel is pressed. :SETup MODE <Space>...
  • Page 99: Sstart Group

    4.16 SETup Group/4.17 SSTart Group/4.18 STARt Group :SETup:WIRing Function Sets the wiring method or queries the current setting. Syntax :SETup:WIRing {(P1W2|P1W3|P3W3|P3W4| [,(P1W2|P1W3|P3W3|P3W4|V3A3|NONE)]} :SETup:WIRing? P1W2 = single-phase two-wire system P1W3 = single-phase three-wire system P3W3 = three-phase three-wire system P3W4 = three-phase four-wire system V3A3 = three-voltage three-current system NONE = No wiring Example...
  • Page 100: Status Group

    4.19 STATus Group 4.19 STATus Group The commands in the STATus Group are used to set and query the status report. There are no front-panel keys that correspond to the commands in this group. For the status report, see chapter :STATus CONDition EESE...
  • Page 101: Stop Group

    4.19 STATus Group/4.20 STOP Group :STATus:ERRor? :STATus:QENable Function Queries the code and information of the error Function Sets whether or not to store messages other (top of the error queue). than errors in the error queue or queries the Syntax :STATus:ERRor? current setting.
  • Page 102: System Group

    4.21 SYSTem Group 4.21 SYSTem Group The commands in the SYSTem Group deal with cursor measurements. These commands can be used to make the same settings and inquiries as when the MISC key on the front panel is pressed. :SYSTem DATE <Space>...
  • Page 103 4.21 SYSTem Group :SYSTem? :SYSTem:LCD:COLor:GRAPh? Function Queries all settings related to the system. Function Queries all settings related to the display color Syntax :SYSTem? of graphic items. Example :SYSTEM?→:SYSTEM:LANGUAGE Syntax :SYSTem:LCD:COLor:GRAPh? JAPANESE;LCD:BRIGHTNESS 2;COLOR:GRAPH: Example :SYSTEM:LCD:COLOR:GRAPH?→:SYSTEM: MODE DEFAULT;:SYSTEM:LCD:COLOR:TEXT: LCD:COLOR:GRAPH:MODE USER; MODE PRESET1;:SYSTEM:SCSI:OWNID 6 BACKGROUND 0,0,0;GRATICULE 6,6,6;...
  • Page 104 4.21 SYSTem Group :SYSTem:LCD:COLor:TEXT:{LETTer| :SYSTem:SCSI:OWNid Function Sets the SCSI ID of this instrument or queries BACKground|BOX|SUB|SELected} the current setting. Function Sets the display colors for characters (Menu Syntax :SYSTem:SCSI:OWNid {<NRf>} Fore)/menu background (Menu Back)/selected :SYSTem:SCSI:OWNid? menu (Select Box)/popup menu (Sub Menu)/ <NRf>...
  • Page 105: Timebase Group

    Function Sets the observation time of the waveform or queries the current setting. Syntax :TIMebase:OBServe {<time>} :TIMebase:OBServe? <time> = 10us to 1ks (See the PZ4000 User’s Manual.) Example :TIMEBASE:OBSERVE 100MS :TIMEBASE:OBSERVE?→:TIMEBASE: OBSERVE 100.00E-03 :TIMebase:SRATe Function Sets the sampling rate or queries the current setting.
  • Page 106: Trigger Group

    4.23 TRIGger Group 4.23 TRIGger Group The commands in the TRIGger Group deal with the trigger. These commands can be used to make the same settings and inquiries as when the TRIGGER key on the front panel is pressed. :TRIGg er MODE <Space>...
  • Page 107 4.23 TRIGger Group :TRIGger? :TRIGger:DELay Function Queries all settings related to the trigger. Function Sets the trigger delay or queries the current Syntax :TRIGger? setting. Example :TRIGGER?→:TRIGGER:MODE AUTO;SOURCE 1; Syntax :TRIGger:DELay {<time>} TYPE EDGE;EDGE:SLOPE RISE; :TRIGger:DELay? LEVEL 1.000E+03;:TRIGGER:DREFERENCE 10; <time> = 0 to 1s (The resolution is DELAY 0.0E+00;ACTION:SAVE 0;HCOPY 0;...
  • Page 108 4.23 TRIGger Group :TRIGger:MODE :TRIGger:WINDow:CONDition Function Sets the trigger mode or queries the current Function Sets the trigger condition for the window trigger setting. or queries the current setting. Syntax :TRIGger:MODE {OFF|AUTO|ALEVel|NORMal| Syntax :TRIGger:WINDow:CONDition {IN|OUT} HFAuto|HFNormal} :TRIGger:WINDow:CONDition? :TRIGger:MODE? Example :TRIGGER:WINDOW:CONDITION IN Example :TRIGGER:MODE AUTO :TRIGGER:WINDOW:CONDITION?→:TRIGGER:...
  • Page 109: Waveform Group

    4.24 WAVeform Group 4.24 WAVeform Group The commands in the WAVeform Group deal with the acquired waveform data. There are no front-panel keys that correspond to the commands in this group. :WAV eform TRACe <Space> <NRf> MATH <x> FORMat <Space> ASCii BINar y FLOat...
  • Page 110 “ ” command. :WAVeform:BYTeorder observation time (sampling rate). The equation used to convert to a physical • For details, see the PZ4000 User’s Manual. value is Physical value :WAVeform:RANGe? = (WORD data - 2048)/2048 X the range Function Queries the range value that is used to convert value.
  • Page 111 4.24 WAVeform Group :WAVeform:STARt Function Sets the start point of the output of the waveform data that are sent using the “ :WAVeform:SEND? ” command or queries the current setting. Syntax :WAVeform:STARt {<NRf>} :WAVeform:STARt?- <NRf> = 0 to (Total number of data points-1) Example :WAVEFORM:START 0...
  • Page 112: Zoom Group

    4.25 ZOOM Group 4.25 ZOOM Group The commands in the ZOOM Group deal with the zooming of the waveform. These commands can be used to make the same settings and inquiries as when the ZOOM key on the front panel is pressed.
  • Page 113 Function Sets the zoom factor or queries the current setting. Syntax :ZOOM:MAG<x> {<NRf>} :ZOOM:MAG<x>? <x> = 1, 2 <NRf> = 2 to 100000 (See the PZ4000 User’s Manual) Example :ZOOM:MAG1 2 :ZOOM:MAG1?→:ZOOM:MAG1 2 Description The selectable zoom factor varies depending...
  • Page 114: Common Command Group

    4.26 Common Command Group 4.26 Common Command Group The commands in the common command group are independent of the instrument’s functions and are specified in IEEE 488.2-1987. There is no front-panel key that corresponds to this group. ∗ ∗ ∗ <Space>...
  • Page 115 Queries the instrument model. exist: <Extended memory>, <Built-in printer>, Syntax *IDN? <SCSI> Example *IDN?→YOKOGAWA,253710,0,F1.10 • The “ *OPT? ” command must be the last query Description The response is returned in the following in a program message. Otherwise, an error format: <Maker>, <Model>, <Serial No.>,...
  • Page 116 4.26 Common Command Group *SRE *TST? (Service Request Enable register) (TeST) Function Sets the service request enable register or Function Executes the self-test and queries the result. queries the current setting. Syntax *TST? Syntax *SRE <NRf> Example *TST?→0 Description • The self-test involves the testing of the *SRE? <NRf>...
  • Page 117: Chapter 5 Status Report

    5.1 Overview of the Status Report Chapter 5 Status Report 5.1 Overview of the Status Report The figure below shows the status report which is read by a serial poll. This is an extended version of the one specified in IEEE 488.2-1987. Service request enable register &...
  • Page 118: Status Byte

    5.1 Overview of the Status Report/5.2 Status Byte 5.2 Status Byte Overview of Registers and Queues Name Function Writing Reading Overview of Status Byte Status byte — Serial poll (RQS), *STB?(MSS) 6 ESB MAV EES EAV 1 Service request Masks status byte. *SRE *SRE? enable register...
  • Page 119: Standard Event Register

    5.2 Status Byte/5.3 Standard Event Register 5.3 Standard Event Register Operation of the Status Byte A service request is issued when bit 6 of the status Overview of the Standard Event Register byte becomes “ ”. Bit 6 becomes “ ”...
  • Page 120: Extended Event Register

    5.3 Standard Event Register/5.4 Extended Event Register Operation of the Standard Event Register Reading from the Standard Event Register The standard event register is provided for eight The contents of the standard event register can be different kinds of event which can occur inside the read by the *ESR command.
  • Page 121: Output Queue And Error Queue

    5.4 Extended Event Register/5.5 Output Queue and Error Queue The filter is applied to each bit of the condition register seperately, and can be selected from the following. Note that the numbering of the bits used in the filter setting differs from the actual bit number (1 to 16 vs. 0 to 15).
  • Page 122: Chapter 6 Sample Program

    Setting up the PZ4000 • Address 1 All the sample programs given in this chapter use address 1 for the PZ4000 so be sure to assign the instrument to address 1 as described on page 1-5. • Data Acquisition “STOP”...
  • Page 123: Example Of Normal Measurement Data Output

    6.2 Example of Normal Measurement Data Output '*********************************************************************** PZ4000 Sample Program1 for GP-IB interface Microsoft QuickBASIC 4.0/4.5 Version '*********************************************************************** In the normal measurement mode, set the measurement conditions and start the measurement. The following numerical data (ASCII format) are read and displayed * on every update.
  • Page 124 CALL IBWRT(PZ%, CMD$) V% = 0: CALL IBSRE(BD%, V%) ' Clear remote mode '*********************************************************************** PZ4000 Sample Program1 for serial(RS-232) interface Microsoft QuickBASIC 4.0/4.5 Version Rate:9600 Parity:None CHR:8 STOPBIT:1 XON/XON Term:CR+LF '*********************************************************************** In the normal measurement mode, set the measurement conditions and start the measurement.
  • Page 125 6.2 Example of Normal Measurement Data Output ' Display the numerical data PRINT I%,"Element1","Element2","Element3","Element4" PRINT "Urms [V]", D$(1), D$(11), D$(21), D$(31) PRINT "Irms [A]", D$(2), D$(12), D$(22), D$(32) PRINT "P [W]", D$(3), D$(13), D$(23), D$(33) PRINT "S [VA]", D$(4), D$(14), D$(24), D$(34) PRINT "Q [var]", D$(5), D$(15), D$(25), D$(35) PRINT "Lambda[]", D$(6), D$(16), D$(26), D$(36)
  • Page 126: Example Of Harmonic Measurement Data Output

    6.3 Example of Harmonic Measurement Data Output '*********************************************************************** PZ4000 Sample Program2 for GP-IB interface Microsoft QuickBASIC 4.0/4.5 Version '*********************************************************************** In the harmonic measurement mode, set the measurement conditions and perform one measurement. The following numerical data regarding the current of element 1 are read and displayed.
  • Page 127 6.3 Example of Harmonic Measurement Data Output ' Read out the harmonic numerical list data (I1(Total) to I1(100)) CMD$ = "NUMERIC:LIST:VALUE?" ' All 102 data CALL IBWRT(PZ%, CMD$) RES$ = SPACE$(1200) CALL IBRD(PZ%, RES$) C$ = LEFT$(RES$, IBCNT%) ' Extract items that are separated by commas (,) from the received numerical data B% = INSTR(C$, ",") ' Total TOTAL$ = LEFT$(C$, (B% - 1)) C$ = MID$(C$, (B% + 1))
  • Page 128: Output Example Of Waveform Data In Ascii Format

    Format '*********************************************************************** PZ4000 Sample Program3 for GP-IB interface Microsoft QuickBASIC 4.0/4.5 Version '*********************************************************************** Read the CH1(U1) waveform data from PZ4000 in ASCII format '*********************************************************************** REM $INCLUDE: 'qbdecl4.bas' DEVICE$ = "DEV1": CALL IBFIND(DEVICE$, PZ%) CALL IBSIC(PZ%) BORD$ = "GPIB0": CALL IBFIND(BORD$, BD%)
  • Page 129 PZ4000 Sample Program3 for serial(RS-232) interface Microsoft QuickBASIC 4.0/4.5 Version Rate:9600 Parity:None CHR:8 STOPBIT:1 XON/XON Term:CR+LF '*********************************************************************** Read the CH1(U1) waveform data from PZ4000 in ASCII format '*********************************************************************** OPEN "COM1:9600,N,8,1,ASC,CS0,DS0,LF" FOR RANDOM AS #1 PRINT #1, "COMMUNICATE:REMOTE ON" ' Set to remote ' Set conditions for reading the waveform PRINT #1, "WAVEFORM:TRACE 1;FORMAT ASCII"...
  • Page 130: Output Example Of Waveform Data In Binary Format

    Format '*********************************************************************** PZ4000 Sample Program4 for GP-IB interface Microsoft QuickBASIC 4.0/4.5 Version '*********************************************************************** Read the CH1(U1) waveform data from PZ4000 in binary (WORD) format * '*********************************************************************** REM $INCLUDE: 'qbdecl4.bas' DEVICE$ = "DEV1": CALL IBFIND(DEVICE$, PZ%) CALL IBSIC(PZ%) BORD$ = "GPIB0": CALL IBFIND(BORD$, BD%)
  • Page 131: Appendix

    Appendix Appendix 1 ASCII Character Code ASCII character codes are given ‘ ” & ’ < > (RUBOUT) Address Universal Listener Talker Secondary Command Command Address Address Command Example octal GP-IB code ASCII character code hexadecimal decimal App-1 IM 253710-11E...
  • Page 132: Appendix 2 Error Messages

    English when they are displayed on a personal computer. • When servicing is required, contact your nearest YOKOGAWA representative, given on the back cover of this manual. • Only error messages relating to communications are given. For other error messages, refer to the User’s Manual IM 253710-01E.
  • Page 133 Appendix 2 Error Messages Error in communications execution (200 to 299) Code Message Action Reference Page Setting conflict Check the relevant setting. Chapter 4 Data out of range Check the setting range. Chapter 4 Too much data Check the data byte length. Chapter 4 Illegal parameter value Check the setting range.
  • Page 134: Appendix 3 Overview Of Ieee 488.2-1987

    Appendix 3 Overview of IEEE 488.2-1987 The GP-IB interface provided with PZ4000 conforms to IEEE 488.2-1987. This standard requires the following 23 points be stated in this document. This Appendix describes these points. 1 Subsets supported by IEEE 488.1 interface functions Refer to Section 1.4 “GP-IB Interface Specifications”.
  • Page 135 Appendix 3 Overview of IEEE 488.2-1987 11 Size of data block of response data 1 to 16000004 (4000001×4) bytes 12 List of supported common commands Refer to Section 4.26 “Common Command Group”. 13 Condition of device when calibration is successfully completed Same as the one under which measurements are performed 14 Maximum length of block data which can be used for definition of trigger macro...
  • Page 136 Index current input terminals ............4-49 current measurement ............4-47 ABORt Group ..............4-11 current range ..............4-48 ACQuire Group ..............4-11 cursor (measurement) ............4-19 Abbreviated form ..............3-5 cursor type ................ 4-21 Address commands ............1-7 address ................1-5 apparent power ..............
  • Page 137 Index filter ................... 4-49 marker/cursor type ............4-21 floppy disk ................. 4-34 measurement mode ............4-69 format (floppy disk) ............4-34 message language ............4-74 free space ................. 4-34 model name ..............4-44 mapping method ............... 4-30 marker (FFT) ..............4-20 GP-IB Interface Functions ...........
  • Page 138 Index response message .............. 3-5 total harmonic distortion ............ 4-58 revolution sensor signal ............ 4-14 total number of data points ..........4-81 transformation ratio ............4-49 transition filter ..............4-72 trigger ................4-78 SCSI-ID ................4-75 trigger condition ..............4-79 SETup Group ..............
  • Page 139 Index Y-axis value (H cursor) ............4-19 ZOOM Group ..............4-83 zero crossing filter ............. 4-50 zero level compensation ........... 4-85 zoom box ................4-84 zoom factor .............. 4-15, 4-84 zooming ................4-83 zoom factor of the current (vector) ........4-28 zoom factor of the voltage (vector) ........

Table of Contents