YOKOGAWA wt1600 User Manual

YOKOGAWA wt1600 User Manual

Digital power meter
Hide thumbs Also See for wt1600:
Table of Contents

Advertisement

Digital Power Meter
Communication Interface
IM 760101-11E
4th Edition

Advertisement

Table of Contents
loading

Summary of Contents for YOKOGAWA wt1600

  • Page 1 Digital Power Meter Communication Interface IM 760101-11E 4th Edition...
  • Page 2: Introduction

    GP-IB and serial interfaces. To ensure proper use of the GP-IB/serial/Ethernet 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 WT1600 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 seven 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 ........................ ii 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 the Address ......................
  • Page 5 Contents 5.18 STORe Group ......................5-75 5.19 SYSTem Group ......................5-80 5.20 WAVeform Group ......................5-83 5.21 WSETup (Wave SETup) Group ................... 5-85 5.22 Common Command Group ..................5-88 Chapter 6 Status Report Overview of the Status Report ..................6-1 Status Byte ........................
  • Page 6: Chapter 1 Overview Of The Gp-Ib Interface

    Chapter 1 Overview of the GP-IB Interface Names of the Parts and Their Functions Front Panel MISC key Press this key to set communication setting. LOCAL key Press this key to switch from remote mode to local mode so as to enable key operation.
  • Page 7: Connecting The Gp-Ib Cable

    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. Connection Precautions •...
  • Page 8: Gp-Ib Interface Functions

    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

    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 The Address

    Each device that can be connected via GP-IB has a unique address within the GP-IB system. This address is used to distinguish the device from others. Therefore, when you connect the WT1600 to a PC, for example, make sure to assign a unique address to the WT1600.
  • Page 11: Response To Interface Messages

    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 1.6 Response to Interface Messages Multi-line message Eight data lines are used to transmit a message. Multi-line messages are classified as follows. Address commands Valid when the equipment is designated as a listener or a talker. The following five address commands are available. Commands valid for equipment designated as a listener GTL (Go To Local) SDC (Selected Device Clear)
  • Page 13: Overview Of The Serial Interface

    Chapter 2 Overview of the Serial Interface Names of the Parts and Their Functions Front Panel MISC key Press this key to set communication setting. LOCAL key Press this key to switch from remote mode to local mode so as to enable key operation.
  • Page 14: Serial Interface Functions And Specifications

    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

    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 2.3 Connecting the Serial Interface Cable Table of Serial Standard Signals and their Abbreviation Pin No. Description Serial (RS-232) CCITT (9-pin connector) AB (GND) Signal ground Transmitted data BA (TXD) BB (RXD) Received data Request to send CA (RTS) Clear to send CB (CTS) Signal line connection example The pin numbers shown are that of 9-pin connectors.
  • Page 17: Handshaking

    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; the same handshaking system must be used for both the computer and this instrument.
  • 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

    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 Serial Communications

    Setting Serial Communications Keys UP DATE DISPLAY HOLD FILE STORE COPY RATE SINGLE STORE SET MENU TRIG'D REMOTE WAVE LOCAL MISC HARMONICS CURSOR MAX HOLD NULL SHIFT To exit the menu during operation, press ESC. INPUT RANGE SCALING WIRING MOTOR SET FILTER MEASURE INTEGRATOR...
  • Page 21 Selecting the Terminator Select the terminator from the following. The menu of the WT1600 selects the terminator that is used when transmitting data from the WT1600. Use “Lf” or “Cr+Lf” for the terminator when receiving the data on the WT1600.
  • Page 22: Chapter 3 Overview Of The Ethernet Interface

    Chapter 3 Overview of the Ethernet Interface Names of the Parts and Their Functions Front Panel MISC key Press this key to set communication setting. LOCAL key Press this key to switch from remote mode to local mode so as to enable key operation.
  • Page 23: Ethernet Interface Functions And Specifications

    Ethernet Interface Functions and Specifications When using a WT1600 with ROM version 2.01 or later, you can control the WT from a PC using Ethernet communications. Details about specific functions and how to enter settings are provided below. Receiving Function You can specify the same settings as those specified by front panel key operations.
  • Page 24: Connecting The Wt To A Pc

    Connecting the WT to a PC See section 13.1, “Connecting the WT1600 to a PC” in user’s manual IM760101-01E. Ethernet Control Settings Procedure Select the communications interface to be used for controlling the WT. Press MISC to display the Misc menu.
  • Page 25 • The characters that can be used are 0-9, A-Z, %, _, ( ) (parenthesis), - (minus sign). • If the user name is set to anonymous, the WT1600 can be accessed from the outside (PC) without a password. The password setting is entered twice.
  • Page 26: Chapter 4 Before Programming

    Chapter 4 Before Programming Messages Blocks of message data are transferred between the Program message unit format controller and this instrument during communications. The format of a program message unit is shown below. Messages sent from the controller to this instrument are called program messages, and messages sent <Program header>...
  • Page 27 4.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 28: Commands

    4.2 Commands Commands When Concatenating Commands Command Group A command group is a group of commands which have There are three types of command (program header) the same compound header. A command group may which can be sent from the controller to this contain sub-groups.
  • Page 29 4.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 “[:INPut]:SCALing[:STATe] ON”...
  • Page 30: Response

    4.3 Response/4.4 Data Response 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 31 4.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 32: Synchronization With The Controller

    4.4 Data/4.5 Synchronization with the Controller 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 also applies to a single quotation mark within a Overlap Commands and Sequential Commands character string.
  • Page 33 This is designate which commands are to be subject to the because the WT1600 returns the current measured *OPC command. In the above example, only medium data regardless of whether the measured data has access commands are designated.
  • Page 34 4.5 Synchronization with the Controller Using the extended event register Using the COMMunicate:WAIT command Changes in the condition register are reflected in the The “COMMunicate:WAIT” command halts extended event register (page 6-4). communications until a specific event is generated. Example Example :STATus:FILTer1 FALL;:STATus:EESE 1;...
  • Page 35: Chapter 5 Commands

    Chapter 5 Commands Command List Command Function Page AOUTput Group :AOUTput? Queries all settings related to the D/A output. 5-12 :AOUTput:HARMonics? Queries all settings related to the D/A output for harmonic measurement. 5-12 :AOUTput:HARMonics:CHANnel<x> Sets the D/A output items for harmonic measurement or queries the current setting.
  • Page 36 5.1 Command List Command Function Page DISPlay Group :DISPlay? Queries all settings related to the screen display. 5-23 :DISPlay:BAR? Queries all settings related to the bar graph. 5-23 :DISPlay:BAR:FORMat Sets the display format of the bar graph or queries the current setting. 5-23 :DISPlay:BAR:ITEM<x>...
  • Page 37 5.1 Command List Command Function Page :DISPlay:TRENd:NORMal:ITEM<x>? Queries all settings related to the trend for normal measurement. 5-28 :DISPlay:TRENd:NORMal:ITEM<x>[:FUNCtion] Sets the trend item for normal measurement or queries the current setting. 5-28 :DISPlay:TRENd:NORMal:ITEM<x>:SCALing? Queries all settings related to the scaling mode of the trend for normal measurement.
  • Page 38 5.1 Command List Command Function Page :FILE:SAVE:ANAMing Sets whether to automatically name the files to be saved or queries the current setting. 5-35 :FILE:SAVE:COMMent Sets the comment to be added to the file to be saved or queries the current setting.
  • Page 39 5.1 Command List Command Function Page :HCOPy:COMMent Sets the comment displayed at the bottom of the screen or queries the current setting. 5-42 :HCOPy:DIRection Sets the output destination of the screen image data or queries the current setting. 5-42 :HCOPy:EXECute Executes the screen image data output.
  • Page 40 5.1 Command List Command Function Page :IMAGe:COLor Sets the color tone of the screen image data to be output or queries the current setting. 5-45 :IMAGe:FORMat Sets the output format of the screen image data or queries the current setting. 5-45 :IMAGe:SEND? Queries the screen image data.
  • Page 41 5.1 Command List Command Function Page INTEGrate Group :INTEGrate? Queries all settings related to the integration. 5-55 :INTEGrate:ACAL Turns ON/OFF the auto calibration or queries the current setting. 5-55 :INTEGrate:CURRent? Queries the current mode of the current integration of all elements. 5-55 :INTEGrate:CURRent[:ALL] Collectively sets the current mode of the current integration of all elements.
  • Page 42 5.1 Command List Command Function Page :MOTor:POLE Sets the motor’s number of poles or queries the current setting. 5-63 :MOTor:SPEed? Queries all settings related to the revolution sensor signal input. 5-63 :MOTor:SPEed:PRANge Sets the range of the rotating speed (pulse input format) or queries the current setting.
  • Page 43 5.1 Command List Command Function Page :NUMeric[:NORMal]:VALue? Queries the numerical data for normal measurement. 5-70 RATE Group :RATE Sets the data update rate for normal measurement or queries the current setting. 5-73 STATus Group :STATus? Queries all settings related to the communication status function. 5-74 :STATus:CONDition? Queries the contents of the condition register.
  • Page 44 Set the SCSI-ID of the built-in hard disk or queries the current settings. 5-82 :SYSTem:SCSI:INITialize Executes the initialization of SCSI related parameters. 5-82 :SYSTem:SCSI:OWNid Set the SCSI-ID of the WT1600 or queries the current settings. 5-82 :SYSTem:TIME Sets the time or queries the current setting. 5-82 WAVeform Group :WAVeform? Queries all information about the waveform display data.
  • Page 45 5.1 Command List Command Function Page :WAVeform:SRATe? Queries the sampling rate of the retrieved waveform. 5-84 :WAVeform:STARt Sets the output start point of the waveform display data that is transmitted by “:WAVeform:SEND?” or queries the current setting. 5-84 :WAVeform:TRACe Sets the target waveform for the WAVeform:SEND and WAVeform:LENGth commands or queries the current setting.
  • Page 46: Aoutput Group

    AOUTput Group The commands in this group deal with the D/A output.You can make the same settings and inquiries as when the “D/ A Output Items” menu of MISC on the front panel is used. However, the commands in this group are valid only when the D/A output (/DA option) is installed.
  • Page 47 5.2 AOUTput Group :AOUTput:NORMal? Function Queries all settings related to the D/A output for normal measurement. Syntax :AOUTput:NORMal? Example :AOUTPUT:NORMAL? -> :AOUTPUT: NORMAL:CHANNEL1 U,1;CHANNEL2 U,2; CHANNEL3 U,3;CHANNEL4 U,4; CHANNEL5 U,5;CHANNEL6 U,6; CHANNEL7 I,1;CHANNEL8 I,2; CHANNEL9 I,3;CHANNEL10 I,4; CHANNEL11 I,5;CHANNEL12 I,6; CHANNEL13 P,1;CHANNEL14 P,2;...
  • Page 48: Communicate Group

    COMMunicate Group The commands in this 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> <Register> REMote <Space> <NRf>...
  • Page 49 5.3 COMMunicate Group :COMMunicate:OPSE (Operation Pending :COMMunicate:REMote Status Enable register) Function Sets remote or local. ON is remote mode. Syntax :COMMunicate:REMote {<Boolean>} Function Sets the overlap command that is to used by the :COMMunicate:REMote? *OPC, *OPC?, and *WAI commands or queries Example :COMMUNICATE:REMOTE ON the current setting.
  • Page 50 5.3 COMMunicate Group :COMMunicate:WAIT? Function Creates the response that is returned when the specified event occurs. Syntax :COMMunicate:WAIT? <Register> <Register>= 0 to 65535 (extended event register, see page 6-4.) Example :COMMUNICATE:WAIT? 65535 -> 1 Operation pending status register/overlap enable register 0 ACS When bit 5 (PRN) = 1: Built-in printer operation and network printer...
  • Page 51: Cursor Group

    CURSor Group The commands in this group deal with cursor measurements.You can make the same settings and inquiries as when CURSOR (SHIFT+WAVE) on the front panel is used. :CURSor WAVE STAT e <Space> <NRf> TRACe <x> <Space> <x> <x> SPEed TORQue PA TH <Space>...
  • Page 52 5.4 CURSor Group TRENd STAT e <Space> <NRf> TRACe <x> <Space> <NRf> POSition <x> <Space> <NRf> <x> <x> :CURSor? :CURSor:BAR:{Y<x>|DY}? Function Queries all settings related to the cursor Function Queries the cursor measurement value on the measurement. bar graph. Syntax :CURSor? Syntax :CURSor:BAR:{Y<x>|DY}?
  • Page 53 5.4 CURSor Group :CURSor:TRENd[:STATe] :CURSor:WAVE:POSition<x> Function Turns ON/OFF the cursor display on the trend Function Sets the cursor position on the waveform or queries the current setting. display or queries the current setting. Syntax :CURSor:TRENd[:STATe] {<Boolean>} Syntax :CURSor:WAVE:POSition<x> {<Time>| :CURSor:TRENd:STATe? <NRf>} Example :CURSOR:TREND:STATE ON...
  • Page 54: Display Group

    DISPlay Group The commands in this group deal with the screen display. You can make the same settings and inquiries as when DISPLAY on the front panel is used. :DISPlay FORMat <Space> NUMeric WAVE VECTor TRENd NWAV e NBAR NTRend WBAR WTRend BTRend...
  • Page 55 5.5 DISPlay Group WAVE <Space> <NRf> <x> <Space> <x> SPEed <NRf> TORQue FORMat <Space> SINGle DUAL TRIad QUAD INTerpolate <Space> LINE GRATicule <Space> GRID FRAMe CROSshair SVALue <Space> <NRf> TLABel <Space> <NRf> MAPPing MODE <Space> AUTO FIXed USER <x> <Space> <NRf>...
  • Page 56 5.5 DISPlay Group VECTor NUMeric <Space> <NRf> UMAG <Space> <NRf> IMAG TRENd SAMPling <Space> <NRf> <Space> <NRf> <x> <Space> <NRf> FORMat <Space> SINGle DUAL TRIad QUAD TDIV <Space> <NRf> <NRf> <NRf> PDIV <Space> <NRf> NORMal ITEM <x> FUNCtion <Space> NONE <Function>...
  • Page 57 5.5 DISPlay Group : D I S P l a y ? :DISPlay:FORMat Function Queries all settings related to the screen Function Sets the display format or queries the current display. setting. Syntax :DISPlay? Syntax :DISPlay:FORMat {NUMeric|WAVE|BAR| Example • Example in which the display format VECTor|TRENd|NWAVe|NBAR|NTRend| WBAR|WTRend|BTRend|INFOrmation} (:DISPlay:FORMat) is set to “NWAVe”...
  • Page 58 5.5 DISPlay Group :DISPlay[:NUMeric]:HARMonics? :DISPlay[:NUMeric]:HARMonics:ICURsor Function Queries all settings related to the numerical Function Sets the cursor position on the numerical display for harmonic measurement. display for harmonic measurement or queries Syntax :DISPlay[:NUMeric]:HARMonics? the current setting. Syntax :DISPlay[:NUMeric]:HARMonics: Example • Example in which the display format of numeric values (:DISPlay[:NUMeric]: ICURsor {<NRf>} HARMonics:IAMount) is set to {4|8|16}...
  • Page 59 Reset List Exec of the LCURSOR TOTAL Display setting menu, which is displayed on the :DISPLAY:NUMERIC:HARMONICS:LCURSOR? WT1600 screen, is executed.For details on the -> :DISPLAY:NUMERIC:HARMONICS: order of displayed items when reset is executed, LCURSOR TOTAL see the WT1600 User’s Manual.
  • Page 60 • This command is valid when the display Display setting menu, which is displayed on the format of numeric values (:DISPlay WT1600 screen, is executed.For details on the [:NUMeric]:NORMal:IAMount) is set to order of displayed items when reset is executed, “<NRf>...
  • Page 61 5.5 DISPlay Group :DISPlay:TRENd:ALL :DISPlay:TRENd:HARMonics:ITEM<x> [ : F U N C t i o n ] Function Collectively turns ON/OFF all trends. Syntax :DISPlay:TRENd:ALL {<Boolean>} Function Sets the trend item for harmonic measurement Example :DISPLAY:TREND:ALL ON or queries the current setting. Syntax :DISPlay:TRENd:HARMonics:ITEM<x>...
  • Page 62 5.5 DISPlay Group :DISPlay:TRENd:HARMonics:ITEM<x>: :DISPlay:TRENd:NORMal:ITEM<x>[:FUNCtion] SCALing:VALue Function Sets the trend item for normal measurement or queries the current setting. Function Sets the upper and lower limits of manual Syntax :DISPlay:TRENd:NORMal:ITEM<x> scaling of the trend for harmonic measurement [:FUNCtion] {NONE|<Function>, or queries the current setting. <Element>} Syntax :DISPlay:TRENd:HARMonics:ITEM<x>:...
  • Page 63 5.5 DISPlay Group :DISPlay:TRENd:NORMal:ITEM<x>:SCALing: :DISPlay:TRENd:TDIV VALue Function Sets the horizontal axis (T/div) of the trend for normal measurement or queries the current Function Sets the upper and lower limits of manual setting. scaling of the trend for normal measurement or Syntax :DISPlay:TRENd:TDIV {<NRf>,<NRf>, queries the current setting.
  • Page 64 5.5 DISPlay Group :DISPlay:WAVE? :DISPlay:WAVE:MAPPing[:MODE] Function Queries all settings related to the waveform Function Sets the waveform mapping method for the split display. screen or queries the current setting. Syntax :DISPlay:WAVE? Syntax :DISPlay:WAVE:MAPPing[:MODE] {AUTO| Example :DISPLAY:WAVE? -> :DISPLAY:WAVE: FIXed|USER} U1 1;U2 1;U3 1;U4 1;U5 1;U6 1;I1 1; :DISPlay:WAVE:MAPPing:MODE? I2 1;I3 1;I4 1;I5 1;I6 1;...
  • Page 65 5.5 DISPlay Group :DISPlay:WAVE:{U<x>|I<x>|SPEed|TORQue} : Pc TIME : I-Time Function Turns ON/OFF the {voltage|current|rotating : Wp speed|torque} waveform or queries the current : Wp+ setting. : Wp- Syntax :DISPlay:WAVE:{U<x>|I<x>|SPEed| TORQue} {<Boolean>} : q+ :DISPlay:WAVE:{U<x>|I<x>|SPEed| : q- TORQue}? : η <x> = 1 to 6 SETA : 1/η...
  • Page 66 5.5 DISPlay Group : λ LAMBda : Xs : φ : Rp : φU PHIU : Xp : φI PHII : FreqU (fU) : FreqI (fI) : Rs : Xs : Rp : Xp UHDF : Uhdf IHDF : Ihdf PHDF : Phdf UTHD...
  • Page 67: File Group

    FILE Group The commands in this group deal with file operations. You can make the same settings and inquiries as when FILE on the front panel is used. :FILE DRIVe <Space> SCSI <NRf> <NRf> FREE MDIRector y <Space> <Filename> CDIRector y <Space>...
  • Page 68 5.6 FILE Group HARMonics ELEMent <x> <Space> <NRf> <Harmonics-Function> <Space> OTHers <NRf> ABORt LOAD SETup <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>...
  • Page 69 5.6 FILE Group :FILE:DRIVe :FILE:SAVE? Function Sets the target drive. Function Queries all settings related to the saving of files. Syntax :FILE:DRIVe {FD0| Syntax :FILE:SAVE? SCSI,<NRf>[,<NRf>]|ND0} Example :FILE:SAVE? -> :FILE:SAVE: FD0 = Floppy disk ANAMING 1;COMMENT "";WAVE: TYPE BINARY;:FILE:SAVE:NUMERIC: SCSI = SCSI device TYPE ASCII;NORMAL:ELEMENT1 1;...
  • Page 70 5.6 FILE Group :FILE:SAVE:NUMeric? :FILE:SAVE:NUMeric:HARMonics:{<Harmonic measurement function>|OTHers} Function Queries all settings related to the saving of numerical data files. Function Turns ON/OFF the output of the function when Syntax :FILE:SAVE:NUMeric? saving the numerical data list file during Example :FILE:SAVE:NUMERIC? -> harmonic measurement or queries the current :FILE:SAVE:NUMERIC:TYPE ASCII;...
  • Page 71 Example :FILE:SAVE:NUMERIC:NORMAL:PRESET1 Example :FILE:SAVE:WAVE:EXECUTE "WAVE1" Description For details on the output pattern when preset is Description • Specify the file name without the extension. executed, see the WT1600 User’s Manual. • This is an overlap command. :FILE:SAVE:NUMeric:NORMal:<Normal :FILE:SAVE:WAVE:TRACe measurement function>...
  • Page 72: Harmonics Group

    5.6 FILE Group/5.7 HARMonics Group :FILE:SAVE:WAVE:TYPE Function Sets the format of the waveform display data to be saved or queries the current setting. Syntax :FILE:SAVE:WAVE:TYPE {BINary|ASCii| FLOat} :FILE:SAVE:WAVE:TYPE? Example :FILE:SAVE:WAVE:TYPE BINARY :FILE:SAVE:WAVE:TYPE? -> :FILE:SAVE:WAVE:TYPE BINARY HARMonics Group The commands in this group deal with harmonic measurement. You can make the same settings and inquiries as when HARMONICS on the front panel is used.
  • Page 73 5.7 HARMonics Group :HARMonics:ORDer Function Sets the maximum and minimum orders to be analyzed or queries the current setting. Syntax :HARMonics:ORDer {<NRf>,<NRf>} :HARMonics:ORDer? 1st <NRf> = 0 or 1 (minimum order to be analyzed) 2nd <NRf> = 1 to 100 (maximum order to be analyzed) Example :HARMONICS:ORDER 1,100...
  • Page 74: Hcopy Group

    HCOPy Group The commands in this group deal with the output of screen image data to the built-in printer (option) and other destinations. You can make the same settings and inquiries as when COPY and MENU (SHIFT+COPY) on the front panel is used. :HCOPy EXECute ABORt...
  • Page 75 5.8 HCOPy Group SAVE ANAMing <Space> <NRf> NAME <Space> <Filename> COMMent <Space> <String> FORMat <Space> TIFF PSCRipt TIFF COLor <Space> COLor REVerse COLor <Space> COLor REVerse COMPression <Space> <NRf> COMMent <Space> <String> :HCOPy? :HCOPy:ABORt Function Queries all settings related to the output of Function Aborts screen image data output and paper screen image data.
  • Page 76 5.8 HCOPy Group :HCOPy:BMP:COMPression :HCOPy:PRINter? Function Sets whether to compress the data in BMP Function Queries all settings related to the built-in printer format or queries the current setting. output. Syntax :HCOPy:BMP:COMPression {<Boolean>} Syntax :HCOPy:PRINter? :HCOPy:BMP:COMPression? :HCOPY:PRINTER? -> (Same as the Example Example :HCOPY:BMP:COMPRESSION OFF...
  • Page 77 5.8 HCOPy Group :HCOPy:PRINter:DLISt:HARMonics: :HCOPy:PRINter:DLISt:NORMal? ELEMent<x> Function Queries all settings related to the printing of the numerical data list for normal measurement. Function Turns ON/OFF the output of the element when Syntax :HCOPy:PRINter:DLISt:NORMal? printing the numerical data list using the built-in Example :HCOPY:PRINTER:DLIST:NORMAL? ->...
  • Page 78 :HCOPY:PRINTER:DLIST:NORMAL:PRESET1 SAVE:COMMENT "CASE1" Description For details on the print pattern when preset is Description • Characters and symbols other than the ones executed, see the WT1600 User’s Manual. displayed on the keyboard on the screen cannot be used. :HCOPy:PRINter:DLISt:NORMal:<Normal • This command is valid when the data output...
  • Page 79: Hold Group

    HOLD Group The commands in this group deal with the hold function of output data. You can make the same settings and inquiries as when HOLD on the front panel is used. :HOLD <Space> <NRf> :HOLD Function Sets the output data (display, communications, etc.) hold or queries the current setting.
  • Page 80: Input Group

    5.11 INPut Group The commands in this group deal with the measurement condition of the input element. You can make the same settings and inquiries as when RANGE, SCALING, WIRING, FILTER, SYNC SRC, and NULL(SHIFT+MISC) of the INPUT group on the front panel are used. :INPut MODUle <Space>...
  • Page 81 5.11 INPut Group AUTO <Space> <NRf> ELEMent <x> <Space> <NRf> SRATio <Space> <NRf> ELEMent <x> <Space> <NRf> FILTer LINE <Space> <Frequency> ELEMent <x> <Space> <Frequency> ZCRoss <Space> <Frequency> ELEMent <x> <Space> <Frequency> SCALing STAT e <Space> <NRf> ELEMent <x> <Space> <NRf>...
  • Page 82 5.11 INPut Group SYNChroniz e <Space> <x> <x> EXTernal NONE ELEMent <x> <Space> <x> <x> EXTernal NONE <NRf> CFACtor <Space> NULL <Space> <NRf> POVer : I N P u t ? ELEMENT4 OFF;ELEMENT5 OFF; ELEMENT6 OFF;:INPUT:SCALING: Function Queries all settings related to the input element. STATE:ELEMENT1 0;ELEMENT2 0;...
  • Page 83 5.11 INPut Group [ : I N P u t ] : C U R R e n t ? • When the crest factor is set to 3 • For a 5-A input element Function Queries all settings related to the current <Current>...
  • Page 84 5.11 INPut Group • When the crest factor is set to 6 [:INPut]:CURRent:TERMinal? • For a 5-A input element Function Queries the current measurement terminal of all <Current> = 5, 10, 25, 50, 100, 250 (mA), elements. 0.5, 1, 2.5 (A) (when TERMinal = DIRect) Syntax [:INPut]:CURRent:TERMinal? <Current>...
  • Page 85 5.11 INPut Group [ : I N P u t ] : F I L T e r [ : L I N E ] [ : A L L ] [ : I N P u t ] : M O D U l e ? Function Collectively sets the line filters of all elements.
  • Page 86 5.11 INPut Group [ : I N P u t ] : S C A L i n g : { P T | C T | S F A C t o r } ? [ : I N P u t ] : S C A L i n g [ : S T A T e ] : E L E M e n t < x > Function Queries the {Voltage|Current|Power} Function...
  • Page 87 • Certain combinations of wiring systems are not selectable depending on the model type. For the combinations of wiring systems, see the WT1600 User’s Manual. • For a 1-element model, ΣA is fixed to P1W2 and ΣA and ΣB cannot be specified.
  • Page 88: Integrate Group

    5.12 INTEGrate Group The commands in this group deal with integration. Excluding a section of the commands, you can make the same settings and inquiries as when START, STOP, RESET (SHIFT+STOP), and INTEG SET(SHIFT+START) of the INTEGRATOR group on the front panel are used. :INTEGrate MODE <Space>...
  • Page 89 :INTEGRATE:CURRENT:ELEMENT1? -> • Example during real-time normal integration :INTEGRATE:CURRENT:ELEMENT1 RMS mode with individual element integration set Description The WT1600 operates according to the current to ON mode of the current integration of each element :INTEGRATE? -> :INTEGRATE: regardless of whether the individual element MODE RNORMAL;CURRENT:...
  • Page 90 5.12 INTEGrate Group :INTEGrate:MODE :INTEGrate:RTIMe<x>:{STARt|END} Function Sets the integration mode or queries the current Function Sets the integration {start|stop} time for real-time setting. integration mode or queries the current setting. Syntax :INTEGrate:MODE {NORMal|CONTinuous| Syntax :INTEGrate:RTIMe<x>:{STARt| RNORmal|RCONtinuous} END} {<NRf>,<NRf>,<NRf>,<NRf>, :INTEGrate:MODE? <NRf>,<NRf>} NORMal = Normal integration mode :INTEGrate:RTIMe<x>:{STARt|END}? CONTinuous = Continuous integration mode...
  • Page 91 5.12 INTEGrate Group :INTEGrate:STATe? :INTEGrate:TIMer<x> Function Queries the integration condition. Function Sets the integration timer time or queries the Syntax :INTEGrate:STATe? {<NRf>} current setting. <NRf> = 1 to 6 (element to be queried) Syntax :INTEGrate:TIMer<x> {<NRf>,<NRf>, Example :INTEGRATE:STATE? 1 -> RESET (Query <NRf>} :INTEGrate:TIMer<x>? the specified element)
  • Page 92: Measure Group

    5.13 MEASure Group The commands in this group deal with measurements. You can make the same settings and inquiries as when MEASURE, AVG, and MAX HOLD (SHIFT+LOCAL) on the front panel is used. :MEASure AVERaging STAT e <Space> <NRf> TYPE <Space>...
  • Page 93 Description This command is valid only during normal MEASURE:FUNCTION4:STATE 0; measurement. For details on the averaging EXPRESSION "IPPK(E1)";UNIT "A";: coefficient (attenuation constant) during MEASURE:DMEASURE:OBJECT SIGMA; harmonic measurement, see the WT1600 TYPE OFF;:MEASURE:SFORMULA RMS; User’s Manual. PC:IEC 1976;P1 0.5000;P2 0.5000;: MEASURE:PHASE 180; :MEASure:AVERaging[:STATe] SYNCHRONIZE MASTER;MHOLD 0...
  • Page 94 5.13 MEASure Group :MEASure:DMeasure? :MEASure:FREQuency:ITEM Function Queries all settings related to the delta Function Sets the frequency measurement item or computation. queries the current setting. Syntax :MEASure:DMeasure? Syntax :MEASure:FREQuency:ITEM {(U<x>| Example :MEASURE:DMEASURE? -> :MEASURE: I<x>|NONE)[,(U<x>|I<x>|NONE)] DMEASURE:OBJECT SIGMA;TYPE OFF [,(U<x>|I<x>|NONE)]} :MEASure:FREQuency:ITEM? :MEASure:DMeasure:OBJect <x>...
  • Page 95 5.13 MEASure Group :MEASure:FUNCtion<x>:UNIT :MEASure:PC:P<x> Function Sets the unit to be added to the computation Function Sets the parameter used to calculate Pc result of the user-defined function or queries the (Corrected Power) or queries the current current setting. setting. Syntax :MEASure:FUNCtion<x>: Syntax...
  • Page 96: Motor Group

    5.14 MOTor Group The commands in this group deal with the motor evaluation function. You can make the same settings and inquiries as when MOTOR SET (SHIFT+RANGE) on the front panel is used. However, the commands in this group are valid only when the motor evaluation function (/MTR option) is installed. :MOTor SPEed RANGe...
  • Page 97 5.14 MOTor Group SYNChroniz e <Space> <x> <x> EXTernal NONE :MOTor? :MOTor:PM:UNIT Function Queries all settings related to the motor Function Sets the unit to add to the motor output evaluation function. computation result or queries the current Syntax :MOTor? setting.
  • Page 98 5.14 MOTor Group :MOTor:SPEed:PULSe :MOTor:SPEed:UNIT Function Sets the pulse count of the revolution sensor Function Sets the unit to add to the rotating speed signal input (pulse input) or queries the current computation result or queries the current setting. setting. Syntax :MOTor:SPEed:PULSe {<NRf>} Syntax...
  • Page 99 5.14 MOTor Group :MOTor:TORQue:SCALing Function Sets the scaling factor for torque computation or queries the current setting. Syntax :MOTor:TORQue:SCALing {<NRf>} :MOTor:TORQue:SCALing? <NRf> = 0.0001 to 99999.9999 Example :MOTOR:TORQUE:SCALING 1 :MOTOR:TORQUE:SCALING? -> :MOTOR: TORQUE:SCALING 1.0000 :MOTor:TORQue:UNIT Function Sets the unit to add to the torque computation result or queries the current setting.
  • Page 100: Numeric Group

    5.15 NUMeric Group The commands in this group deal with 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> NUMber <Space> <NRf> ITEM <x> <Space>...
  • Page 101 5.15 NUMeric Group :NUMeric? :NUMeric:HARMonics? Function Queries all settings related to the numerical Function Queries all settings related to the numerical data output. data output for harmonic measurement. Syntax :NUMeric? Syntax :NUMeric:HARMonics? Example • Example for normal measurement Example :NUMERIC:HARMONICS? -> :NUMERIC: :NUMERIC? ->...
  • Page 102 5.15 NUMeric Group :NUMeric:HARMonics:NUMber :NUMeric:LIST? Function Sets the number of the numerical data that is Function Queries all settings related to the numerical transmitted by “:NUMeric:HARMonics: data list output for harmonic measurement. VALue?” or queries the current setting. Syntax :NUMeric:LIST? Syntax :NUMeric:HARMonics:NUMber {<NRf>| Example...
  • Page 103 5.15 NUMeric Group :NUMeric:LIST:VALue? :NUMeric[:NORMal]:ITEM<x> Function Queries the numerical data list for harmonic Function Sets the numerical data output items for normal measurement. measurement or queries the current setting. Syntax :NUMeric:LIST:VALue? Syntax :NUMeric[:NORMal]:ITEM<x> {NONE| Example • Example in which “:NUMeric:FORMat” is set <Function>,<Element>} :NUMeric[:NORMal]:ITEM<x>? to “ASCii”...
  • Page 104 5.15 NUMeric Group :NUMeric[:NORMal]:VALue? (2) Error Data • Data does not exist (display: “————”) Function Queries the numerical data for normal ASCII: “NAN” (Not A Number) measurement. FLOAT: 0x7E951BEE(9.91E+37) Syntax :NUMeric[:NORMal]:VALue? {|<NRf>} • Over the range (display: “—O L—”) <NRf> = 1 to 255 (item number) •...
  • Page 105 5.15 NUMeric Group 81 to 89 URMS to FI, SIGMC 61 to 79 URMS to IMPeak, 4 NONE NONE 91 to 255 NONE 81 to 99 URMS to IMPeak, 5 NONE • Pattern 2 101 to 119 URMS to IMPeak, 6 ITEM<x>...
  • Page 106 5.15 NUMeric Group LAMBda, PHI, 11 to 20 U to FI, TOTal to 1 21 to 30 U to FI, TOTal to 1 31 to 40 U to FI, TOTal to 1 21 to 40 U to FI, TOTal to 1 41 to 50 U to FI, TOTal to 1...
  • Page 107: Rate Group

    Description • This command is valid only during normal measurement. • For details on the data update rate during harmonic measurement, see the WT1600 User’s Manual. 5.17 STATus Group The commands in the STATus group are used to make settings and inquiries related to the status report.
  • Page 108 5.17 STATus Group :STATus? :STATus:FILTer<x> Function Queries all settings related to the Function Sets the transition filter or queries the current communication status function. setting. Syntax :STATus? Syntax :STATus:FILTer<x> {RISE|FALL|BOTH| Example :STATUS? -> :STATUS:EESE 0;FILTER1 NEVer} NEVER;FILTER2 NEVER;FILTER3 NEVER; :STATus:FILTer<x>? FILTER4 NEVER;FILTER5 NEVER;...
  • Page 109: Store Group

    5.18 STORe Group The commands in this group deal with store and recall. You can make the same settings and inquiries as when STORE and STORE SET (SHIFT+STORE) on the front panel is used. :STORe MODE <Space> STORe RECall STARt STOP DIRection <Space>...
  • Page 110 5.18 STORe Group WAVE <Space> <NRf> <x> <Space> <x> SPEed <NRf> TORQue MEMor y CONVer t EXECute ABORt INITializ e FILE ANAMing <Space> <NRf> NAME <Space> <Filename> COMMent <Space> <String> RECall <Space> <NRf> :STORe? :STORe:DIRection Function Queries all settings related to store and recall. Function Sets the store destination or queries the current Syntax...
  • Page 111 5.18 STORe Group :STORe:FILE:COMMent :STORe:MEMory:CONVert:EXECute Function Sets the comment to be added to the file when Function Executes the converting of the stored data from saving the stored data or queries the current the memory to the file. setting. Syntax :STORe:MEMory:CONVert:EXECute Syntax :STORe:FILE:COMMent {<String>}...
  • Page 112 Syntax :STORe:NUMeric:NORMal:PRESet<x> <x> = 1 to 2 (preset pattern number) Example :STORE:NUMERIC:NORMAL:PRESET1 Description For details on the storage pattern when preset is executed, see the WT1600 User’s Manual. 5-78 IM 760101-11E...
  • Page 113 Sets the data number to be recalled or queries Description When “:STORe:SMODe” is set to MANual, the the current setting. store operation is executed. When set to Syntax :STORe:RECall {<NRf>} {RTIMe|INTEGrate} the WT1600 enters the :STORe:RECall? store wait state. <NRf> = 1 to 999999 Example :STORE:RECALL 1 :STORe:STOP :STORE:RECALL? ->...
  • Page 114: System Group

    5.19 SYSTem Group The commands in this group deal with the system. You can make the same settings and inquiries as when MISC on the front panel is used. :SYSTem DATE <Space> <String> TIME <Space> <String> LANGuage <Space> JAPANese ENGLish CHINese BRIGhtness <Space>...
  • Page 115 5.19 SYSTem Group :SYSTem:LANGuage :SYSTem:LCD:COLor:GRAPh:{BACKground| GRATicule|CURSor|U<x>|I<x>} Function Sets the message language or queries the current setting. Sets the display color of the {background| Function Syntax :SYSTem:LANGuage graticule|cursor|voltage waveform| {JAPANese|ENGLish|CHINese} current waveform} or queries the current :SYSTem:LANGuage? setting. Example :SYSTEM:LANGUAGE ENGLISH Syntax :SYSTem:LCD:COLor:GRAPh: :SYSTEM:LANGUAGE? ->...
  • Page 116 Description • An error occurs if the SCSI interface (option) items (:SYSTem:LCD:COLor:TEXT:MODE) is set is not installed. to “USER.” • If you changed the SCSI-ID of the WT1600 using the “:SYSTem:SCSI:OWNid” :SYSTem:LCD:COLor:TEXT:MODE command, make sure to issue this command. Function...
  • Page 117: Waveform Group

    5.20 WAVeform Group The commands in this group deal with the output of the retrieved waveform display data. There are no front panel keys that correspond to the commands in this group. :WAV eform TRACe <Space> <x> <x> SPEed TORQue FORMat <Space>...
  • Page 118 5.20 WAVeform Group :WAVeform:LENGth? :WAVeform:TRACe Function Queries the total number of points of the Function Sets the target waveform for the WAVeform: SEND and WAVeform:LENGth commands or waveform specified by “:WAVeform:TRACe”. Syntax :WAVeform:LENGth? queries the current setting. Example :WAVEFORM:LENGTH? -> 1002 Syntax :WAVeform:TRACe {U<x>|I<x>|SPEed| Description The number of data points is fixed.
  • Page 119: Wsetup (Wave Setup) Group

    5.21 WSETup (Wave SETup) Group The commands in this group deal with waveform observation. You can make the same settings and inquiries as when WAVE on the front panel is used. :WSETup SAMPling <Space> <NRf> TDIV <Space> <Time> TRIGg er MODE <Space>...
  • Page 120 5.21 WSETup (Wave SETup) Group :WSETup? :WSETup:TDIV Function Queries all settings related to the waveform Function Sets the Time/div value of the waveform or observation. queries the current setting. Syntax :WSETup? Syntax :WSETup:TDIV {<Time>} Example :WSETUP? -> :WSETUP:SAMPLING 0; :WSETup:TDIV? TDIV 500.0E-06;TRIGGER:MODE AUTO;...
  • Page 121 :WSETup:VZoom:{UALL|IALL} Function Collectively sets the vertical zoom factor of the waveform {voltage|current} of all elements. Syntax :WSETup:VZoom:{UALL|IALL} {<NRf>} <NRf> = 0.1 to 100 (see the WT1600 User’s Manual) Example :WSETUP:VZOOM:UALL 1 :WSETup:VZoom:{U<x>|I<x>} Function Sets the vertical zoom factor of the waveform {voltage|current} of the element or queries the current setting.
  • Page 122: Common Command Group

    5.22 Common Command Group The commands in the common group are defined in the IEEE488.2-1987 and are independent of the instrument’s functions.There are no front panel keys that correspond to the commands in this group. *CAL *CLS *ESE <Space> <NRf> *ESR *IDN *OPC...
  • Page 123 Function Queries the instrument model. • Standard event enable register Syntax *IDN? • Extended event enable register Example *IDN? -> YOKOGAWA,760101-60,0,F1.01 • Transition filter Description The information is returned in the following form: Syntax *PSC {<NRf>} <Manufacturer>,<Model>,<Serial *PSC? No.>,<Firmware version>In actuality, <Serial <NRf>...
  • Page 124 5.22 Common Command Group *SRE (Service Request Enable register) *TST? (TeST) Function Sets the service request enable register or Function Performs a self-test and queries the result. Syntax *TST? queries the current setting. Syntax *SRE <NRf> Example *TST? -> 0 *SRE? Description •...
  • Page 125: Chapter 6 Status Report

    Chapter 6 Status Report 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 126: Status Byte

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

    6.2 Status Byte/6.3 Standard Event Register Standard Event Register Operation of the Status Byte A service request is issued when bit 6 of the status byte becomes “1”. Bit 6 becomes “1” when any of the Overview of the Standard Event Register other bits becomes “1”...
  • Page 128: Extended Event Register

    6.3 Standard Event Register/6.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 read by the *ESR command. After completion of the different kinds of event which can occur inside the instrument.
  • Page 129: Output Queue And Error Queue

    6.4 Extended Event Register/6.5 Output Queue and Error Queue Bit 12 OVR5 Set to “1” when the voltage or current of element 5 is over the range. (Element4 Measured Data Over) Bit 13 OVR6 Set to “1” when the voltage or current of element 6 is over the range. (Element6 Measured Data Over) Bit 14 OVRM...
  • Page 130: Chapter 7 Sample Program

    Standard modules used: Niglobal.bas Vbib-32.bas Setting the WT1600 GP-IB The sample programs given in this chapter use a GP-IB address of 1 for the WT1600. Set the GP-IB address to 1 according to the procedures on page 1-5. IM 760101-11E...
  • Page 131: Sample Program Image

    Sample Program Image IM 760101-11E...
  • Page 132: Initialization, Error, And Functions For Execution

    Initialization, Error, and Functions for Execution ---------------------------------------------------------------------------------------- Option Explicit Dim StartFlag As Integer 'Start Flag Dim addr As Integer 'GPIB Address Dim Timeout As Integer 'Timeout Dim Dev As Integer 'Device ID(GPIB) Dim term As String 'Terminator Dim Query(1100) As String 'Query String Dim Dummy As Integer ----------------------------------------------------------------------------------------...
  • Page 133 7.3 Initialization, Error, and Functions for Execution ElseIf (ern = ETAB) Then ers = "ETAB:The return buffer is full" ElseIf (ern = ELCK) Then ers = "ELCK:Address or board is locked" Else ers = "" End If Else ers = "" End If MsgBox ("Status No.
  • Page 134 7.3 Initialization, Error, and Functions for Execution If (sts = 0) Then Text1.Text = "END" Else Text1.Text = "ERROR" End If StartFlag = 0 End Sub ---------------------------------------------------------------------------------------- Private Sub Command5_Click() Dim sts As Integer If (StartFlag = 1) Then Exit Sub End If StartFlag = 1 Text1.Text = "START"...
  • Page 135: Output Of Normal Measurement Data

    Output of Normal Measurement Data <Continued from bottom left> GpibNormal() Initializes variables Measured values loaded and displayed 10 times? Displays "Now Initializing" message. Displays the "All end" message. Shifts focus 1 line down. Cuts the GPIB connection. Instructs to wait for Initializes GPIB WT data update.
  • Page 136 7.4 Output of Normal Measurement Data Sample1(GPIB) Get Normal Data ---------------------------------------------------------------------------------------- Private Function GpibNormal() As Integer Dim msg As String 'Command buffer Dim qry As String 'Query buffer Dim sts As Integer Dim item As Integer Dim comma As Integer Dim length As Integer Dim cnt As Integer term = Chr$(10)
  • Page 137 7.4 Output of Normal Measurement Data List1.Clear 'Read and display the numerical data (It is repeated 10 times in this program) For cnt = 1 To 10 'Wait for the completion of the data updating msg = "COMMUNICATE:WAIT 1" + term sts = ilwrt(Dev, msg, Len(msg)) 'Send Command If (sts <...
  • Page 138 7.4 Output of Normal Measurement Data IM 760101-11E...
  • Page 139: Output Of Harmonic Measurement Data

    Output of Harmonic Measurement Data GpibHarmonics() Sets the output format to ASCII. Initializes variables Setting successful? Displays “Now Initializing” message. Sets the numerical data list output Initializes GPIB item to U1, and the numeric data list output max. order to 100. GPIB initialization successful? Setting successful?
  • Page 140 7.5 Output of Harmonic Measurement Data Sample2(GPIB) Get Harmonics Data ---------------------------------------------------------------------------------------- Private Function GpibHarmonics() As Integer Dim msg As String 'Command buffer Dim qry As String 'Query buffer Dim sts As Integer Dim wait As Integer Dim item As Integer Dim comma As Integer Dim length As Integer term = Chr$(10)
  • Page 141 7.5 Output of Harmonic Measurement Data If (sts < 0) Then Call DisplayGPIBError(sts, msg) GpibHarmonics = 1 Exit Function End If 'Wait for the completion of the data updating msg = "COMMUNICATE:WAIT 1" + term sts = ilwrt(Dev, msg, Len(msg)) 'Send Command If (sts <...
  • Page 142 7.5 Output of Harmonic Measurement Data 7-13 IM 760101-11E...
  • Page 143: Output Of Waveform Data (Ascii Format)

    Output of Waveform Data (ASCII Format) <Continued from bottom left> GpibWaveAscii() 1002 data displayed? Cuts the GP-IB Initializes variables connection. Sets the start and end points for output of waveform display data (10 data's worth). Loads measured values from the WT. Initializes GP-IB End (return value = 0) Setting...
  • Page 144 7.6 Output of Waveform Data (ASCII Format) Sample3(GPIB) Get Wave Data (ASCII) ---------------------------------------------------------------------------------------- Private Function GpibWaveAscii() As Integer Dim msg As String 'Command buffer Dim qry As String 'Query buffer Dim sts As Integer Dim wait As Integer Dim pntl As Integer Dim num As Integer Dim i As Integer Dim j As Integer...
  • Page 145 7.6 Output of Waveform Data (ASCII Format) 'Set conditions for reading the waveform 'ASCII format, Trace = U1 msg = "WAVEFORM:TRACE U1;FORMAT ASCII" + term sts = ilwrt(Dev, msg, Len(msg)) 'Send Command If (sts < 0) Then Call DisplayGPIBError(sts, msg) GpibWaveAscii = 1 Exit Function End If...
  • Page 146: Output Of Waveform Data (Float Format)

    Output of Waveform Data (FLOAT Format) <Continued from bottom left> GpibWaveAscii() Sets the terminator to NONE. Initializes variables Setting successful? Initializes GP-IB Sets the start and end points for output GP-IB initialization of waveform display data (1002 data's worth). successful? Loads measured values from the WT.
  • Page 147 7.7 Output of Waveform Data (FLOAT Format) <Continued from bottom left> <Continued from previous page> Exponent calculation result = 0? 8 characters worth converted? Sets the mantissa to 0. Sets the mantissa to +1. Character prior to conversion is “0”? Calculates the floating point from the results of the mantissa Converts to binary “0000.”...
  • Page 148 7.7 Output of Waveform Data (FLOAT Format) Sample4(GPIB) Get Wave Data (FLOAT) ---------------------------------------------------------------------------------------- Private Function GpibWaveFloat() As Integer Dim msg As String Dim qry As String Dim wait As Integer Dim eos As Integer Dim w As String Dim a(8) As String Dim b(8) As String Dim buf As String Dim all As String...
  • Page 149 7.7 Output of Waveform Data (FLOAT Format) Call DisplayGPIBError(sts, msg) GpibWaveFloat = 1 Exit Function End If 'Wait for the completion of the data updating msg = "COMMUNICATE:WAIT 1" + term sts = ilwrt(Dev, msg, Len(msg)) 'Send Command If (sts < 0) Then Call DisplayGPIBError(sts, msg) GpibWaveFloat = 1 Exit Function...
  • Page 150 7.7 Output of Waveform Data (FLOAT Format) For l = 0 To 7 vale = vale + (2 ^ l) * Val(Mid$(stre, (8 - l), 1)) Next l w = Mid$(allb, 10, 23) For m = 1 To 23 valf = valf + (2 ^ (-m)) * Val(Mid$(w, m, 1)) Next m If (vale = 0) Then valf = 0 Else: valf = valf + 1 flo = ((-1) ^ valu) * (2 ^ (vale - 127)) * valf...
  • Page 151: Appendix 1 Ascii Character Code

    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 760101-11E...
  • Page 152: Appendix 2 Error Messages

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

    Appendix 3 Overview of IEEE 488.2-1987 The GP-IB interface provided with WT1600 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 155 Appendix 3 Overview of IEEE 488.2-1987 11 Size of data block of response data 1 to 308922 bytes 12 List of supported common commands Refer to Section 5.22 “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 *DDT trigger macro Not supported...
  • Page 156: Index

    Index data list ................5-68 DCL ..................1-6 address commands ............. 1-7 deadlock ................4-2 AOUTput group ..............5-12 default ................5-89 ASCII character codes ........... App-1 delta computation .............. 5-60 auto calibration ..............5-55 DISPlay group ..............5-20 automatically name ............5-35 drive ..................
  • Page 157 Index IDY ..................1-6 OFF-OFF ................2-5 IFC ..................1-6 options ................5-89 IMAGe Group ..............5-45 orders ................5-39 individual element integration ........... 5-56 overlap commands ............ 4-7, 5-15 initialization ............... 5-77 overlap enable register ............. 5-16 input filter ................5-63 INPut group ...............
  • Page 158 Index restarts ................5-29 timeout time ..............3-3, 3-4 retail software ..............3-4 torque meter signal ............5-64 revolution sensor ............... 5-63 trademark ................i RMT ..................4-1 transition filter ............5-74, 6-4 rotating speed ..............5-64 trend .................. 5-26 RS-232 ................
  • Page 159 Index *TRG ................. 5-90 :DISPlay:TRENd:NORMal? ..........5-28 *TST? ................5-90 :DISPlay:TRENd:PDIV ............5-29 *WAI .................. 5-90 :DISPlay:TRENd:RESTart ..........5-29 :AOUTput:HARMonics:CHANnel<x> ........ 5-12 :DISPlay:TRENd:T<x> ............5-29 :AOUTput:HARMonics? ............ 5-12 :DISPlay:TRENd:TDIV ............5-29 :AOUTput:NORMal? ............5-13 :DISPlay:TRENd? ............. 5-26 :AOUTput? ................ 5-12 :DISPlay:TRENd[:SAMPling] ..........
  • Page 160 Index :FILE:SAVE:NUMeric:NORMal:<Normal measurement :IMAGe:SEND? ..............5-45 function ................. 5-37 :IMAGe? ................5-45 :FILE:SAVE:NUMeric:NORMal:ALL ........5-36 :INPut? ................5-48 :FILE:SAVE:NUMeric:NORMal:PRESet<x> ...... 5-37 :INTEGrate:ACAL ............. 5-55 :FILE:SAVE:NUMeric:NORMal? ........5-36 :INTEGrate:CURRent:ELEMent<x> ........5-55 :FILE:SAVE:NUMeric:TYPE ..........5-37 :INTEGrate:CURRent? ............. 5-55 :FILE:SAVE:NUMeric? ............5-36 :INTEGrate:CURRent[:ALL] ..........5-55 :FILE:SAVE:NUMeric[:EXECute] ........
  • Page 161 Index :MOTor? ................5-63 :STORe:STARt ..............5-79 :NUMeric:FORMat ............5-67 :STORe:STOP ..............5-79 :NUMeric:HARMonics:CLEar ..........5-67 :STORe:WAVE: ..............5-79 :NUMeric:HARMonics:ITEM<x> ........5-67 :STORe:WAVE:ALL ............5-79 :NUMeric:HARMonics:NUMber ......... 5-68 :STORe:WAVE? ..............5-79 :NUMeric:HARMonics:PRESet ......... 5-68 :STORe? ................5-76 :NUMeric:HARMonics:VALue? .......... 5-68 :SYSTem:DATE ..............
  • Page 162 Index [:INPut]:CURRent:SRATio? ..........5-50 [:INPut]:CURRent:SRATio[:ALL] ........5-50 [:INPut]:CURRent:TERMinal:ELEMent<x> ....... 5-50 [:INPut]:CURRent:TERMinal? ........... 5-50 [:INPut]:CURRent:TERMinal[:ALL] ........5-50 [:INPut]:CURRent? ............5-49 [:INPut]:FILTer:LINE? ............5-50 [:INPut]:FILTer:ZCRoss:ELEMent<x> ....... 5-51 [:INPut]:FILTer:ZCRoss? ........... 5-51 [:INPut]:FILTer:ZCRoss[:ALL] ..........5-51 [:INPut]:FILTer? ..............5-50 [:INPut]:FILTer[:LINE]:ELEMent<x> ........5-51 [:INPut]:FILTer[:LINE][:ALL] ..........5-51 [:INPut]:MODUle? .............

Table of Contents