Hameg HMC8012 Programmer'S Manual Download Page 16

16

HAMEG Instruments GmbH • Industriestr. 6 • D-63533 Mainhausen • Deutschland  

Subject to change without notice

Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: [email protected] 

Geschäftsführer: Dipl.-Ing. Holger Asmussen, Dipl.-Ing. Andre Vander Stichelen • AG Offenbach am Main HRB 41200

1

1

HAMEG Instruments GmbH • Industriestraße 6 • D-63533 Mainhausen  

Subject to change without notice

Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: [email protected] 

Geschäftsführer: Dipl.-Ing. Holger Asmussen • AG Offenbach am Main HRB 41200

Firmware Version: 01.020 and later

English

S C P I   P r o g r a m m e r s   M a n u a l

H M S   S e r i e s

1

HAMEG Instruments GmbH • Industriestraße 6 • D-63533 Mainhausen  

Subject to change without notice

Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: [email protected] 

Geschäftsführer: Dipl.-Ing. Holger Asmussen • AG Offenbach am Main HRB 41200

Firmware Version: 01.020 and later

English

S C P I   P r o g r a m m e r s   M a n u a l

H M S   S e r i e s

HMO352x, HMO2524

HMO72x ... HMO202x

Firmware Version: 03.00 and later

English

:ACQuire 

:CHAN1OFFSet 

:DISPlay

:HCOPy

*ESR? 

*OPC?

:LOGic:SIZE

:MEASure

:POD1

:SYSTem

*SRE?

S C P I  P r o g r a m m e r s M a n u a l

  H M O   S e r i e s

SCPI Commands HMC8012

Bit No. Meaning

0...1

Not used

2

Error Queue

The bit is set when an error is occured. If this bit is enabled by the SRE, each entry of the error 

queue generates a service request. Thus an error can be recognized and specified in greater detail 

by polling the error queue. The poll provides an informative error message. This procedure is to be 

recommended since it considerably reduces the problems involved with remote control.

3

QUEStionable status sum bit

The bit is set, if an 

EVENt

 bit is set in the 

QUEStionable

 status register and the associated 

ENABle

 

bit is set to 1. A set bit indicates a questionable instrument status, which can be specified in detail 

by polling the 

QUEStionable

 status register.

4

MAV bit (message available)

The bit is set, if a readable message in the output buffer is available. This bit can be used to enable 

data to be automatical read from the instrument.

5

ESB bit

Sum bit of the event status register. It is set, if one of the bits in the event status register is set and 

enabled in the event status enable register. Setting of this bit indicates a serious error, which can be 

specified in greater detail by polling the event status register.

6

MSS bit (master status summary bit)

The bit is set, if the instrument triggers a service request. This is the case, if one of the other bits of 

this register is set together with its mask bit in the service request enable register SRE.

7

OPERation

 status register sum bit

The bit is set, if an 

EVENt

 bit is set in the 

OPERation

 status register and the associated 

ENABle

 bit 

is set to 1. A set bit indicates that the instrument is just performing an action. The type of action can 

be determined by polling the 

OPERation

 status register.

Table 1.8: Bits of the status byte 

(please refer to page 20)

Event Status Register (ESR) and Event Status Enable Register (ESE)

The ESR is defined in IEEE 488.2. It can be compared with the 

EVENt

 part of a SCPI register. The event status register 

can be read out using command 

*ESR?

.

The ESE corresponds to the 

ENABle 

part of a SCPI register. If a bit is set in the ESE and the associated bit in the ESR 

changes from 0 to 1, the ESB bit in the STB is set. The ESE register can be set using the command 

*ESE

 and read 

using the command 

*ESE?

.

Summary of Contents for HMC8012

Page 1: ...sion 01 020 and later English S C P I P r o g r a m m e r s M a n u a l H M S S e r i e s 1 HAMEG Instruments GmbH Industriestra e 6 D 63533 Mainhausen Subject to change without notice Tel 49 0 6182 8...

Page 2: ...English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 Inhalt 1 1 Remote Control Interfa...

Page 3: ...34401A and 34410A Naturally the free HAMEG software HMExplorer is also available for the HMC series This Windows application offers HMC instruments a terminal function the option to create screenshots...

