Newtons4th PsimetriQ PSM1700 Communications Manual

Hide thumbs Also See for PsimetriQ PSM1700:

Advertisement

Quick Links

PSM1700 - PsimetriQ
PSM1735 - NumetriQ
Communications Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Newtons4th PsimetriQ PSM1700

  • Page 1 PSM1700 - PsimetriQ PSM1735 - NumetriQ Communications Manual...
  • Page 2 “ Do not be hasty when making measurements.” PsimetriQ/NumetriQ is a precision instrument that provides you with the tools to make a wide variety of measurements accurately, reliably, and efficiently - but good metrology practice must be observed. Take time to read this manual and familiarise yourself with the features of the instrument in order to use it most effectively.
  • Page 3 – do not attempt to open the instrument, refer service to the manufacturer or his appointed agent. Note: Newtons4th Ltd. shall not be liable for any consequential damages, losses, costs or expenses arising from the use or misuse of this product...
  • Page 4 Revision 1.62 (PsimetriQ) 1.54 (NumetriQ) This manual is copyright © 2004 - 2010 Newtons4th Ltd. and all rights are reserved. No part may be copied or reproduced in any form without prior written consent.
  • Page 5: Table Of Contents

    PSM17xx communications manual CONTENTS Using remote control ......... 1-1 Standard event status register ........1-3 Serial Poll status byte ..........1-4 RS232 connections ..........1-5 Data streaming ............1-6 Communication commands ......... 2-1 *CLS ................2-1 *ESE ................2-2 *ESR? ................2-3 *IDN? ................
  • Page 6 PSM17xx communications manual GAINPH ................2-41 HARMON ................. 2-43 HOLD ................2-45 INPUT ................2-46 INTYPE ................2-47 KEYBOA ................2-48 LCR ................2-49 LOWFRE ................2-51 MARKER ................2-52 MODE ................2-53 OFFSET ................2-54 OUTPUT ................2-55 PAV ................2-56 PHASE ................
  • Page 7: Using Remote Control

    PSM17xx communications manual Using remote control instrument fitted with RS232 serial communications port as standard, and may have an IEEE488 (GPIB) interface or LAN interface fitted as an option. All the interfaces use the same ASCII protocol with the exception of the end of line terminators: Rx expects Tx sends RS232...
  • Page 8 PSM17xx communications manual commands that expect a reply are terminated with a question mark. The instrument maintains an error status byte consistent with the requirements of the IEEE488.2 protocol (called the standard event status register) that can be read by the mandatory command *ESR? (see section 5.1).
  • Page 9: Standard Event Status Register

    PSM17xx communications manual Standard event status register bit 0 OPC (operation complete) cleared by most commands set when data available or sweep complete bit 2 QYE (unterminated query error) set if no message ready when data read bit 3 DDE (device dependent error) set when the instrument has an error bit 4 EXE...
  • Page 10: Serial Poll Status Byte

    PSM17xx communications manual Serial Poll status byte bit 0 RDV (result data available) set when results are available to be read as enabled by DAVER bit 1 SDV (sweep data available) set when sweep results are available to be read as enabled by DAVER bit 2 FDV (fast data available (streaming)) set when data streaming results are available...
  • Page 11: Rs232 Connections

    PSM17xx communications manual RS232 connections The RS232 port on the instrument uses the same pinout as a standard 9 pin serial port on a PC or laptop (9-pin male ‘D’ type). Function Direction in (+ weak pull up) RX data TX data not used not used...
  • Page 12: Data Streaming

    PSM17xx communications manual Data streaming The phase angle voltmeter and power meter modes have the option of high speed data streaming. In this operation, the window width for the measurement may be specified from 660us to 100ms and the data for each measurement window is transmitted over the communications in a continuous stream.
  • Page 13: Communication Commands

    PSM17xx communications manual Communication commands *CLS *CLS Function: Clear status Description: Clears the standard event status register. Format: *CLS Arguments: none Reply: none Example: *CLS *ESR? Notes:...
  • Page 14: Ese

    PSM17xx communications manual *ESE *ESE Function: Set standard event status enable register. Description: Enable which bits of the standard event status register set the ESB bit in the serial poll status byte.. Format: *ESE, value Arguments: decimal equivalent of bits in standard event status enable register Reply: can be read by *ESE?
  • Page 15: Esr

    PSM17xx communications manual *ESR? *ESR? Function: Standard event status register query Description: Returns the contents of the standard event status register and clears it. Format: *ESR? Arguments: none Reply: decimal equivalent of bits in standard event status register Example: *ESR? Notes: The following bits in the standard event status register have been implemented:...
  • Page 16: Idn

    PSM17xx communications manual *IDN? *IDN? Function: Identify query Description: Returns a standard format identification string. Format: *IDN? Arguments: none Reply: An ASCII string in the IEEE488.2 format: manufacturer,model,serial no,version Example: *IDN? NEWTONS4TH,PSIMETRIQ,01234,1.00 Notes:...
  • Page 17: Opc

    PSM17xx communications manual *OPC? *OPC? Function: Test for operation complete Description: Returns previous operation completed, 0 if not. Format: *OPC? Arguments: none Reply: 0 or 1 Example: START *OPC? *OPC? *OPC? Notes: *OPC? can be used to indicate when data is available or when a frequency sweep has completed.
  • Page 18: Rst

    PSM17xx communications manual *RST *RST Function: Reset Description: Resets the instrument to the default state and clears the standard event status register. Format: *RST Arguments: none Reply: none Example: *RST Notes: The *RST command loads the default configuration. This is the same as loading default configuration PROGRAM menu.
  • Page 19: Sre

    PSM17xx communications manual *SRE *SRE Function: Set service request enable register. Description: Enable which bits of the status byte register initiate a service request. Format: *SRE, value Arguments: decimal equivalent of bits in status byte register Reply: can be read by *SRE? Example: *SRE, 1 generate a service request when data...
  • Page 20 PSM17xx communications manual *SRE? *SRE? Function: Read service request enable register. Description: Read back the present setting of the service request enable register. Format: *SRE? Arguments: Reply: decimal equivalent of bits in status byte register that would generate a service request.
  • Page 21: Stb

    PSM17xx communications manual *STB? *STB? Function: Read serial poll status byte Description: Returns the decimal value of the serial poll status byte. Format: *STB? Arguments: none Reply: decimal value of the serial poll status byte Example: *STB? Notes: The following bits in the serial poll status register have been implemented: bit 0 RDV (results data available) bit 1 SDV (sweep data available)
  • Page 22: Trg

    PSM17xx communications manual *TRG *TRG Function: Trigger Description: Initiates a new measurement, resets the ranging and filtering. Format: *TRG Arguments: none Reply: none Example: MODE,VRMS *TRG VRMS? Notes: 2-10...
  • Page 23: Tst

    PSM17xx communications manual *TST? *TST? Function: Self test query Description: Returns the results of self test Format: *TST? Arguments: none Reply: single integer bit 0 – set if uncalibrated bit 1 – set if error with analogue zero > 15 – major system error Example: *TST? Notes:...
  • Page 24: Wai

    PSM17xx communications manual *WAI *WAI Function: Wait for operation complete Description: Suspends communication until the previous operation has completed Format: *WAI Arguments: none Reply: none Example: GAINPH START *WAI GAINPH,SWEEP? Notes: In the example, the query command GAINPH,SWEEP? can be sent immediately after the *WAI command and the sweep data will be returned as soon as the sweep has completed.
  • Page 25: Abort

    PSM17xx communications manual ABORT ABORT Function: Abort sweep Description: Abort an active sweep, or data streaming. Format: ABORT Arguments: none Reply: none Example: MODE,PHASE,STREAM,0.01 START read data values as required ABORT Notes: Any remaining values held in the buffer will be discarded. 2-13...
  • Page 26: Actrim

    PSM17xx communications manual ACTRIM ACTRIM Function: Set ac control parameters Description: Sets the specified signal level, tolerance and input channel. for the ac control (amplitude compression). Format: ACTRIM,channel,level,tolerance Arguments: channel: DISABL level: required ac level in V or A or dBm tolerance: required accuracy in percent Reply:...
  • Page 27: Alarm

    PSM17xx communications manual ALARM ALARM Function: Set common controls for alarm1 and alarm2. Description: Set the alarm latch and sounder control. Format: ALARM,latch,sounder Arguments: latch: sounder: ENABLED DISABLED Reply: none Example: ALARM,ON,DISABLED Notes: 2-15...
  • Page 28 PSM17xx communications manual ALARM? ALARM? Function: Read alarm status. Description: Reads the status of the measurements and 2 alarms. Format: ALARM? Arguments: none Reply: single integer bit 0 data available bit 1 data error bit 2 alarm 1 bit 3 alarm 2 Example: ALARM? Notes:...
  • Page 29: Alarm1

    PSM17xx communications manual ALARM1 ALARM1 Function: Set parameters for alarm1. Description: Set alarm1 type and thresholds. Format: ALARM1,type,data,high,low Arguments: type: DISABLED HIGH INSIDE OUTSIDE LINEAR data high: high threshold low: low threshold Reply: none Example: ALARM1,HIGH,1,2,0 Notes: Both thresholds must be sent even if only one is used.
  • Page 30: Alarm2

    PSM17xx communications manual ALARM2 ALARM2 Function: Set parameters for alarm2. Description: Set alarm2 type and thresholds. Format: ALARM2,type,data,high,low Arguments: type: DISABLED HIGH INSIDE OUTSIDE data 1-4 for zoom data high: high threshold low: low threshold Reply: None Example: ALARM2,LOW,3,0,0.5 Notes: Both thresholds must be sent even if only one is used.
  • Page 31: Alarme

    PSM17xx communications manual ALARME ALARME Function: Set alarm status enable register Description: Sets bits in the alarm status enable register to control which alarm bit if any set the alarm active bits in the status byte. Format: ALARME,value Arguments: decimal equivalent of alarm bits bit2 set bit 3 of status byte when alarm 1 is active bit3 set bit 3 of status byte when...
  • Page 32 PSM17xx communications manual ALARME? ALARME? Function: Read alarm status enable register Description: Read back present bits in the alarm status enable register which controls the alarm active bit in the status byte. Format: ALARME? Arguments: none Reply: decimal equivalent of alarm bits Example: ALARME? Notes:...
  • Page 33: Amplit

    PSM17xx communications manual AMPLIT AMPLIT Function: Set output amplitude Description: Sets the output amplitude in Volts or dBm for the generator. Format: AMPLIT,amplitude Arguments: peak amplitude in Volts or amplitude in dBm Reply: none Example: AMPLIT,0.5 (set peak amplitude to 0.5V) Notes: dBm mode is selected by OUTPUT,DBM 2-21...
  • Page 34: Analog

    PSM17xx communications manual ANALOG ANALOG Function: Set up analogue output Description: Sets the scaling of the analogue output or a constant value. Format: ANALOG,MONITOR,zero,scale ANALOG,MANUAL,value Arguments: zero level for monitored value full scale for monitored value value between 0 and 1 for manual Reply: none Example:...
  • Page 35: Bandwi

    PSM17xx communications manual BANDWI BANDWI PSM1735 NumetriQ only Function: Select bandwidth selective (heterodyning) measurements. Description: Selective measurement automatically starts at around 10kHz for those functions that support it. It can be disabled by forcing the bandwidth to “wide”. For low noise measurements at low frequency the bandwidth can be restricted to “low”.
  • Page 36: Beep

    PSM17xx communications manual BEEP BEEP Function: Sound the buzzer Description: Makes a “beep” from the instrument. Format: BEEP Arguments: none Reply: none Example: BEEP Notes: 2-24...
  • Page 37: Blanki

    PSM17xx communications manual BLANKI BLANKI Function: Select blanking Description: Enable or disable low value blanking. Format: BLANKI,value,threshold Arguments: value: threshold: threshold in appropriate units Reply: none Example: BLANKI,OFF BLANKI,ON,-35 Notes: It is not necessary to send the threshold. Not all functions have a threshold option, it will only be used if in an appropriate mode.
  • Page 38: Config

    PSM17xx communications manual CONFIG CONFIG Function: Direct access of configuration parameters Description: Sets configuration parameter for which there may not be a direct command. Format: CONFIG,index,data Arguments: index is the number of the parameter data is the data for that parameter Reply: none Example:...
  • Page 39 PSM17xx communications manual CONFIG? CONFIG? Function: Configurable parameter query Description: Reads the present value of a single parameter. Format: CONFIG,index? CONFIG?index Arguments: index is the parameter number Reply: Value of parameter, real or integer as appropriate. Example: CONFIG,6? (read phase convention) CONFIG,6,1 CONFIG,6? Notes:...
  • Page 40: Coupli

    PSM17xx communications manual COUPLI COUPLI Function: Set ac or dc coupling. Description: Selects the input coupling for a given input channel. Format: COUPLI,channel,coupling Arguments: channel: coupling: AC+DC ACONLY Reply: none Example: COUPLI,CH2,AC+DC Notes: 2-28...
  • Page 41: Cycles

    PSM17xx communications manual CYCLES CYCLES Function: Set the minimum number of cycles for a measurement. Description: The measurement window is normally set according to a time value but subject to a whole cycle of the frequency. Setting a minimum number of cycles to a value greater than 1 extends the measurement window at frequencies where the periodic time is longer than the set window time.
  • Page 42: Datalo

    PSM17xx communications manual DATALO DATALO Function: Set up datalog Description: Sets datalog parameters or accesses datalog non-volatile store. Format: DATALO,function,interval Arguments: function: DISABLE NONVOL RECALL DELETE interval: datalog interval in seconds Reply: none Example: DATALOG,NONVOL,10 Notes: 2-30...
  • Page 43 PSM17xx communications manual DATALO? DATALO? Function: Read back datalog results Description: Return datalog values, one record per line Format: DATALO,start,records Arguments: start: first record to return records: number of records to return Reply: 3 to 6 data values depending on settings: index 1-n elapsed time in hours data1...
  • Page 44: Dav

    PSM17xx communications manual DAV? DAV? Function: Data available query Description: Returns data availability status. Format: DAV? Arguments: none Reply: Decimal equivalent of data available bits: bit0 new data available bit1 data available bit2 new full sweep data available bit3 sweep data available bit4 streaming data available bit5 more streaming data to come bit6 integration data available...
  • Page 45: Daver

    PSM17xx communications manual DAVER DAVER Function: Set data available enable register Description: Sets bits in the data available enable register to control which status bits set the data available bits in the status byte. Format: DAVER,value Arguments: decimal equivalent of data available bits bit0 set bit 0 of status byte when new data available bit1 set bit 0 of status byte when...
  • Page 46 PSM17xx communications manual DAVER? DAVER? Function: Read data available enable register Description: Read back present setting of the data available enable register, which controls the status bits that set the data available bits in the status byte. Format: DAVER? Arguments: none Reply: decimal equivalent of bits...
  • Page 47: Delay

    PSM17xx communications manual DELAY DELAY Function: Set a delay time between frequency points Description: Applies a settling time when changing frequency for systems which need some settling time after the frequency changes before a measurement should be made. Format: DELAY,time Arguments: delay time in seconds Reply:...
  • Page 48: Filter

    PSM17xx communications manual FILTER FILTER Function: Select the filtering Description: Sets the filter time constant and dynamic response. Format: FILTER,type,dynamics Arguments: type: NONE NORMAL SLOW dynamics: AUTO FIXED Reply: none Example: FILTER,NORMAL,FIXED FILTER,NONE Notes: necessary send both parameters if it is only required to set the type.
  • Page 49: Fra

    PSM17xx communications manual Function: Set frequency response analyser mode. Description: Set frequency response analyser mode. Format: Arguments: Reply: none Example: Notes: This command has the same effect as MODE,GAINPH. FRA, GAINPH, TFA are aliases for the same command. 2-37...
  • Page 50 PSM17xx communications manual FRA? FRA? Function: frequency response analyser query Description: Read frequency response analyser results. Sets frequency response analyser mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: FRA? FRA?SWEEP...
  • Page 51: Freque

    PSM17xx communications manual FREQUE FREQUE Function: Set the output frequency Description: Sets the generator output frequency in Format: FREQUE,frequency Arguments: frequency in Hz Reply: none Example: FREQUE,5e4 (set frequency to 50kHz) Notes: 2-39...
  • Page 52: Fsweep

    PSM17xx communications manual FSWEEP FSWEEP Function: Set the frequency sweep parameters Description: Sets the start frequency in Hz, the end frequency, the number of steps and log/linear for the selected function. Format: FSWEEP,steps,start,end,type Arguments: steps: number of steps start: start frequency in Hz end: end frequency in Hz type:...
  • Page 53: Gainph

    PSM17xx communications manual GAINPH GAINPH Function: Set gain/phase analyser mode. Description: Set gain/phase analyser mode. Format: GAINPH Arguments: Reply: none Example: GAINPH Notes: This command has the same effect as MODE,GAINPH. FRA, GAINPH, TFA are aliases for the same command. 2-41...
  • Page 54 PSM17xx communications manual GAINPH? GAINPH? Function: Gain/phase query Description: Read gain/phase analyser results. Sets gain/phase analyser mode if not already set. Waits for next unread data if necessary . Clears new data available bit read by DAV? Format: GAINPH? GAINPH?SWEEP GAINPH,SWEEP? Arguments: none, or SWEEP...
  • Page 55: Harmon

    PSM17xx communications manual HARMON HARMON Function: Set harmonic analyser mode. Description: harmonic analyser mode parameters. Format: HARMON,scan,parameter,harmonic,max Arguments: scan: SINGLE THDD THDS parameter: PERCEN harmonic: single harmonic 2-50 for display max: harmonic series 2-50 for series thd Reply: none Example: HARMON,SINGLE,PERCEN,3 Notes: necessary...
  • Page 56 PSM17xx communications manual HARMON? HARMON? Function: Harmonic analyser query Description: Read harmonic results. Sets harmonic analyser mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: HARMON? HARMON,SWEEP? HARMON,SERIES? Arguments: none, or SWEEP, or SERIES Reply:...
  • Page 57: Hold

    PSM17xx communications manual HOLD HOLD Function: Set/clear HOLD mode Description: HOLD mode stops the instrument from updating the measured values Format: HOLD,value Arguments: value: Reply: none Example: HOLD,ON Notes: 2-45...
  • Page 58: Input

    PSM17xx communications manual INPUT INPUT Function: Set input mode Description: Selects the input type of the instrument Format: INPUT,channel,type Arguments: channel: type: DISABLE VOLTAGE SHUNT Reply: none Example: INPUT,CH1,SHUNT Notes: 2-46...
  • Page 59: Intype

    PSM17xx communications manual INTYPE INTYPE PSM1735 NumetriQ only Function: Set input connection Description: Selects the input type for each channel to be non-inverting, inverting, or differential. Format: INPUT,channel,type Arguments: channel: type: MAIN SECOND DIFFER Reply: none Example: INPUT,CH1,DIFFERENTIAL Notes: 2-47...
  • Page 60: Keyboa

    PSM17xx communications manual KEYBOA KEYBOA Function: Disable front panel keyboard. Description: The front panel keyboard can be disabled to prevent accidental operation. Format: KEYBOARD,value Arguments: value: ENABLE DISABLE Reply: none Example: KEYBOARD,DISABLE Notes: The keyboard can be re-enabled from the front panel only by pressing the HOME key.
  • Page 61: Lcr

    PSM17xx communications manual Function: Set LCR meter mode. Description: Set LCR mode and conditions. Format: LCR,conditions,parameter,head Arguments: conditions: AUTO MANUAL parameter: AUTO CAPACITANCE INDUCTANCE IMPEDANCE ADMITTANCE head: NONE LOW (only valid for IAI) NORMAL HIGH VHIGH Reply: none Example: LCR,AUTO,IMPEDA,NORMAL Notes: necessary send...
  • Page 62 PSM17xx communications manual LCR? LCR? Function: LCR meter query Description: Read LCR meter results. Sets LCR meter mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: LCR? LCR?SWEEP LCR,SWEEP? Arguments: none, or SWEEP...
  • Page 63: Lowfre

    PSM17xx communications manual LOWFRE LOWFRE Function: Set low frequency mode Description: Sets the low frequency option for external frequency measurement. Format: LOWFRE,value Arguments: value: Reply: none Example: LOWFRE,ON Notes: LOWFRE is mainly used for measuring low frequencies when using instrument generator for the frequency reference.
  • Page 64: Marker

    PSM17xx communications manual MARKER MARKER Function: Set frequency marker Description: Enable or disable frequency marker. Format: MARKER,value,frequency Arguments: value: frequency: marker frequency in Hz Reply: none Example: MARKER,OFF MARKER,ON,25e3 Notes: It is not necessary to send the frequency when enabling the marker if it has already been set.
  • Page 65: Mode

    PSM17xx communications manual MODE MODE Function: Set mode Description: Sets the fundamental operating mode of the instrument. Format: MODE,type Arguments: type: SIGGEN (signal generator only) VRMS (rms voltmeter) GAINPH (gain/phase analyser) VECTOR (vector voltmeter) POWER (power meter) (LCR meter) HARMON (harmonic analyser) (transformer analyser) Reply:...
  • Page 66: Offset

    PSM17xx communications manual OFFSET OFFSET Function: Set the output offset Description: Sets the output generator offset in Volts. Format: OFFSET,offset Arguments: offset in Volts Reply: none Example: OFFSET,5e-3 (set offset to 5mV) Notes: 2-54...
  • Page 67: Output

    PSM17xx communications manual OUTPUT OUTPUT Function: Set output Description: Turns the output on or off, or sets the level mode to dBm or voltage. Also specifies the action at the end of a sweep Format: OUTPUT,command,sweep,phase Arguments: command: VOLT DCONLY (PsimetriQ only) PHRESE (PsimetriQ only) sweep: DCONLY...
  • Page 68: Pav

    PSM17xx communications manual Function: Set phase angle voltmeter mode. Description: Set phase angle voltmeter mode and parameter. Format: PAV,parameter,lvdt scale Arguments: parameter: INPHAS QUADR TANPHI MAGNIT POLAR A2/1 RMS2 RMS2/1 LVDT-D LVDT-R lvdt scale: scale factor in m for lvdt applications Reply: none Example:...
  • Page 69 PSM17xx communications manual PAV? PAV? Function: Phase angle voltmeter query Description: Read phase angle voltmeter results. Sets phase angle voltmeter mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: PAV? PAV?SWEEP...
  • Page 70: Phase

    PSM17xx communications manual PHASE PHASE Function: Set phase meter mode. Description: Select phase meter mode. Format: PHASE,mode,window size Arguments: mode: NORMAL STREAM window size streaming window size in seconds Reply: none Example: PHASE Notes: It is not necessary to send any arguments but if they are sent they must be in the specified order.
  • Page 71 PSM17xx communications manual PHASE? PHASE? Function: Phase meter query Description: Reads phase meter results. Sets phase meter mode if not already set. Waits for next unread data if available. Clears new data available bit read by DAV? Format: PHASE? Arguments: none Reply: 2 data values separated by commas...
  • Page 72: Phconv

    PSM17xx communications manual PHCONV PHCONV Function: Set phase convention Description: Set phase convention Format: PHCONV,convention Arguments: convention: 180: -180 to +180 -360: 0 to -360 +360: 0 to +360 Reply: none Example: PHCONV, -360 Notes: 2-60...
  • Page 73: Phref

    PSM17xx communications manual PHREF PHREF Function: Set phase reference Description: Select measurement of phase as CH2 relative to CH1 or as CH1 relative to CH2 Format: PHREF,channel Arguments: channel: CH1: phase = ch2 wrt ch1 CH2: phase = ch1 wrt ch2 Reply: none Example:...
  • Page 74: Power

    PSM17xx communications manual POWER POWER Function: Set up power meter mode. Description: Configure power meter with integration type Format: POWER,integration type Arguments: integration type: MAGNITUDE SIGNED Reply: none Examples: POWER,SIGNED POWER Notes: It is not necessary to send the integration type argument.
  • Page 75 PSM17xx communications manual POWER? POWER? Function: Read power meter results Description: Reads back latest power meter results. Sets power meter mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: POWER? POWER?results...
  • Page 76: Pport

    PSM17xx communications manual PPORT PPORT Function: Set the parallel port Description: Force the logic level on the parallel port data lines Format: PPORT,value Arguments: decimal value to be written to the port Reply: None Example: PPORT,64 {set data bit 6, clear others} Notes: The parallel port may be used as an 8 bit logic level output port and a 4 bit logic...
  • Page 77 PSM17xx communications manual PPORT? PPORT? Function: Read the parallel port Description: Read the logic level on the parallel port control input lines Format: PPORT? Arguments: None Reply: Single integer data value Example: PPORT? Notes: The parallel port may be used as a 4 bit logic level input port and an 8 bit logic level output port.
  • Page 78: Progra

    PSM17xx communications manual PROGRA PROGRA Function: Access non volatile program stores. Description: Recall, store delete non-volatile program store. Format: PROGRA,function,number Arguments: function: RECALL STORE DELETE number 0-100 Reply: none Example: PROGRA,RECALL,13 Notes: Number 0 represents factory default, which can only be recalled. 2-66...
  • Page 79 PSM17xx communications manual PROGRA? PROGRA? Function: Identify current program. Description: Reads the name of the last program to be loaded or recalled. Format: PROGRA? Arguments: none Reply: text string Example: PROGRA? factory default Notes: 2-67...
  • Page 80: Range

    PSM17xx communications manual RANGE RANGE Function: Set channel ranging. Description: Select minimum range and range control for a given input channel. Format: RANGE,channel,ranging,range Arguments: channel: ranging: AUTO UPAUTO MANUAL range: nominal range value Reply: none Example: RANGE,CH2,MANUAL,3V Notes: 2-68...
  • Page 81: Resolu

    PSM17xx communications manual RESOLU RESOLU Function: Set the data resolution Description: Data is returned in scientific format with exponent and mantissa. The resolution of the mantissa may be selected to be 5 digit (NORMAL) or 6 digit (HIGH). Format: RESOLU,format Arguments: format: NORMAL...
  • Page 82: Rezero

    PSM17xx communications manual REZERO REZERO Function: Rezero front end Description: Request the DSP to re-compensate for dc offset and compute a new autozero Format: REZERO Arguments: none Reply: none Example: REZERO Notes: 2-70...
  • Page 83: Run

    PSM17xx communications manual RUN? RUN? Function: Returns status various internal processes Description: Returns status various internal processes Format: RUN? Arguments: none Reply: Bit 0 : Sweep running Bit 1 : Fast sweep running Bit 2 : Integrator running Bit 3 : Datalog running Bit 4 : Fast datalog running Bit 5 : Fast analog output running Bit 6 : Not used...
  • Page 84: Scale

    PSM17xx communications manual SCALE SCALE Function: Set channel scale factor. Description: Set a multiplying scale factor for a given input channel. Format: SCALE,channel,factor Arguments: channel: factor: multiplying scale factor Reply: none Example: SCALE,CH2,10 Notes: 2-72...
  • Page 85: Shunt

    PSM17xx communications manual SHUNT SHUNT Function: Set channel shunt value Description: Set the resistance factor of a current shunt to be divided into the measured voltage for a given input channel. Format: SHUNT,channel,resistance Arguments: channel: resistance: shunt resistance in Ohms Reply: none Example:...
  • Page 86: Single

    PSM17xx communications manual SINGLE SINGLE Function: Set single measurement mode Description: Selects the measurement mode to be single measurements instead of normal continuous measurements. Format: SINGLE,value Arguments: value: Reply: none Example: SINGLE,ON SPEED,WINDOW,0.8 OUTPUT,ON,OFF *TRG; FRA? data returned *TRG; FRA? data returned Notes: Single measurement mode allows the...
  • Page 87: Speed

    PSM17xx communications manual SPEED SPEED Function: Sets the measurement speed Description: Sets the minimum window size for the measurement. Format: SPEED,value SPEED,WINDOW,time Arguments: value: FAST MEDIUM SLOW VSLOW WINDOW Reply: none Example: SPEED,SLOW SPEED,WINDOW,0.1 Notes: 2-75...
  • Page 88: Ssweep

    PSM17xx communications manual SSWEEP SSWEEP Function: Access non volatile sweep results stores. Description: Recall, store or delete non-volatile sweep results store. Format: SSWEEP,function,number Arguments: function: RECALL STORE DELETE number 1-30 Reply: none Example: SSWEEP,RECALL,13 Notes: The sweep data can be read back using the sweep query command for each mode eg.
  • Page 89: Start

    PSM17xx communications manual START START Function: Start sweep Description: Initiate sweep in those functions that have a sweep or resets filtering in others. Format: START Arguments: none Reply: none Example: MODE,GAINPH (set gain phase analyser) START Notes: 2-77...
  • Page 90: Status

    PSM17xx communications manual STATUS? STATUS? Function: Read back channel ranging status. Description: Read back condition of selected channel: range number (1-16) range text overflow/underflow status Format: STATUS,channel? STATUS?channel Arguments: channel: Reply: range number,range text,over/under/ok 1-16 range as per RANGE command OVER if overflow LOW if underflow OK if in range...
  • Page 91: Stop

    PSM17xx communications manual STOP STOP Function: Stop sweep Description: Stop an active sweep, or data streaming. Format: STOP Arguments: none Reply: none Example: MODE,PHASE,STREAM,0.01 START read data values as required STOP read remaining data values Notes: 2-79...
  • Page 92: Stream

    PSM17xx communications manual STREAM STREAM Function: Set data streaming mode Description: Set instrument ready for data streaming with specified window Format: STREAM,control,window Arguments: control ENABLE DISABL window size streaming window size in seconds Reply: none Example: PAV,TANPHI STREAM,ENABLE,0.01 START read data values as required STOP read remaining data values Notes:...
  • Page 93 PSM17xx communications manual STREAM? STREAM? Function: Start to read streaming data Description: Start to read streaming data Format: STREAM? STREAM,max? STREAM?max Arguments: maximum number of values none return all data Reply: data stream separated by commas Example: PAV,TANPHI STREAM,ENABLE,0.01 START STREAM? data,data,data,data, ……...
  • Page 94: Suspend

    PSM17xx communications manual SUSPEND SUSPEND Function: Suspend data acquisition Description: Suspends the background data acquisition to maximise the communications speed. Format: SUSPEND,command Arguments: command Reply: none Example: DATALOG,NONVOL,36 START wait for datalog STOP SUSPEND,ON DATALOG? data,data,data,data, …… SUSPEND,OFF Notes: 2-82...
  • Page 95: Tfa

    PSM17xx communications manual Function: Set transfer function analyser mode. Description: Set transfer function analyser mode. Format: Arguments: Reply: none Example: Notes: This command has the same effect as MODE,GAINPH. FRA, GAINPH, TFA are aliases for the same command. 2-83...
  • Page 96 PSM17xx communications manual TFA? TFA? Function: transfer function analyser query Description: Read transfer function analyser results. Sets transfer function analyser mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: TFA? TFA?SWEEP...
  • Page 97: Txa

    PSM17xx communications manual Function: Set transformer analyser mode. Description: Set transformer analyser mode, test, fixture, and resistances Format: TXA,test,fixture,source,load Arguments: test: TXTR TXLL TXACR TXDCR TXIWC TXMAGI TXRLOS TXILOS TXHARM TXTHD TXLBAL fixture: NONE TAF01 TAF02 source resistance load resistance Reply: none Example:...
  • Page 98 PSM17xx communications manual TXA? TXA? Function: Transformer analyser query Description: Read transformer analyser results. Sets transformer analyser mode if not already set. Waits for next unread data if necessary . Clears new data available bit read by DAV? Format: TXA? TXA?SWEEP TXA,SWEEP? Arguments:...
  • Page 99: Txtest

    PSM17xx communications manual TXTEST TXTEST Function: Set transformer analyser test. Description: transformer analyser test winding(s). Format: TXTEST,test,winding1,winding2 Arguments: test: as TXA command winding1: (TAF02 only) W2+3 (TAF01 only) winding2: (turns ratio test only) W1:W2 W2:W1 W1:W3 W3:W1 W2:W3 W3:W2 W1:W4 (TAF02 only) W4:W1 (TAF02 only)
  • Page 100: User

    PSM17xx communications manual USER? USER? Function: Read the user data Description: Returns up to 3 lines of user data Format: USER? Arguments: none Reply: 3 lines of ASCII terminated by CR Example: USER? Newtons4th Ltd R&D department PsimetriQ #4 Notes: 2-88...
  • Page 101: Vector

    PSM17xx communications manual VECTOR VECTOR Function: Set vector voltmeter mode. Description: vector voltmeter mode parameter. Format: VECTOR,parameter,lvdt scale Arguments: parameter: NONE INPHAS QUADR TANPHI POLAR A2/A1 RMS2/1 LVDT-D LVDT-R lvdt scale: scale factor in m for lvdt applications Reply: none Example: VECTOR,LVDT-D,0.1 Notes:...
  • Page 102 PSM17xx communications manual VECTOR? VECTOR? Function: Vector voltmeter query Description: Read vector voltmeter results. Sets vector voltmeter mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: VECTOR? VECTOR?SWEEP VECTOR,SWEEP? Arguments: none, or SWEEP...
  • Page 103: Versio

    PSM17xx communications manual VERSIO? VERSIO? Function: Read the instrument code versions. Description: Returns an ASCII string with the details of the various parts of the instrument firmware. Format: VERSIO? Arguments: none Reply: date code, type, cpu, dsp, fpga, boot Examples: VERSION? PQ3504,1,1.21,1.21,1.21,1.02 Notes:...
  • Page 104: Vrms

    PSM17xx communications manual VRMS VRMS Function: Set up rms voltmeter. Description: Set mode to rms voltmeter. Format: VRMS Arguments: none Reply: none Examples: VRMS Notes: This has the same effect as MODE,VRMS 2-92...
  • Page 105 PSM17xx communications manual VRMS? VRMS? Function: Read true rms voltmeter results Description: Reads back latest voltmeter results. Sets voltmeter mode if not already set. Waits for next unread data if necessary. Clears new data available bit read by DAV? Format: VRMS? VRMS,results? VRMS?results...
  • Page 106: Wavefo

    PSM17xx communications manual WAVEFO WAVEFO Function: Set the output waveform Description: Selects the output waveform for the signal generator. Format: WAVEFO,type Arguments: type: SINEWA (sine wave) TRIANG (triangle wave) SQUARE (square wave) LEADIN (leading sawtooth) TRAILI (trailing sawtooth) Reply: None Example: FREQUE,500 WAVEFO,TRIANG...
  • Page 107: Zero

    PSM17xx communications manual ZERO ZERO Function: Apply or remove the zero Description: Applies removes zero function depending on the measurement mode (same as pressing ZERO key). Performs lead compensation in LCR mode. Format: ZERO ZERO,DELETE ZERO,DB,offset ZERO,PHASE,offset ZERO,SINGLE compensation ZERO,SWEEP,steps,start,finish ZERO,OPEN ZERO,SHORT ZERO,STORE...
  • Page 108: Zoom

    PSM17xx communications manual ZOOM ZOOM Function: Sets the display zoom parameters. Description: Sets the zoom level and data. Format: ZOOM,level,data1,data2,data3,data4 Arguments: level: 0 – normal 1 – 2 line display (zoom level 1) 2 – single line display (zoom level 2) data1: first data (zoom level 1) or data for single line (zoom level 2)
  • Page 109 PSM17xx communications manual ZOOM? ZOOM? Function: Read the display zoom parameters. Description: Reads the zoom level and data. Format: ZOOM? Arguments: Reply: 5 integers separated by commas: level: 0 – normal 1 – 2-4 value display (zoom level 1) 2 – single line display (zoom level 2) data1-4: zoom data data consists of line number for channel 1...
  • Page 111 PSM17xx communications manual Appendices COMMAND SUMMARY CONFIGURABLE PARAMETERS...
  • Page 112 PSM17xx communications manual command format reply format *CLS *ESE,value *ESE? single integer data value *ESR? single integer data value *IDN? company,product,serial no,version *OPC? 0 or 1 *RST *SRE,value single integer data value *SRE? *STB? single integer data value *TRG *TST? single integer data value *WAI ABORT...
  • Page 113 PSM17xx communications manual FREQUE,frequency FSWEEP,steps,start,end,log GAINPH GAINPH? freq,mag1,mag2,dB,phase,delay GAINPH,SWEEP? n lines of GAINPH? data HARMON,scan,para,h,hmax HARMON? freq,mag1,mag2,hmag1,hmag2,h1,h2 freq,mag1,mag2,thd1,thd2,h1,h2 HARMON,SERIES? mag1,%1,φ1,mag2,%2,φ2 HARMON,SWEEP? n lines of HARMON? data HOLD,on/off INPUT,channel,type INPUT,channel? single integer data value INTYPE,channel,type KEYBOA,value LCR,conditions,param,head LCR? freq, mag1, mag2, impedance, phase, R, L, C (series), R, L, C (parallel), tanδ, Q, reactance freq, mag1, mag2, impedance, phase,...
  • Page 114 PSM17xx communications manual PROGRAM,function,number PROGRAM? CR terminated text string RANGE,ch,ranging,range RESOLU.format REZERO SCALE,channel,factor SCALE,channel? single real data value SHUNT,channel,resistance SHUNT,channel? single real data value SINGLE,on/off SPEED,speed SSWEEP,function,number START STATUS,channel? range number,range text,over/low/ok STOP STREAM,enable,window STREAM,disable STREAM? data, data, data, data, data, ….. SUSPEND,on/off TFA? freq,mag1,mag2,dB,phase,delay...
  • Page 115 PSM17xx communications manual calibration commands CALAPP CALCOM,freq CALDCO,value CALFIL,index,value CALFIL? six real data values CALFRQ,index,freq CALFRQ? seven real data values CALHF,index,value CALIBR,index,value CALIBR? single integer data value CALIDS,string CALIDS? string CALOUT,index,value CALPHA,index CALRES CALSAV,password CALSNO,serial number CALSTR,string CALSTR? string...
  • Page 117 PSM17xx communications manual Appendix B – Configurable parameters All parameters can be accessed using the CONFIG command: CONFIG,number,parameter? CONFIG,parameter,data Number Function Parameter System parameters Operating mode, (Sets main mode) 0=RMS Voltmeter 1=Frequency Response analyser 2=Power Meter 3=LCR Meter 4= Vector Voltmeter 5=Harmonic Analyser 6=Transformer Analyser Bandwidth,...
  • Page 118 PSM17xx communications manual Keyboard beep, (System Options) 0=Off 1=On Low frequency mode, (Acquisition Control) 0=Off 1=On Speed “ window size” (Acquisition Control, Enter figures) Speed, (Acquisition Control) 0=Very slow 1=Slow 2=Medium 3=Fast 4=Window Filter, (Acquisition control) 0=Normal 1=Slow 2=None Filter dynamics, (Acquisition Control, “Filter normal/slow”) 0=Auto reset 1=Fixed time...
  • Page 119 PSM17xx communications manual Conditions, (LCR Meter) 0=Auto frequency 1=Manual 2=Auto shunt Shunt, (System Options) 0=Default 1=Manual Input parameters Input 1 (CH1), (CH1-Input 1) 0=Voltage input 2=External shunt Input 2 (CH2), (CH2-Input 2) 0=Voltage input 2=External shunt Minimum range (CH1), (CH1-Input 1) 0=1mv 1=3mv 2=10mv...
  • Page 120 PSM17xx communications manual Autoranging (CH2), (CH2-Input 2) 0=Full Autorange 1=Autorange up 2=Manual Coupling (CH1), (CH1-Input 1) 0=ac+dc 1=ac Coupling (CH2), (CH2-Input 2) 0=ac+dc 1=ac Scale (CH1), (CH1-Input, Enter figures) Scale (CH2), (CH2-Input, Enter figures) External shunt (CH1), (CH1-Input, Enter figures) External shunt (CH2), (CH2-Input, Enter figures) Connection (CH1),...
  • Page 121 PSM17xx communications manual Display parameters Zoom level, (Main Display) 0=Zoom - 1=Zoom + 2=Second zoom + Display zoom characters on line 1 Display zoom characters on line 2 Display zoom characters on line 3 Display zoom characters on line 4 Display type, (Main display-datalog or sweep display mode) 0=Real Time...
  • Page 122 PSM17xx communications manual Datalog parameters Datalog, (Acuisition Control-memory type) 0=Disabled 1=RAM 2=Non volatile Interval, (Acuisition Control-RAM/Non volatile-Enter time figures) General parameters Frequency marker, (Sweep Control) 0=Off 1=On Marker frequency, (Enter frequency-Graph display-After sweep, alters marker position) Program 1-6 direct load, (System Options) 0=Disabled 1=Enabled...
  • Page 123 PSM17xx communications manual Harmonic analyser parameters Scan, (Harmonic analyser) 0=Single 1=Difference thd 2=Series thd Harmonic, (Harmonic analyser) 0, 1 & 2=2 etc up to 64 Harmonics (Max), (Harmonic analyser-scan-series thd) 0, 1 & 2=2 etc up to 64 Parameter, (Harmonic analyser) 1=dB Bargraph Scale, (Harmonic analyser-scan-series thd-Enter...
  • Page 124 PSM17xx communications manual Step message, (System options) 0=Enabled 1=Disabled Display sequence, (Graph display- After sweep alters screen display) 0=Primary Parameter 1=Secondary Parameter 2=Both Parameters Length units, (System options) 0=Metres 1=Inch Transformer analyser parameters Parameter, (Mode-Transformer analyser) 0=Turns ratio 1=Inductance 2=Leakage inductance 3=AC resistance 4=DC resistance 5=Interwinding capacitance...
  • Page 125 PSM17xx communications manual Turns Ratio, (Mode-Transformer analyser-Aux control- TAF01/2) TAF01 TAF02 0=W1:W2+3 0=W1:W2 1=W2+3:W1 1=W2:W1 2=W1:W2 2=W1:W3 3=W2:W1 3=W2:W3 4=W1:W3 4=W1:W4 5=W3:W1 5=W2:W4 6=W2:W3 7=W3:W2 Source (Various parameter options) (Mode-Transformer analyser-Auxiliary control-Enter figures) Load, (Insertion loss), (Mode-Transformer analyser-Auxiliary control-Enter figures) Nominal (Turns ratio), (Mode-Transformer analyser-Auxiliary control-Enter figures)
  • Page 126 PSM17xx communications manual Input 2, (Auxiliary control) 0=W1 1=W2+3 2=W2 3=W3 LCR meter parameters Parameter, (LCR Meter) 0=Auto 1=Capacitance 2=Inductance 3=Impedance 4=Admittance Sweep, (LCR Meter) 0=Series 1=Parallel Graph, (LCR Meter) 0=Single 1=Tanδ/QF 2=Resistance LCR head shunt, (Auxiliary control-fixture-LCR active head) 0=Low 1=Normal 2=High...
  • Page 127 PSM17xx communications manual Connection, (LCR Meter) 0=Shunt 1=Divider Zx low 2=Divider Zx high Gain/Phase analyser parameters Graph (time selection) (FRA) 0=Phase 1=Delay dB offset, (FRA-Enter figures) Gain/Phase margins, (FRA) 0=Disabled 1=Enabled Ratio, (FRA) 0=ch2/ch1 1=ch1/ch2 System parameters Minimum cycles, (Acquisition control-Enter figures) Delay time, (Acquisition control-Enter figures) IEEE address,...
  • Page 128 PSM17xx communications manual Alarm type, (Alarm-monitor options) 0=Disabled 1=Linear 2=Alarm if high 3=Alarm if low 4=Outside window 5=Inside window High threshold (Alarm type) (Alarm-monitor options-Enter figures) low threshold (Alarm type) (Alarm-monitor options-Enter figures) Alarm latch (Alarm type) (Alarm-monitor options) 0=Off 1=On Alarm sounder (Alarm type)
  • Page 129 PSM17xx communications manual Alarm 2 type, (Alarm-monitor options) 0=Disabled 1=Linear 2=Alarm if high 3=Alarm if low 4=Outside window 5=Inside window High threshold (Alarm type) (Alarm-monitor options-Enter figures) Low threshold, (Alarm type) (Alarm-monitor options-Enter figures) Graph functions Graph 2 scaling, (Sweep control) 0=Auto 1=Manual Upper limit...
  • Page 130 PSM17xx communications manual Null meter, (Vector voltmeter) 0=Off 1=Auto 2=Manual Upper limit (Null meter), (Vector voltmeter-Enter figures) Offset (Parameter), (Vector voltmeter-Enter figures) Trim parameters ac trim data, (Trim control) 0=Disabled 1=CH1 2=CH2 ac level (Trim data), (Vector voltmeter-Enter figures) Trim tolerance (Trim data), (Vector voltmeter-Enter figures) Other parameters Steps,...
  • Page 131 Web site: www.newtons4th.com At Newtons4th Ltd. we have a policy of continuous product improvement and are always keen to hear comments, whether favourable or unfavourable, from users of our products. Please telephone, fax, write or e-mail with your...

This manual is also suitable for:

Numetriq psm1735

Table of Contents