Page 1
This manual explains the communication commands for Model SM7420 Super Megohm Meter. ✓ Please refer to the instruction manual for Model SM7420 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 ............................
Page 3
:DELay---Set and Query Delay time ..................21 (12) Average ............................ 22 :AVERage---Set and Query Average ..................22 :AVERage:COUNt---Set and Query average hold times ............22 (13) Trigger ............................. 22 :TRIGger---Set and Query Trigger Source ................22 (14) Self-Calibration ........................22 :CALibration?---Execute and Query Self-Calibration ..............
Page 4
:IO:EDGE---Set and Query Trigger edge ................... 35 :IO:FILTer:STATe---Set and Query TRIG/PRINT Signal's Filter Function ....... 35 :IO:FILTer:TIME---Set and Query TRIG Signal's Filter Time ............ 35 :IO:GOLogic---Set ........................36 :IO:EOM:MODE---Set and Query EOM Output Method ............36 :IO:EOM:PULSe---Set and Query EOM Pulse Width ..............36 :IO:OUTPin?---Query Output Pin Status ...................
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 1,200pA Header ON 1,200pA Header OFF (The current measurement range of CH1 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 1,200pA;*IDN? •...
Compound Command Header Omission When several commands having a common header are combined to form a compound command (for :DISPlay:CONTrast :DISPlay:BACKlight example, if they are written together in sequence, the :DISPlay: common portion (here, ) may be omitted after its initial occurrence. This common portion is called the “current path”...
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. “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 [LOCAL] key on the front panel cancels the Remote state and enables key operations. •...
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 Respond with ASCII “1” when Finished with All Pending Operations *OPC? *WAI Wait for Pending Commands to Finish...
Page 15
category command function Trigger :TRIGger Set Trigger Source :TRIGger? Query Trigger Source Self-Calibration :CALibration? Execute and Query Self-Calibration :CALibration:AUTO Set Self-Calibration AUTO :CALibration:AUTO? Query Self-Calibration AUTO :CALibration:TIME Set Self-Calibration time :CALibration:TIME? Query Self-Calibration time Contact check :CONTactcheck:FREQuency Set contact check frequency :CONTactcheck:FREQuency? Query contact check frequency :CONTactcheck:WORKc...
Page 16
category command function Key Beeper :KEY:BEEPer Set Key Beeper :KEY:BEEPer? Query Key Beeper Key-lock :SYSTem:KLOCk Set Key-Lock State :SYSTem:KLOCk? Query Key-Lock State Internal memory :MEMory? Query measurement value in memory :MEMory:RANGe? Query measurement value in memory (range specification) :MEMory:STATe Set memory state :MEMory:STATe? Query memory state :MEMory:COUNt?
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 •...
*IDN? Query <Manufacturer name>,<Model name>, <Serial number>, <Software version> Response Example *IDN? HIOKI, SM7420,123456789,V1.00 The Instrument ID is HIOKI SM71420, serial number 123456789, 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 Command <0 to 255 (NR1)> *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 <CH1 measurement value(NR3)>,<CH2 measurement value(NR3)>, <CH3 measurement value(NR3)>,<CH4 measurement value(NR3)> Description Returns the measurement value for measured value display mode and the number of displayed digits :MEASure? Example 6.33802E-12, 6.14502E-12, 6.33247E-12, 6.45789E-12 Measurement data (CH1) is 6.33802pA.
(3) Tempureture and Humidity value Query Tempureture value Syntax :MEASure:TEMPerature? Query Response <Tempureture(℃)(NR2)> Description Return tempureture value When Z2011 has not set, return tempreture value has been 99.99 :MEASure:TEMPerature? Example 23.45 Tempureture has been 23.45℃ Query Humidity value Syntax :MEASure:HUMidity? Query Response <Humidity(%rh)(NR2)>...
(6) The Number of Displayed digits Set and Query The Number of Displayed digits command Syntax :MEASure:DIGit <3~6(NR1)> Query :MEASure:DIGit? Response <3~6(NR1)> Example :MEASure:DIGit 3 Set the number of displayed digits to 3 :MEASure:DIGit? The number of displayed digits has been 3 (7) Current Channel Set and Query Current channel Syntax...
(10) Range Set and Query Current Range Syntax Command :RANGe <Channel No.(NR1)>, <20pA/200pA/2nA/20nA/200nA/2uA/20uA/200uA/2mA> Query :RANGe? <Channel No.(NR1)> Response <Channel No.(NR1)>, <20pA/200pA/2nA/20nA/200nA/2uA/20uA/200uA/2mA> Description <Channel No.(NR1)> = 1~4 Specifying 0 when issuing as a command sets the current range for all channels. By specifying 0 when issuing as a query, you can acquire a comma-delimited list of the settings for all channels.
(12) Average Set and Query Average Syntax Command :AVERage <OFF/HOLD/AUTO> Query :AVERage? Response <OFF/HOLD/AUTO> Description … Average is OFF … Moving average HOLD … The number of times of averaging is automatically changed based on AUTO the variation of the measured values Example :AVERage HOLD Set average to moving average...
Set and Query Self-Calibration AUTO Syntax Command :CALibration:AUTO <ON/OFF> Query :CALibration:AUTO? 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 Command :CALibration:TIME <time(s)(NR1)> Query :CALibration:TIME? Response <time(s)(NR1)> Description <time(s)(NR2)> = 1~600 Example :CALibration:TIME 60 Set self-calibration time to 60 seconds...
Set and Query contact check range Syntax Command :CONTactcheck:WORKc <Channel No.(NR1)>,<NORMal/LOW> Query :CONTactcheck:WORKc? <Channel No.(NR1)> Response <Channel No.(NR1)>,<NORMAL/LOW > Description <Channel No.(NR1)> = 1~4 Specifying 0 when issuing as a command sets the contact check range for all channels. By specifying 0 when issuing as a query, you can acquire a comma-delimited list of the settings for all channels.
Set and Query contact check delay Syntax Command :CONTactcheck:DELay <Channel No.(NR1)>,<delay time(s)(NR2)> Query :CONTactcheck:DELay? <Channel No.(NR1)> Response <Channel No.(NR1)>,< delay time(s)(NR2)> Description <Channel No.(NR1)> = 1~4 Specifying 0 when issuing as a command sets the delay time for all channels. By specifying 0 when issuing as a query, you can acquire a comma-delimited list of the settings for all channels.
Set and Query contact check state Syntax Command :CONTactcheck:STATe <Channel No.(NR1)>,<ON/OFF> Query :CONTactcheck:STATe? <Channel No.(NR1)> Response <Channel No.(NR1)>,<ON/OFF> Description <Channel No.(NR1)> = 1~4 Specifying 0 when issuing as a command sets the contact check auto execute for all channels. By specifying 0 when issuing as a query, you can acquire a comma-delimited list of the settings for all channels.
Query contact check value Syntax :CONTactcheck:VALue? <Channel No.(NR1)> Query Response <contact check value(NR3)> Description <Channel No.(NR1)> = 1~4 By specifying 0 when issuing as a query, you can acquire a comma-delimited list of values for all channels. Return contact check value. Unexecuted jig capacity open correction …...
Set and Query Internal Diameter of the counter electrode (D2) Syntax Command :ELECtric:D2 <Channel No.(NR1)>,<diameter of the counter(m)(NR2)> Query :ELECtric:D2? <Channel No.(NR1)> Response <Channel No.(NR1)>,< diameter of the counter (m)(NR2)> Description <Channel No.(NR1)> = 1~4 Specifying 0 when issuing as a command sets the diameter of the counter electrode (D2) for all channels.
(18) Comparator Set and Query Comparator Syntax Command :COMParator:LIMit <Channel No.(NR1)>, <OFF/upper limit(NR3)>,<OFF/lower limit(NR3)> Query :COMParator:LIMit? <Channel No.(NR1)> Response <Channel No.(NR1)>,<OFF/ upper limit (NR3)>,<OFF/ lower limit (NR3)> Description <Channel No.(NR1)> = 1~4 Specifying 0 when issuing as a command sets the comparator limit for all channels. By specifying 0 when issuing as a query, you can acquire a comma-delimited list of the settings for all channels.
Query already panel saving Syntax :PANel:SAVE? Command <1~50(NR1)> Response <0/1(NR1)> Description 0 … no saving data 1 … exist saving data The response message has no header. :PANel:SAVE? 1 Example Exist saving data at panel 1 Load panel data Syntax :PANel:LOAD Command <1~50(NR1)>...
(20) Key Beeper Set and Query Key Beeper Syntax Command :KEY:BEEPer <ON/OFF> Query :KEY:BEEPer? Response <ON/OFF> Description < ON / OFF > Example :KEY:BEEPer Set key beeper to ON :KEY:BEEPer? Key beeper has been ON (21) Key-lock Set and Query Key-Lock State Syntax Command :SYSTem:KLOCk...
Query measurement value in memory (range specification) Syntax :MEMory:RANGe? <Channel No.(NR1)>,<1~255>, Query <Start memory number>,<End memory number> Response < Return measurement value and judgment > Description Return measurement value and judgment <Channel No.(NR1)> = 1~4 By specifying 0, you can acquire a comma-delimited list of the settings for all channels. Set the data you wish to query as a value from 1 to 255.
Set Memory clear Syntax :MEMory:CLEar Command Description Clear all measurement value in memory :MEMory:CLEar Example Clear all measurement value in memory Note Can't return the panel data once delete (23) D/A output function Set and query the D/A output function Syntax Command :DAOutput...
Set and Query Backlight Syntax Command :DISPlay:BACKlight <0~100(NR1)> Query :DISPlay:BACKlight? Response <0~100(NR1)> Example :DISPlay:BACKlight 50 Set the backlight brightness to 50%. :DISPlay:BACKlight? The backlight brightness has been set to 50%. (25) Line Frequency Set and Query Line Frequency Syntax Command :SYSTem:LFRequency <AUTO/50/60>...
(27) EXT I/O Set and Query Trigger edge Syntax Command :IO:EDGE <ON/OFF> Query :IO:EDGE? Response <ON/OFF> Description Set trigger edge … PNP: fall、NPN:rise … PNP: rise、NPN:fall Example :IO:EDGE Set trigger edge to ON edge :IO:EDGE? Trigger edge has been ON edge Set and Query TRIG Signal's Filter Function Syntax Command...
Set and Query GO-signal outputting logic level Syntax command :IO:GOLogic <NORMal/ INVert > Query :IO:GOLogic? Response <NORMAL/INVERT> Description …When a pass judgment is given for the contact check or NORMAL voltage monitor check: Outputs a low-level signal. When a fail judgment is given for the contact check or voltage monitor check: Outputs a high-level signal.
(29) 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 ・ (A) Current 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...
Page 44
Super Megohm Meter SM7420 Programming Command Compatibility with DSM8542 Setting Control Program Messages DSM8542 Function Format Compatibility Notes SM7420 ・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 45
• The instrument does Not support voltage check automatic execution mode. Selection of auto voltage check execute mode. VCM <0~1> Not compatible • The command will be igNored and will Not result in a command error. Query response of auto voltage monitoring execute mode is same as •...
Page 46
Not compatible command error. Execution And Execution Result Program Messages DSM8542 Function Function Compatibility Notes SM7420 Sets the device event status enable register. DSE <0~255> :DSE <0~255(NR1)> Query response data of the device event status enable register is same DSE?
Need help?
Do you have a question about the SM7420 and is the answer not in the manual?
Questions and answers