ITech IT5102 Series Скачать руководство пользователя страница 12

 

 

SCPI  Command  Introduction 

 

Copyright© Itech Electronic

 Co., Ltd.

 

end of each message. 

Command execution rules 

  Commands execute in the order that they are presented in the program 

message. 

  An invalid command generates an error and, of course, is not executed. 

  Valid commands that precede an invalid command in a multiple command 

program message are executed. 

  Valid commands that follow an invalid command in a multiple command 

program message are ignored. 

1.4 Response Data Type 

Character strings returned by query statements may take either of the following 
forms, depending on the length of the returned string: 

 

<CRD>: 

Character Response Data. Permits the return of character strings.

 

 

<AARD>: 

Arbitrary ASCII Response Data. Permits the return of undelimited 7-bit 

ASCII. This data type has an implied message terminator.

 

 

<SRD>: 

String  Response  Data.  Returns  string  parameters  enclosed  in  double 

quotes.

 

 

<Block>

: arbitrary block data. 

Response messages 

A response message is the message sent by the instrument to the computer in 
response to a query command. 

Sending a response message 

After sending a query command, the response message is placed in the Output 
Queue. When the instrument is then addressed to talk, the response message 
is sent from the Output Queue to the computer. 

Multiple response messages 

If you send more than one query command in the same program message, the 
multiple  response  messages  for  all  the  queries  is  sent  to  the  computer  when 
the instrument is addressed to talk. The responses are sent in the order that the 
query commands were sent and are separated by semicolons (;). Items within 
the same query are separated by commas (,). The following example shows the 
response message for a program message that contains four single item query 
commands: 

0; 1; 1; 0 

Response message terminator (RMT) 

Each response is terminated with an LF (line feed)  and EOI (end or identify). 
The following example shows how a multiple response message is terminated: 

0; 1; 1; 0; <RMT> 

Message exchange protocol 

Two rules summarize the message exchange protocol: 

Rule 1.You must always tell the IT6500 Series what to send to the computer. 

Содержание IT5102 Series

Страница 1: ...Internal Resistance Tester IT5102 Programming Guide Model IT5102 IT5102E Version 1 0...

Страница 2: ...in this document that conflict with these terms the warranty terms in the separate agreement shall prevail Technology Licenses The hardware and or software described herein are furnished under a lice...

Страница 3: ...as all the freights duties and other taxes shall be on the account of customer Limitation of Warranty This Warranty will be rendered invalid if the product is Damaged resulting from customer wired cir...

Страница 4: ...s should be capable of bearing maximum short circuit of electronic load without overheating If there are multiple loads each pair of the load power cord must be carry out the full rated short circuit...

Страница 5: ...h the WEEE Directive 2002 96 EC marking requirement This affix product label indicates that you must not discard the electrical electronic product in domestic household waste This symbol indicates the...

Страница 6: ...2010 EN 55011 2009 A1 2010 Group 1 Class A IEC 61000 4 2 2008 EN 61000 4 2 2009 IEC 61000 4 3 2006 A1 2007 A2 2010 EN 61000 4 3 2006 A1 2008 A2 2010 IEC 61000 4 4 2004 A1 2010 EN 61000 4 4 2004 A1 20...

Страница 7: ...rface 9 Chapter2 System Command 10 SYSTem VERSion 10 SYSTem ERRor 10 SYSTem CLEar 11 SYSTem LOCal 11 SYSTem REMote 11 SYSTem RWLock 12 Chapter3 Configuration Commands 13 CHANnel VOLTage GROUp ENABle N...

Страница 8: ...e the third keyword Colon is used for separating the command keyword and the next level keyword 1 2 Command Type of SCPI SCPI has two types of commands common and subsystem Common commands generally a...

Страница 9: ...different subsystems you need to be able to reset the header path to a null string within a message You do this by beginning the command with a colon which discards any previous header path For exampl...

Страница 10: ...ou are reading back a measurement array you must dimension the array according to the number of measurements that you have placed in the measurement buffer Read back all the results of a query before...

Страница 11: ...or four letters such as VOLT STAT and DEL Query Indicator Following a header with a question mark turns it into a query VOLTage VOLTage PROTection If a query contains a parameter place the query indic...

