Page 1
This manual explains the communication commands for Model SM7110, SM7120 Super Megohm Meter. ✓ Please refer to the instruction manual for Model SM7110, SM7120 for details regarding command settings. ✓ Although all reasonable care has been taken in the production of this manual, should you find any points which are unclear or in error, please contact your local distributor or the HIOKI International Sales Department at os-com@hioki.co.jp.
Contents 1 Introduction ............................1 Message Format ............................. 1 Output Queue and Input Buffer ......................4 Status Byte Register ..........................5 Event Registers ............................6 Initialization Items ..........................8 Local Function ............................9 Command Execution Time ........................9 Errors During Communications ......................9 2 Message List ............................
1 Introduction If the [COMMAND MONITOR] function is used at the time of program creation, commands and responses will be conveniently displayed on the measurement screen. For information on the [COMMAND MONITOR] function, see the instruction manual of the instruments. Various messages are supported for controlling the instrument through the interfaces.
Page 6
Response Messages When a query message is received, its syntax is checked and a response message is :SYSTem:HEADer generated. command determines whether headers are prefixed to response messages. :RANGE 200pA Header ON 200pA Header OFF (The current measurement range is 200pA) At power-on, Header OFF is selected.
Page 7
Message Terminators This instrument recognizes the following message terminators (delimiters): • • CR+LF Also the terminator for response messages is as follows: • CR+LF (USB, RS-232C, GP-IB) • LF (Only GP-IB) Separators (1) Message Unit Separator Multiple messages can be written in one line by separating them with semicolons “;” :RANGe 200pA;*IDN? •...
Compound Command Header Omission When several commands having a common header are combined to form a compound command (for :SEQuence:TIME:DISCharge1 :SEQuence:TIME:CHARge example, if they are written :SEQuence:TIME: together in sequence, the common portion (here, ) may be omitted after its initial occurrence.
Status Byte Register Standard Event Register Description Output Queue data information Each of these bits corresponds to a specific event register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Status Byte Unused Unused Unused Unused Register (STB) ↑ ↓ ↓ ↓...
Event Registers Standard Event Status Register (SESR) The Standard Event Status Register is an 8-bit register. If any bit in the Standard Event Status Register is set to 1 (after masking by the Standard Event Status Enable Register), bit 5 (ESB) of the Status Byte Register is set to 1. See: “Standard Event Status Register (SESR) and Standard Event Status Enable Register (SESER)”...
Page 11
Standard Event Status Enable Register (SESER) Setting any bit of the Standard Event Status Enable Register to 1 enables access to the corresponding bit of the Standard Event Status Register. Standard Event Status Register (SESR) and Standard Event Status Enable Register (SESER) Status Byte Register (STB) bit6 bit5...
Device-Specific Event Status Enable Register (DESER) Setting any bit of the Device-Specific Event Status Enable Register to 1 enables access to the corresponding bit of the Standard Event Status Register. Device-Specific Event Status Register (DESR) and Device-Specific Event Status Enable Register (DESER) Status Byte Register (STB) Bit4 Bit3...
Local Function The Remote state is entered during communication. [RMT] is displayed in the measurement display and operation keys are disabled. Canceling the Remote state • Pressing the [LOCAL] key on the front panel cancels the Remote state and enables key operations. LOCAL :SYSTem:LOCal •...
2 Message List category command function Standard Commands *IDN? Query Instrument ID (Identification Code) *RST Internal Operation *TST? Execute Self-Test and Query Result *OPC Set OPC bit of SESR when Finished with All Pending Operations *OPC? Respond with ASCII “1” when Finished with All Pending Operations *WAI Wait for Pending Commands to Finish *CLS...
Page 15
category command function Sequence Program :SEQuence:STATe Set Sequence Program function :SEQuence:STATe? Query Sequence Program :SEQuence:NUMBer Set Sequence program number :SEQuence:NUMBer? Query Sequence program number :SEQuence:TIME Set Sequence time :SEQuence:TIME? Query Sequence time :SEQuence:TIME:DISCharge1 Set Sequence Discharge time :SEQuence:TIME:DISCharge1? Qery Sequence Discharge time :SEQuence:TIME:CHARge Set Sequence charge time :SEQuence:TIME:CHARge?
Page 16
category command function Drawing update during :DISPlay:UPDate Set drawing update during measurement measurement :DISPlay:UPDate? Query drawing update during measurement Resistivity measurement :ELECtric:D1 Set Diameter of the main electrode (D1) :ELECtric:D1? Query Diameter of the main electrode (D1) :ELECtric:D2 Set Internal Diameter of the counter electrode (D2) :ELECtric:D2? Query Internal Diameter of the counter electrode (D2) :ELECtric:T...
Page 17
category command function ExternalI/O :IO:EDGE Set Trigger edge :IO:EDGE? Query Trigger edge :IO:FILTer:STATe Set TRIG Signal's Filter :IO:FILTer:STATe? Query TRIG Signal's Filter :IO:FILTer:TIME Set TRIG Signal's Filter Tim :IO:FILTer:TIME? TRIG Signal's Filter Tim :IO:GOLogic Set GO-signal outputting logic level :IO:GOLogic? Query GO-signal outputting logic level :IO:EOM:MODE Set EOM Output Method...
3 Message Reference Message Reference Interpretation < >: Indicates the contents (character or numeric parameters) of the data portion of a message. Character parameters are returned as all capital letters. Numeric Parameters: • Number format may be any of NR1, NR2 and NR3 Integer data (e.g.: +12, -23, 34) •...
*IDN? Query <Manufacturer name>,<Model name>, <Serial number>, <Software version> Response Example *IDN? HIOKI, SM7110,123456,V1.00 The Instrument ID is HIOKI SM7110, serial number 123456, software version 1.00. (2) Internal Operation Command Initialize Instrument (Normal Reset) Syntax *RST Command Description Resets the instrument to factory settings excluding the communication state, , Command zero adjustment value and saved data.(Normal Reset)
Wait for Pending Commands to Finish Syntax *WAI Command Description The instrument waits until all prior commands finish before executing any subsequent commands. Example :TRIGger EXTernal *TRG;*WAI;MEASure? Reads the measurement value after waiting for the measurement triggered by the *TRG command to finish.
Set and Query Service Request Enable Register (SRER) Syntax *SRE <0 to 255 (NR1)> Command *SRE? Query <0 to 255 (NR1)> Response Description The SRER mask is set to the numerical value 0 to 255. Command Although NRf numerical values are accepted, values to the right of the decimal are rounded to the nearest integer.
(2) Reading Measured Values Query Measurement value Syntax :MEASure? Query Response <measurement value(NR3)> Description Returns the measurement value for measured value display mode and the number of displayed digits Example :MEASure? 6.33802E-12 Measurement data is 6.33802pA (For current measurement mode) Query Judgment of Measured Value Syntax :MEASure:COMParator?
(3) Voltage Monitor Query Voltage Monitor value Syntax :MEASure:MONItor? Query Response <Voltage monitor (NR2)> Description Return the Voltage monitor value Example :MEASure:MONItor? 500.2 Voltage monitor value has been 500.2V (4) Tempureture and Humidity value Query Tempureture value Syntax :MEASure:TEMPerature? Query Response <Tempureture(℃)(NR2)>...
<Applied Voltage(V)(NR2)> :VOLTage? Query Response < Applied Voltage (V)(NR2)> Description SM7110 … <Applied Voltage (V)(NR2)> = 0.1~1000.0 SM7120 … <Applied Voltage (V)(NR2)> = 0.1~2000.0 Example :VOLTage 100 Set to Applied Voltage to 100V. :VOLTage? Applied Voltage has been set to 100V.
(10) Range Set and Query Current Range Syntax :RANGe command <20pA/200pA/2nA/20nA/200nA/2uA/20uA/200uA/2mA> :RANGe? Query Response <20pA/200pA/2nA/20nA/200nA/2uA/20uA/200uA/2mA> Example :RANGe 20pA Set current range to 20pA. :RANGe? 20pA Current range has been set to 20pA. Set and Query Auto Range Syntax :RANGe:AUTO command <ON/OFF>...
Set and Query average hold times Syntax :AVERage:COUNt command <2~255(NR1)> :AVERage:COUNt? Query Response <2~255(NR1)> Example :AVERage:COUNt 5 Set average hold time to 5 :AVERage:COUNt? Average hold time has been 5 (13) Sequence Program function Set and Query Sequence Program Syntax :SEQuence:STATe command <ON/OFF>...
Set and Query Sequence Discharge time Syntax :SEQuence:TIME:DISCharge1 command < sequence number (NR1)>, < discharge time (s)(NR2)> :SEQuence:TIME:DISCharge1? Query < sequence number (NR1)> Response < sequence number (NR1)>,< discharge time (s) (NR2)> Description < sequence number (NR1)> = 0~9 < discharge time (s)(NR2)> = 0.000~999.999 Example :SEQuence:TIME:DISCharge1 1,0.1 Set sequence 1 discharge time to 0.1 seconds...
Set and Query Sequence Discharge time Syntax :SEQuence:TIME:DISCharge2 command < sequence number (NR1)>, < discharge time (s) (NR2)> :SEQuence:TIME:DISCharge2? Query < sequence number (NR1)> Response < sequence number (NR1)>,< discharge time (s) (NR2)> Description < sequence number (NR1)> = 0~9 <...
(14) Voltage value setting for resistance calculation Set and Query Voltage value setting for resistance calculation Syntax :VMODe command <MESV/VMONi/EXTV> :VMODe? Query Response <MESV/VMONi/EXTV> Description … set output voltage value MESV VMONI … measured voltage value … set external voltage value EXTV Example :VMODe MESV...
Set and Query Self-Calibration AUTO Syntax :CALibration:AUTO command <ON/OFF> :CALibration:AUTO? Query Response <ON/OFF> Example :CALibration:AUTO Set Self-calibration to AUTO :CALibration:AUTO? Self-calibration has been AUTO Set and Query Self-Calibration time Syntax :CALibration:TIME command <time(s)(NR1)> :CALibration:TIME? Query Response <time(s)(NR1)> Description <time(s)(NR2)> = 1~600 Example :CALibration:TIME 60 Set self-calibration time to 60 seconds...
Set and Query total current limit Syntax :CHARge:LIMit:CURRent command <1.8mA/5mA/10mA/50mA> :CHARge:LIMit:CURRent? Query Response <1.8mA/5mA/10mA/50mA> Description Set total current limit Example :CHARge:LIMit:CURRent 5mA Set total current limit to 5mA :CHARge:LIMit:CURRent? Total current limit has been 5mA (19) Contact check Set and Query contact check frequency Syntax :CONTactcheck:FREQuency command...
Query contact check cable length auto Syntax :CONTactcheck:CABLe:AUTO? Query Response <0~1(NR1)> Description 0 … cable length auto OFF 1 … cable length auto ON :CONTactcheck:CABLe:AUTO? Example Contact check calbe length auto has been ON Set and Query contact check delay Syntax :CONTactcheck:DELay command...
Set and Query contact check state Syntax :CONTactcheck:STATe command <ON/OFF> :CONTactcheck:STATe? Query Response <ON/OFF> Description … Auto execute before measurement … No execute Example :CONTactcheck:STATe Set contact check auto execute to ON :CONTactcheck:STATe? Contact check auto execute has been ON Set and Query contact check limit Syntax :CONTactcheck:LIMit...
(20) Drawing update during measurement Set and Query d rawing update during measurement Syntax :DISPlay:UPDate command <ON/OFF> :DISPlay:UPDate? Query Response <ON/OFF> Description < ON / OFF > Example :DISPlay:UPDate Set Drawing update during measurement to ON :DISPlay:UPDate? Drawing update during measurement has been ON (21) Resistivity measurement function Set and Query Diameter of the main electrode (D1) Syntax...
(23) Panel saving and loading Set Panel saving Syntax :PANel:SAVE <1~50(NR1)> command Description Save measurement conditions Example :PANel:SAVE 1 Save measurement conditions at panel 1 Note Overweite when already save this panel Query already panel saving Syntax :PANel:SAVE? <1~50(NR1)> command Response <0/1(NR1)>...
Delete panel data Syntax :PANel:CLEar <1~50(NR1)> command Description Delate panel data Example :PANel:CLEar 1 Delate panel 1 data Note Can't return the panel data once delete (24) Key Beeper Set and Query Key Beeper Syntax :KEY:BEEPer command <ON/OFF> :KEY:BEEPer? Query Response <ON/OFF>...
Query measurement value in memory (range specification) Syntax :MEMory:RANGe? <1~255>, Query <Start memory number>,<End memory number> Response < Return measurement value and judgment > Description Return measurement value and judgment Set the data you wish to query as a value from 1 to 255. For example, to query measured values only you would set the value 2.
(27) Voltage monitor check Set and Query Voltage monitor check Syntax :VCHeck? Query Response <0~1(NR1)> Description Execute voltage monitor check, retuen judge 0 … NG 1 … OK :VCHeck? Example Voltage monitor check has been OK Set and Query Voltage monitor check state Syntax :VCHeck:STATe command...
(29) LCD Set and Query Display Mode Syntax :DISPlay:MODE command <NORMal/SEQuence> :DISPlay:MODE? Query Response <NORMAL/SEQUENCE> Description NORMal … normally display SEQuence … time display for sequence program mode Example :DISPlay:MODE NORMal Set display mode to normal :DISPlay:MODE? NORMAL Display mode has been normal Set and Query Contrast Syntax :DISPlay:CONTrast...
Set and Query TRIG Signal's Filter Time Syntax :IO:FILTer:TIME command < Filter time (s)(NR2)> :IO:FILTer:TIME? Query Response < Filter time (s)(NR2)> Description < Filter time (s)(NR2)> = 0.001~0.500 Example :IO:FILTer:TIME 0.123 Set trigger filter time to 0.133 seconds. :IO:FILTer:TIME? 0.123 Trigger filter time has been set to 0.123 seconds.
Query Output Pin Status Syntax :IO:OUTPin? Query <ERR/CCHecgo/OPENgo/IN/PASS/EOM/INDEx/ VCHeckgo/VON/HI/LO/FAIL> Response <0/1(NR1)> Description Return the output pin status. Example :IO:OUTPin? INDEx INDEX pin is ON. Query NPN/PNP Switch Status Syntax :IO:MODE? Query Response <NPN/PNP> Description Return the NPN/PNP Switch status. Example :IO:MODE? NPN/PNP Switch has been set to NPN.
(34) Command Header Set and Query Header Presence Syntax :HEADer Command <ON/OFF> :HEADer? Query Response <ON/OFF> Description Sets whether or not there is a header in the response message. Example :HEADer ON Adds a header to the response message. :HEADer? :HEADER ON A header is set to be added to the response message.
4 Measurement Value Format Current ・ (A) Format Range Current Over Range Contact check NG + 9.99999E+30 + 5.55555E+30 ±1.99999E-03A + 999.999E+30 + 555.555E+30 200uA ±199.999E-06A + 99.9999E+30 + 55.5555E+30 20uA ±19.9999E-06A + 9.99999E+30 + 5.55555E+30 ±1.99999E-06A + 999.999E+30 + 555.555E+30 UNIT/EXP 200nA ±199.999E-09A...
Sample application can be downloaded from the Hioki website. It can perform the following operations on the SM7110 and SM7120: ●Measuring instrument settings ●Time Interval Measurement (By setting up the time interval) ●Voltage sweep measurement (measurement using a varying voltage) ●Loading by Return key (Single Measurement)
Page 48
Super Megohm Meter SM7110,7120 Programming Command Compatibility with DSM8104 Setting Control Program Messages DSM8104 Function Format Compatibility Notes SM7110、SM7120 ・Specifying "2:<EOI>" will result in a setting of "0:LF<EOI>." Delimiter designation in talker mode. DLM <0~2> :SYSTem:TERMinator <LF/CRLF> • Because this setting is backed up, cycling the power will Not cause the default value to be restored.
Page 49
Function to interact with measuring voltage ON or measurement start. SRT :STARt Function to interact with measuring stop (measuring voltage OFF). :STOP Generates manual trigger. *TRG Setting Measuring Voltage . IVS <0.1~1000.0> :VOLTage <Voltage(V)(NR2)> IVS? Query response of Measuring Voltage is same as setting. IVS? :VOLTage? PWS <0~2>,<0~1>,<0~1>...
Page 50
Execution And Execution Result Program Messages DSM8104 Function Format Compatibility Notes SM7110、SM7120 ERR? Error information clear. ERR? • The instrument does Not have an error register. This command will be igNored and will Not result in a command Not compatible Sets the device event status enable register.
Need help?
Do you have a question about the SM7110 and is the answer not in the manual?
Questions and answers