Fluke Norma 4000 User Manual
Fluke Norma 4000 User Manual

Fluke Norma 4000 User Manual

Guide for remote control for power analyzer
Hide thumbs Also See for Norma 4000:
Table of Contents

Advertisement

Quick Links

®
Remote Control
For NORMA 4000/5000 Power Analyzer
Users Guide
June 2007 Rev.1, 6/10
© 2007, 2010 Fluke Corporation. All rights reserved. Specifications subject to change without notice.
All product names are trademarks of their respective companies.

Advertisement

Table of Contents
loading

Summary of Contents for Fluke Norma 4000

  • Page 1 ® Remote Control For NORMA 4000/5000 Power Analyzer Users Guide June 2007 Rev.1, 6/10 © 2007, 2010 Fluke Corporation. All rights reserved. Specifications subject to change without notice. All product names are trademarks of their respective companies.
  • Page 2 Product, even if Fluke has been advised of the possibility of such damages.
  • Page 3: Table Of Contents

    Table of Contents Chapter Title Page Remote Control Basics ............... 1-1 Introduction......................1-3 Getting Started ....................1-3 Assumptions ....................1-3 Procedure....................... 1-3 Switchover to Remote Control................1-4 Indications during Remote Control..............1-4 Return to Manual Operation ................1-5 Manually......................1-5 Remotely .......................
  • Page 4 Remote Control Users Guide Data Set and Instrument Hardware..............1-13 Status Reporting System................1-13 Output Unit....................1-13 Command Sequence and Command Synchronization........1-14 Status Reporting System..............2-1 Introduction......................2-3 Structure of an SCPI Status Register ..............2-3 Overview of the Status Registers............... 2-5 Description of Status Registers................
  • Page 5 Contents (continued) INPut Subsystem ................... 4-32 OUTPut Subsystem ..................4-35 ROUTe Subsystem ..................4-36 SENSe Subsystem ..................4-37 SENSe2 Subsystem (Option Process Interface) ..........4-51 SOURce Subsystem (Option Process Interface) ........... 4-61 SYNC Subsystem ..................4-64 TIMer Subsystem ..................4-68 TRACe Subsystem ..................
  • Page 6 Remote Control Users Guide...
  • Page 7 List of Tables Table Title Page 1-1. Synchronization by means of *OPC, *OPC? and *WAI ........1-14 2-1. Status Register Bits ....................2-6 2-2. Event Status Register Bits ..................2-7 2-3. STATus.OPERation Register Bits ................. 2-8 2-4. STATus:QUEStionable Register Bits ..............2-9 2-5.
  • Page 8 Remote Control Users Guide...
  • Page 9 List of Figures Figure Title Page 1-1. Tree Structure of SCPI Command Systems Using INPut system as Example..1-7 1-2. Device Model for Remote Control via the Remote Control Interface....1-12 2-1. Status Register Model .................... 2-3 2-2. Minimum Reporting Structure Required by SCPI ..........2-5 3-1.
  • Page 10 Remote Control Users Guide viii...
  • Page 11: Remote Control Basics

    Chapter 1 Remote Control Basics Title Page Introduction......................1-3 Getting Started ....................1-3 Assumptions ....................1-3 Procedure....................... 1-3 Switchover to Remote Control................1-4 Indications during Remote Control..............1-4 Return to Manual Operation ................1-5 Manually......................1-5 Remotely ....................... 1-5 Commands and Instrument Responses .............. 1-5 Commands.....................
  • Page 12 Remote Control Users Guide Output Unit....................1-13 Command Sequence and Command Synchronization........1-14...
  • Page 13: Introduction

    Windows operating system. 3. If you have never used/configured your HyperTerminal before: • In the displayed window Connection Description type into Name: Fluke and press OK. • In the next displayed window Connect To select in Connect using: COM1 (or other if you use other com port) and press OK.
  • Page 14: Switchover To Remote Control

    This will get things back in order). 6. The instrument will return the identification string, for example: Fluke,NORMA4000,KN34512BA,01.00 7. In the main (white) window, type DATA? “POW” and press Enter. This will instruct the instrument to return last valid power measurement.
  • Page 15: Return To Manual Operation

    Remote Control Basics Return to Manual Operation Return to Manual Operation Return to manual operation can be made via the front panel or the IEC/IEEE bus. Manually Press [LOCAL] key Note • Before switchover, command processing must be completed as otherwise switchover to remote control is effected immediately.
  • Page 16: Device Responses

    Remote Control Users Guide Device Responses Device responses are messages the instrument sends to the controller in reply to a query. They may contain measurement results or information on the instrument status. The structure and syntax of device messages are described in the following section. Structure and Syntax of Device Messages Introduction to SCPI SCPI (Standard Commands for Programmable Instruments) describes a standard...
  • Page 17: Optional Key Word

    Remote Control Basics Structure and Syntax of Device Messages Example :SYSTem This key word denotes the :SYSTem command system. For commands of lower levels, the complete path has to be specified, starting on the left with the highest level, the individual key words being separated by a colon ":".
  • Page 18: Long And Short Form

    Remote Control Users Guide Long and Short Form Example STATus:QUEStionable:ENABle 1 STAT:QUES:ENAB 1 Note The short form is characterized by upper-case letters, the long form corresponds to the complete word. Upper-case and lower-case notation only serve the above purpose, the device itself does not make any difference between upper-case and lower-case letters.
  • Page 19: Responses To Queries

    Remote Control Basics Structure and Syntax of Device Messages If the successive commands belong to the same system and have one or several levels in common, the command line can be abbreviated. To this end, the second command (after the semicolon) is started with the level that lies below the common levels (see also Figure 1-1).
  • Page 20: Parameters

    Remote Control Users Guide Example INPut:SHUNt? Response: EXT 5. If there are multiple queries in the command line, the responses are returned in the same order as the queries. The responses are separated by a semicolon. Example INPut:FILTer:STATe?;:INPut:FILTer:LPASs:FREQuency? Response: 1;1.0E+04 Parameters Most commands require a parameter to be specified.
  • Page 21: Strings

    Remote Control Basics Instrument Model and Command Processing Strings Strings must always be entered in inverted commas (’ or "). Example ROUTe:SYSTem "3W" ROUTe:SYSTem ’3W’ Block data Block data are a transmission format that is suitable for the transmission of large amounts of data from the instrument to the controller.
  • Page 22: Input Unit

    Remote Control Users Guide Input unit Interface with input buffer Command recognition Data set Status reporting system Instrument hardware Output unit Interface with output buffer eya002.eps Figure 1-2. Device Model for Remote Control via the Remote Control Interface Input Unit The input unit receives commands, character by character, from the interface and stores them in the input buffer.
  • Page 23: Data Set And Instrument Hardware

    Remote Control Basics Instrument Model and Command Processing Syntactic errors in commands are detected here and transferred to the status reporting system. The rest of a command line following a syntax error is further analyzed and processed as far as possible. If the command recognition recognizes a terminator or a DCL (GPIB only) command, it requests the data set to set the commands now also in the instrument hardware.
  • Page 24: Command Sequence And Command Synchronization

    Remote Control Users Guide Command Sequence and Command Synchronization As mentioned above, overlapping execution is possible for all commands. Likewise, the setting commands of a command line are not necessarily processed in the order they are received. To ensure that commands are carried out in a specific order, each command must be sent in a separate command line with a separate viWrite (viPrintf, viQueryf) call.
  • Page 25: Status Reporting System

    Chapter 2 Status Reporting System Title Page Introduction......................2-3 Structure of an SCPI Status Register ..............2-3 Overview of the Status Registers............... 2-5 Description of Status Registers................2-6 Status Byte (STB) and Service Request Enable Register (SRE) ....2-6 Event Status Register (ESR) and Event Status Enable Register (ESE)..2-7 Application of the Status Reporting System ............
  • Page 26 Remote Control Users Guide...
  • Page 27: Introduction

    Status Reporting System Introduction Introduction The status reporting system stores all information on the current operating state of the instrument, for example on any errors that have occurred. This information is stored in status registers and in an error queue. The status registers and the error queue can be queried via the IEC/IEEE bus.
  • Page 28 Remote Control Users Guide CONDition part The CONDition part is directly written to by the hardware or the sum bit of the next lower register. Its contents reflect the current instrument status. This register part can be read only but not written to or cleared. Reading does not affect the contents.
  • Page 29: Overview Of The Status Registers

    Status Reporting System Overview of the Status Registers Note The service request enable (SRE) register defined in IEEE 488.2 can be taken as the ENABle part of the STB if the STB is structured in accordance with SCPI. Likewise, the ESE can be taken as the ENABle part of the ESR. Overview of the Status Registers QUEStionable: VOLTage INPut2 overload...
  • Page 30: Description Of Status Registers

    Remote Control Users Guide Description of Status Registers Status Byte (STB) and Service Request Enable Register (SRE) The STB is already defined in IEEE 488.2. It provides a rough overview of the instrument status by collecting the pieces of information of the lower registers. It can be compared with the CONDition part of an SCPI register and assumes the highest level within the SCPI hierarchy.
  • Page 31: Event Status Register (Esr) And Event Status Enable Register (Ese)

    Status Reporting System Description of Status Registers Event Status Register (ESR) and Event Status Enable Register (ESE) The ESR is already defined in IEEE 488.2. It can be compared with the EVENt part of an SCPI register. The event status register can be read using the command *ESR?. The ESE is the associated ENABle part.
  • Page 32 Remote Control Users Guide Table 2-3. STATus.OPERation Register Bits Bit No. Description 0 to 1 These bits are not used. RANGing This bit is set while the instrument is changing range on input channels when in autorange mode. SWEeping When memory recording is in progress this bit is set to 1. When filling pretrigger or waiting for trigger this bit is not set.
  • Page 33 Status Reporting System Description of Status Registers Table 2-4. STATus:QUEStionable Register Bits Bit No. Description QUEStionable:VOLTage Register Summary. QUEStionable:CURRent Register Summary. 2 to 4 These bits are not used. FREQuency. The bit is set if frequency measurement is invalid due to poor signal quality. 6 to 14 These bits are not used.
  • Page 34: Application Of The Status Reporting System

    Remote Control Users Guide Table 2-6. STATus:QUEStionable:VOLTage Register Bits Bit No. Description INPut2 OVERrange INPut4 OVERrange INPut6 OVERrange INPut8 OVERrange INPut10 OVERrange INPut12 OVERrange 6 to 7 These bits are not used. INPut2 UNDERrange INPut4 UNDERrange INPut6 UNDERrange INPut8 UNDERrange INPut10 UNDERrange INPut12 UNDERrange This bit is not used.
  • Page 35: Serial Poll (Gpib Only)

    Status Reporting System Application of the Status Reporting System Indicating the end of an averaging cycle by an SRQ via bit 10 in the STATus OPERation Register. While waiting for the SRQ the program may perform other tasks. • Set bit 7 in the SRE (summary bit of STATus:OPERation Register) •...
  • Page 36 Remote Control Users Guide supply voltage Effect (Device Clear, Selected Device Clear) Clear STB,ESR Clear SRE,ESE Clear EVENTt parts of the Registers Clear Enable parts of all OPERation and QUEStionable registers Fill PTRansition parts with 1, Clear NTRansition parts Clear error queue Clear output buffer Clear command processing and...
  • Page 37: Hardware Interfaces

    Chapter 3 Hardware Interfaces Title Page Introduction......................3-3 IEC/IEEE-Bus Interface (GPIB) - optional ............3-3 Characteristics of Interface................3-3 Bus Lines .......................3-3 Interface Functions ..................3-5 Interface Messages ..................3-5 Universal Commands ..................3-5 Addressed Commands ...................3-6 RS-232-C Interface ....................3-6 Characteristics of Interface................3-6 Signal Lines ....................3-7 Transmission Parameters................3-8 Interface Functions ..................3-8 Handshake .....................3-8...
  • Page 38 Remote Control Users Guide...
  • Page 39: Introduction

    Hardware Interfaces Introduction Introduction By default, the instrument is equipped with RS-232 interface. As an option, the instrument can also be equipped with IEC/IEEE-Bus Interface (GPIB). IEC/IEEE-Bus Interface (GPIB) - optional The instrument is optionally equipped with an IEC/IEEE-bus interface. The connector to IEEE 488 is provided at the rear of the instrument, see Figure 3-1.
  • Page 40 Remote Control Users Guide Active LOW resets the interfaces of the instruments connected to the default setting. (Attention): Active LOW signals the transmission of interface messages. Inactive HIGH signals the transmission of device messages. (Service Request): Active LOW enables the instrument to send a service request to the controller. (Remote Enable): Active LOW enables switchover to remote control.
  • Page 41: Interface Functions

    Hardware Interfaces IEC/IEEE-Bus Interface (GPIB) - optional Interface Functions Instruments that can be remote-controlled via the IEC/IEEE bus can be equipped with different interface functions. Table 3-1 lists the interface functions relevant for the instrument. Table 3-1. Interface Functions Control character Interface functions Handshake source function (Source Handshake).
  • Page 42: Addressed Commands

    Remote Control Users Guide Addressed Commands Addressed commands are in the code range 00 to 0F hex. They only act on instruments addressed as listeners. Table 3-3. Addressed Commands Command QuickBASIC command Effect on the instrument SDC (Selected Device Clear) IBCLR (device%) Aborts the processing of the commands just received and...
  • Page 43: Signal Lines

    Hardware Interfaces RS-232-C Interface 2 - TxD (transmit data to DTE/controller) 3 - RxD (receive data from DTE/controller) 4 - DSR 5 - GND 6 - DTR 7 - CTS (input from DTE/controller) 8 - RTS (output to DTE/controller) 9 - RI eya006.eps Figure 3-2.
  • Page 44: Transmission Parameters

    Remote Control Users Guide Transmission Parameters To ensure error-free and correct data transmission, the transmission parameters on the instrument and the controller must have the same settings. The settings are made in the General Setup screen of the instrument. Transmission rate Eight different baud rates can be set on the instrument (baud rate) 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200...
  • Page 45: Ieee 802.3 (Ethernet) - Optional

    Hardware Interfaces IEEE 802.3 (Ethernet) – Optional Hardware Handshake With a hardware handshake, the instrument signals readiness for reception via the lines DTR and RTS. A logic 0 identifies “ready,” a logic 1 identifies “not ready.” Whether or not the controller is ready for reception is signalled to the instrument via the CTS or the DSR line (see section, “Signal Lines”).
  • Page 46: Signal Lines

    Remote Control Users Guide 1 2 34 5 6 7 8 1 - TD + (Transmit Data Plus) 2 - TD (Transmit Data Minus) 3 - RD + (Receive Data Plus) (Receive Data Minus) eya009.eps Figure 3-4. Pin Assignment of IEEE 802.3 (Ethernet) Interface (RJ-45 Connector) Signal Lines TD + Transmit Data Plus: the positive signal for the TD differential pair contains the...
  • Page 47: Connection Settings

    Hardware Interfaces Universal Serial Bus (USB) - optional Connection Settings To control the instrument over ethernet interface, a TCP/IP connection must be established first, using these settings: IP address Internet Protocol address of the instrument (for example, 192.168.1.100). TCP port number Transmission Control Protocol port number. Currently, this is fixed to number 23 (which is assigned to “telnet”...
  • Page 48: Connection Settings

    Remote Control Users Guide Connection Settings To control the instrument over USB interface, a serial port connection must be established first, using the VCP (Virtual COM Port) name (for example, COM3) that is associated with the USB interface of the instrument. This VCP name can be found in the Windows device manager under “Ports (COM &...
  • Page 49: Remote Control - Description Of Commands

    Chapter 4 Remote Control - Description of Commands Title Page Introduction......................4-3 Common Commands ..................4-3 Measurement Functions..................4-5 Commands and Queries ..................4-11 ABORt Subsystem..................4-11 CALCulate Subsystem ..................4-12 DISPlay Subsystem ..................4-24 FORMat Subsystem..................4-26 Hardcopy Subsystem ..................4-29 INITiate Subsystem ..................4-30 INPut Subsystem ...................4-32 OUTPut Subsystem ..................4-35 ROUTe Subsystem ..................4-36 SENSe Subsystem ..................4-37 SENSe2 Subsystem (Option Process Interface) ..........4-51...
  • Page 50 Remote Control Users Guide...
  • Page 51: Introduction

    Remote Control - Description of Commands Introduction Introduction In this chapter, all commands implemented in the instrument are first listed in tables and then described in detail, arranged according to the command subsystems. The notation is adapted to the SCPI standard. The SCPI conformity information is included in the individual description of the commands.
  • Page 52 (0 to 255) and subsequently sets the register to zero. *IDN? IDENTIFICATION QUERY queries the instrument identification. The response is for example: "Fluke,NORMA4000,KN34512BA,01.00" KN34512BA = Serial number of the instrument 01.00 = Firmware version number *OPC OPERATION COMPLETE sets bit 0 in the event status register when all preceding commands have been executed.
  • Page 53: Measurement Functions

    Remote Control - Description of Commands Measurement Functions Measurement Functions The <function> is hiearchical measurement function indicating the type of averaged electrical quantity the instrument will be configured to measure. One value of <function> is calculated over one averaging cycle of the instrument. When using the [SENSe:]FUNCtion subsystem, multiple functions can be measured/calculated concurrently.
  • Page 54 Remote Control Users Guide The optional MINimum/MAXimum part of the function name specifies that extreme value of this function will be returned. After each averaging cycle, the new average value is compared against MIN/MAX registers, so the extreme values are acquired over many averaging cycles until they are reset with a specific command.
  • Page 55 Remote Control - Description of Commands Measurement Functions phase-to-phase VOLTage[12|23|31|45|56|64]:HCONTent[:MINimum|MAXimum] Voltage Harmonic Content phase-to-phase VOLTage[12|23|31|45|56|64]:FCONTent[:MINimum|MAXimum] Voltage Fundamental Content phase-to-phase VOLTage[12|23|31|45|56|64]:PHASe[:MINimum|:MAXimum] Absolute Voltage Phase Average true RMS VOLTage123|456[:DC][:MINimum|MAXimum] phase-to-phase Voltage Average Mean VOLTage123|456:MEAN[:MINimum|MAXimum] phase-to-phase Voltage Average Rectified VOLTage123|456:RMEAN[:MINimum|MAXimum] Mean phase-to- phase Voltage Average Rectified VOLTage123|456:RMCORR[:MINimum|MAXimum] Mean phase-to-...
  • Page 56 Remote Control Users Guide Voltage Crest VOLTage[1..6]:CFACtor[:MINimum|MAXimum] Factor Voltage Absolute VOLTage[1..6]:PHASe[:MINimum|MAXimum] Phase (relative to synchronization signal) Voltage Form VOLTage[1..6]:FFACtor[:MINimum|MAXimum] Factor Voltage Harmonic VOLTage[1..6]:HCONTent[:MINimum|MAXimum] Content Voltage VOLTage[1..6]:FCONTent[:MINimum|MAXimum] Fundamental Content Voltage THD VOLTage[1..6]:THD[:MINimum|MAXimum] True RMS Current CURRent[1..6|460][:DC][:MINimum|MAXimum] Average Current trms RMS without DC CURRent[1..6|460]:AC[:MINimum|MAXimum] Average Current component...
  • Page 57 Remote Control - Description of Commands Measurement Functions Current CURRent[1..6]:FCONTent[:MINimum|MAXimum] Fundamental Content Current THD CURRent[1..6]:THD[:MINimum|MAXimum] Active Power POWer[1..6|460][:ACTive][:MINimum|MAXimum| Total Active Power IPOSitive|INEGative|INTegral] Apparent Power POWer[1..6|460]:APParent[:MINimum|MAXimum| Total Apparent Power IPOSitive|INEGative|INTegral] Reactive Power POWer[1..6|460]:REACtive[:MINimum|MAXimum| Total Reactive Power IPOSitive|INEGative|INTegral] Power Factor POWer[1..6|460]:FACTor[:MINimum|MAXimum] Total Power Factor Corrected Power POWer[1..6|460]:CORRected[:MINimum|MAXimum] Total Corrected...
  • Page 58 Remote Control Users Guide Apparent IMPedance[1..6|460][:APParent]:HAR[:MINimum|MAXimum] Total App. Impedance Impedance Harmonic Harmonic Serial Resistance RESistance[1..6|460]:SERial:HAR[:MINimum|MAXimum] Total Serial Harmonic Resitance Harmonic Parallel RESistance[1..6|460]:PARallel:HAR[:MINimum|MAXimum] Total Par. Resistance Resistance Harmonic Harmonic Serial Reactance REACTance[1..6|460]:SERial:HAR[:MINimum|MAXimum] Total Serial Harmonic Reactance Harmonic Parallel REACTance[1..6|460]:PARallel:HAR[:MINimum|MAXimum] Total Par. Reactance Reactance Harmonic...
  • Page 59: Commands And Queries

    Remote Control - Description of Commands Commands and Queries Commands and Queries ABORt Subsystem The ABORt subsystem contains the commands to abort actions triggered. After an action has been aborted, it can be triggered again at once. All commands trigger an event and have no *RST value.
  • Page 60: Calculate Subsystem

    Remote Control Users Guide CALCulate Subsystem The CALCulate subsystem contains commands to perform spectrum calculation, user- defined electrical efficiency calculation and integration of the averaged values. Default Command Parameter Remark Value/Unit :CALCulate :TRANsform :FREQuency [:STATe] ONCE no query :MODE FFT | DFT :FUNCtion <function list>...
  • Page 61 Remote Control - Description of Commands Commands and Queries CALCulate:TRANsform:FREQuency[:STATe] ONCE Description Initiates a single calculation of the frequency transform (spectrum), i.e. the instrument calculates spectrum only upon receipt of this command. An attempt to perform the spectrum calculation while SENSe:SWEep1[:STATe] is ON (memory storage of samples) will generate error "-221, Settings conflict".
  • Page 62 Remote Control Users Guide CALCulate:TRANsform:FREQuency:FUNCtion <function>{,<function>} Description This command selects the <function>(s) to be used for spectrum calculation by the instrument. The <function> is specified as a quoted string. For example: “VOLTage1”. Comma separated list of <sensor_function> may be sent as parameters. Applying a new list invalidates the previously active list (if any).
  • Page 63 Remote Control - Description of Commands Commands and Queries CALCulate:TRANsform:FREQuency:STOP <frequency> Description This command specifies the upper frequency of the harmonics calculation (frequency of the rightmost FFT or DFT spectrum line). Parameter(s) <frequency> Minimum: 10 Hz Maximum: sample rate / 2 Sample rate can be queried by means of [:SENSe]:SWEep:FREQuency?.
  • Page 64 Remote Control Users Guide Response When FORMat:TRANspose is ON, points are grouped by functions: <line1>,<line2>,<line3>,…..<line1>,<line2>,<line3>,….. func1 func2 When FORMat:TRANspose is OFF, points are grouped by lines: <func1>,<func2>,<func3>,…..<func1>,<func2>,<func3>,….. line2 line1 *RST state There is no response to this command after reset. Example(s) CALC:DATA? Response: 221.56,0.056,15.456,0.075,5.24,0.034….
  • Page 65 Remote Control - Description of Commands Commands and Queries For FFT frequency step is identical for all functions, for DFT every function can have an individual fundamental frequency. If no fundamental frequency can be found, an ASCII equivalent of NaN is returned (+9.91E+37). *RST state Example(s) CALC:DATA:PRE?
  • Page 66 Remote Control Users Guide changed or integration is turned OFF, the values corresponding to the functions that have been removed return NaN as a response to SENSe:DATA? SENSe:FUNCtion will generate error "-221, Settings conflict" if an attempt is made to set SENSe:FUNCtion list containing an integrated function that is not part of integration function list or while INTegral calculation is OFF.
  • Page 67 Remote Control - Description of Commands Commands and Queries Parameter(s) *RST state Example(s) CALC:INT:CLE Invalidates Invalidated by CALCulate:INTegral:CLEar:AUTO ON | OFF Description This command controls automatic zeroing of the integrated functions are set to zero. Integrated values get cleared at the start of the integration. All values get set to zero at the start of integration.
  • Page 68 Remote Control Users Guide *RST state Invalidates Invalidated by CALCulate:INTegral:STARt[:IMMediate] Description This command immediately starts the integration. This command will also set the integrated values to zero if CALCulate:INTegral:CLEar:AUTO is set to ON. Attempt to start integration with this command when CALCulate:INTegral:STARt:SOURce is not set to CMD will generate error –221, “Settings conflict”...
  • Page 69 Remote Control - Description of Commands Commands and Queries Example(s) CALC:INT:STAR:TIME 2002,01,12,12,30,00 CALC:INT:STAR:TIME? Response: 2002,01,12,12,30,00 Invalidates Invalidated by CALCulate:INTegral:STOP:SOURce CMD | TIME | MAN | TINTerval Description Specifies integration stop condition. Stopping integration does not reset the integrated values to zero. Parameter(s) Integration will stop upon receipt of the CALCulate:INTegral:STOP[:IMMediate] command.
  • Page 70 Remote Control Users Guide *RST state Example(s) CALC:INT:STOP Invalidates Invalidated by CALCulate:INTegral:STOP:TIME <yyyy,MM,dd,hh,mm,ss> Description Specifies integration stop time. The integration stops when the instrument’s internal date/time is equal to the time specified with this command. Parameter(s) yyyy Year Month Hours in 24 hour notation Minutes Seconds (integer value) *RST state...
  • Page 71 Remote Control - Description of Commands Commands and Queries Example(s) CALC:INT:STOP:TINT 1.0 CALC:INT:STOP:TINT? Response: 1.0 Invalidates Invalidated by CALCulate: HARMonic:ORDer <order> Description Specifies harmonic order for measurement function VOLTage[1..6|460]:HAR[:MINimum|MAXimum]. Parameter(s) 0 to 40 (currently, only 1 is valid) *RST state Example(s) CALC:HARM:ORD 1 CALC:HARM:ORD? Response: 1...
  • Page 72: Display Subsystem

    Remote Control Users Guide Example(s) CALC:POW:EFF:REF “POW460”, “POW1” CALC:POW:EFF:REF? Response: “POW460”, “POW1” Invalidates Invalidated by CALCulate:POWer:CORRected STAR | DELTa Description Selects phase-to-neutral or phase-to-phase voltages for the calculation of no load loss measurements on transformers according to IEC60076-1 (measurement function POWer[1|2|3|4|5|6|460]:CORRected).
  • Page 73 Remote Control - Description of Commands Commands and Queries :DISPlay[:WINDow][:STATe] ON | OFF Description This command controls whether the instrument’s processor updates the display. Brightness or power consumption of the display is not effected with this command. Parameter(s) Display is updated by the processor. Processor of the instrument does not update the display saving more processing power for extensive calculations.
  • Page 74: Format Subsystem

    Remote Control Users Guide FORMat Subsystem The FORMat subsystem sets a data format for transferring numeric and array measurement data. This data format is used for response data by those commands that are specifically designated to be affected by the FORMat subsystem. Default Command Parameter...
  • Page 75 Remote Control - Description of Commands Commands and Queries #abbbb…………. One character (‘0’ – ‘9’) Number of data Data bytes specifying number of b bytes that will characters that give immediately follow number of data bytes REAL data are in big-endian byte order by default. The byte order can be changed with FORMat:BORDer command.
  • Page 76 Remote Control Users Guide FORMat[:DATA]:STATus ASCii | INTeger, [8] | 16 | 32 Description Specifies the format of the status information when transfering the measured values from the instrument. Status information is an integer number. This command applies to averaged measurements and memory recordings of averaged data.
  • Page 77: Hardcopy Subsystem

    Remote Control - Description of Commands Commands and Queries Parameter(s) NORMal Big endian data format (Motorola). SWAPped Little endian data format (Intel). Response <format> *RST state NORMal Example(s) FORM:BORD SWAP FORM:BORD? Response: SWAP Invalidates Invalidated by FORMat:TRANspose ON | OFF Description This command applies to memory recordings (TRACe) and spectrum data output.
  • Page 78: Initiate Subsystem

    Remote Control Users Guide Default Command Parameter Remark Value/Unit :HCOPy :SDUMp :DATA? query only HCOPy:SDUMp:DATA? Description Returns screen dump data (in internal format accepted by PC program for instrument screen transfer). Parameter(s) Reponse Block of RLE encoded screen data *RST state Example(s) HCOP:SDUM:DATA? Response:...
  • Page 79 Remote Control - Description of Commands Commands and Queries INITiate:CONTinuous ON | OFF Description Controls the continuous state of the averaging capability. If set to on, the instrument automatically starts new averaging cycle upon finishing the previous one. INITiate:CONTinuous ON should be used for gap-free measurements. Parameter(s) Free-run mode.
  • Page 80: Input Subsystem

    Remote Control Users Guide INITiate[:IMMediate]:SEQuence1 INITiate[:IMMediate]:NAME STARt Description Initiates the memory acquisition start trigger. After initiation the pretrigger gets filled (if > 0). Pretrigger is filled when "waiting for trigger" bit of OPER:STAT register is set to 1. An alias for SEQuence1 is STARt. Parameter(s) *RST state Example(s)
  • Page 81 Remote Control - Description of Commands Commands and Queries INPut[1..12]:COUPling AC | DC Description Sets the input coupling of the selected input channel. Parameter(s) DC component is removed from the signal before any further processing. This coupling compensates for any DC offsets on the signal. Signal is left untouched and all it’s components are passed for further processing.
  • Page 82 Remote Control Users Guide INPut[1..12]:FILTer[:STATe] ON | OFF Description Turns the input antialiasing filters on or off. Filters on all channels are coupled, i.e. enabling/disabling filter on one channel will enable/disable filters on all channels. Parameter(s) Anti-aliasing filter enabled. Anti-aliasing filter disabled. *RST state ON for all channels Example(s)
  • Page 83: Output Subsystem

    Remote Control - Description of Commands Commands and Queries Parameter(s) INTernal Internal shunts up to 10A are used. EXTernal External shunt is connected. Shunt factor must be specified with command INPut:GAIN. *RST state INTernal for all channels Example(s) INP1:SHUN EXT INP3:SHUNt? Response: INT Invalidates...
  • Page 84: Route Subsystem

    Remote Control Users Guide OUTPut9[:STATe] ON | OFF Description Sets the state of the synchronization output. Can only be set to ON if SYNC:SOURce is not set to EXTernal. Parameter(s) The synchronization pulses are output at the rear sync input/output jack. No synchronization pulses are output.
  • Page 85: Sense Subsystem

    Remote Control - Description of Commands Commands and Queries Invalidates Invalidated by SENSe Subsystem The SENSe subsystem controls the averaging capability of the instrument and calculation of the basic averaged values. Numeric suffixes of the VOLTage|CURRent nodes correspond to electrical phases. Channels of the INPut subsystem are combined into phases of the SENSe:VOLTage|CURRent subsystem as shown in the table below.
  • Page 86 Remote Control Users Guide Default Command Parameter Remark Value/Unit [:SENSe] :CURRent[1..6]|VOLTage[1..6] :AC|[:DC] :RANGe [:UPPer] 0.3 to 1000 V - [V] VOLTage 0.03 to 10 - [A] CURRent with INTernal shunt 0.03 to 20V CURRent with EXTernal shunt :AUTO ON | OFF | ONCE ONCE curr.
  • Page 87 Remote Control - Description of Commands Commands and Queries Scaling [SENSe:]CURRent[1..6]|VOLTage[1..6]:AC[|:DC]:SCALe <value> Description Sets the voltage/current scaling factor that reflects conversion ratio of any voltage/ current transformers or dividers employed. Voltage or current on the specified channel is multiplied by this scaling factor before any further processing. All signal quantities that are calculated on the base of the current and/or voltage are scaled by this factor.
  • Page 88 Remote Control Users Guide Example(s) VOLT3:RANG 25.0 CURR2:RANG? Response: 3.0 *RST state After reset autoranging is ON, so no fixed range is set. Invalidates [SENSe:]CURRent[1..6]|VOLTage[1..6]:RANGe:AUTO ON Invalidated by [SENSe:]CURRent[1..6]|VOLTage[1..6]:RANGe:AUTO ON Averaging [SENSe:]CURRent[1..6]|VOLTage[1..6]:AC[|:DC]:RANGe:[:UPPer]:LIST? Description Queries a list of valid voltage/current ranges available on channel specified by the phase suffix.
  • Page 89 Remote Control - Description of Commands Commands and Queries Example(s) VOLT3:RANG:AUTO ON CURR2:RANG:AUTO? Response: 0 *RST state Invalidates [SENSe:]CURRent[1..6]|VOLTage[1..6]:RANGe[:UPPer] Invalidated by [SENSe:]CURRent[1..6]|VOLTage[1..6]:RANGe[:UPPer] [SENSe:][:POWer[1..6]]|CURRent[1..6]|VOLTage[1..6]:AC[|:DC]:APERture[:TIME] <avgtime> Signal on synchronization source (INP[1..12] or EXTernal Nominal averaging interval Actual averaging interval Description Sets the nominal averaging interval. Query returns the set nominal averaging interval. In synchronous mode the actual averaging interval is changing “on-the-fly”.
  • Page 90 Remote Control Users Guide *RST state 0.3 s Invalidates SYNC:TIMeout Invalidated by Sampling Frequency [SENSe:]SWEep:FREQuency? Description Queries the sample rate of the instrument's ADCs. The sample rate is fixed and cannot be changed. Response <sample_rate> The actual sample rate the instrument is using to acquire the data. The sample rate is common to all channels.
  • Page 91 Remote Control - Description of Commands Commands and Queries Parameter(s) <function>{,<function>} Example(s) FUNC "VOLT","CURR","POW" FUNC? Response: "VOLT","CURR","POW" *RST state Empty list = no values defined Invalidates [SENSe:]FUNCtion[:ON]:COUNt? Invalidated by [SENSe:]FUNCtion[:ON]:ALL [SENSe:]FUNCtion:OFF:ALL [SENSe:]FUNCtion:CONCurrent OFF [SENSe:]DATA? <function>{,<function>} [SENSe:]DATA:STATUS? <function>{,<function>} [SENSe:]FUNCtion[:ON]:ALL Description This command turns ON all of the <sensor_function>s that the instrument can concurrently sense.
  • Page 92 Remote Control Users Guide Invalidates Invalidated by [SENSe:]FUNCtion[:ON] [SENSe:]FUNCtion[:OFF] [SENSe:]DATA? <function>{,<function>} [SENSe:]DATA:STATUS? <function>{,<function>} [SENSe:]FUNCtion:CONCurrent OFF [SENSe:]FUNCtion:OFF:ALL Description This command turns OFF all of the <sensor_function>s that the instrument can concurrently sense. Example(s) FUNC:OFF:ALL *RST state Invalidates [SENSe:]FUNCtion[:ON]:COUNt? Invalidated by [SENSe:]FUNCtion[:ON] [SENSe:]FUNCtion:CONCurrent ON | OFF Description The CONCurrent command indicates whether the SENSor block should be configured to...
  • Page 93 Remote Control - Description of Commands Commands and Queries Invalidated by Data Query [SENSe:]DATA? [<function,function...>] Description Returns data in the format defined by the FORMAT commands. When there are no arguments to this command: Number of returned values is equal to number of the arguments to command SENSe:FUNCtion[:ON].
  • Page 94 Remote Control Users Guide Status Values The returned status values are integers. The measurement status values are appended to the end of the measurement results. The status value is bit mask integer and can be a combination of one or more of the following values (bits) combined together using logical OR operation.
  • Page 95 Remote Control - Description of Commands Commands and Queries [:SENSe]:SWEep1 Configures memory recording of sampled values (REALtime). [:SENSe]:SWEep2 Configures memory recording of averaged values (AVERage). The settings for memory recording of averaged and sampled values share the same configuration space and all of the settings must be set when changing from averaged to sampled recording or vice versa.
  • Page 96 Remote Control Users Guide [SENSe:]SWEep1|2:POINTS? Description Before recording is initiated or finished, this command returns max. number of points per function that will be recorded. For synchronized SWEep2 (AVERage) recordings, this value is calculated as: Configured recording time / nominal averaging interval / sample factor ( SWEep2:TIME? / APER? / SWEep2:SFACtor? ) The actual max.
  • Page 97 Remote Control - Description of Commands Commands and Queries [SENSe:]SWEep1|2:OFFSet:POINTS? Description Before recording is initiated or finished, this command returns max. number of points per function that will be recorded in pretrigger. For synchronized SWEep2 (AVERage) recordings, this value is calculated as: Configured pretrigger time / nominal averaging interval / sample factor ( SWEep2:OFFSet:TIME? / APER? / SWEep2:SFACtor? ) The actual max.
  • Page 98 Remote Control Users Guide *RST state Invalidates Invalidated by [SENSe:]SWEep1|2:COUNt <count> Description Number of blocks to acquire. Parameter(s) 1 to 65535 (currently only 1 is valid) Example(s) SWE1:COUN 1 SWE1:COUN? Response: 1 *RST state Invalidates Invalidated by [SENSe:]SWEep1|2:SFACtor Description This command sets sample factor. It specifies that every n-th value produced by the [SENSe:]SWEep1|2 block gets saved into memory.
  • Page 99: Sense2 Subsystem (Option Process Interface)

    Remote Control - Description of Commands Commands and Queries Invalidated by [SENSe:]SWEep1|2:FUNCtion <function>{,<function>} Description Specifies function list for memory recording. The maximum number of functions is 20. If the list exceeds device capability, the sample factor is automatically increased. For SWEep1 (REALtime) function list only sampled values can be specified. For SWEep2 (AVERage) function list any functions from the standard instrument function list can be specified.
  • Page 100 Remote Control Users Guide Input Drive Sense Subsystem Phase Suffix Index Channel Suffix INPut21 (torque) SENSe2:TORQue|SPEed|POLepairs|TYPe|REFerence1[:POWer] INPut25 (speed) INPut22 (torque) SENSe2:TORQue|SPEed|POLepairs|TYPe|REFerence2[:POWer] INPut26 (speed) INPut23 (torque) SENSe2:TORQue|SPEed|POLepairs|TYPe|REFerence3[:POWer] INPut27 (speed) INPut24 (torque) SENSe2:TORQue|SPEed|POLepairs|TYPe|REFerence4[:POWer] INPut28 (speed) Default Command Parameter Remark Value/Unit :INPut[21..28] :TYPe VOLTage | FREQuency FREQuency Analog/digital sensor...
  • Page 101 Remote Control - Description of Commands Commands and Queries Default Command Parameter Remark Value/Unit :SENSe2 :TORQue[1..4] :VOLTage :SCALe -1e6 to 1e6 1 [Nm/V] Analogue torque sensor :OFFSet [:VALue] -1e6 to 1e6 0 [V] Input voltage for 0 [Nm] :IMMediate Set offset from input value; no query :FREQuency :SCALe...
  • Page 102 Remote Control Users Guide Scaling SENSe2:TORQue[1..4]:VOLTage:SCALe <value> Description Sets the torque scaling factor for voltage type input that reflects conversion ratio of torque sensors employed. The difference between the voltage on the respective input and the specified offset is multiplied by this scaling factor before any further processing. Parameter(s) -1.0e6 to 1.0e6 [Nm/V]...
  • Page 103 Remote Control - Description of Commands Commands and Queries SENSe2:TORQue[1..4]:VOLTage:OFFSet:IMMediate Description Configure the currently measured torque voltage to be the offset value. The measurement must be valid (no overload). Parameter(s) Example(s) SENS2:TORQ3:VOLT:OFFS:IMM *RST state Invalidates SENSe2:TORQue[1..4]:VOLTage:OFFSet Invalidated by SENSe2:TORQue[1..4]:FREQuency:SCALe <value> Description Sets the torque scaling factor for frequency type input that reflects conversion ratio of torque sensors employed.
  • Page 104 Remote Control Users Guide Parameter(s) -1.0e6 to 1.0e6 [Hz] Example(s) SENS2:TORQ3:FREQ:OFFS 1000.0 SENS2:TORQ2:FREQ:OFFS? Response: 1000.0 *RST state Invalidates Invalidated by SENSe2:TORQue[1..4]:FREQuency:OFFSet:IMMediate SENSe2:TORQue[1..4]:FREQuency:OFFSet:IMMediate Description Sets the torque frequency offset value from the currently measured value. The measurement must be valid (no overload / undefined value). Parameter(s) Example(s) SENS2:TORQ3:FREQ:OFFS:IMM...
  • Page 105 Remote Control - Description of Commands Commands and Queries *RST state Invalidates Invalidated by SENSe2:SPEed[1..4]:VOLTage:OFFSet[:VALue] <value> Description Sets the input voltage quantity that corresponds to speed zero values. This voltage is subtracted from the measured voltage at the input before this difference is multiplied by the scaling factor.
  • Page 106 Remote Control Users Guide Invalidated by SENSe2:SPEed[1..4]:FREQuency:SCALe[:DEFault] <value> Description Sets the speed scaling factor for frequency type input that reflects conversion ratio of speed sensors employed. The difference between the frequency on the respective input and the specified offset is multiplied by this scaling factor before any further processing. Parameter(s) -1.0e6 to 1.0e6 [rpm/Hz]...
  • Page 107 Remote Control - Description of Commands Commands and Queries SENSe2:SPEed[1..4]:FREQuency:OFFSet[:VALue] <value> Description Sets the input frequency quantity that corresponds to speed zero values. This frequency is subtracted from the measured frequency at the input before this difference is multiplied by the scaling factor. Parameter(s) -1.0e6 to 1.0e6 [Hz]...
  • Page 108 Remote Control Users Guide Example(s) SENS2:TYP1 MOT SENS2:TYP3? Response: GEN *RST state Invalidates Invalidated by SENSe2:POLepairs[1..4] <value> Description Specifies the number of polepairs of the drive. This setting is used for slip calculation. Parameter(s) <value> Valid Range: 1 to 999 Example(s) SENS2:POL3 2 SENS2:POL1?
  • Page 109: Source Subsystem (Option Process Interface)

    Remote Control - Description of Commands Commands and Queries Invalidates Invalidated by SOURce Subsystem (Option Process Interface) The SOURce subsystem controls the settings of the optional Process Interface analogue outputs. Numeric suffixes of the VOLTage node correspond to the index of the 4 outputs supported.
  • Page 110 Remote Control Users Guide SOURce:VOLTage[1..4][:LEVel][:IMMediate][:AMPLitude] <value> Description Selects the output voltage for FIXed mode. Parameter(s) <value> Valid Range: -10.3 to 10.3 V *RST state Example(s) SOUR:VOLT4 5.3 SOUR:VOLT1? Response: -2.5 Invalidates Invalidated by SOURce:VOLTage[1..4]:FEED <function> Description Specifies the output reference function for VARiable mode. Parameter(s) <function>...
  • Page 111 Remote Control - Description of Commands Commands and Queries Parameter(s) <gain> Valid Range: -1.0e6 to 1.0e6 V/Ref unit *RST state Example(s) SOUR:VOLT2:GAIN 5.0 SOUR:VOLT3:GAIN? Response: 1.0e-3 Invalidates Invalidated by SOURce:VOLTage[1..4]:ZERO <value> Description Specifies the offset for the output. This value is subtracted from the actual value of the reference function before this difference is multiplied by the GAIN setting to calculate the output voltage.
  • Page 112: Sync Subsystem

    Remote Control Users Guide SYNC Subsystem The SYNC subsystem controls the synchronization capability of the instrument. When synchronization is enabled, the instrument adapts the averaging cycles to the frequency of the signal fed to synchronization source. If memory recording of sampled data is in operation, the synchronization signal can be used as a specific form of triggering.
  • Page 113 Remote Control - Description of Commands Commands and Queries Invalidates Invalidated by SYNC:LEVel:UNIT ABSolute | PCT Description Sets the unit for SYNC[:SOURce]|VOLTage[1..6]|CURRent[1..6]:LEVel command. Parameter(s) ABSolute Level is specified in absolute units. Level is specified in percent of nominal input range. Example(s) SYNC:LEV:UNIT ABS SYNC:LEVel:UNIT?
  • Page 114 Remote Control Users Guide SYNC[:SOURce]|VOLTage[1..6]|CURRent[1..6]:LEVel <level> Description Sets the sync level at which the selected input signal period is measured by the synchronization circuitry of the instrument. SYNC:SOURce:LEVel sets the sync level of the active trigger source (not for EXTernal). <currently only SOURce node is implemented>...
  • Page 115 Remote Control - Description of Commands Commands and Queries SYNC[:SOURce]|VOLTage[1..6]|CURRent[1..6]:FILTer:[LPASs[:STATe]] ON | OFF Description Controls the synchronization signal filter. The filtering is applied to the signal on input channel that is selected as a synchronization source. This command has no effect if the selected sync source is EXTernal.
  • Page 116: Timer Subsystem

    Remote Control Users Guide SYNC:TIMeout <timeout> Description Sets the synchronization timeout in seconds. Instrument will start averaging after the timeout if no sync signal is available. Timeout is active only if synchronization is on. If the nominal averaging interval is changed by [SENSe:]{CURRent[1..6]|VOLTage[1..6]|[POWer]}:{AC|[DC]}:APERture[:TIME] command, then the synchronization timeout is set to the nominal averaging interval or 0.3 seconds, whichever is greater.
  • Page 117 Remote Control - Description of Commands Commands and Queries *RST state No reset condition Invalidates TIM:RES:TIME? Invalidated by TIMer:RESet:AUTO ON | OFF Description Controls whether the instrument's internal timer is reset automatically when ARMed. In order to maintain absolute timebase for sequenced memory measurements, TIMer:RESet:AUTO must be set to OFF, so that subsequent INITiate[:IMMediate]:NAME:STARt commands do not reset the timer.
  • Page 118: Trace Subsystem

    Remote Control Users Guide TRACe Subsystem The TRACe subsystem contains commands to read memory recordings. Default Command Parameter Remark Value/Unit :TRACe :DATA :PREamble? block query only :DATA? <block>, <number_of_points>, query only <offset>,<sparsing> :FREE? query only :CATalog : LENgth? query only :TRACe :DELete :ALL...
  • Page 119 Remote Control - Description of Commands Commands and Queries Indicates the length of the time interval between timer reset and trigger in seconds. The trigger time, from which this value is derived, corresponds to the TIME:RELative function value of data point that comes right before the data at index <trigger_index> (the TIME:RELative values are timestamps when corresponding avg.
  • Page 120 Remote Control Users Guide Response When FORMat:TRANspose is ON, values are grouped by functions: <interval1>,<interval2>,<interval3>,....<interval1>,<interval2>,<interval3>,…. func1 func2 When FORMat:TRANspose is OFF, values are grouped by intervals: <func1>,<func2>,<func3>,..<func1>,<func2>,<func3>,…. interval1 interval2 *RST state There is no response to this command after reset. Example(s) TRAC:DATA? Response: 1.2345E+01,2.3456E+01,….
  • Page 121 Remote Control - Description of Commands Commands and Queries combination of one or more of the following values (bits) combined together using logical OR operation: Normal Valid measurement, no questionable condition. Underrange The returned value is valid, but the signal amplitude is too low for the given range, so the measurement precision is reduced.
  • Page 122 Remote Control Users Guide Example(s) TRAC:DATA:STAT? Response: 1.2345E+01,2.3456E+01,….,0,0,... Invalidates Invalidated by TRACe:FREE? Description Returns number of free bytes in memory. Response <bytes> *RST state Returns maximum available memory if no data is recorded. This value is instrument dependent. Example(s) TRAC:FREE? Response: 4194176 Invalidates Invalidated by...
  • Page 123: Trigger Subsystem

    Remote Control - Description of Commands Commands and Queries TRACe:DELete:ALL Description Delete all memory. *RST state This is an action and has no reset state. Example(s) TRAC:DEL:ALL Invalidates TRACe:FREE? Invalidated by TRIGger Subsystem The TRIGger subsystem contains commands to define condition of an averaged measurement that will trigger an action.
  • Page 124 Remote Control Users Guide TRIGger:STARt:SOURce BUS | TIME | IMMediate | MANual | SYNC | <function> Description Specifies the start trigger source. Parameter(s) Will trigger when a *TRG command is received TIME Will trigger at exact time IMMediate No waiting for an event occurs. MANual The signal is user-generated by pressing the front panel “MEM"...
  • Page 125 Remote Control - Description of Commands Commands and Queries TRIGger:STARt:LEVel <level> Description When the start source for recording is an averaged measurement function, then this setting specifies the measurement function level that will trigger the recording. Parameter(s) <level> Range for this setting is not defined. *RST state Example(s) TRIG:STARt:LEV 50.0...
  • Page 126 Remote Control Users Guide Parameter(s) TIME The acquisition will stop when either memory is full, recording time reached or at specified date/time, whichever comes first. IMMediate No additional stop condition is set. The acquisition will stop when either memory is full or recording time is reached, whichever comes first.
  • Page 127 Remote Control - Description of Commands Commands and Queries TRIGger:STOP:LEVel <level> Description When the stop source for recording is an averaged measurement function, then this setting specifies the measurement function level that will stop the recording. Parameter(s) <level> Range for this setting is not defined. *RST state Example(s) TRIG:STOP:LEV 50.0...
  • Page 128: System Subsystem

    Remote Control Users Guide SYSTem Subsystem In this system, a number of commands for general functions that are not immediately related to power analysis, are combined. Default Command Parameter Remark Value/Unit :SYSTem :COMMunicate :GPIB [:SELF] :ADDRess 1 to 30 :SERial :BAUD 1200 | 2400 | 4800 | 9600 | 19200 | 115200 bd...
  • Page 129 Remote Control - Description of Commands Commands and Queries Invalidates Invalidated by SYSTem:COMMunicate:SERial:BAUD <value> Description Sets the baud rate of the RS232 interface. Parameter(s) 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 Response <value>...
  • Page 130 Remote Control Users Guide Invalidated by SYSTem:TIME <hours>,<minutes>,<seconds> Description Sets the internal instrument's clock time. Parameter(s) <hours> Must be <numeric_value>. The hours are in 24 hour notation. <minutes> Must be <numeric_value>. Its range is 0 to 59 inclusive. <seconds> Must be <numeric_value>. Its range is 0 to 59 inclusive. *RST state Not affected by reset.
  • Page 131 Remote Control - Description of Commands Commands and Queries SYSTem:ERRor:ALL? Description Queries the error/event queue for all items and removes them from the queue. The response returns a semicolon-separated list of full queue items consisting of integer / string pairs. If no errors are in the queue 0,"No error" is returned. Response <code>,<text description>[;<code>,<text description>[;...
  • Page 132 Remote Control Users Guide SYSTem:LANGuage "DEFault" | "D5255S" | "D5255T" | "D5255M" Description Switches to different command language. The standard SCPI command set is understood at all times. Parameter(s) "DEFault" Standard SCPI command set. "D5255S" Legacy command set used by Norma D5255 Standard. "D5255T"...
  • Page 133: Status Subsystem

    Remote Control - Description of Commands Commands and Queries STATus Subsystem The STATus subsystem contains the commands for the status reporting system (see section “Status Reporting System”). *RST does not influence the status registers. Default Command Parameter Remark Value/Unit STATus :OPERation [:EVENt]? Query only...
  • Page 134 Remote Control Users Guide Response <value> is a 16 bit integer number in decimal notation. bits 0 to 5 Voltage channels (1, 3, 5, 7, 9, 11) overload. bits 8 to 13 Voltage channels (1, 3, 5, 7, 9, 11) underload. *RST state Has no effect.
  • Page 135 Remote Control - Description of Commands Commands and Queries Parameter(s) bits 0 to 5 Voltage channels (1, 3, 5, 7, 9, 11) overload negative transition. bits 8 to 13 Voltage channels (1, 3, 5, 7, 9, 11) underload negative transition. *RST state Example(s) STAT:QUES:VOLT:NTR 16191...
  • Page 136 Remote Control Users Guide Parameter(s) bits 0 to 5 Voltage channels (1, 3, 5, 7, 9, 11) enable overload event. bits 8 to 13 Voltage channels (1, 3, 5, 7, 9, 11) enable underload event. *RST state Example(s) STAT:QUES:VOLT:ENAB 16191 STAT:QUES:VOLT:ENAB? Response: 16191 Invalidates...
  • Page 137 Remote Control - Description of Commands Commands and Queries Parameter(s) bits 0 to 5 Current channels (0, 2, 4, 6, 8, 10) overload positive transition. bits 8 to 13 Current channels (0, 2, 4, 6, 8, 10) underload positive transition. *RST state Example(s) STAT:QUES:CURR:PTR 16191...
  • Page 138 Remote Control Users Guide Response <value> is a 16 bit integer number in decimal notation. bits 0 to 5 Current channels (0, 2, 4, 6, 8, 10) event. bits 8 to 13 Current channels (0, 2, 4, 6, 8, 10) event. *RST state Has no effect.
  • Page 139 Remote Control - Description of Commands Commands and Queries Response <value> is a 16 bit integer number in decimal notation. bit 0 Voltage summary questionable. bit 1 Current summary questionable. bit 5 Frequency questionable. *RST state Has no effect. Example(s) STAT:QUES:COND? Response: 1 (voltage over/underload on some phase) Invalidates...
  • Page 140 Remote Control Users Guide STATus:QUEStionable:NTRansition <value> Description Sets the negative transition filter. Setting a bit in the negative transition filter shall cause a 0 to 1 transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event register.
  • Page 141 Remote Control - Description of Commands Commands and Queries STATus:QUEStionable:ENABle <value> Description Sets the enable mask that allows true conditions in the event register to be reported in the summary bit. If a bit is 1 in the enable register and its associated event bit transitions to true, a positive transition will occur in the associated summary bit.
  • Page 142 Remote Control Users Guide Invalidates Invalidated by STATus:OPERation:PTRansition <value> Description Sets the positive transition filter. Setting a bit in the positive transition filter shall cause a 0 to 1 transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event.
  • Page 143 Remote Control - Description of Commands Commands and Queries Parameter(s) bit 2 Ranging (changing range). bit 3 Sweeping (memory recording in progress). bit 5 Waiting for trigger. bit 8 Synchronized (if sync source changes, there is a glitch). bit 10 Averaging (averaging in progress, at the end of each averaging cycle, there is a glitch).
  • Page 144 Remote Control Users Guide STATus:OPERation:ENABle <value> Description Sets the enable mask that allows true conditions in the event register to be reported in the summary bit. If a bit is 1 in the enable register and its associated event bit transitions to true, a positive transition will occur in the associated summary bit.
  • Page 145: List Of Commands Grouped By Subsystems

    Remote Control - Description of Commands List of Commands Grouped By Subsystems List of Commands Grouped By Subsystems Command Parameter State *CLS *ESE 0 to 255 *ESR? *IDN? *OPC *OPC? *OPT? *RST *SRE 0 to 255 *STB? *WAI *SAV 10 to 24 *RCL 1, 2, 10 to 24 *LRN?
  • Page 146 Remote Control Users Guide CALCulate:INTegral:STOP:TINTerval 1.0e-3 to 9.99e+6 CALCulate:HARMonic:ORDer <order> CALCulate:POWer:CORRected STAR | DELTa FW V1.4 and up CALCulate:POWer:EFFiciency:REFerence <function1>, <function2> DISPlay[:WINDow][:STATe] ON | OFF DISPlay:USER:FUNCtion <function list> FORMat[:DATA] ASCii | REAL, [0..8] | [32 | 64] FORMat[:DATA]:STATus ASCii | INTeger, [8] | 16 | 32 FORMat:BORDer NORMal | SWAPped FORMat:TRANspose...
  • Page 147 Remote Control - Description of Commands List of Commands Grouped By Subsystems [SENSe:]FUNCtion:OFF:ALL [SENSe:]FUNCtion:CONCurrent ON | OFF [SENSe:]FUNCtion[:ON]:COUNt? [SENSe:]DATA? [<function>{,<function...>}] [SENSe:]DATA:STATus? [<function>{,<function...>}] [SENSe:]SWEep1|2:TIME <value> | MAX [SENSe:]SWEep1|2:OFFSet:TIME <value> | MAX [SENSe:]SWEep1|2:POINTS? [SENSe:]SWEep1|2:OFFSet:POINTS? [SENSe:]SWEep1|2[:STATe] ON | OFF [SENSe:]SWEep1|2:COUNt <count> [SENSe:]SWEep1|2:SFACtor 1 to 65535 [SENSe:]SWEep1|2:FUNCtion <function list>...
  • Page 148 Remote Control Users Guide SYNC:SOURce VOLTage[1..6] | CURRent[1..6] | EXTernal SYNC[:SOURce][|CURRent[1..6]|VOLTage[1..6]]:LEVel (-150% to 150% of nominal input range) SYNC:LEVel:UNIT ABSolute | PCT SYNC[:SOURce]|CURRent[1..6]|VOLTage[1..6]:SLOPe POSitive | NEGative SOUR only SYNC[:SOURce]|CURRent[1..6]|VOLTage[1..6]:FILTer:[LPASs[:STATe]] ON | OFF SOUR only SYNC[:SOURce]|CURRent[1..6]|VOLTage[1..6]:FILTer:[LPASs]:FREQuency 100Hz, 1kHz, 10kHz SOUR only SYNC:TIMeout 0.015 to 3600 s TIMer:RESet...
  • Page 149 Remote Control - Description of Commands List of Commands Grouped By Subsystems SYSTem:KLOCk ON | OFF | REMote SYSTem:LANGuage "DEFault" | "D5255S" | "D5255T" | "D5255M" SYSTem:VERSion? STATus:QUEStionable:VOLTage:CONDition? STATus:QUEStionable:VOLTage:PTRansition 0 to 65535 STATus:QUEStionable:VOLTage:NTRansition 0 to 65535 STATus:QUEStionable:VOLTage[:EVENt]? STATus:QUEStionable:VOLTage:ENABle 0 to 65535 STATus:QUEStionable:CURRent:CONDition? STATus:QUEStionable:CURRent:PTRansition 0 to 65535...
  • Page 150 Remote Control Users Guide 4-102...
  • Page 151: Error Messages

    Chapter 5 Error Messages Title Page Introduction......................5-3 Command Error ..................... 5-3 Execution Error...................... 5-5 Device-Specific Error .................... 5-7 Query Error ......................5-8...
  • Page 152 Remote Control Users Guide...
  • Page 153: Introduction

    Error Messages Introduction Introduction Error messages are entered in the error/event queue of the status reporting system in the remote control mode and can be queried with the command SYSTem:ERRor?. The answer format of instrument to the command is as follows: <error code>, "<error description>;<remote control command concerned>"...
  • Page 154 Remote Control Users Guide Error Number ErrorDescription [description/explanation/examples] -100 Command error [This is the generic syntax error for devices that cannot detect more specific errors. This code indicates only that a Command Error as defined in IEEE 488.2, 11.5.1.1.4 has occurred.] -101 Invalid character...
  • Page 155: Execution Error

    Error Messages Execution Error -130 Suffix error [This error, as well as errors -131 through -139, are generated when parsing a suffix.] -131 Invalid suffix [The suffix does not follow the syntax described in IEEE 488.2, 7.7.3.2, or the suffix is inappropriate for this device.] -134 Suffix too long...
  • Page 156 Remote Control Users Guide Error Number Error String [description/explanation/examples] -200 Execution error [This is the generic syntax error for devices that cannot detect more specific errors. This code indicates only that an Execution Error as defined in IEEE 488.2, 11.5.1.1.5 has occurred.] -203 Command protected...
  • Page 157: Device-Specific Error

    Error Messages Device-Specific Error Device-Specific Error An <error/event number> in the range [ -399 , -300 ] or [ 1 , 32767 ] indicates that the instrument has detected an error, possibly due to an abnormal hardware or firmware condition. These codes are also used for self-test response errors. The occurrence of any error in this class causes the device-specific error bit (bit 3) in the event status register (IEEE 488.2, section 11.5.1) to be set.
  • Page 158: Query Error

    Remote Control Users Guide Query Error An <error/event number> in the range [ -499 , -400 ] indicates that the output queue control of the instrument has detected a problem with the message exchange protocol described in IEEE 488.2, chapter 6. The occurrence of any error in this class will cause the query error bit (bit 2) in the event status register (IEEE 488.2, section 11.5.1) to be set.
  • Page 159: Programming Examples

    Chapter 6 Programming Examples Title Page Introduction......................6-3 Initialize Interface ....................6-3 Initialize Instrument..................... 6-5 Perform Simple Power Measurement ..............6-6 U, I, P Measurement .................... 6-9 Continuous Power Measurement ................. 6-11 U, I, P Measurement over Ethernet Interface without VISA Library ....6-14 U, I, P Measurement over RS-232 Interface without VISA Library ....
  • Page 160 Remote Control Users Guide...
  • Page 161: Introduction

    Programming Examples Introduction Introduction The following examples explain how to program the instrument and can serve as a basis to solve more complex programming tasks. In these examples, the interface (RS-232 / GPIB / ethernet) can be selected by setting constant ‘INTFC‘ to corresponding ‘INTFC_…‘...
  • Page 162 Remote Control Users Guide #elif INTFC == INTFC_LAN define RSRC_NAME "TCPIP::192.168.2.251::23::SOCKET" #elif INTFC == INTFC_USB define RSRC_NAME "ASRL2" /* COM2 */ #else #error 'INTFC': unsupported value #endif ViSession // Default resource manager session // VISA session int main(int argc,char *argv[]) #define CHECK_STATUS(cond,func,status) if ( cond ) fprintf(stderr,"%s failed, status 0x%lX\n",func,status);...
  • Page 163: Initialize Instrument

    Programming Examples Initialize Instrument Initialize Instrument Before any further communication, the instrument’s identity should be verified and the instrument should be brought into a known (default) state. * IDENTIFY AND RESET THE INSTRUMENT * This program will open VISA session to the instrument, read ID string * and reset the instrument.
  • Page 164: Perform Simple Power Measurement

    Remote Control Users Guide fprintf(stderr,"%s failed, status 0x%lX\n",func,status); return 1; ViStatus status; (void) argc; (void) argv; /* Open default resource manager: */ status = viOpenDefaultRM (&rm); CHECK_STATUS(status < VI_SUCCESS,"viOpenDefaultRM()",status); /* Open VISA session to the instrument: */ status = viOpen (rm,RSRC_NAME,VI_NULL,0,&vi); CHECK_STATUS(status != VI_SUCCESS,"viOpen()",status);...
  • Page 165 Programming Examples Perform Simple Power Measurement * power measurement. It dwells in viRead function while waiting * for measurement. * The time it will take to measure the power depends on the voltage and * current signals attached to the instrument. Default averaging interval * (equals to measurement time) is 300 ms.
  • Page 166 Remote Control Users Guide int main(int argc,char *argv[]) #define CHECK_STATUS(cond,func,status) if ( cond ) fprintf(stderr,"%s failed, status 0x%lX\n",func,status); return 1; ViStatus status; (void) argc; (void) argv; /* Open default resource manager: */ status = viOpenDefaultRM (&rm); CHECK_STATUS(status < VI_SUCCESS,"viOpenDefaultRM()",status); /* Open VISA session to the instrument with GPIB address 5: */ status = viOpen (rm,RSRC_NAME,VI_NULL,0,&vi);...
  • Page 167: U, I, P Measurement

    Programming Examples U, I, P Measurement CHECK_STATUS(status != VI_SUCCESS,"viClose(vi)",status); /* Close session to the default resource manager: */ status = viClose(rm); CHECK_STATUS(status != VI_SUCCESS,"viClose(rm)",status); return 0; #undef CHECK_STATUS U, I, P Measurement This example will configure the instrument to measure power, voltage and current on three-phase system 3 x 400V/50Hz and reads the measurements.
  • Page 168 Remote Control Users Guide define RSRC_NAME "TCPIP::192.168.2.251::23::SOCKET" #elif INTFC == INTFC_USB define RSRC_NAME "ASRL2" /* COM2 */ #else #error 'INTFC': unsupported value #endif ViSession // Default resource manager session // VISA session ViChar buffer[512]; // buffer to hold instrument response ViUInt32 retCnt;...
  • Page 169: Continuous Power Measurement

    Programming Examples Continuous Power Measurement /* Select three wattmeter configuration: */ viPrintf (vi, "ROUT:SYST \"3W\"\n"); /* SYNC source = voltage phase 1: */ viPrintf (vi, "SYNC:SOUR VOLT1\n"); /* Set voltage range on voltage channel 1 to 300 V: */ viPrintf (vi, "VOLT1:RANG 300.0\n"); /* Set current channel 1 to autorange: */ viPrintf (vi, "CURR1:RANG:AUTO ON\n");...
  • Page 170 Remote Control Users Guide * Use function viSetAttribute to change the timeout value (default is 10 sec). #include <visa.h> #include <stdio.h> #define INTFC_RS232 1 /* RS-232 interface */ #define INTFC_GPIB /* GPIB / IEEE 488.2 interface */ #define INTFC_LAN /* ethernet / IEEE 802.3 interface */ #define INTFC_USB /* USB interface (Virtual COM Port) */ #if 1...
  • Page 171 Programming Examples Continuous Power Measurement fprintf(stderr,"%s failed, status 0x%lX\n",func,status); return 1; ViStatus status; (void) argc; (void) argv; /* Open default resource manager: */ status = viOpenDefaultRM (&rm); CHECK_STATUS(status < VI_SUCCESS,"viOpenDefaultRM()",status); /* Open VISA session to the instrument with GPIB address 5: */ status = viOpen (rm,RSRC_NAME,VI_NULL,0,&vi);...
  • Page 172: U, I, P Measurement Over Ethernet Interface Without Visa Library

    Remote Control Users Guide /* Close VISA session to the instrument: */ status = viClose (vi); CHECK_STATUS(status != VI_SUCCESS,"viClose(vi)",status); /* Close session to the default resource manager: */ status = viClose(rm); CHECK_STATUS(status != VI_SUCCESS,"viClose(rm)",status); return 0; #undef CHECK_STATUS U, I, P Measurement over Ethernet Interface without VISA Library This example will configure the instrument to measure power, voltage and current on three-phase system 3 x 400V/50Hz and reads the measurements.
  • Page 173 Programming Examples U, I, P Measurement over Ethernet Interface without VISA Library #endif typedef struct { socket_handle_t h; } *socket_t; /**************************************************************************** static void Delay(double seconds) Sleep((DWORD)(seconds * 1000)); /**************************************************************************** void wsa_error(char *func,int error) fprintf(stderr,"%s() failed, error %d\n", func,error == -1 ? WSAGetLastError() : error); /**************************************************************************** int socket_setup(void) #if WIN...
  • Page 174 Remote Control Users Guide return 0; /* OK */ /**************************************************************************** socket_t socket_create(void) socket_handle_t sh; socket_t s; sh = socket(AF_INET,SOCK_STREAM,0); #if WIN if ( sh == INVALID_SOCKET ) wsa_error("socket",-1); return NULL; #endif s = calloc(1,sizeof(*s)); if ( !s ) return NULL; s->h = sh;...
  • Page 175 Programming Examples U, I, P Measurement over Ethernet Interface without VISA Library wsa_error("recv",-1); return -1; #endif return l; /**************************************************************************** int socket_send(socket_t s,void *buf,int len,int flags) register int slen; /* sent length */ #if WIN slen = send(s->h,buf,len,flags); if ( slen == SOCKET_ERROR ) wsa_error("send",-1);...
  • Page 176 Remote Control Users Guide else buf[sizeof(buf)-1] = '\0'; strcpy(str,buf); return strlen(str); /**************************************************************************** int main(int argc,char *argv[]) socket_t s; struct sockaddr_in saddr; struct sockaddr_in *addr_in = (struct sockaddr_in *)&saddr; char buffer[1024]; /* socket (TCP/IP) API initialization: */ if ( socket_setup() < 0 ) return 1;...
  • Page 177: U, I, P Measurement Over Rs-232 Interface Without Visa Library

    Programming Examples U, I, P Measurement over RS-232 Interface without VISA Library /* SYNC source = voltage phase 1: */ socket_puts(s,"SYNC:SOUR VOLT1"); /* Set voltage range on voltage channel 1 to 300 V: */ socket_puts(s,"VOLT1:RANG 300.0"); /* Set current channel 1 to autorange: */ socket_puts(s,"CURR1:RANG:AUTO ON");...
  • Page 178 Remote Control Users Guide #endif /* !_MFC_VER */ #endif #include <stdio.h> * "\\.\com<num>" in order to support "COM10" and above. * More info: MSKB article Q115831: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q115831 #define SIO_PORT "\\\\.\\com1" #define SIO_BAUDRATE 115200 #define SIO_INPUT_BUFSIZE 4096 #define SIO_OUTPUT_BUFSIZE 4096 #define MAX(a,b) ( (a) >...
  • Page 179 Programming Examples U, I, P Measurement over RS-232 Interface without VISA Library /**************************************************************************** static int sio_open(sio_t *sio,char *device) COMMTIMEOUTS timeouts; sio_handle_t handle; DCB dcb; memset(sio,0,sizeof(*sio)); handle = CreateFile( device, // LPCTSTR lpFileName GENERIC_READ | GENERIC_WRITE, // DWORD dwDesiredAccess // DWORD dwShareMode NULL, // LPSECURITY_ATTRIBUTES lpSecurityAttributes...
  • Page 180 Remote Control Users Guide * Hand-shake: dcb.fRtsControl = RTS_CONTROL_ENABLE; dcb.fOutxCtsFlow = FALSE; dcb.fDtrControl = DTR_CONTROL_ENABLE; dcb.fOutxDsrFlow = FALSE; dcb.fDsrSensitivity = FALSE; dcb.fOutX = FALSE; dcb.fInX = FALSE; dcb.fTXContinueOnXoff = FALSE; dcb.fAbortOnError = TRUE; if ( !SetCommState(handle,&dcb) ) sio_error("SetCommState"); return -1; * Read timeout: MAXDWORD, 0, 0 * - read operation is to return immediately with the characters that have already been received, even if no characters have...
  • Page 181 Programming Examples U, I, P Measurement over RS-232 Interface without VISA Library return 0; /* OK */ /**************************************************************************** static int sio_close(sio_t *sio) CloseHandle(sio->handle); if ( sio->buf.base ) free(sio->buf.base); sio->buf.base = NULL; return 0; /* OK */ /**************************************************************************** static int sio_read(sio_t *sio,byte *buf,int bufsize) DWORD l;...
  • Page 182 Remote Control Users Guide if ( l <= 0 ) return l; #if 0 fprintf(stderr,"sio_fillbuf(): sio_read(): %d\n",l); #endif sio->buf.cnt = l; sio->buf.ptr = sio->buf.base; return l; /**************************************************************************** static int sio_getc(sio_t *sio,int *pchar) int ret; if ( !sio->buf.cnt && (ret = sio_fillbuf(sio)) <= 0 ) return ret;...
  • Page 183 Programming Examples U, I, P Measurement over RS-232 Interface without VISA Library /**************************************************************************** static int sio_puts(sio_t *sio,char *str) char buf[1024]; strcpy(buf,str); strcat(buf,"\n"); return sio_write(sio,(byte *)buf,strlen(buf)); /**************************************************************************** int main(int argc,char *argv[]) char buffer[1024]; sio_t sio; * Open connection to the instrument: if ( sio_open(&sio,SIO_PORT) <...
  • Page 184 Remote Control Users Guide 6-26...

This manual is also suitable for:

Norma 5000

Table of Contents