Страница 12: ...is the message sent by the instrument to the computer in response to a query command Sending a response message After sending a query command the response message is placed in the Output Queue When t...

Страница 13: ...ommand strings For example VPP VRMS DBM indicates that you may assign APP VRMS or DBM in the above commands Vertical stripes are not sent along with command strings Angle brackets in the second exampl...

Страница 14: ...a command requires several Parameter then a comma must be used to separate adjacent Parameter Space You must use blank characters TAB or Space to separate Parameter with key words of commands Generic...

Страница 15: ...ically round the input parameter to acceptable values The following commands require numerical Parameter of frequency value SOURce 1 2 FREQuency CENTer Frequency MINimum MAXimum NR1 represents an inte...

Страница 16: ...wing command DISPlay TEXT quoted string For example the following commands display message of WAITING without quotation marks on the front panel of the instrument DISP TEXT WAITING Single quotation ma...

Страница 17: ...n ERROR lighted in the front panel when a fault or sevral faults are occurred The maximum 20 items message can be saved in instrument once the command is sent one piece of error message is read 1 Sequ...

Страница 18: ...ameters None Example SYST CLE Returned Parameters None Related command CLS SYSTem LOCal This command is used to switch the instrument to local control mode control from panel In this mode all of keys...

Страница 19: ...ple SYST REM SYSTem RWLock This command is transmit through RS232 interface the same function as SYSTem REMote but the difference is this command can lock LOCAL button as well When this command is exe...

Страница 20: ...e measurement function of the corresponding channel 1 represents the disabling and 0 represents the disabling Command syntax VOLTage GROUp ENABle NR1 NR2 Parameter NR1 Group 0 16 NR2 enable or disable...

Страница 21: ...ommand selects channel seting the parameter after select the channel number Command syntax CHANnel SET NRf Parameters 1 136 IT5102E 1 272 IT5102 Example CHAN SET 1 Query Syntax CHANnel SET Return Para...

Страница 22: ...nnel 0 disable 1 enable Command syntax CHANnel RESistance STATe bool Parameters 0 1 ON OFF Default Value ON Example CHAN RES 0 Query Syntax CHANnel RESistance STATe Return Parameters Channel number wh...

Страница 23: ...Voltage Value Relevant Command CHAN SET CHANnel MEASure RESistance This command is used to query the internal resistance measurement value of present channel Command syntax MEASure RESistance Paramet...

Страница 24: ...None CHANnel QUEStionable NUMber This command is used to query the counts of channels Command syntax CHANnel QUEStionable NUMber Parameters None Example CHAN QUES NUM Return Parameters NRf Relevant Co...

Страница 25: ...tes low range and 0 indicates high range Command syntax CHANnel VOLTage RANGe STATe bool Parameters 0 1 ON OFF Default Value ON Example VOLT RANG 0 Query Syntax VOLTage RANGe STATe Return Parameters 0...

Страница 26: ...tion frequency for measurement 0 indicates 500HZ and 1 indicates 1000HZ Command syntax CHANnel FREQuency STATe bool Parameters 0 1 or ON OFF Default Value ON Example FREQuency 0 Query Syntax FREQuency...

Страница 27: ...Syntax PANEl STATe Return Parameters 0 1 Relevant Command PANE CHANnel FILTer STATe This command enbles the filter function or disables the filter function Command syntax CHANnel FILTer STATe bool Par...

Страница 28: ...dard event enable register Setting parameter can determine which bit of standard event register is 1 and the byte will enable ESB of status byte register is 1 Command syntax ESE NR1 Parameters 0 255 E...

Страница 29: ...meters None Return Parameters AARD Example ITECH IT5102 KN34243232 01 00 RST This command reset the power supply to default settings Command syntax RST Parameters None SRE n This command can set the p...

Страница 30: ...ue of bit6 in status byte register will be clean Query Syntax STB Parameters None Return Parameters NR1 Relevant Command CLS ESE ESR WAI This command instructs the internal resistance tester not to pr...

Страница 31: ...roducts If you have any doubt about this product please contact us as follow 1 Please refer to the CD ROM of related user s manual in package 2 Visit ITECH website www itechate com 3 Select the most c...

Отзывы: