IEEE 488.2 Common Commands 17 Withstanding Voltage/ Test Mode Settings 20 AC Withstanding Voltage Test (ACW) Conditions Insulation ResistanceTester DC Withstanding Voltage Test (DCW) Conditions TOS5300 Insulation Resistance Test (IR) Conditions 29 About Sequences 33 TOS5301 Test Execution (SEQuence2:TEST) 35 Querying Measured Values...
• The TOS5300 Series Withstanding Voltage and Insulation product. Keep them in mind and make sure to observe them. Resistance Tester is also referred to as the TOS5300 Series. ■ User’s Manual (PDF) • Device under test is also referred to as DUT.
Contents About the Operation Manuals ........................1 Notations Used in This Manual .......................1 Remote Control Remote Control Overview .............................. 6 Using the USB Interface..........................6 Installing the VISA library......................... 7 Message Overview Message Overview ................................. 10 SCPI command syntax..........................10 Parameters ..............................12 Command Reference Command Description in This Manual........................
Page 4
Calibration period setting ........................44 Other settings ............................44 Status Register and Status Report Function......................46 IEEE 488.2 Register Model ............................48 Status byte register..........................48 Event status register (standard event status register)..............49 SCPI Register Model................................ 50 OPERation status register (STATus:OPERation) ................50 PROTecting status register (STATus:OPERation:PROTecting) ..........
0.01 60.0 LOWER To use the USB interface to control the TOS5300 Series, a driver that supports the USB Test & Measurement class (USBTMC) must be installed on the controller. The USBTMC driver is installed automatically by the VISA library.
• If NI-VISA or Keysight VISA is already installed on your PC, you do not need to install KI-VISA. KI-VISA is an original VISA library developed by Kikusui Electronics Corporation that supports the IVI VISA specifications 5.0. You can download the most recent version of this library from the Kikusui Electronics Corporation website (https://www.kikusui.co.jp/en/ download/). TOS5300_INTERFACE...
Page 8
This page is intentionally blank. TOS5300_INTERFACE...
Remote Control Message Overview This chapter gives an overview of remote control messages. It then explains topics such as the make-up of the SCPI commands that are used for remote control and the command syntax.
The messages that the PC sends to the TOS5300 Series are commands. The messages that the TOS5300 Series sends to the PC are responses. Commands are used to execute functions or change settings on the TOS5300 Series or to query its settings or status. Responses are used to return the product’s settings or status.
Page 11
[ and ] symbols in the actual program. Queries You can query the settings and status of the TOS5300 Series. To make a query, append a question mark to the end of the program header section. If the query has parameters, insert a space after the question mark, and then write the parameters.
The SCPI parameter format is derived from the program parameter format that is defined in IEEE 488.2. The program data expression format that the TOS5300 Series uses is shown below. Non-numeric parameters The TOS5300 Series uses the following three parameter types.
Page 13
MINimum and MAXimum are available as substitutes for declaring certain values. You can also use units such as V, A, and S in numeric parameters. Numeric If a value that cannot be assigned is entered, the TOS5300 Series rounds the value to the closest possible value. Example: SYSTem:CONFigure:BEEPer:VOLume:PASS 2.0 SYST:CONF:BEEP:VOL:PASS must be set to a value from 0.0 to 1.0, so even if you attempt to...
Page 14
This page is intentionally blank. TOS5300_INTERFACE...
Command Description in This Manual In this manual, commands are described in the following manner. Commands that have these marks are affected Append the value that you want to set the when an *RST or *RCL command is sent. The setting to after the command.
10.12 Command *ESR? Response Returns the value of the event status register in <NR1> format and clears the register. *IDN Queries the model name, serial number, and firmware version of the TOS5300 Series. IEEE 488.2-1992, section 10.14 Command *IDN? Response The response to *IDN? is indicated below.
Page 18
*OPC? Response Returns “1” when all the commands that are in standby have been processed. *OPT Queries the options that are installed in the TOS5300 Series. This command performs the same function as the SYSTem:OPTion? command. Command *OPT? Response Returns “0” if no options are installed. Returns one of the following responses in <character>...
Page 19
IEEE 488.2 Common Commands *RST Aborts the test execution (operation) and resets the panel settings to their default values. For the commands that are affected by *RST, see ”Default State. ” p. 69 IEEE 488.2-1992, section 10.32 Command *RST *SAV Saves the current settings to memory.
This is a substitute command for the IEEE 488.1 get message (Group Execute Trigger). If the IEEE 488.2-1992, section TOS5300 Series is in a state in which it does not accept triggers, an SCPI error (-211, “Trigger 10.37 ignored”) occurs.
AC Withstanding Voltage Test (ACW) Conditions These are commands for setting the AC withstanding voltage test conditions. Measurement methods setting (ACW) SENS:MODE * RST Sets the measurement method. Command SENSe[:ACW]:MODE {RMS|AVE} SENSe[:ACW]:MODE? Parameter Value: True rms response (default) Mean-value response Response Returns the measurement method in <character>...
AC Withstanding Voltage Test (ACW) Conditions Upper limit setting (ACW) SENS:JUDG * RST * RCL Sets the upper limit that is used in judgments (UPPER). Command SENSe[:ACW]:JUDGment[:UPPer] {<numeric>|MIN|MAX} SENSe[:ACW]:JUDGment[:UPPer]? {MIN|MAX} Parameter Value: 0.01 m to 110 m (The default value is 0.02 m.) Unit: Response Returns the upper limit in <NR3>...
AC Withstanding Voltage Test (ACW) Conditions Test time setting (ACW) SOUR:VOLT:TIM * RST * RCL Sets the test time (TIMER). This setting is enabled when SOUR:VOLT:TIM:STAT is set to ON. Command SOURce[:ACW]:VOLTage:TIMer {<numeric>|MIN|MAX} SOURce[:ACW]:VOLTage:TIMer? {MIN|MAX} Parameter Value: 0.1 to 999.0 (The default value is 0.1.) Unit: Response...
AC Withstanding Voltage Test (ACW) Conditions Voltage rise time setting (ACW) SOUR:VOLT:SWE:TIM * RST * RCL Sets the voltage rise time (Rise Time). Command SOURce[:ACW]:VOLTage:SWEep[:RISE]:TIMer {<numeric>|MIN|MAX} SOURce[:ACW]:VOLTage:SWEep[:RISE]:TIMer? {MIN|MAX} Parameter Value: 0.1 to 10.0 (The default value is 0.1.) Unit: Response Returns the voltage rise time (Rise Time) in <NR3>...
DC Withstanding Voltage Test (DCW) Conditions 5301 These are commands for setting the DC withstanding voltage test conditions. Test voltage setting (DCW) SOUR:DCW:VOLT * RST * RCL Sets the test voltage. Command SOURce:DCW:VOLTage[:LEVel] {<numeric>|MIN|MAX} SOURce:DCW:VOLTage[:LEVel]? {MIN|MAX} Parameter Value: 0 to 6.2 k (The default value is 0.) Unit: Response Returns the test voltage setting in <NR3>...
DC Withstanding Voltage Test (DCW) Conditions Upper limit setting (DCW) SENS:DCW:JUDG * RST * RCL Sets the upper limit that is used in judgments (UPPER). Command SENSe:DCW:JUDGment[:UPPer] {<numeric>|MIN|MAX} SENSe:DCW:JUDGment[:UPPer]? {MIN|MAX} Parameter Value: 0.01 m to 11 m (The default value is 0.02 m.) Unit: Response Returns the upper limit in <NR3>...
DC Withstanding Voltage Test (DCW) Conditions Test time setting (DCW) SOUR:DCW:VOLT:TIM * RST * RCL Sets the test time (TIMER). This setting is enabled when SOUR:DCW:VOLT:TIM:STAT is set to ON. Command SOURce:DCW:VOLTage:TIMer {<numeric>|MIN|MAX} SOURce:DCW:VOLTage:TIMer? {MIN|MAX} Parameter Value: 0.1 to 999.0 (The default value is 0.1.) Unit: Response...
DC Withstanding Voltage Test (DCW) Conditions Voltage rise time setting (DCW) SOUR:DCW:VOLT:SWE:TIM * RST * RCL Sets the voltage rise time (Rise Time). Command SOURce:DCW:VOLTage:SWEep[:RISE]:TIMer {<numeric>|MIN|MAX} SOURce:DCW:VOLTage:SWEep[:RISE]:TIMer? {MIN|MAX} Parameter Value: 0.1 to 10.0 (The default value is 0.1.) Unit: Response Returns the voltage rise time (Rise Time) in <NR3>...
Insulation Resistance Test (IR) Conditions 5302 These are commands for setting the insulation resistance test conditions. Test voltage setting (IR) SOUR:IR:VOLT * RST * RCL Sets the test voltage. Command SOURce:IR:VOLTage[:LEVel] {<numeric>|MIN|MAX} SOURce:IR:VOLTage[:LEVel]? {MIN|MAX} Parameter Value: 25, 50, 100, 125, 250, 500, 1000 (The default is 25.) Unit: If you specify a voltage that cannot be used, the voltage is set to the next lowest value that can be used.
Insulation Resistance Test (IR) Conditions Upper limit setting (IR) SENS:IR:JUDG * RST * RCL Sets the upper limit that is used in judgments (UPPER). This setting is enabled when SENS:IR:JUDG:STAT is set to ON. Command SENSe:IR:JUDGment[:UPPer] {<numeric>|MIN|MAX} SENSe:IR:JUDGment[:UPPer] {MIN|MAX} Parameter Value: 30 k to 5 G (The default is 100 M.) Unit: Response...
Insulation Resistance Test (IR) Conditions Lower limit setting (IR) SENS:IR:JUDG:LOW * RST * RCL Sets the lower limit that is used in judgments (LOWER). This setting is enabled when SENS:IR:JUDG:LOW:STAT is set to ON. Command SENSe:IR:JUDGment:LOWer {<numeric>|MIN|MAX} SENSe:IR:JUDGment:LOWer? {MIN|MAX} Parameter Value: 30 k to 5 G (The default is 1.00 M.) Unit: Response...
Insulation Resistance Test (IR) Conditions SOUR:IR:VOLT:TIM:STAT * RST * RCL Sets whether to stop testing after the set test time elapses (TIMER ON/OFF). Command SOURce:IR:VOLTage:TIMer:STATe {ON|OFF|1|0}} SOURce:IR:VOLTage:TIMer:STATe? Parameter Value: ON (1) Testing is stopped after the test time elapses (default). OFF (0) Testing is not stopped after the test time elapses.
If you send the ABOR, *RST, or *RCL command, the trigger subsystem is switched to the IDLE state, regardless of its current state. If you send the TRG command while the TOS5300 Series is in the IDLE state, tests will not be performed.
Page 34
PASSED? PASS PASSED FAILED PASS HOLD time elapses The TOS5300 Series has the following two trigger functions. • SEQuence1 (ACQuire) Starts measurements and queries measured values. • SEQuence2 (TEST) Executes test. You have to specify the execution conditions in advance.
Test Execution (SEQuence2:TEST) This function executes test. You have to specify the execution conditions in advance. TRIG:SEQ2:SOUR / TRIG:TEST:SOUR * RST Sets the trigger source to apply to the SEQuence2 (TEST) group. Command TRIGger:SEQuence2:SOURce {IMMediate|BUS|EXTernal} TRIGger:SEQuence2:SOURce? TRIGger:TEST:SOURce {IMMediate|BUS|EXTernal} TRIGger:TEST:SOURce? Parameter Value: IMMediate Begin testing immediately (default).
Page 36
Test Execution (SEQuence2:TEST) ABOR Aborts the tests and measurements of all sequence groups. The trigger state of the TOS5300 Series immediately after it turns on is the same as its trigger state after it receives an ABOR command. If you send an ABOR command while the TOS5300 Series is executing tests or measurements, the measured data is discarded.
Returns the trigger count in <NR3> format. ABOR Aborts the tests and measurements of all sequence groups. The trigger state of the TOS5300 Series immediately after it turns on is the same as its trigger state after it receives an ABOR command.
Page 38
Querying Measured Values (SEQuence1:ACQuire) MEAS:VOLT / READ:VOLT Starts a new measurement and queries the voltage. Command MEASure[:ARRay]:VOLTage? READ[:ARRay]:VOLTage? Response Returns the measured voltage in <NR3> format or the measured voltages as a comma-separated list in <NR3>,<NR3>,... format. Unit: MEAS:RES / READ:RES Starts a new measurement and queries the resistance.
Page 39
Querying Measured Values (SEQuence1:ACQuire) TRIG:TIM * RCL Sets the trigger timer to apply to the SEQuence1 (ACQuire) group. This command is enabled when the trigger source is set to TIM. Command TRIGger[:SEQuence[1]]:TIMer {<numeric>|MIN|MAX} TRIGger[:SEQuence[1]]:TIMer? {MIN|MAX} TRIGger[:ACQuire]:TIMer {<numeric>|MIN|MAX} TRIGger[:ACQuire]:TIMer? {MIN|MAX} Parameter Value: 0 to 60.0 (The default value is 0.) Unit: Response...
Page 40
Querying Measured Values (SEQuence1:ACQuire) FETC:RES Queries the measured resistance without starting a new measurement. Command FETCh[:ARRay]:RESistance? Response Returns the measured resistance in <NR3> format or the measured elapsed as a comma-separated list in <NR3>,<NR3>,... format. Unit: FETC:TIME Queries the measured elapsed test time without starting a new measurement. Command FETCh[:ARRay]:TIME? Response Returns the measured elapsed test time in <NR3>...
Page 41
Querying Measured Values (SEQuence1:ACQuire) Queries the results of the previous test. Command RESult[:IMMediate]? Response Returns the following results of the previous test: test number, program number, test mode, test start time, voltage, current, resistance, test time, and judgment result. Each result is separated by a comma in the following format: <NR1>, <NR1>,<character>, <NR1>, <NR3>, <NR3>, <NR3>, <NR3>, <character>.
Various Settings Date and time settings SYST:CONF:DATE Sets the date. Command SYSTem:CONFigure:DATE <YEAR_NR1>,<MONTH_NR1>,<DAY_NR1> SYSTem:CONFigure:DATE? Parameter <YEAR_NR1> The year Value: 2000 to 2099 Parameter <MONTH_NR1> The month Value: 1 to 12 Parameter <DAY_NR1> The day Value: 1 to 31 Response Returns the date in <NR1>,<NR1>,<NR1> format (a comma-separated list in which the data is in the order of year, month, day).
Various Settings PASS judgment result hold time setting SYST:CONF:PHOL Sets the length of time that a PASS judgment result will be maintained. Command SYSTem:CONFigure:PHOLd {<numeric>|MIN|MAX|INFinity} SYSTem:CONFigure:PHOLd? {MIN|MAX} Parameter Value: 50 m, 100 m, 200 m, 1, 2, 5 (The default value is 50 m.) INFinity The PASS judgment result is maintained indefinitely (HOLD).
Example If a command has been received that cannot be executed in the current operating state of the TOS5300 Series, this command returns -221, "Settings conflict." If there are multiple errors in the queue, the errors are returned from the oldest error first. Errors are cleared from the queue after they have been returned.
Page 45
(including those of the LOCAL key) are locked. This is a substitute command for the IEEE 488.1 REN (Remote Enable) and LLO (Local Lock Out) messages. You can switch the TOS5300 Series back to local mode by sending the SYST:LOC command. If you send the SYST:REM command, you can use the LOCAL key.
In each SCPI status register, there are the following sub registers: the CONDition register, the EVENt register, the ENABle register, the PTRansition filter, and the NTRansition filter. CONDition register The CONDition register transits automatically and reflects the condition of the TOS5300 Series in real time. Reading this register does not affect its contents. EVENt register The EVENt register bits are automatically set according to the changes in the CONDition register.
Page 47
Status Register and Status Report Function Structure of SCPI status registers 1999 SCPI Syntax & Style PROTecting OPERation Status QUEStionable Status (TOS5300 series specific) ILOC Error/Event Queue NOT USED NOT USED NOT USED NOT USED NOT USED NOT USED VERR...
When the controller executes serial polling, bit 6 responds with request service (RQS). The status byte value is not changed by serial polling. *STB? makes the TOS5300 Series transmit the contents of the status byte register and the master status summary (MSS) message.
IEEE 488.2 Register Model Event status register (standard event status register) The event status register bits are set when certain events occur during TOS5300 Series operation. All the event status register bits are set by the error/event queue. This register is defined by the IEEE 488.2 standard and is controlled by the IEEE 488.2 common commands *ESE, *ESE?, and *ESR?.
SCPI Register Model OPERation status register (STATus:OPERation) The OPERation status register is a 16-bit register that contains information about the normal operating conditions of the TOS5300 Series. Bit weight Bit name Description NOT USED — NOT USED — NOT USED —...
Page 51
SCPI Register Model STAT:OPER:ENAB Sets the enable register of the OPERation status register. Command STATus:OPERation:ENABle <NRf> STATus:OPERation:ENABle? Parameter Value: 0 to 65535 Response Returns the enable register of the OPERation status register in <NR1> format. STAT:OPER:NTR Sets the negative transition filter of the OPERation status register. Command STATus:OPERation:NTRansition <NRf>...
SCPI Register Model PROTecting status register (STATus:OPERation:PROTecting) The PROTecting status register is a 16-bit register that contains information about the status of the TOS5300 Series protective features. This status register is unique to the TOS5300 Series. Bit weight Bit name...
Page 53
SCPI Register Model STAT:OPER:PROT:ENAB Sets the enable register of the PROTecting status register. Command STATus:OPERation:PROTecting:ENABle <NRf> STATus:OPERation:PROTecting:ENABle? Parameter Value: 0 to 65535 Response Returns the enable register of the PROTecting status register in <NR1> format. STAT:OPER:PROT:NTR Sets the negative transition filter of the PROTecting status register. Command STATus:OPERation:PROTecting:NTRansition <NRf>...
SCPI Register Model TESTing status register (STATus:OPERation:TESTing) The TESTing status register is a 16-bit register that contains information about the status of tests on the TOS5300 Series. This status register is unique to the TOS5300 Series. Bit weight Bit name...
Page 55
SCPI Register Model STAT:OPER:TEST:ENAB Sets the enable register of the TESTing status register. Command STATus:OPERation:TESTing:ENABle <NRf> STATus:OPERation:TESTing:ENABle? Parameter Value: 0 to 65535 Response Returns the enable register of the TESTing status register in <NR1> format. STAT:OPER:TEST:NTR Sets the negative transition filter of the TESTing status register. Command STATus:OPERation:TESTing:NTRansition <NRf>...
The QUEStionable status register is a 16-bit register that stores information related to the status of the TOS5300 Series and the questionable events that occur during TOS5300 Series operation. These register bits may indicate that there are problems with the measured data of the TOS5300 Series.
SCPI Register Model STAT:QUES:ENAB Sets the enable register of the QUEStionable status register. Command STATus:QUEStionable:ENABle <NRf> STATus:QUEStionable:ENABle? Parameter Value: 0 to 65535 Response Returns the enable register of the QUEStionable status register in <NR1> format. STAT:QUES:NTR Sets the negative transition filter of the QUEStionable status register. Command STATus:QUEStionable:NTRansition <NRf>...
Start the test (in this example, we will just start the test without using any triggers). When you send the INIT command, the test starts. You cannot start the test if memory is being recalled or saved, the TOS5300 Series is in protection mode, or PASS/FAIL judgment is being performed.
*RST command. R/W: “R” for query commands and “W” for set commands. Nt: “1” for SCPI standard commands, “2” for commands that are being reviewed, and “3” for original commands developed by Kikusui Electronics Corporation. FETC subsystem SCPI command...
Page 61
List of Messages SENSe subsystem SCPI command Setting Default Response Effect Description R/W Nt Program header Parameter Unit SENS [:ACW] :JUDG[:UPP] numeric 0.01 m to 110 m 0.02 m Sets the upper limit R/W 3 :JUDG:LOW numeric 0.01 m to 110 m 0.01 m Sets the lower limit R/W 3...
Page 62
List of Messages SOURce subsystem SCPI command Setting Default Response Effect Description R/W Nt Program header Parameter Unit SOUR :FUNC:MODE char ACW | DCW | IR char Sets the test mode R/W 3 [:ACW]:VOLT :FREQ numeric 50 | 60 Sets the test voltage frequency R/W 3 [:LEV] numeric...
Page 63
List of Messages STATus subsystem SCPI command Setting Default Response Effect Description R/W Nt Program header Parameter Unit STAT :OPER [:EVEN] Queries events :COND Queries register status :ENAB 0 to 65535 R/W 1 Enable :NTR 0 to 65535 R/W 1 Negative transition :PROT [:EVEN]...
Page 64
List of Messages SYSTem subsystem SCPI command Setting Default Response Effect Description R/W Nt Program header Parameter Unit SYST :CONF :BEEP:VOL Sets the volume level of the buzzer :FAIL numeric 0.0 to 1.0 that is sounded when a FAIL judgment R/W 3 occurs Sets the volume level of the buzzer...
Page 65
*ESR Queries the event status register. *IDN Queries the identification string (manufacturer information). Causes the TOS5300 Series to generate the operation complete message in the event *OPC status register when all pending device operations have finished. *OPT Queries the options that are installed in the TOS5300 Series.
-130 Suffix error Generated when parsing a suffix. -131 Invalid suffix The suffix does not follow the syntax, or the suffix is inappropriate for the TOS5300 Series. -134 Suffix too long The suffix contained more than twelve characters. -138 Suffix not allowed A suffix was encountered after a numeric element that does not allow suffixes.
-220 Parameter error A program data element related error occurred. -221 Settings conflict A command was received that the TOS5300 Series cannot execute in its current condition. -222 Data out of range Program value was outside the legal range. -223 Too much data Too many parameters were received for the requirements.
Example: *IDN?;SYST:ERR? Operation complete event errors An error in the range [-899, -800] is used when the TOS5300 Series wants to report an IEEE 488.2 operation complete event. This event occurs when the instrument’s synchronization protocol, having been enabled by an *OPC command, completes all selected pending operations.
Default State When the TOS5300 Series is initialized at the factory or when it receives an *RST or *RCL command, its settings are set to the values shown in the following table. When the power is turned on, the settings are set to the values that were in use immediately before the POWER switch was turned off.
Page 70
Default State Setting after command received Setting after Item Command initialization *RST *RCL Trigger source (SEQ1) TRIG:SOUR (SEQ2) TRIG:SEQ2:SOUR/ ← No effect TRIG:TEST:SOUR Trigger count (SEQ1) TRIG:COUN Trigger timer (SEQ1) TRIG:TIM 0 (default value) change ← PASS judgment result hold time SYST:CONF:PHOL No effect Buzzer volume PASS judgment...
Command processing time A certain amount of time is required before the commands shown in the following table are received by the TOS5300 Series. The processing times shown here are standard values, not guaranteed values. The processing times vary depending on the settings and the measurement conditions.
Using Visual Basic 2008 This appendix will explain how to use Visual Basic 2008 and the VISA library to communicate with the TOS5300 Series through its USB interface. Project settings First, specify a driver for performing communications (the VISA library) in the project settings.
Page 73
Using Visual Basic 2008 ■ Opening VISA Before you can use the VISA library to communicate with the USB feature, you have to open VISA. Specify an I/O resource to open VISA. Example: Opening VISA to communicate over USB Set rm = CreateObject("VISA.GlobalRM") Set msg = rm.Open("USB::0x0B3E::0x1017::00000001::INSTR", NO_LOCK, 0, "") “USB::0x0B3E::0x1017::00000001::INSTR”...
Page 74
Using Visual Basic 2008 Sample program Imports Ivi.Visa.Interop Public Class Form1 Dim rm As ResourceManager Dim msg As IMessage Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load rm = CreateObject("VISA.GlobalRM") 'Version using a VISA alias 'msg = rm.Open("MYDEV1", AccessMode.NO_LOCK, 0, "") 'msg = rm.Open("USB0::0x0B3E::0x1017::FF012345::INSTR", AccessMode.NO_LOCK, 0, "") 'Version using USB End Sub 'Queries the ID...
INDEX Boolean data .................. 12 sample program ................74 SCPI ....................6 status byte register ..............48 status register ................46 character data ................12 string data ..................12 commands description ............... 16 hierarchy ................10 processing time ............. 71 terminator ..................
Page 77
In either case, please contact your Kikusui agent or distributor. At that time, inform your agent or distributor of the “Part No.” written on the front cover of this manual.
Need help?
Do you have a question about the TOS5300 and is the answer not in the manual?
Questions and answers