Home
Communication Interface Manual
Contents
1. PART NO 18028023 GKIKUSUI ve 2015 Remote Control 5 Remote Control Overview 6 Installing the VISA Library 7 Using the USB Interface 8 Communication Tu Inte rface Man ual Message Overview 13 Message Overview 14 Command Reference 19 Command Description in This Manual 20 Withstanding Voltage Tester IEEE 488 2 Common Commands 21 Test Mode Settings 24 AC Withstanding Voltage Test Conditions 25 TOS5200 About Sequences 29 Test Execution SEQuence2 TEST 31 Querying Measured Values SEQuence1 ACQuire 33 Various Settings 37 Status Register and Status Report Function 40 IEEE 488 2 Register Model 42 SCPI Register Model 44 TOS5050A Commands 52 Tutorial 55 Appendix 57 List of Messages 58 List of Errors 63 Default State 66 Command Processing Time 67 Using Visual Basic 2008 68 SN NDANGER This product generates high voltage o Improper operation can lead to serious accidents o To prevent accidents be sure to read the section Safety Precautions during Testing in this manual o Keep this manual close to the product so that the operators can read the manual at any time About the Manuals These manuals are intended for users of the Withstanding Voltage Tester and their instructors Explanations are given under the presumption that the reader has knowledge related to electricity Manual construction B Setup Guide This manual is i
2. SYST OPT Queries the options that are installed in the TOS5200 This command performs the same function as the OPT command Command SYSTem OPTion Response Returns 0 if no options are installed Returns one of the following responses in character format if options are installed Returns RCOX TOS if an RC01 TOS RC02 TOS HP01A TOS or HP02A TOS option is installed Returns SIGNAL I O if a SIGNAL I O option is installed Example If the RCO1 TOS is installed This command returns RCOX TOS SYST REM Switches the TOS5200 to remote mode All panel operations except those of the LOCAL key and the STOP switch are locked This is a substitute command for the IEEE 488 1 REN mes sage Remote Enable This is also the substitute command for address specification You can switch the TOS5200 back to local mode by sending the SYST LOC command Command SYSTem REMote SYST RWL Switches the TOS5200 to remote mode Except for the STOP switch all panel operations including those of the LOCAL key are locked This is a substitute command for the IEEE 488 1 REN Remote Enable address specification and Ilo Local Lock Out messages You can switch the TOS5200 back to local mode by sending the SYST LOC command If you send the SYST REM command you can use the LOCAL key Command SYSTem RWLock SYST VERS Queries the version of the SCPI specifications that the TOS5200 complies with Command SYSTem VERSion Response Always returns 1999 0
3. ACW VOLT FREQ numeric 50 60 HZ 50 NR3 A Sets the test voltage frequency R W 3 LEV numeric Oto 5 5k V 0 NR3 A Sets the test voltage R W 3 PROT LEV UPP numeric 0to 5 5k V 55k NR3 A Sets the limit voltage R W 3 STAR STAT bool OFF NR1 A Turns the start voltage on and off R W 3 SWE FALL TIM STAT bool OFF NR1 A Turns the voltage fall time on RWI 3 and off RISE TIM numeric 0 1 to 10 0 S 0 1 NR3 A Sets the voltage rise time R W 3 TIM numeric 0 1t0999 0 S 0 1 NR3 A Sets the test time R W 3 Turns on or off the feature that STAT bool ON NR1 A ends tests when their test time R W 3 elapses 59 TOS5200 INTERFACE 60 List of Messages STATus subsystem m pe Unit Default Response Effect Description R W Nt STAT OPER EVEN NR1 Queries events R 1 COND NR1 Queries register status R 1 ENAB NRf 0 to 65535 NR1 Enable RW 1 NTR NRf 0 to 65535 NR1 Negative transition R W 1 PROT EVEN NR1 Queries events R 1 COND NR1 Queries register status R 1 ENAB NRf 0t0 65535 NR1 Enable RAW 1 NTR NRf 0 to 65535 NR1 Negative transition R W 1 PTR NRf 0 to 65535 NR1 Positive transition RW 1 PTR NRf 0 to 65535 NR1 Positive transition RW 1 TEST EVEN NR1 Queries events
4. R 1 COND NR1 Queries register status R 1 ENAB NRf 0 to 65535 NR1 Enable RW 1 NTR NRf 0to 65535 NR1 Negative transition R W 1 PTR NRf 0 to 65535 NR1 Positive transition RW 1 PRES Resets filter registers to default values W 1 QUES EVEN NR1 Queries events R 1 COND NR1 Queries register status R 1 ENAB NRf 0t065535 NR1 Enable RW 1 NTR NRf 0 to 65535 NR1 Negative transition R W 1 PTR NRf 0 to 65535 NR1 Positive transition RW 1 1 OPERation status register 2 PROTecting status register 3 TESTing status register 4 QUEStionable status register TOS5200 INTERFACE List of Messages SYSTem subsystem SCPI command Value Default Response Effect Description R W Nt Program header Parameter Unit SYST CONF BEEP VOL FAIL ouer 0 0 to 0 9 0 5 NR3 B Sets the volume level of the buzzer that is RW 3 sounded when a FAIL judgment occurs A Sets the volume level of the buzzer that is PASS numeric 0 0 to 0 9 0 3 NR3 B sounded when a PASS judgment occurs R W 3 50m 100m PHOL numeric 200m 1 2 S 50m NR3 B Sets the PASS judgment result hold time R W 3 5 INF ERR ENEXT Queries error and event information R 1 KLOC bool OFF NR1 B Locks and unlocks panel operations R W 3 LOC Switches to local mode W 2 OPT char Queries options R 3 REM Switches to remote mode
5. TOS5200 INTERFACE Command Reference a 39 40 Status Register and Status Report Function IEEE 488 2 and SCPI registers are used for status reports In each SCPI status register there are the following sub registers the CONDition register the EVEN register the ENABle register the PTRansition filter and the NTRansition filter CONDition register The CONDition register transits automatically and reflects the condition of the TOS5200 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 reg ister The rule for setting the bits varies depending on the positive and negative transition fil ters PTRansition and NTRansition The EVENt register is reset when it is read ENABIe register The ENABIe register enables reports to the summary bit or status bit of the event bits Transition filters Use the PTRansition positive transition filter to report events when the condition changes from false to true Use the NTRansition negative transition filter to report events when the condition changes from true to false If both the positive filter and negative filter are set to true events can be reported each time the status changes If both filters are cleared event reporting is disabled TOS5200 INTERFACE Status Register and Status Report Function Structure of SCPI status registers OPERation P
6. The mode returns to LOCAL when the TOS5200 is restarted TOS5200 INTERFACE 00000 d 54 TOS5050A Commands LOCAL Switches the TOS5200 to local mode panel operation RMT disappears from the screen Command LOCAL Response OkKis returned START Start a test Command START Response When the START command is enabled OK is returned When the START command is disabled ERROR is returned NOTE The START command is enabled when the TOS5200 is in REMOTE mode from RS232C REMOTE command has been sent If the double action feature or momentary feature is set to ON tests do not start even when you send a START command In the panel CONFIG settings set the double action feature or momentary feature to OFF STOP The test will be suspended Command STOP Response OK is returned NOTE To clear PROTECTION mode fix the problem that caused it and then send the STOP com mand or press STOP on the front panel TOS5200 INTERFACE Tutorial Performing tests TOS5200 INTERFACE We will use an AC withstanding voltage test ACW to explain how to perform single opera tions Set the test conditions test voltage limit voltage upper and lower limits and test time SOUR VOLT 1 5KV SOUR VOLT PROT 2KV SENS JUDG 10MA SENS JUDG LOW 0 01MA SENS JUDG LOW STAT ON SOUR VOLT TIM 60S SOUR VOLT TIM STAT ON Set additional test conditions start voltage voltage rise time voltage fall time and tes
7. mands that are used for remote control and the command syntax 14 Message Overview The information that is transferred between the controller the PC and the TOS5200 is referred to as messages The TOS5200 uses the SCPI language for these messages The TOS5200 can also use Kikusui TOS5050A commands The messages that the PC sends to the TOS5200 are commands The messages that the TOS5200 sends to the PC are responses Commands are used to execute functions or change settings on the TOS5200 or to query its settings or status Responses are used to return the product s settings or status SCPI command syntax Command hierarchy SCPI is an ASCII based command language that was designed for test and measuring equip ment The command structure is composed of the common roots and nodes that are the building blocks of the SCPI subsystem A command consists of a program header parame ters and punctuation marks The following table uses the SYSTem subsystem as an example to explain the hierarchy Program header Parameter Node level SYSTem Root node CONFigure 2nd level BEEPer ard level VOLume 4th level FAIL lt numeric gt 5th level PASS lt numeric gt 5th level ERRor 2nd level NEXT lt code gt lt description gt 3rd level A colon separates a higher node from a lower node Command syntax In this manual SCPI commands are expressed in the following format Example SYSTem CONFigure BEEPer VOL
8. 488 2 common command STB 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 TOS5200 transmit the contents of the status byte register and the master status summary MSS message STB does not change the status byte MSS and RQS Bit Bit weight Bit name Description 0 1 Reserved Reserved for future use by IEEE 488 The bit 1 2 Reserved value is notified as zero 2 4 Error Event Queue EEQ If data exists in the error event queue this bit is set to true This bit is set to true when a bit is set in the QUES 3 8 Questionable Status Register tionable event status register and the correspond QUES ing bit in the QUEStionable status enable register is true This bit is set to true when a request is received 4 16 Message Available MAV from the digital programming interface and the TOS5200 is ready to generate the data byte Standard Event Status Bit Sum This bit is set to true when a bit is set in the event 5 32 mary ESB status register This bit is set to true when a bit is set in the service Request Service ROS request enable register and the corresponding bit exists in the status byte 6 64 The SRQ line of the USB is set This bit is set to true when any bit in the status Master Status Summary MSS byte register is set to 1 and the corresponding bit in the service request enable registe
9. A Group Execute Trigger was received in a program message 108 Parameter not allowed More parameters were received than expected for the header 109 Missing parameter Fewer parameters were received than required for the header 110 Command header error An error was detected in the header 120 Numeric data error Generated when parsing a data element which appears to be numeric including the nondecimal numeric types 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 TOS5200 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 140 Character data error Generated when parsing a character data element 141 Invalid character data Either the character data element contains an invalid character or the element is not valid 144 Character data too Long The character data element contains more than twelve characters 148 Character data not allowed A legal character data element was encountered where prohibited by the TOS5200 150 String data error Generated when parsing a string data element 160 Block data error Generated when parsing a block data element 170 Expression error Generated when parsing an expression data element 180 Macro error Generated when defining a macro or executing a macro TOS5200
10. TEST TEST EXEC Command RST Starts a test starts the trigger function Use the trigger source that was set with TRIG SEQ2 SOUR or TRIG TEST SOUR to start the test INITiate IMMediate SEQuence2 INITiate IMMediate NAME TEST TEST EXECute TRIG SEQ2 TRIG TEST Command Executes a software trigger for the SEQuence2 TEST group This command is valid when TRIG SEQ2 SOUR or TRIG TEST SOUR is set to BUS TRIGger SEQuence2 IMMediate TRIGger TEST IMMediate TEST ABOR Command TOS5200 INTERFACE Aborts the SEGuence2 TEST group s test TEST ABORt Command EN 31 32 Test Execution SEGuence2 TEST ABOR Aborts the tests and measurements of all sequence groups The TOS5200 s trigger state immediately after it turns on is the same as its trigger state after it receives an ABOR com mand If you send an ABOR command while the TOS5200 is executing tests or measurements the measured data is discarded If you send an ABOR command without first sending an INIT command and if the measure ment data that is held in the TOS5200 is valid the measured data is not discarded Command ABORt TEST PROT CLE Clears the protection mode Command TEST PROTection CLEar TOS5200 INTERFACE Oe h Querying Measured Values SEQuence1 ACQuire You can query the measured value while tests SEQ2 are being performed TRIG COUN RST Sets the trigger count to apply to the SEQuence1 ACQui
11. a number and assigns the converted value to a variable msg WriteString MEAS CURR Queries the measured current TextBoxl Text msg ReadString 256 Reads 256 bytes of data from the reception buffer converts the string into a number and assigns the converted value to a variable End Sub Private Sub Forml Disposed ByVal sender As Object ByVal e As System EventArgs Handles Me Disposed msg Close End Sub End Class 70 TOS5200 INTERFACE Index B boolean data tri ede annees 16 C character data ente 16 command descriptiori ee AEN 20 hierarchy E 14 processing time esesseeeses 67 ur qe E Q 14 Wiper 17 common commands nmimnnnannanena 16 21 CONDition register seeeen 40 CONFIG setup screen 9 11 E ENABle register 0 iinemeneneneennaneevaneneana 40 cud UA 63 EVEN register esses 40 event status register e ssesssessinerirrerirrerrnsrinnerenne 43 F firmware version tmenneeenanenenenennannanane 2 l IEEE Std 488 2 aded eenen aiea E Ea 6 Ine 6 M IS Le i A 14 messages list Of ssssnsnsessennnssernnnnneeernnnrernnnnnneennn ee 58 N Mi CT EE 17 Mit 17 O OPERation status register sssssssss 44 P parametets iii i Fer a RIEF EUER UR 16 PROTecting status register ssssss
12. an IEEE 488 2 syntax error is detected by 5 32 Command Error CME the parser when an unidentifiable header is received or when a group execution trigger enters the internal IEEE 488 2 SCPI command input buffer 6 64 User Request URQ 7 128 Power ON PON Set when the power is turned on 8 15 Reserved Command Reference a 43 44 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 TOS5200 Bit Bit weight Bit name Description 0 1 NOT USED 1 2 NOT USED 2 4 NOT USED 3 8 NOT USED 4 16 MEASuring MEAS Measurements are being performed SEQ1 5 32 Waiting for TRIGger WTG Waiting for triggers 6 64 NOT USED 7 128 NOT USED 8 256 RROTecting PROT This bit is set to true when a bit is set in the PROTecting status register 9 512 High Voltage ON HVON During testing or while voltage remains across the output terminals 10 1024 TESTing TEST This bit is set to true when a bit is set in the TESTing status register 11 2048 NOT USED 12 4096 NOT USED 13 8192 NOT USED 14 16384 PROGram is running PROG During test execution SEQ2 15 32768 NOT USED STAT OPER Command Response STAT OPER COND Command Response Queries the event of the OPERation status register A q
13. for commands that are being reviewed and 3 for original com mands developed by Kikusui Electronics Corporation FETC MEASure READ subsystem SCPI command Value Default Response Effect Description R W Nt Program header Parameter Unit FETC ARR CURR A NR3 Queries the measured current R 3 VOLT V NR3 Queries the measured voltage R 3 TIME S NR3 Queries the measured elapsed test time R 3 MEAS ARR READ ARR CURR A NR3 Starts a new measurement and queries the current R 3 VOLT V NR3 Starts a new measurement and queries the voltage R 3 TIME NR3 Starts a new measurement and queries the R 3 elapsed test time INITiate TRIGger subsystem SCPI command Value Default Response Effect Description R W Nt Program header Parameter Unit INIT IMM NAME ACQ Starts testing starts the trigger function SEQ1 W 3 SE Starts testing starts the trigger function SEQ2 W 3 SEQ1 Starts testing starts the trigger function SEQ1 W 3 SEQ2 Starts testing starts the trigger function SEQ2 W 3 TRIG SEQ 1 TRIG ACQ sequence 1 ACQuire IMM Executes a software trigger SEQ1 W li COUN ss 1 to 100 1 NR3 B Executes a test with the applicable trigger count R WI3 SEQ1 i IMM BUS A SOUR char TIM TEST IMM char B Sets the trigger source SEQ1 R W 3 TIM numeri
14. incomplete response TOS5200 INTERFACE 15 Message Overview Terminating character strings All commands must be terminated with a valid terminator The available terminators are line feed ASCII 0x0A and EOI end or identify You can use any one of these terminators to terminate a command When you terminate a command string the path is reset to the root level NOTE CR ASCII OxOD is not a terminator Common commands 21 There are commands that are common to the IEEE 488 2 and SCPI standards for functions AP such as resetting devices and performing self diagnoses These common commands start with an asterisk These commands may have one or multiple parameters 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 TOS5200 uses is shown below Non numeric parameters The TOS5200 uses the following three parameter types Symbol or character Description Used when a series of ASCII characters are requested Be sure to enclose strings in single or double quotation marks The opening and closing quotation marks must match you cannot mix single and double String data quotation marks String Example PROGram NAME ACW2IR If you want to include a quotation mark as part of the string enter consecutive quotation marks with no characters between them ASCII codes 20H to 7EH can be u
15. lt NR1 gt format Queries the condition of the PROTecting status register A query does not clear the contents of the register STATus OPERation PROTecting CONDtion Returns the condition of the PROTecting status register in lt NR1 gt format TOS5200 INTERFACE SCPI Register Model STAT OPER PROT ENAB Command Parameter Response Sets the enable register of the PROTecting status register STATus OPERation PROTecting ENABle lt NRf gt STATus OPERation PROTecting ENABle Value 0 to 65535 Returns the enable register of the PROTecting status register in lt NR1 gt format STAT OPER PROT NTR Command Parameter Response Sets the negative transition filter of the PROTecting status register STATus OPERation PROTecting NTRansition lt NRf gt STATus OPERation PROTecting NTRansition Value 0 to 65535 Returns the negative transition filter of the PROTecting status register in lt NR1 gt format STAT OPER PROT PTR Command Parameter Response TOS5200 INTERFACE Sets the positive transition filter of the PROTecting status register STATus OPERation PROTecting PTRansition lt NRf gt STATus OPERation PROTecting PTRansition Value 0 to 65535 Returns the positive transition filter of the PROTecting status register in lt NR1 gt format Command Reference a 47 SCPI Register Model TESTing status register STATus OPERation TESTing The TESTing status register is a 16 bit
16. root nodes in this compound command SENSe and SOURce When the second command or later begins with a colon the path that was specified by the previous command is cleared The maximum length of a command that you can transmit on a single line is 128 bytes Special symbols and characters The special symbols and characters that are used in this manual for the SCPI command syn tax are explained below Symbol or character Description Character strings inside the and symbols indicate program data Do not include the and symbols in the actual program Characters and numbers delimited by inside the and symbols indicate that one of the delimited items is to be selected Do not include the and symbols in the actual program lt gt Character strings inside and indicate optional data When optional data is not sent with the program the default value is sent Do not include the and symbols in the actual program Queries You can query the TOS5200 settings and status 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 Example VOLTage MINimum NOTE If you want to send two queries on separate lines send the second query after you have received the response to the first one If you send query commands on two lines at the same time you may receive an
17. used in judgments OFF 0 The limit is not used in judgments default Response Returns whether the lower limit is used in judgments in lt NR1 gt format 26 TOS5200 INTERFACE AC Withstanding Voltage Test Conditions Test time setting 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 lt numeric gt MIN MAX SOURce ACW VOLTage TIMer MIN MAX Parameter Value 0 1 to 999 0 The default value is 0 1 Unit S Response Returns the test time in lt NR3 gt format SOUR VOLT TIM STAT RST BCL EE o Sets whether to stop testing after the set test time elapses TIMER ON OFF Use SOUR VOLT TIM to set the test time o o Command SOURce ACW VOLTage TIMer STATe ON OFF 1 0 D SOURce ACW VOLTage TIMer STATe es Parameter Value ON 1 Testing is stopped after the test time elapses default g OFF 0 Testing is not stopped after the test time elapses E o O Response Returns whether testing is stopped after the test time elapses in lt NR1 gt format Start voltage setting SOUR VOLT STAR STAT RST RCL Sets whether the start voltage is used The start voltage is 50 96 of the test voltage Command sSOURce ACW VOLTage STARt STATe ON OFF 1 0 SOURce ACW VOLTage STARt STATe Parameter Value ON 1 The start voltage is used OFF 0 The start voltage is not use
18. 0 INTERFACE 0000 C Q 36 Querying Measured Values SEQuence1 ACQuire RES Command Response Response Queries the results of the previous test RESult IMMediate Returns the following results of the previous test test number program number test mode test start ti me voltage current resistance test time and judgment result Each result is separated by a comma in the following format lt NR1 gt lt NR1 gt lt character gt lt NR1 gt lt NR3 gt lt NR3 gt lt NR3 gt lt NR3 gt lt character gt Response format lt NR1 gt Test number A counter that is incremented each time a test is executed After 4294967295 the count returns to 0 lt NR1 gt Program number Always returns 1 lt Character gt Test mode ACW AC withstanding voltage test Always returns ACW lt NR1 gt Test start time Because there is no function for measuring the test start time a bar is returned lt NR3 gt Voltage Measured voltage lt NR3 gt Current Measured current If the test result is FAIL the judgment criterion is returned lt NR3 gt Resistance Because there is no function for measuring the resistance 0 00000 E 00 is returned NR3 Test time The test time is returned lt Character gt Judgment result PASS U FAIL L FAIL PROT ABORT PASS The test was successful U FAIL A value exceeding the upper limit was detected L FAIL A value less than the lower limit was detected PROT A protection fu
19. 25 Upper limit eetting nnne rnnt nnns nennen 26 Lower limit setting c 26 Test time Seting E 27 Start voltage setting iiis AA eee 27 Voltage rise time Setting 28 Voltage fall time setting 0 msennennennenneenanenunnenennanenenananaanenennaenneenane 28 Test voltage frequency setting senem 28 About SEQUENCES EE 29 Test Execution SEQUeENCE2 TEST 31 Querying Measured Values SEGuence1 ACQuire eese 33 Various Settings EE 37 PASS judgment result hold time setting se 37 Buzzer volume settings eese nennen nennen 37 RI EE 38 Status Register and Status Report Function esssssssseeeeeeeennene 40 IEEE 488 2 Register Model sessi nnne ennemi nnne 42 Status byte e EE 42 Event status register standard event status regleter 43 SCPI Register el ees 44 OPERation status register STATus OPERation c ccccssceeeeseeesteeeseneeeees 44 PROTecting status register STATus OPERation PROTecting 46 TESTing status register STATus OPERation TESTing sssssss 48 QUEStionable status register STATus QUEStionable sseeeeeseeeeeeeeeeeeeeee 50 Preset status C P 51 19850504 Meel LEE 52 Ier 55 Pertorming Tes
20. IGger ACQuire TIMer MIN MAX Value 0 to 60 0 The default value is 0 Unit S Returns the trigger timer s set time in lt NR3 gt format TOS5200 INTERFACE Querying Measured Values SEQuence1 ACQuire INIT SEQ1 INIT NAME ACQ Begins a new measurement starts the trigger function Measurement is started by the trigger source set with TRIG SOUR Command INITiate IMMediate SEQuencel INITiate IMMediate NAME ACQuire TRIG Executes a software trigger for the SEQuence1 ACQuire group Command TRIGger SEQuence 1 IMMediate TRIGger ACOuire IMMediate FETC CURR Queries the measured current without starting a new measurement Command FETCh ARRay CURRent Response Returns the measured current in lt NR3 gt format or the measured currents as a comma separated list in lt NR3 gt lt NR3 gt format Unit A FETC VOLT Command Reference a Queries the measured voltage without starting a new measurement Command FETCh ARRay VOLTage Response Returns the measured voltage in lt NR3 gt format or the measured voltages as a comma separated list in lt NR3 gt lt NR3 gt format Unit V 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 format or the measured elapsed times as a comma separated list in lt NR3 gt lt NR3 gt format Unit S TOS520
21. INTERFACE 63 64 List of Errors Execution errors An error in the range 299 200 indicates that an error has been detected by the instru ment s execution control block The occurrence of any error in this class causes the Execu tion Error bit bit 4 in the event status register to be set Error code Error message description 200 Execution error generic A generic TOS5200 error 203 Command protected Password protected program or guery command cannot be executed 210 Trigger error A trigger error 211 Trigger ignored A trigger was received but ignored 213 Init ignored A measurement initiate operation was ignored because measurement is in progress 214 Trigger deadlock A deadlock occurred because a guery was received before the software trigger 220 Parameter error A program data element related error occurred 221 Settings conflict A command was received that the TOS5200 cannot execute in its present 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 224 Illegal parameter value Received invalid parameter data 230 Data corrupt or stale Received a data query before the measurement completed 241 Hardware missing Cannot be executed because the optional hardware is not installed Device specific errors Error code Error me
22. OLTage READ ARRay VOLTage Returns the measured voltage in NR3 format or the measured voltages as a comma separated list in lt NR3 gt lt NR3 gt format Unit V MEAS TIME READ TIME Command Response Starts a new measurement and queries the elapsed test time MEASure ARRay TIME READ ARRay TIME Returns the elapsed test time in lt NR3 gt format or the measured elapsed times as a comma separated list in lt NR3 gt lt NR3 gt format Unit S TRIG SOUR RST Command Parameter Response TRIG TIM Command Parameter Response Sets the trigger source to apply to the SEGuence1 ACQuire group TRIGger SEQuence 1 SOURce IMMediate BUS TIMer TEST TRIGger SEQuence 1 SOURce TRIGger ACQuire SOURce IMMediate BUS TIMer TEST TRIGger ACQuire SOURce Value IMMediate Begin measuring immediately default BUS Wait for a software trigger a TRG TRIG or IEEE 488 1 get Group Execute Trigger command and then begin measuring TIMer Begin measuring when the time set with TRIG TIM elapses TEST Begin measuring when a test begins Returns the trigger source in character format RCL Sets the trigger timer to apply to the SEQuence1 ACQuire group This command is enabled when the trigger source is set to TIM TRIGger SEQuence 1 TIMer lt numeric gt MIN MAX TRIGger SEQuence 1 TIMer MIN MAX TRIGger ACQuire TIMer lt numeric gt MIN MAX TR
23. ROTecting TOS5200 specific ILOC CAL NOT USED NOT USED PS VERR NOT USED NOT USED OL OH OR NOT USED RMT SIO USB NOT USED 0 1 2 3 4 5 6 7 8 9 W OPERation TESTing TOS5200 specific PASS L FAIL U FAIL RESERVED RISE TEST FALL NOT USED READY IDLE STOP RESERVED NOT USED NOT USED NOT USED NOT USED KEELT nd 1999 SCPI Syntax 8 Style QUEStionable Status OV OC NOT USED NOT USED NOT USED NOT USED NOT USED NOT USED CAL OR NOT USED NOT USED NOT USED NOT USED NOT USED NOT USED 0 1 2 3 4 5 6 7 8 9 w OPERation Status NOT USED NOT USED NOT USED NOT USED MEAS WTG NOT USED NOT USED HVON NOT USED NOT USED NOT USED PROG NOT USED Standard Event Status Register Operation Complete Request Control Query Error Device Dependent Error Execution Error Command Error User Request Power On zl OO ka sa CO OONDURON 0O Y Available to designer Available to designer MAV Error Event Queue Status Byte d OD bah zo Summary of IEEE 488 2 Status Structure Registers Partially changed SCPI Standard 1999 0 Volume 1 fig 9 1 TOS5200 INTERFACE Command Reference a 42 IEEE 488 2 Register Model Status byte register The status byte register stores STB and RQS MSS messages as defined by the IEEE 488 1 standard The status byte register can be read by using IEEE 488 1 serial polling or the IEEE
24. Resistance OR si Ru of the resistance measurement 10 1024 NOT USED 11 2048 NOT USED 12 4096 NOT USED 13 8192 NOT USED 14 16384 NOT USED 15 32768 NOT USED STAT QUES Queries the event of the QUEStionable status register A query clears the contents of the register Command sTATus QUEStionable EVENt Response Returns the event of the QUEStionable status register in NR1 format STAT QUES COND Queries the condition of the QUEStionable status register A query does not clear the contents of the register Command sTATus QUEStionable CONDition Response Returns the condition of the QUEStionable status register in lt NR1 gt format TOS5200 INTERFACE SCPI Register Model STAT QUES ENAB Sets the enable register of the QUEStionable status register Command STATus QUEStionable ENABle lt NRf gt STATus QUEStionable ENABle Parameter Value 0 to 65535 Response Returns the enable register of the QUEStionable status register in lt NR1 gt format STAT QUES NTR Sets the negative transition filter of the QUEStionable status register Command sTATus QUEStionable NTRansition NRf STATus QUEStionable NTRansition Parameter Value 0 to 65535 Response Returns the negative transition filter of the QUEStionable status register in lt NR1 gt format STAT QUES PTR Sets the positive transition filter of the QUEStionable status register Command sTATus QUEStionable PTRansition lt NRf
25. TEST NTR Command Parameter Response Sets the negative transition filter of the TESTing status register STATus OPERation TESTing NTRansition lt NRf gt STATus OPERation TESTing NTRansition Value 0 to 65535 Returns the negative transition filter of the TESTing status register in lt NR1 gt format STAT OPER TEST PTR Command Parameter Response TOS5200 INTERFACE Sets the positive transition filter of the TESTing status register STATus OPERation TESTing PTRansition lt NRf gt STATus OPERation TESTing PTRansition Value 0 to 65535 Returns the positive transition filter of the TESTing status register in lt NR1 gt format Command Reference a 49 SCPI Register Model QUEStionable status register STATus QUEStionable The QUEStionable status register is a 16 bit register that stores information related to the TOS5200 s status and the questionable events that occur during TOS5200 operation These register bits may indicate that there are problems with the TOS5200 s measured data Bit Bit weight Bit name Description A voltage outside of the voltage measurement range 0 1 Over Voltage OV wasdete ted 1 2 Over Current OC ee of the current measurement range 2 4 NOT USED 3 8 NOT USED 4 16 NOT USED 5 32 NOT USED 6 64 NOT USED 7 128 NOT USED 8 256 CALibration CAL The calibration date has passed 9 512 Over
26. age Overview a 1 Details are given in the IEEE 488 2 Standard Digital Interface for Programmable Instrumen tation Special form numeric parameters The special form numeric parameters MINimum and MAXimum can be used as substitutes for the actual maximum and minimum values when the parameter is numeric The following example sets the volume level of the buzzer that is sounded when a PASS judgment occurs to the minimum value SYSTem CONFigure BEEPer VOLume PASS MINimum You can query the minimum and maximum values for most parameters SOURce VOLTage PROTection MAXimum Measurement units The default measurement units are listed below Commands are accepted even if measure ment units are not specified A current V voltage OHM resistance S seconds HZ frequency The following optional prefixes are supported If you use optional prefixes specify the meas urement unit G giga MA mega K kilo M milli U micro To enter p in the parameter use U When the measurement unit is HZ or OHM and you enter M in the parameter the unit will be mega The unit symbols in the International System of Units contain lowercase characters The IEEE standard uses uppercase characters SCPI commands are not case sensitive NOTE TOS5200 INTERFACE 17 18 Message Overview This page is intentionally blank TOS5200 INTERFACE Command Reference This chapter expla
27. and Measurement Class Specification USBTMC Rev 1 0 Universal Serial Bus Test and Measurement Class Subclass USB488 Specification USBTMC USB488 Rev 1 0 TOS5200 INTERFACE Installing the VISA Library VISA Virtual Instrument Software Architecture was developed by the VXIplug amp play Systems Alliance It is the standard specification for measurement instrument connection software To use the VISA library VISA COM with the I O library the VISA library NI VISA Agilent VISA or KI VISA must be installed on the controller the PC You have to install one of the following VISA libraries driver software that is implemented according to the VISA specifications e NI VISA by National Instruments Ver 3 0 or later Ver 3 2 or later for Windows 2000 and Windows XP Agilent VISA by Agilent Technologies Agilent IO Libraries M 01 00 or later e KI VISA Ver 3 0 0 or later Depending on the interface you may not be able to use your VISA library if it is an older ver NOTE sion than that specified Installing KI VISA NOTE Do not install multiple VISA libraries on the same PC Doing so may cause errors If NI VISA or Agilent VISA is already installed on your PC you do not need to install KI VISA TOS5200 INTERFACE KI VISA is an original VISA library developed by Kikusui Electronics Corporation that sup ports the VXIplug amp play VISA specifications You can download the most recent version of this libr
28. ary from the Kikusui Electronics Corporation website http www kikusui co jp en download 1 Put the included CD ROM into the CD ROM drive Move to the VISA folder using the start window of the CD ROM or Explorer 3 Double click Kivisa x x x exe The value for x varies depending on the revision of the VISA library stored on the CD ROM 4 Proceed with the installation according to the instructions on the screen Remote Control E Using the USB Interface To use the USB interface to control the product a device driver that supports the USB Test amp Measurement Class USBTMC must be installed on the controller The USBTMC driver is installed automatically by the VISA library NOTE Noise may be generated by problems such as the outputs being shorted or the DUT insula tion being damaged This noise may cause errors in the remote control communication To reduce the effect of noise keep the USB cable at least 30 cm away from the test leads and the DUT USB feature Complies with USB specification 2 0 Complies with USBTMC specification 1 0 and USBTMC USB488 specification 1 0 Baudrate 12 Mbps maximum full speed VID vendor ID OXOBSE e PID product ID 0x1046 Service request The TOS5200 is equipped with service request and serial polling functions TOS5200 INTERFACE Using the RS232C Interface The TOS5200 RS232C port is a standard D sub 9 pin male connector Check that the TOS5200 a
29. at TOS5200 INTERFACE Command m 37 38 Various Settings Other settings SYST ERR Command Response Queries the oldest error or event from the error event queue The error event queue can hold up to 255 errors The error event queue is cleared if a CLS command is sent SYSTem ERRor NEXT Returns the oldest error or event from the error event queue in the following format Example lf the queue is empty This command returns 0 No error Example If a command has been received that cannot be executed in the present operating state of the TOS5200 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 SYST KLOC Command Parameter Response SYST LOC Command Locks or releases panel operations key lock When keys are locked only the START and STOP switches are enabled SYSTem KLOCk ON OFF 1 0 SYSTem KLOCk Value ON 1 Panel operations are locked OFF 0 Locked panel operations are released default Returns the key lock status in lt NR1 gt format Switches the TOS5200 to local mode panel operation This is a substitute command for the IEEE 488 1 REN message Remote Disable You can switch the TOS5200 back to remote mode by sending the SYST REM or SYST RWL command SYSTem LOCal TOS5200 INTERFACE Various Settings
30. bout Sequences SEQuence2 TEST trigger function flowchart ABOR RST INIT sent RCL sent INITiated IMM TRIG TEST SOURce BUS EXT BUS TRG sent EXT START switch Test starts Judgment starts PASSED FAILED PASS HOLD time elapses The TOS5200 has the following two trigger functions e SEQuence1 ACQuire Starts measurements and queries measured values e SEQuence2 TEST Executes tests You have to specify the execution conditions in advance TOS5200 INTERFACE Test Execution SEQuence2 TEST This function executes tests You have to specify the execution conditions in advance NOTE If the double action feature or momentary feature is set to ON tests do not start even when you send trigger commands In the panel CONFIG settings set the double action feature or momentary feature to OFF TRIG SEQ2 SOUR TRIG TEST SOUR Command Parameter Response Sets the trigger source to apply to the SEGuence2 TEST group TRIGger SEQuence2 SOURce IMMediate BUS EXTernal TRIGger SEQuence2 SOURce TRIGger TEST SOURce IMMediate BUS EXTernal TRIGger TEST SOURce Value IMMediate Begin a test immediately default BUS Wait for a software trigger a TRG TRIG or IEEE 488 1 get Group Execute Trigger command and then begin a test EXTernal Begin testing when the START switch is pressed Returns the trigger source in character format INIT SEQ2 INIT NAME
31. c Oto 60 0 S 0 NR3 B Sets the trigger timer SEQ1 R W 3 TRIG SEO2 TRIG TEST sequence 2 TEST IMM Executes a software trigger SEQ2 W 1 i IMM BUS SOUR char EXT IMM char B Sets the trigger source SEQ2 R W 3 ABOR Aborts testing or measurements WI TOS5200 INTERFACE List of Messages RES subsystem S r Value Default Response Effect Description R W Nt Program header Parameter Unit RES IMM Queries the results of the previous test in the NR1 NR1 char following order test number program number NR1 NR3 NR3 test mode test start time measured voltage R 3 NR3 NR3 char measured current measured resistance test time and judgment result SENSe subsystem EGON Valu Default Response Effect Description R W Nt Program header Parameter Unit SENS ACW JUDG UPP numeric 0 01mto110m A 0 02m NR3 A Sets the upper limit RN 3 JUDG LOW numeric 0 01 m to 110m A 10 01 m NR3 A Sets the lower limit R W 3 STAT bool OFF NR1 A Turns the lower limit on and off R W 3 MODE char RMS AVE RMS char B Setsthe measurement mode RAN 3 SOURce subsystem Prensa Value Default Response Effect Description R W Nt Program header Parameter Unit SOUR FUNC MODE char ACW DCW IR ACW char A Sets the test mode R W 3
32. ced If the manual gets lost or soiled a new copy can be provided for a fee 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 After you have finished reading this manual store it so that you can use it for reference at any time Firmware versions that this manual covers This manual covers firmware versions 1 0X When contacting us about the product please provide us with Model marked in the top section of the front panel The firmware version see the user s manual The serial number marked in the bottom section of the rear panel Before reading this manual First read the User s Manual which includes information on the product s hardware to avoid connecting or operating the product incorrectly Trademarks Microsoft Windows and Visual Basic are registered trade marks of Microsoft Corporation in the United States and or other countries All company names and product names used in this manual are trademarks or registered trademarks of their respective companies Copyrights The contents of this manual may not be reproduced in whole or in part without the prior consent of the copyright holder The specifications of this product and the contents of this man ual are subject to change without prior notice O 2014 Kikusui Electronics Corporation Notations Used in This Manual The TOS5200 W
33. control the product from a PC To control the product from a PC turn talk mode off Talk mode Description OFF 0 Responds only to commands from a PC default ON 1 Automatically responds at the start and end of a test The TOS5200 status settings and measured values are returned Response at START the start of a test Response at Status PASS U FAIL gt L FAIL lt PROT gt or STOP the end of a test Settings Measured voltage measured current test time measured values Setting the talk mode FUNCTION 1 Press CONFIG SHIFT FUNCTION to display the CONFIG setup screen ACW LOCAL Pressing once shows the CONFIG screen m eg 2 Press MEMORY 2 or MEMORY 3 to move to the talk mode setting and then use the rotary knob to set the value To exit from the CONFIG setup screen and return to the basic setup screen press STOP r w Talk mode setting 0 OFF 1 ON NOTE If the TOS5200 is initialized the talk mode is set to 0 Even when the talk mode is set to 0 with the RST command it will return to the setting specified by the panel when the TOS5200 is restarted TOS5200 INTERFACE Remote Control E 11 12 This page is intentionally blank TOS5200 INTERFACE Message Overview This chapter gives an overview of remote control messages It then explains topics such as the make up of the SCPI com
34. d default Response Returns whether the start voltage is used in lt NR1 gt format TOS5200 INTERFACE 00000 N N AC Withstanding Voltage Test Conditions Voltage rise time setting SOUR VOLT SWE TIM RST RCL Sets the voltage rise time Rise Time Command SOURce ACW VOLTage SWEep RISE TIMer lt numeric gt MIN MAX SOURce ACW VOLTage SWEep RISE TIMer MIN MAX Parameter Value 0 1to 10 0 The default value is 0 1 Unit S Response Returns the voltage rise time Rise Time in lt NR3 gt format Voltage fall time setting SOUR VOLT SWE FALL TIM STAT RST BCL Sets whether the voltage fall time Fall Time is used Command SOURce ACW VOLTage SWEep FALL TIMer STATe ON OFF 1 0 SOURce ACW VOLTage SWEep FALL TIMer STATe Parameter Value ON 1 The voltage fall time Fall Time is used OFF 0 The voltage fall time Fall Time is not used default Response Returns whether the voltage fall time Fall Time is used in lt NR1 gt format Test voltage frequency setting SOUR VOLT FREQ RST RCL Sets the test voltage frequency Command SOURce ACW VOLTage FREQuency lt numeric gt MIN MAX SOURce ACW VOLTage FREQuency MIN MAX Parameter Value 50 60 The default value is 50 Unit HZ Response Returns the test voltage frequency in lt NR3 gt format 28 TOS5200 INTERFACE About Sequences TOS5200 INTERFACE Sequences are u
35. e occurs if the specified value is outside the range Sets the service request enable register The service request enable register can be used to select which summary messages in the status byte register will perform service requests To clear the service request enable register send SRE 0 If the register is cleared service requests cannot be generated by status information SRE lt NR1 gt SRE Value 0 to 255 An SCPI error 222 Data out of range occurs if the specified value is outside the range Example Sending SRE 8 sets bit 3 of the service request enable register Each time the summary bit bit 3 of the QUEStionable status register in the status byte is set a service request message is generated Returns the value of the service request enable register in lt NR1 gt format Queries the contents of the status byte register and the MSS master summary status mes sage The response is the same as serial polling only with the exception that the MSS message appears in place of the RQS message in bit 6 STB Returns the value of the status byte register and the MSS message bit 6 in lt NR1 gt format Command Reference a 24 Test Mode Settings TRG see IEEE 488 2 1992 section 10 37 Command TST See IEEE 488 2 1992 section 10 38 Command Response WAI IEEE 488 2 1992 section 10 39 Command Trigger command This is a substitute command for the IEEE 488 1
36. e Communication system Start stop synchronization Baudrate 9600 bps 19200 bps 38400 bps 57600 bps 115200 bps 0 1 2 3 4 Data length 8 bits Parity None Stop bits 1 bit Flow control Fixed to XFLOW NOTE Several bytes of characters may be transmitted when the power is turned on Turn on the PC or serial printer after turning on the TOS5200 RS232C transmission and reception Device Control DC codes are used for control codes Data may not be transmitted or received properly if flow control is not used Code Function ASCII code DC1 Xon Request to send 11H DC3 Xoff Request to stop sending 13H Transmission control from the TOS5200 to the RS232 C terminal TXD DC3 i 1 Pause Resume transmission RXD 1 1 110 characters or less 1 1 After receiving DC3 the RS 232C terminal must pause transmission within 10 characters Break signal The break signal is used as a substitute for the IEEE488 1 dcl sdc Device Clear Selected Device Clear message NOTE To use the RS232C interface a SYSTem REMote command must be sent to set the TOS5200 to remote mode To use remote programming send SYSTem REMote at the beginning of the program 10 TOS5200_INTERFACE Talk Mode This feature enables you to control the product in the same manner as remote control without using commands from a PC It can reduce processing on the PC If you turn talk mode on you cannot
37. e in lt NR3 gt format N E format of the value that is J returned when a query is sent References to command descriptions Item Command syntax 14 Parameters 16 Units 17 Queries 15 Expression format List of messages List of errors DL DID s s si sss m o Command processing time TOS5200 INTERFACE IEEE 488 2 Common Commands See p 40 IEEE 488 2 1992 section 10 3 Command ESE 2 p 43 IEEE 488 2 1992 section 10 10 Command Parameter Response ESR See p 43 IEEE 488 2 1992 section 10 12 Command Response See IEEE 488 2 1992 section 10 14 Command Response TOS5200 INTERFACE Clears all event registers including the status byte event status and error queue CLS Sets the event status enable register that is counted by the event summary bit ESB of the status byte ESE lt NR1 gt ESE Value 0 to 255 An SCPI error 222 Data out of range occurs if the specified value is outside the range Example When ESE 16 is transmitted bit 4 of the event status enable register is set Each time the execution error bit bit 4 of the event status register is set the summary bit ESB of the status byte is set Command EE Returns the value of the event status enable register in lt NR1 gt format Event Queries the status register Registers that are read are cleared ESR Returns the va
38. egister is a 16 bit register that contains information about the status of the TOS5200 protection functions This status register is unique to the TOS5200 46 Bit Bit weight Bit name Description 0 1 Interlock ILOCK Interlock signal input detected 1 2 Calibration CAL The set calibration date has passed 2 4 NOT USED 3 8 NOT USED 4 16 Power Supply PS Power supply problem detected 5 32 Volt Error VERR The output voltage exceeded the rated limits 6 64 NOT USED 7 128 NOT USED 8 256 Over Load OL The output power exceeded the output limit Over Heat OH The internal temperature of the TOS5200 has 9 512 become abnormally high Over Rating OR An output current was generated for a length of time 10 1024 that exceeds the rated time 11 2048 NOT USED Remote RMT A connection or disconnection of the remote control 12 4096 connector was detected SIGNAL I O SIO A change in the SIGNAL I O connector s ENABLE 13 8192 signal was detected A connection or disconnection of the USB cable 14 16384 USB while the TOS5200 was being controlled remotely was detected 15 32768 NOT USED STAT OPER PROT Command Response STAT OPER PROT COND Command Response Queries the event of the PROTecting status register A query clears the contents of the register STATus OPERation PROTecting EVENt Returns the event of the PROTecting status register in
39. est time SENS JUDG 5MA 2 Sets the upper limit MEAS VOLT 20 SE Ve measurement and queries STAT OPER TEST COND 3 Queries register status TOS5200 INTERFACE 67 2 Using Visual Basic 2008 This appendix will explain how to use Visual Basic 2008 and the VISA library to communicate with the TOS5200 through its USB interface THAD BRD EFOD MIAH CARH Wier Tse SY Am MH NAD AP KE BAT MSS OA E EE EH go Fem PICA fote va MST es Jm AADA S Few Sample 3 My Pros EIS Stee ra Ge RIT eva Tone EY 0215 So ww root Feral Sotra esa Fur ien En n E ayla 2 e Project settings First specify a driver for performing communications the VISA library in the project settings On the Project menu click Add Reference and then click VISA COM3 0 Type Library NET COM 2n2z5k 88 SAELE IRA Typelib 4 RA VID98 Theme and Layout Picker 1 10 OXProgram Files Microsoft Visua VID98 Wizard Object 10 Type Libr 10 CXProgram Files Common Files Video TVServer 10 Type Library 10 OXProgram Files NVIDIA Corpor VIDTC1 10 Type Library 10 C Program Files Microsoft Visua VIDTC2 10 Type Library n OXProgram Files Microsoft Visua n OXProgram FilesMicrosoft Visua D NDOWS system VIS30AUTD AC VisData Database Utility VisModelBrowser D OXVXIPNPZVisaCom BasFrmlO dl D OXProgram Files Microsoft Visua D OXProgram Files Microsoft Visua Visual Basic 6 Resource Editor 10 OXProgram Files Micros
40. fall time on and off SOUR VOLT SWE FALL TIM STAT OFF Upper limit SENS JUDG 0 02 mA ____ Depends on the settings in memory Lower limit SENS JUDG LOW 0 01 mA Lower limit on and off SENS JUDG LOW STAT OFF Test time SOUR VOLT TIM 0 1s Test timer on and off SOUR VOLT TIM STAT ON Test voltage freguency SOUR VOLT FREQ 50Hz Test mode AC withstanding voltage SOUR FUNC MODE ACW Depends on the settings test in memory Trigger SEQ1 TRIG SOUR IMM iran SEQ2 TRIG SEQ2 SOUR IMM METUO TRIG TEST SOUR Trigger count SEQ1 TRIG COUN 1 Trigger timer SEQ1 TRIG TIM 0 No 0 default value change PASS judgment result hold time SYST CONF PHOL 50 No effect Buzzer PASS judgment SYST CONF BEEP VOL PASS 0 3 voume FAIL judgment SYST CONF BEEP VOL FAIL 0 5 No change Talk mode TMOD 0 o 1 Even when the talk mode is set to 0 with the RST command it will return to the setting specified by the panel when the TOS5200 is restarted TOS5200 INTERFACE D Command Processing Time A certain amount of time is required before the commands shown in the following table are received by the TOS5200 The processing times shown here are standard values not guaranteed values The processing times vary depending on the settings and the measurement conditions The values shown below do not include hardware response times Command USB processing time ms Description SOUR VOLT 1KV 2 Sets the test voltage SOUR VOLT TIM 1S 2 Sets the t
41. get message Group Execute Trigger If the TOS5200 is in a state in which it does not accept triggers an SCPI error 211 Trigger ignored occurs TRG Executes a self test You can query which error occurred by sending the SYST ERR com mand TST Returns 0 if no errors are detected Returns the error code if an error is detected Prevents the TOS5200 from executing subsequent commands until all operations that are in standby have completed WAI Test Mode Settings SOUR FUNC MODE RST RCL Command Parameter Response Set the test mode This is fixed to ACW SOURce FUNCtion MODE ACW SOURce FUNCtion MODE Value ACW AC withstanding voltage test This command always returns ACW TOS5200_INTERFACE AC Withstanding Voltage Test Conditions These are commands for setting the AC withstanding voltage test conditions Measurement mode setting SENS MODE RST Sets the measurement mode Command SENSe ACW MODE RMS AVE SENSe ACW MODE Parameter Value RMS True rms response default AVE Mean value response Response Returns the measurement mode in character format Test voltage setting SOUR VOLT RST RCL Sets the test voltage Command sSOURce ACW VOLTage LEVel lt numeric gt MIN MAX SOURce ACW VOLTage LEVel MIN MAX Parameter Value 0 to 5 5 k The default value is 0 Unit V Response Returns the test voltage setting in NR3 format Li
42. gt STATus QUEStionable PTRansition Command Reference a Parameter Value 0 to 65535 Response Returns the positive transition filter of tne QUEStionable status register in lt NR1 gt format Preset status STAT PRES Resets the ENABle register and the transition filters PTRansition and NTRansition of all sta tus registers including sub registers to their default values Default values STATus ENABle 0x0000 STATus PTRansition 0x7FFF STATus NTRansition 0x0000 Command STATus PRESet TOS5200 INTERFACE 0000 Q 52 TOS5050A Commands STAT Command Response MODE Command Response The TOS5200 can use Kikusui TOS5050A commands These are not SCPI commands Do not use these commands when you are creating a new program Queries the TOS5200 status STATus The TOS5200 status is returned PROTECTION A protection function was activated and the test was stopped TEST Testing READY Waiting for testing to start PASS The test was successful U FAIL A value exceeding the upper limit was detected L FAIL A value less than the lower limit was detected ELSE None of the above Queries the timer setting lower limit setting and test mode setting MODE Returns the timer setting lower limit setting and test mode setting in comma separated format Example When the timer setting is on lower limit setting is on and test mode is AC IMER ON LOWER ON VOLT AC is returned Exa
43. inally close VISA In a sequence of operations you only have to open and close VISA once msg Close Sample program Imports Ivi Visa Interop Public Class Forml Dim rm As ResourceManager Dim msg As IMessage Private Sub Forml Load ByVal sender As System Object ByVal e As System EventArgs Handles MyBase Load rm CreateObject VISA GlobalRM msg rm Open MYDEV1 AccessMode NO LOCK 0 Version using a VISA alias msg rm Open USB0 0x0B3E 0x1046 FF012345 1NSTR AccessMode NO LOCK 0 Version using USB End Sub Queries the ID Private Sub cmdIdn Click ByVal sender As System Object ByVal e As System EventArgs Handles cmdIdn Click msg WriteString IDN TextBox1 Text msg ReadString 256 End Sub Sets the test voltage limit voltage and upper limit for judgments Private Sub cmdCurr Click ByVal sender As System Object ByVal e As System EventArgs Handles cmdCurr Click msg WriteString SOUR VOLT 1 5KV Setsthe test voltage to 1 5 kV msg WriteString SOUR VOLT PROT 2KV Sets the limit voltage to 2 kV msg WriteString SENS JUDG 10MA Sets the upper limit for judgments to 10 mA End Sub Queries the measured values Private Sub cmdMeas Click ByVal sender As System Object ByVal e As System EventArgs Handles cmdMeas Click msg WriteString MEAS VOLT Queries the measured voltage TextBoxl Text msg ReadString 256 Reads 256 bytes of data from the reception buffer converts the string into
44. ins topics such as command details and registers 20 Command Description in This Manual In this manual SCPI commands are described in the following manner Commands that have these marks are affected when an RST or RCL command is sent The settings for the command are changed to the values that are shown in the Default values section The test voltage is changed to 0 volts when the RST command is sent Append the value that you want to set the setting to after the command To set the test voltage of an AC withstanding voltage test ACW to 5 5 kV send SOUR VOLT 5 5KV Sets the test voltage The parameters are listed In this command the parameter is numeric In addition to specifying the desired value you can specify the minimum or maximum value E Command SOURce ACW VOLTage LEVel lt numeric gt MIN MAX The commands are listed in the long form The lowercase characters can be omitted Sections that are enclosed in braces can also be omitted SOURce ACW VOLTage LEVel MIN MAX The setting range is listed Optional symbols such as m and Uu can also be used Specity MAX to set the maximum value Ce Parameter Value Oto 5 5K The default value is 0 The unit can be omitted V E unit for the value being set A Specify MIN to set the minimum value Unit Response Returns the test voltag
45. is eee otc as enar tec e E REESE as P FEAR ea A 55 Appendix A List of Messages SEADA 58 EE sammusid 63 GERIT V Sci JT 66 D Command Fessaguet ERE ER eoa REFERS ef en 67 E Using Visual Basi 2008 eege 68 Jee E 71 TOS5200 INTERFACE Remote Control This chapter provides a general explanation of the remote control function Remote Control Overview In addition to controlling the TOS5200 from the front panel you can control it remotely through the following interfaces USBinterface e RS232C interface You cannot use the USB and RS232C interfaces at the same time If cables are connected to both USB and RS232C ports the USB interface takes precedence The remote interfaces comply with IEEE Std 488 2 1992 and SCPI Specification 1999 0 When the product is being controlled remotely RMT appears on the front panel screen To switch the TOS5200 back to local mode from the front panel press LOCAL B Measuring instrument interface standards The TOS5200 complies with the following standards EEE Std 488 2 1992 IEEE Standard Codes Formats Protocols and Common Com mands For Use With IEEE Std 488 1 1987 EEE Std 488 1 1987 IEEE Standard Digital Interface for Programmable Instrumentation EEE Std 1174 2000 IEEE Standard Serial Interface for Programmable Instrumentation Standard Commands for Programmable Instruments SCPI version 1999 0 Universal Serial Bus Specification Rev 2 0 Universal Serial Bus Test
46. ister and the master summary status R message TRG Trigger command W TST Executes a self test R F Prevents the TOS5200 from executing subsequent commands or queries until all WAI 3 W operations that are in standby have completed TOS5050A commands TOESTEDA Parameter Description R W command LOCAL Disables the START command from RS232C MEASURE Queries the measured value R MODE Queries the timer setting lower limit setting voltage mode setting and voltage R range setting REMOTE Enables the START command from RS232C W START Starts a test W STATUS Queries the TOS5200 status R STOP Stops the test W TMOD 011 Sets the talk mode R W TOS5200 INTERFACE B List of Errors Command errors An error in the range 199 100 indicates that an IEEE 488 2 syntax error has been detected by the instrument s parser The occurrence of any error in this class causes the Command Error bit bit 5 in the event status register to be set Error code Error message description 100 Command error Generic syntax error 101 Invalid character A syntactic element contains an invalid character 102 Syntax error An unrecognized command or data type was encountered 103 Invalid separator The parser was expecting a separator and encountered an illegal character 104 Data type error The parser recognized a data element different than one allowed 105 GET not allowed
47. ithstanding Voltage Tester is also referred to as the TOS5200 Device under test is also referred to as DUT The term PC is used to refer generally to both personal computers and workstations The following markings are used in the explanations in this manual NOTE Indicates information that you should know Indicates a reference to detailed information gt Indicates the hierarchy of items you need to select Memo Indicates useful information TOS5200_INTERFACE Contents TOS5200 INTERFACE About the Manuals cancer eret halama aaa E annak 2 Notations Used in This Manual sesessseeeenennnennnn nnn nnn nennen nnn nnn 2 Remote Control Remote Control Overview undra gn NEE cnn Quinn 6 Installing the VISA Library essen nennen nnn 7 Using the USB Interface AAA 8 Using the RS232C Interface 9 IE dure RSS 11 Message Overview Message Overview i e oai cerei e e kaja EC PNE E ERR Rate En tere Pb Aaa a 14 SCPI command evntan nnne 14 Paramete S A aaa 16 Command Reference Command Description in This Manual 20 IEEE 488 2 Common Commands cinsinin kvaale aaa 21 Bess LE 24 AC Withstanding Voltage Test Conditions sessseeneenennennnene 25 Measurement mode setting 25 Test voltage setting WE 25 Limit voltage seittng A
48. locks all keys wl2 other than LOCAL and the STOP switch Switches to remote mode locks all keys ANE other than the STOP switch WE VERS 1999 0 Queries the version of the compliant oli SCPI specifications TEST subsystem SCPI command Default Response Effect Description R W Nt mon 11 aor ating SEQ Kap exec _ Bia testing sans he Wager funcion SEGA W 3 Prom 1l Eemer we 61 TOS5200 INTERFACE 62 List of Messages IEEE 488 2 common commands EEE 196 Parameter Description R W common command CLS Clears all the event registers W ESE NR1 Sets the event status enable register bits R W ESR Queries the event status register R IDN Queries the identification string manufacturer information R d Causes the TOS5200 to generate the operation complete message in the event OPC A Se R W status register when all of its pending operations have finished OPT Queries the options that are installed in the TOS5200 R PSC 011 Sets whether the ESE and SRE settings will be cleared R W RCL NR1 Loads the settings that have been stored to memory W Resets the TOS5200 Configures the TOS5200 to a known condition independent RST Ww from the usage history of the device SAV NR1 Saves the present settings to memory W SRE NR1 Sets the service request enable register R W STB Queries the contents of the status byte reg
49. lue 0 When the POWER switch is turned on the ESE and SRE settings are not cleared 1 When the POWER switch is turned on the ESE and SRE settings are cleared An SCPI error 222 Data out of range occurs if the specified value is outside the range Example To enable the power on SRQ feature PSC 0 SRE 32 ESE 128 Returns the power on status setting in response to the PSC query Aborts test execution and measurement and loads the settings that have been saved to memory For the commands that are affected by RCL see Default State RCL lt NR1 gt Value 1103 Memory number An SCPI error 222 Data out of range occurs if the specified value is outside the range TOS5200 INTERFACE IEEE 488 2 Common Commands RST p 66 IEEE 488 2 1992 section 10 32 Command SAV p 66 Command Parameter See IEEE 488 2 1992 section 10 34 Command Parameter Response 29 p 42 IEEE 488 2 1992 section 10 36 Command Response TOS5200 INTERFACE Aborts test execution and measurement and resets the panel settings to their default values For the commands that are affected by RST see Default State RST Saves the present settings to memory The settings that are saved are the same as those that will be loaded with the RCL command For details see Default State SAV lt NR1 gt Value 1to3 Memory number An SCPI error 222 Data out of rang
50. lue of the event status register in lt NR1 gt format and clears the register Queries the model name serial number and firmware version of the TOS5200 IDN The response to IDN is indicated below Example For a TOS5200 with serial number AB123456 and firmware version 1 00 IDN returns KIKUSUI TOS5200 AB123456 1 00 21 22 IEEE 488 2 Common Commands OPC IEEE 488 2 1992 section 10 18 Command Response OPT Command Response PSC IEEE 488 2 1992 section 10 25 Command Parameter Response RCL See p 66 Command Parameter Sets the OPC bit bit 0 of the event status register when all the commands that are in standby have been processed OPC OPC Returns 1 when all the commands that are in standby have been processed Queries the options that are installed in the TOS5200 This command performs the same function as the SYSTem OPTion command OPT Returns 0 if no options are installed Returns one of the following responses in character format if options are installed Returns RCOX TOS if an RC01 TOS RC02 TOS HP01A TOS or HP02A TOS option is installed Returns SIGNAL I O if a SIGNAL I O option is installed Example lf the RC01 TOS is installed this command returns RCOX TOS Sets whether the event status enable register and service request enable register are cleared when the POWER switch is turned on PSC NR1 PSC Va
51. mit voltage setting SOUR VOLT PROT BST EREL Sets the limit voltage Command SOURce ACW VOLTage PROTection LEVel UPPer lt numeric gt MIN MAX SOURce ACW VOLTage PROTection LEVel UPPer MIN MAX Parameter Value 0 to 5 5 k The default value is 5 5 k Unit V Response Returns the limit voltage in lt NR3 gt format TOS5200 INTERFACE Command e AC Withstanding Voltage Test Conditions Upper limit setting SENS JUDG RST RCL Sets the upper limit that is used in judgments UPPER Command SENSe ACW JUDGment UPPer lt numeric gt MIN MAX SENSe ACW JUDGment UPPer MIN MAX Parameter Value 0 01 m to 110 m The default value is 0 02 m Unit A Response Returns the upper limit in lt NR3 gt format Lower limit setting SENS JUDG LOW RST RCL Sets the lower limit that is used in judgments LOWER This setting is enabled when SENS JUDG LOW STAT is set to ON Command SENSe ACW JUDGment LOWer lt numeric gt MIN MAX SENSe ACW JUDGment LOWer MIN MAX Parameter Value 0 01 m to 110 m The default value is 0 01 m Unit A Response Returns the lower limit in lt NR3 gt format SENS JUDG LOW STAT RST RCL Sets whether the lower limit is used in judgments LOWER ON OFF Use SENS JUDG LOW to set the lower limit Command SENSe ACW JUDGment LOWer STATe ON OFF 1 0 SENSe ACW JUDGment LOWer STATe Parameter Value ON 1 The limit is
52. mple When the timer setting is off lower limit setting is off and test mode is DC IMER OFF LOWER OFF VOLT DCisreturned TOS5200 INTERFACE TOS5050A Commands MEAS Command Response TMOD pz 11 Command Parameter Response REMOTE Command Response Queries the TOS5200 measured value MEASure Returns the TOS5200 measured value The returned value varies depending on whether a test is in progress When a test is in progress The measured voltage measured current and elapsed test time are returned When a test is not in progress The previous test results are returned The maximum measured voltage maximum measured current elapsed test time and status are returned Status PROTECT A protection function was activated and the test was stopped PASS The test was successful U FAIL A value exceeding the upper limit was detected L FAIL A value less than the lower limit was detected STOP The test was stopped P ON After the power was first turned on no tests have been executed RST Sets the talk mode TMODe 0 1 TMODe Command Reference a Value 0 Talk mode 0 default 1 Talk mode 1 When the talk mode is sent OK is returned When a talk mode query is sent the present talk mode is returned Example When set to talk mode 1 TMODE1 is returned Switches the TOS5200 to remote mode RMT is displayed on the screen REMOTE OK is returned NOTE
53. n use aliases for I O resources If you use an alias for an I O resource even if the alias name is hard coded in the application the I O resource name can still be changed to an appropriate value when the application runs Example Using an alias MYDEV1 for an I O resource Set msg rm Open MYDEV1 NO LOCK 0 When you use aliases specify the actual I O resources through an external configuration table or similar tool The following figure shows an example of using KI VISA with the USB interface KI VISA Instrument Explorer file Edit View Tools Help 1 Select the I O resource that you want to use 0 i J45 j VISA Address e USB0 j3E 23 3 ASRL1 INSTR USB0 0x0B3E 0x1020 FF012345 0 INSTR Open VISA Session JN ASRL3 INSTR N ASRLA INSTR z Check Method VISA Alias Alphanumeric only case insensitive Optional Settings J r RS232 Serial Interface cQ i od 2 Enter the alias name Databits If you are using a version of VISA other than KI VISA see the manual of your VISA version B Controlling the instrument Next we will use commands such as read and write commands to control the instrument Example msg WriteString SOUR VOLT 1 5KV Setsthe test voltage to 1 5 kV msg WriteString SOUR VOLT PROT 2KV Setsthe limit voltage to 2 kV msg WriteString SENS JUDG 10MA Sets the upper limit for judgments to 10 mA 69 TOS5200 INTERFACE Using Visual Basic 2008 B Closing VISA F
54. nction was activated and the test was stopped ABORT Test was aborted TOS5200_INTERFACE SEEN 1 1 1 1 8 Various Settings PASS judgment result hold time setting SYST CONF PHOL RST Sets the length of time that a PASS judgment result will be held Pass Hold Command SYSTem CONFigure PHOLd lt numeric gt 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 held indefinitely HOLD Response Returns the length of time that a PASS judgment result will be held in lt NR3 gt format Unit S Buzzer volume settings SYST CONF BEEP VOL FAIL RST Sets the volume level of the buzzer that is sounded when a FAIL judgment occurs Command SYSTem CONFigure BEEPer VOLume FAIL lt numeric gt MIN MAX SYSTem CONFigure BEEPer VOLume FAIL MIN MAX Parameter Value 0 0 to 0 9 The default value is 0 5 Response Returns the volume level of the buzzer that is sounded when a FAIL judgment occurs in lt NR3 gt format SYST CONF BEEP VOL PASS RST Sets the volume level of the buzzer that is sounded when a PASS judgment occurs Command SYSTem CONFigure BEEPer VOLume PASS lt numeric gt MIN MAX SYSTem CONFigure BEEPer VOLume PASS MIN MAX Parameter Value 0 0 to 0 9 The default value is 0 3 Response Returns the volume level of the buzzer that is sounded when a PASS judgment occurs in lt NR3 gt form
55. nd your PC are off and connect them with a standard crossover cable null modem cable Use a D sub 9 pin female to female AT crossover cable The port pinout is shown below The TOS5200 does not use hardware handshaking so not all the pins need to be connected crossover cable wiring diagram 1 CD carrier detect 2 RXD receive data 3 TXD transmit data 4 DTR data terminal ready 1 1 5 GND signal ground 2 2 gero S cR 4 40UNC 4 4 g inch screw 5 5 6 6 4 40UNC inch screw 8 8 9 9 7 RTS request to send 6 DSR data set ready D sub 9 pin female D sub 9 pin female When you are facing the TOS5200 rear panel Crossover cable wiring diagram RS232C settings 1 Press CONFIG SHIFT FUNCTION to display the CONFIG setup screen ACW LOSAL The CONFIG screen appears P 2 Press MEMORY 2 or MEMORY 3 to move to the Baudrate setting and then use the rotary knob to set the value To exit from the CONFIG setup screen and return to the basic setup screen press STOP Example Selecting the baudrate blinking Baudrate setting 0 9 600 1 19 200 2 38 400 3 57 600 4 115 200 TOS5200 INTERFACE Remote Control E Using the RS232C Interface Protocol The RS232C protocol is shown in the following table The underlined value is the factory default setting The values in parentheses are CONFIG setting options Item Valu
56. ns a after indefinite response response in an indefinite form Example IDN SYST ERR Operation complete event errors An error in the range 899 800 is used when the TOS5200 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 The occurrence of this event causes the Operation Complete bit bit 0 in the event status register to be set Error code Error message description 800 Operation complete All selected pending operations in accordance with the IEEE 488 2 12 5 2 synchronization protocol have completed TOS5200 INTERFACE 65 66 C Default State When the TOS5200 is initialized at the factory or when it receives an RST or RCL com mand 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 Setting after Setting after command received Item Command irae tea initialization RST RCL Withstanding Measurement mode SENS MODE RMS lt No effect voltage test Test voltage SOUR VOLT OV conditions ACW Test voltage limit SOUR VOLT PROT 5 5 kV Start voltage on and off SOUR VOLT STAR STAT OFF Voltage rise time SOUR VOLT SWE TIM 0 15 Voltage
57. ntended for first time users of the product It gives an overview of the product connecting procedures safety precautions etc Please read this manual before you operate the product B Quick Reference The quick reference briefly explains the control panel and the basic operation of it B Safety Information This document contains general safety precautions for this product Keep them in mind and make sure to observe them B User s Manual PDF This manual is intended for first time users of this product It provides an overview of the product notes on usage and specifications It also explains how to connect the product configure the product operate the product perform mainte nance on the product and so on It is included on the CD ROM Adobe Reader 9 2 or later is required to view the file B Communication Interface Manual this manual PDF This manual explains how to control the product remotely using SCPI commands The interface manual is written for readers with sufficient basic knowledge of how to control measuring instruments using a PC PDF files are included in the accompanying CD ROM Adobe Reader 9 2 or later is required to view the PDF files Every effort has been made to ensure the accuracy of this manual However if you have any questions or find any errors or omissions please contact your Kikusui agent or distributor If you find any misplaced or missing pages in the manuals they will be repla
58. oft Visua Visual Basic Data View Addin Sup 10 C Program Files Microsoft Visua Visual Basic For Applications 21 C WINDOWS system32 VEN223 y 1 1 1 30 C PNP om GlobMer dll 1 1 1 aun mi Communicating through USB or RS232C After you finish configuring the communication driver you can perform communications through USB or RS232C We will explain the communication procedure that uses the VISA library 68 TOS5200 INTERFACE Using Visual Basic 2008 H Opening VISA Before you can use the VISA library to communicate with the USB or RS232C 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 0x1046 00000001 INSTR NO LOCK 0 USB 0x0B3E 0x1046 00000001 INSTR is an I O resource The I O resource syntax is shown below The parts surrounded by square brackets can be omitted Enter the appropriate values in the parts written in italics USB USB board VendorID ProductID SerialNumber InterfaceNumber INS TR Example A USBTMC measuring instrument whose vendor ID VID is OXOBSE product ID PID is 0x1046 and serial number is 00000001 USB0 0x0B3E 0x1046 00000001 INSTR Serial ASRL boardj INSTR RS232C Example A measuring instrument connected to serial port COM1 ASRL1 INSTR In VISA you ca
59. r is set to 1 This bit is set to true when a bit is set in the OPER 7 128 Operation Status Register OPER ation event status register and the corresponding bit in the OPERation status enable register is set 8 15 NOT USED TOS5200 INTERFACE IEEE 488 2 Register Model Event status register standard event status register TOS5200 INTERFACE The event status register bits are set when certain events occur during TOS5200 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 com mon commands ESE ESE and ESR Bit ch Bit name Description weight i Set when an OPC command is received and all 1 Operation Complete OPC operations in standby have been completed 1 2 Request Control RQC Set when an attempt is made to read data from the output queue when there is no data or when the out 2 4 Query Error QYE put queue is not in the wait state This indicates that there is no data in the output queue 3 8 Device Dependent Error DDE Set when there is a device specific error Set when the TOS5200 evaluates that the program data after the header is outside the formal input range or does not match the specifications of the 4 16 Execution Error EXE TOS5200 This indicates that a valid SCPI command may not be executed correctly depending on the state of the TOS5200 Set when
60. re group Trigger count Response when a measurement command is sent 1 Single measured value 2 to 100 Comma separated list of all measured data points Command TRIGger SEQuence 1 COUNt lt numeric gt MIN MAX TRIGger SEQuence 1 COUNt TRIGger ACQuire COUNt lt numeric gt MIN MAX TRIGger ACQuire COUNt Parameter Value 1 to 100 The default value is 1 Response Returns the trigger count in lt NR3 gt format ABOR Aborts the tests and measurements of all sequence groups The TOS5200 s trigger state immediately after it turns on is the same as its trigger state after it receives an ABOR com mand If you send an ABOR command while the TOS5200 is executing tests or measurements the measured data is discarded If you send an ABOR command without first sending an INIT command and if the measure ment data that is held in the TOS5200 is valid the measured data is not discarded Command ABORt MEAS CURR READ CURR Starts a new measurement and queries the current Command MEASure ARRay CURRent READ ARRay CURRent Response Returns the measured current in lt NR3 gt format or the measured currents as a comma separated list in lt NR3 gt lt NR3 gt format Unit A TOS5200 INTERFACE Command m 33 34 Querying Measured Values SEQuence1 ACQuire MEAS VOLT READ VOLT Command Response Starts a new measurement and queries the voltage MEASure ARRay V
61. register that contains information about the status of tests on the TOS5200 This status register is unique to the TOS5200 Bit Bit weight Bit name Description 0 1 PASS PASS judgment 1 2 L FAIL L FAIL judgment 2 4 U FAIL U FAIL judgment 3 8 RESERVED 4 16 RISE Voltage rising 5 32 TEST Testing 6 64 FALL Voltage falling 7 128 NOT USED 8 256 READY Waiting for testing to start 9 512 IDLE Standby 10 1024 STOP Stopping testing 2048 RESERVED 12 4096 NOT USED 13 8192 NOT USED 14 16384 NOT USED 15 32768 NOT USED STAT OPER TEST Queries the event of the TESTing status register A query clears the contents of the register Command STATus OPERation TESTing EVENt Response Returns the event of the TESTing status register in lt NR1 gt format STAT OPER TEST COND Queries the condition of the TESTing status register A query does not clear the contents of the register Command STATus OPERation TESTing CONDtion Response Returns the condition of the TESTing status register in lt NR1 gt format TOS5200 INTERFACE SCPI Register Model STAT OPER TEST ENAB Command Parameter Response Sets the enable register of the TESTing status register STATus OPERation TESTing ENABle lt NRf gt STATus OPERation TESTing ENABle Value 0 to 65535 Returns the enable register of the TESTing status register in lt NR1 gt format STAT OPER
62. s 46 Q 0 1 gt e 15 QUEStionable status register 50 TOS5200 INTERFACE R remote control NOR MIS TEC t 63 remote interfaces nnnnenennnnenenennennnnen e 6 S sample program inrennamnennn 70 SGP 6 14 status byte register eseeeeee 42 status register einierde nino era aaie A E EAE 40 nee 16 T terminator TII 16 TESTing status register s eeeeeeneeeneeneneeeenenneenenne 48 transition EE 40 tonal 55 V Cen NEE 2 VISA M lor ez ln P 7 71 KIKUSUI ELECTRONICS CORP 1 1 3 Higashiyamata Tsuzuki ku Yokohama 224 0023 Japan Tel 81 45 593 7570 Fax 81 45 593 7571 Website http www kikusui co jp
63. sed in strings Used when only a limited number of values are available for a program setting Responses are returned in short form Example TRIGger SOURce IMMediate BUS TIMer TEST Character data Character Used to express a condition of 1 or 0 or ON or OFF Responses are returned as 1 or 0 Example SOURce VOLTage TIMer STATe ON OFF 1 0 Boolean data Boolean 16 TOS5200 INTERFACE Message Overview Numeric parameters The TOS5200 uses the following five parameter types Symbol or character Description NR1 Represents an integer value NR2 Represents a real number in floating point format Represents a real number in scientific notation NR3 If the 380 is returned in the response data it is returned as 3 80000 E02 Five decimal places are used NRf NRf is a generic term that includes NR1 NR2 and NR3 Represents values such as the decimal point optional prefixes and measure ment units Numbers are expressed the same as NHf MINimum MAXimum and the like are available as substitutes for declaring cer tain values Numeric You can also use units such as V A and S in numeric parameters If a value that cannot be assigned is entered the TOS5200 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 0 9 so even if you attempt to set the value to 2 0 it will be set to 0 9 Mess
64. sed to perform withstanding voltage tests and measurements The front panel STOP switch remains enabled during remote control A sequence has three states IDLE INITiated and WTG IDLE state When the TOS5200 is on all sequences are in the IDLE state In this state the trigger sub system ignores all triggers If you send the ABOR RST or RCL command the trigger sub System is switched to the IDLE state regardless of its current state If you send the TRG command while the TOS5200 is in the IDLE state tests will not be per formed INITiated state When you send the INIT command while the TOS5200 is in the IDLE state the trigger func tion begins operating and the tester switches to the INITiated state If the trigger source is set to IMMediate testing or measurements begin immediately If the trigger source is set to BUS or EXTernal the TOS5200 switches to the WTG Waiting for Trigger state If the SEQuence1 ACQuire trigger source is set to TIMer measurements begin after the trigger timer s set time elapses If the SEQuence1 ACQuire trigger source is set to TEST measurements begin at the start of tests WTG Waiting for Trigger state If you send a trigger while the TOS5200 is in the WTG state testing or measurements begin If the trigger source is set to BUS send a software trigger If the SEQuence2 TEST trigger source is set to EXTernal use the START switch to begin testing Command m 29 30 A
65. ssage description 330 Self test failed The self test failed 360 Communication error A communication error occurred 361 Parity error in program message A parity bit was incorrect 362 Framing error in program message The stop bit cannot be detected 363 Input buffer overrun An overrun occurred in the input buffer 365 Time out error A time out error occurred TOS5200_INTERFACE List of Errors Query errors An error in the range 499 400 indicates that the output queue control of the instrument has detected a problem with the message exchange protocol described in IEEE 488 2 chapter 6 The occurrence of any error in this class causes the Query Error bit bit 2 in the event status register to be set Error code Error message description 400 Query error generic A generic TOS5200 error 410 Query INTERRUPTED Received a new command before the response was read 420 Query UNTERMINATED The controller attempted to read the response after the device received an unsupported query or has not received a query The 100 Command error and this error are stored in the error event queue The controller will time out 430 Query DEADLOCKED The error queue input buffer and output buffer are full when sending large binary data as a response and the transmission timing is off 440 Query UNTERMINATED Received a separate query in semicolon delimited format after a query that retur
66. t volt age frequency SOUR VOLT STAR STAT ON SOUR VOLT SWE TIM 5S SOUR VOLT SWE FALL TIM STAT OFF SOUR VOLT FREQ 60HZ After setting the test conditions start the test in this example we will just start the test with out 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 TOS5200 is in protection mode or PASS FAIL judgment is being performed TRIG TEST SOUR IMM TEST EXEC You can query the voltage and current values during testing MEAS CURR MEAS VOLT The test stops when the test time elapses a PASS judgment if a FAIL judgment occurs or if the STOP switch is pressed You can also end the test by sending the ABOR command but the test results will be discarded When the test finishes you can query the test results the overall judgment The condition of the OPER TEST register is returned in NR1 format STAT OPER TEST COND Command m 55 56 This page is intentionally blank TOS5200 INTERFACE Appendix A List of Messages B List of Errors C Default State D Command Processing Time E Using Visual Basic 2008 A List of Messages SCPI command Command name in the short form Effect A for commands that are affected by the RST and RCL commands B for commands that are affected by the RST command R W R for query commands and W for set commands Nt 1 for SCPI standard commands 2
67. uery clears the contents of the register STATus OPERation EVENt Returns the event of the OPERation status register in lt NR1 gt format Queries the condition of the OPERation status register A query does not clear the contents of the register STATus OPERation CONDtion Returns the condition of the OPERation status register in lt NR1 gt format TOS5200 INTERFACE SCPI Register Model STAT OPER ENAB Command Parameter Response Sets the enable register of the OPERation status register STATus OPERation ENABle NRf STATus OPERation ENABle Value 0 to 65535 Returns the enable register of the OPERation status register in lt NR1 gt format STAT OPER NTR Command Parameter Response Sets the negative transition filter of the OPERation status register STATus OPERation NTRansition NRf STATus OPERation NTRansition Value 0 to 65535 Returns the negative transition filter of the OPERation status register in lt NR1 gt format STAT OPER PTR Command Parameter Response TOS5200 INTERFACE Sets the positive transition filter of the OPERation status register STATus OPERation PTRansition NRf STATus OPERation PTRansition Value 0 to 65535 Returns the positive transition filter of the OPERation status register in lt NR1 gt format Command Reference a 45 SCPI Register Model PROTecting status register STATus OPERation PROTecting The PROTecting status r
68. ume PASS numeric MINimum MAXimu m SCPI commands can be written in long form with all the characters or in short form omitting the lowercase characters SCPI commands can be transmitted in either long form or short form SCPI commands are not case sensitive VOLT Volt and volt are all received as the short form of the VOLTage command VOLUME Volume and volume are all received as the long form of the VOLume com mand A space separates a program header and its parameters Multiple parameters are separated by commas TOS5200 INTERFACE Message Overview Compound commands can be created by concatenating two commands with a semico lon Example SYSTem CONFigure BEEPer VOLume FAIL MINimum PASS MINimum You can use a compound command to send a command that is the same as the two following commands SYSTem CONFigure BEEPer VOLume FAIL MINimum SYSTem CONFigure BEEPer VOLume PASS MINimum In the first command SYSTem CONFigure BEEPer VOLume FAIL SYSTem CONFig ure BEEPer VOLume is set as the path Therefore in the second command SYSTem CON Figure BEEPer VOLume can be omitted If you specify a node that is not defined in the current path except for FAIL and PASS an error will occur Program headers are separated by colons Byusing colons and semicolons you can concatenate commands of different subsys tems Example SENSe JUDGment MINimum SOURce VOLTage Message Overview a There are two
Download Pdf Manuals
Related Search
Related Contents
Carrera RC Red Bull RC1 nüvi® 300/350 bulletin d`inscription HASBRO Littlest Pet Shop Digital Pet 51472 User's Manual 850W 5-FUNCTION SDS+ HAMMER DRILL EasyVR Legionella Pneumophila Real Time PCR Kit User Manual Cheetah RDBT-TR 取扱説明書 - Dynabook User Manual - Mitsubishi Electric Copyright © All rights reserved.
Failed to retrieve file