Page 4: ...icularly attractive for customers who already have an existing GPIB environment With minimum efforts an old instrument can be replaced by a model of the HMC8012 To be able to control the instrument vi...

Page 5: ...onfiguration Risk of network errors Connection errors can affect the entire network If your network does not support DHCP or if you choose to disable dynamic TCP IP configuration you must assign valid...

Page 6: ...g r a m m e r s M a n u a l H M S S e r i e s HMO352x HMO2524 HMO72x HMO202x Firmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P...

Page 7: ...ment Setting commands cause instrument settings such as a reset of the instrument or setting the frequency Queries cause data to be provided for remote control e g for identification of the instrument...

Page 8: ...CII code 0 to 9 11 to 32 decimal e g blank The headers may consist of several mnemonics keywords Queries are formed by appending a question mark directly to the header The commands can be either devic...

Page 9: ...s are marked by square brackets in the description The instrument must recognize the long command to comply with the SCPI standard Some commands are considerably shortened by these optional mnemonics...

Page 10: ...ent must lie inside the value range 32000 to 32000 The exponent is introduced by an E or e Entry of the exponent alone is not allowed In the case of physical quantities the unit can be entered Allowed...

Page 11: ...isk marks a common command Quotation marks introduce a string and terminate it A white space ASCII Code 0 to 9 11 to 32 decimal e g blank separates the header from the parameters Table 1 6 Syntax Elem...

Page 12: ...its or to the units set using the Unit command The response 3 5E9 in the previous example stands for 3 5 GHz Truth values Boolean values are returned as 0 for OFF and 1 for ON Example Setting command...

Page 13: ...the ESE Setting bit 5 in the SRE Waiting for service request SRQ OPC Stops command processing until 1 is returned This is only the case after the Opera tion Complete bit has been set in the ESR This...

Page 14: ...the instrument and on errors which have occurred This information is stored in the status registers and in the error queue Both can be queried via GPIB bus or LAN interface STATus commands 1 6 1 Stru...

Page 15: ...receives its information from the following registers The Event Status Register ESR with the associated mask register standard Event Status Enable ESE The STATus OPERation and STATus QUEStionable regi...

Page 16: ...l 3 QUEStionable status sum bit The bit is set if an EVENt bit is set in the QUEStionable status register and the associated ENABle bit is set to 1 A set bit indicates a questionable instrument status...

Page 17: ...oes not fetch requested data and sends new instructions to the instrument instead The cause is often a query which is faulty and hence cannot be executed 3 Device dependent Error This bit is set if a...

Page 18: ...rent overrange This bit is set if a current range overload occurs 2 to 3 Not used 4 Temperature overrange This bit is set if a temperature range overload occurs 5 Frequency overload underflow This bit...

Page 19: ...uery the higher level reg isters The commands of the STATus system query the SCPI registers STATus QUEStionable The returned value is always a decimal number that represents the bit pattern of the que...

Page 20: ...u a l H M O S e r i e s SCPI Commands HMC8012 Questionable Data Register 2 3 4 5 7 0 1 2 3 4 5 6 7 Enable Register Condition Register OR 0 1 2 3 4 5 6 7 Operation Complete OPC 0 1 Query Error 2 Divice...

Page 21: ...Command Reference This chapter provides the description of all remote commands available for HMC8012 The commands are sorted according to the menu structure of the instrument A list of commands in al...

Page 22: ...012 IDN IDeNtification returns the instrument identification Return values ID HAMEG device type serial number firmwareversion Example HAMEG HMC8012 12345 01 000 Usage Query only OPC OPeration Complete...

Page 23: ...e s SCPI Commands HMC8012 TST self TeST query Triggers selftests of the instrument and returns an error code in decimal form see Service Manual supplied with the instrument 0 indicates no errors occur...

Page 24: ...HMC8012 SYSTem BEEPer STATe State Switches the front panel control beeper on or off For example if the control beeper is disabled you don t get a control beep during the manual or signgle trigger Par...

Page 25: ...dustriestra e 6 D 63533 Mainhausen Subject to change without notice Tel 49 0 6182 800 0 Fax 49 0 6182 800 100 E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen AG Offenbach am Main HRB 41...

Page 26: ...Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 2 4 Trigg...

Page 27: ...Gic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 TRIGger INTerval MIN MAX Returns the trigger time interval for the single trigger mod...

Page 28: ...12 TRIGger MODE Mode Selects the trigger mode Parameters Mode AUTO MANual SINGle AUTO Automatic trigger mode MANual Manual trigger mode SINGle Single trigger mode RST AUTO TRIGger MODE Returns the tri...

Page 29: ...PC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 MEASure CONTinuity Configures the instrument for continuity measurements The dis...

Page 30: ...the instrument for diode tests The displayed value will be reset and the instrument immediately triggers a measurement Return values Value The command returns a single reading Range 5V Usage Query onl...

Page 31: ...i e s SCPI Commands HMC8012 MEASure FRESistance Range AUTO MIN MAX DEF Configures the instrument for 4 wire resistance measurements The displayed values including statistic values will be reset and t...

Page 32: ...S e r i e s HMO352x HMO2524 HMO72x HMO202x Firmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a...

Page 33: ...nds CONFigure CAPacitance Range AUTO MIN MAX DEF 33 SENSe CAPacitance NULL STATe ON OFF 33 SENSe CAPacitance NULL STATe 33 SENSe CAPacitance NULL VALue Value MIN MAX 34 SENSe CAPacitance NULL VALue MI...

Page 34: ...C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe CAPacitance NULL VALue Value MIN MAX Sets the null value of the capacitance measurement function Parameters Value...

Page 35: ...SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe CAPacitance RANGe UPPer MIN MAX DEF Returns the state of the capacitance measurement function range Return...

Page 36: ...es the beeper of the continuity measurement function Parameters State ON OFF ON Activates the beeper function of the continuity measurement function OFF Disables the beeper function of the continuity...

Page 37: ...irmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 S...

Page 38: ...R OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe CURRent AC NULL VALue Value MIN MAX Sets the null value of the AC I mea...

Page 39: ...ent function range Return values Range 20mA 200mA 2A 10A MIN 2 00000000E 02 MAX 1 00000000E 01 DEFault 2 00000000E 02 AC V configuration commands CONFigure VOLTage AC Range AUTO MIN MAX DEF 39 SENSe V...

Page 40: ...d later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe VOLTage AC BANDwidt...

Page 41: ...Firmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012...

Page 42: ...H M O S e r i e s SCPI Commands HMC8012 DC I configuration commands CONFigure CURRent DC Range AUTO MIN MAX DEF 42 SENSe CURRent DC NULL STATe ON OFF 42 SENSe CURRent DC NULL STATe 42 SENSe CURRent DC...

Page 43: ...R OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe CURRent DC NULL VALue Value MIN MAX Sets the null value of the DC I mea...

Page 44: ...URRent DC RANGe UPPer MIN MAX Returns the state of the DC I measurement function range Return values Range 20mA 200mA 2A 10A MIN 2 00000000E 02 MAX 1 00000000E 01 DEFault 2 00000000E 02 DC V configura...

Page 45: ...C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe VOLTage DC NULL STATe Returns the null function state of the DC V measurement function Return values State 1 0 1 O...

Page 46: ...irmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 S...

Page 47: ...ASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 Diode configuration commands CONFigure DIODe 47 SENSe DIODe THReshold Threshold MIN MAX DEF 47 S...

Page 48: ...ode measurement function Return values State 1 0 1 ON beeper of the diode measurement function is activated 0 OFF beeper of the diode measurement function is disabled Frequency configuration commands...

Page 49: ...EQuency APERture MIN MAX Returns the gate time of the frequency measurement function in AC V AC I mode Return values GateTime 1 00000000E 02 1 00000000E 01 1 00000000E 00 MIN 1 00000000E 02 MAX 1 0000...

Page 50: ...MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe FREQuency VOLTage RANGe AUTO Mode Activates or disables the auto range mode of the AC V...

Page 51: ...51 SENSe FRESistance NULL STATe 51 SENSe FRESistance NULL VALue Value MIN MAX 52 SENSe FRESistance NULL VALue MIN MAX 52 SENSe FRESistance RANGe AUTO Mode 52 SENSe FRESistance RANGe AUTO 52 SENSe FRE...

Page 52: ...a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe FRESistance NULL VALue Value MIN MAX Sets the null value of the 4 wire 4w resistance measurement function Parameters Value 0 to 4...

Page 53: ...stance measurement function range Return values Range 400 4k 40k 400k 4M MIN 4 00000000E 02 MAX 4 00000000E 06 2 wire resistance configuration commands CONFigure RESistance Range AUTO MIN MAX DEF 53 S...

Page 54: ...nds HMC8012 SENSe RESistance NULL STATe Returns the null function state of the 2 wire 2w resistance measurement function Return values State 1 0 1 ON Null function of the 2w resistance measurement fun...

Page 55: ...Commands HMC8012 SENSe RESistance RANGe UPPer Range MIN MAX DEF Sets the 2 wire 2w resistance measurement function range Parameters Range 400 4k 40k 400k 4M 40M 250M MIN 400 MAX 250M DEFault 400 RST A...

Page 56: ...RE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 SENSe TEMPerature NULL STATe ON OFF Turns the null function for temperature measurement function on or off In this...

Page 57: ...m e r s M a n u a l H M S S e r i e s HMO352x HMO2524 HMO72x HMO202x Firmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o...

Page 58: ...E S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 ADC rate configuration commands SENSe ADCRate SLOW MEDium FAST 58 SENSe ADCRate 58 SENSe ADCRate SLOW MEDium FAST Se...

Page 59: ...CURR AC AC I measurement function RES 2 wire resistance measurement function FRES 4 wire resistance measurement function FREQ Frequency measurement function in AC V mode FREQ CURR Frequency measuremen...

Page 60: ...SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 Measurement function Mathematic functions Stats AVER Limits NULL dB dBm Power DC V only w...

Page 61: ...imum and minimum low limit value is depending on the activated measurement function To activate the limit lines use the CALC FUNC LIM resp the CALC ON command Parameters Value Depending on the activat...

Page 62: ...e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 CALCulate DBM REFerence MINimum MAXimum Returns the user defined dBm reference resistance value Return values Value e g 6 000E 02 CALCulate N...

Page 63: ...Min of the statistic function depending on the activated measurement function To acti vate the statistic function use the CALC FUNC AVER resp the CALC ON command Return values Value e g 2 24768E 07 Us...

Page 64: ...HMO2524 HMO72x HMO202x Firmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e...

Page 65: ...DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Commands HMC8012 DATA LOG MODE UNLimited COUNt TIME Selects the data logging m...

Page 66: ...ected storage location and file name If no logging file is found the message No Logging Files found is displayed If no storage location is selected the instrument queries the internal memory Please no...

Page 67: ...queries the internal memory Please notice that the logging function has to be activated if you want to use the manual or single trigger mode trigger via TRIG button Without activating the logging fun...

Page 68: ...sch ftsf hrer Dipl Ing Holger Asmussen AG Offenbach am Main HRB 41200 Firmware Version 01 020 and later English S C P I P r o g r a m m e r s M a n u a l H M S S e r i e s HMO352x HMO2524 HMO72x HMO20...

Page 69: ...2x HMO202x Firmware Version 03 00 and later English ACQuire CHAN1OFFSet DISPlay HCOPy ESR OPC LOGic SIZE MEASure POD1 SYSTem SRE S C P I P r o g r a m m e r s M a n u a l H M O S e r i e s SCPI Comman...

Page 70: ...commands of the STATus QUEStionable subsystem control the status reporting structures of the STATus QUEStionable registers See also chapter 1 6 1 Structure of a SCPI Status Register on page 14 STATus...

Page 71: ...ustriestra e 6 D 63533 Mainhausen Subject to change without notice Tel 49 0 6182 800 0 Fax 49 0 6182 800 100 E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen AG Offenbach am Main HRB 412...

Page 72: ...plies Modular System Series 8000 Programmable Instruments Series 8100 w w w h a m e g c o m 43 2030 2010 43 2030 2010 authorized dealer Oscilloscopes Spectrum Analyzer Power Supplies Modular System Se...

Reviews: