Part Number Hot Search : 
PD610 STK433 MOB81DRH 134186 18240450 BYG85B KLLU1000 7613AP
Product Description
Full Text Search
 

To Download 2000 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  model 2000 multimeter users manual a greater measure of confidence
warranty keithley instruments, inc. warrants this product to be free from defects in material and workmanship for a period of 3 years from date of shipment. keithley instruments, inc. warrants the following items for 90 days from the date of shipment: probes, cables, rechargeable batteries, diskettes, and documentation. during the warranty period, we will, at our option, either repair or replace any product that proves to be defective. to exercise this warranty, write or call your local keithley representative, or contact keithley headquarters in cleveland, ohio. you will be given prompt assistance and return instructions. send the product, transportation prepaid, to the indicated service facility. repairs will be made and the product returned, transportation prepaid. repaired or replaced products are warranted for the balance of the original warranty period, or at least 90 days. limitation of warranty this warranty does not apply to defects resulting from product modi?ation without keithleys express written consent, or misuse of any product or part. this warranty also does not apply to fuses, software, non-rechargeable batteries, damage from battery leakage, or problems arising from normal wear or failure to follow instructions. this warranty is in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular use. the remedies provided herein are buyer? sole and exclusive remedies. neither keithley instruments, inc. nor any of its employees shall be liable for any direct, indirect, special, incidental or consequential damages arising out of the use of its instruments and software even if keithley instruments, inc., has been advised in advance of the possibility of such damages. such excluded dam- ages shall include, but are not limited to: costs of removal and installation, losses sustained as the result of injury to any person, or damage to property. keithley instruments, inc. 28775 aurora road ?cleveland, ohio 44139 ?440-248-0400 ?fax: 440-248-6168 1-888-keithley (534-8453) ?www.keithley.com sales of?es: belgium: bergensesteenweg 709 ?b-1600 sint-pieters-leeuw ?02-363 00 40 ?fax: 02/363 00 64 china: yuan chen xin building, room 705 ?12 yumin road, dewai, madian ?beijing 100029 ?8610-6202-2886 ?fax: 8610-6202-2892 finland: tiet?j?ntie 2 ?02130 espoo ?phone: 09-54 75 08 10 ?fax: 09-25 10 51 00 france: 3, all?e des garays ?91127 palaiseau c?dex ?01-64 53 20 20 ?fax: 01-60 11 77 26 germany: landsberger strasse 65 ?82110 germering ?089/84 93 07-40 ?fax: 089/84 93 07-34 great britain: unit 2 commerce park, brunel road ?theale ?berkshire rg7 4ab ?0118 929 7500 ?fax: 0118 929 7519 india: flat 2b, willocrissa ?14, rest house crescent ?bangalore 560 001 ?91-80-509-1320/21 ?fax: 91-80-509-1322 italy: viale san gimignano, 38 ?20146 milano ?02-48 39 16 01 ?fax: 02-48 30 22 74 korea: fl., uri building ?2-14 yangjae-dong ?seocho-gu, seoul 137-130 ?82-2-574-7778 ?fax: 82-2-574-7838 netherlands: postbus 559 ?4200 an gorinchem ?0183-635333 ?fax: 0183-630821 sweden: c/o regus business centre ?frosundaviks all? 15, 4tr ?169 70 solna ?08-509 04 679 ?fax: 08-655 26 10 switzerland: kriesbachstrasse 4 ?8600 d?bendorf ?01-821 94 44 ?fax: 01-820 30 81 taiwan: 1fl., 85 po ai street ?hsinchu, taiwan, r.o.c. ?886-3-572-9077?fax: 886-3-572-9031 ?copyright 2001 keithley instruments, inc. printed in the u.s.a. 11/01
model 2000 multimeter users manual ?994, keithley instruments, inc. all rights reserved. cleveland, ohio, u.s.a. seventh printing, december 2001 document number: 2000-900-01 rev. g
manual print history the print history shown below lists the printing dates of all revisions and addenda created for this manual. the revision level letter increases alphabetically as the manual undergoes subsequent updates. addenda, which are released between revisions, contain important change information that the user should incorporate immediately into the manual. addenda are numbered sequentially. when a new revision is created, all addenda associated with the previous revision of the manual are incorporated into the new revision of the manual. each new revision includes a revised copy of this print history page. revision a (document number 2000-900-01).............................................................. november 1994 revision b (document number 2000-900-01)................................................................ february 1995 revision c (document number 2000-900-01).................................................................... march 1995 addendum c (document number 2000-900-02) .................................................................. april 1995 revision d (document number 2000-900-01)................................................................... august 1995 addendum d (document number 2000-900-02) .............................................................. october 1995 addendum d (document number 2000-900-03) ..........................................................september 1996 revision e (document number 2000-900-01) .................................................................... march 1997 revision f (document number 2000-900-01) ...................................................................... april 1999 revision g (document number 2000-900-01).............................................................. december 2001 all keithley product names are trademarks or registered trademarks of keithley instruments, inc. other brand names are trademarks or registered trademarks of their respective holders.
the following safety precautions should be observed before using this product and any associated instrumentation. although some instruments and accessories would normally be used with non-hazardous voltages, there are situations where hazardous conditions may be present. this product is intended for use by qualited personnel who recognize shock hazards and are familiar with the safety precautions required to avoid possible injury. read and follow all installation, operation, and maintenance information carefully before us - ing the product. refer to the manual for complete product specitcations. if the product is used in a manner not specited, the protection provided by the product may be impaired. the types of product users are: responsible body is the individual or group responsible for the use and maintenance of equipment, for ensuring that the equip- ment is operated within its specitcations and operating limits, and for ensuring that operators are adequately trained. operators use the product for its intended function. they must be trained in electrical safety procedures and proper use of the instrument. they must be protected from electric shock and contact with hazardous live circuits. maintenance personnel perform routine procedures on the product to keep it operating properly, for example, setting the line voltage or replacing consumable materials. maintenance procedures are described in the manual. the procedures explicitly state if the operator may perform them. otherwise, they should be performed only by service personnel. service personnel are trained to work on live circuits, and perform safe installations and repairs of products. only properly trained service personnel may perform installation and service procedures. keithley products are designed for use with electrical signals that are rated installation category i and installation category ii, as described in the international electrotechnical commission (iec) standard iec 60664. most measurement, control, and data i/o signals are installation category i and must not be directly connected to mains voltage or to voltage sources with high tra n- sient over-voltages. installation category ii connections require protection for high transient over-voltages often associated with local ac mains connections. assume all measurement, control, and data i/o connections are for connection to category i sourc- es unless otherwise marked or described in the manual. exercise extreme caution when a shock hazard is present. lethal voltage may be present on cable connector jacks or test txtures . the american national standards institute (ansi) states that a shock hazard exists when voltage levels greater than 30v rms, 42.4v peak, or 60vdc are present. a good safety practice is to expect that hazardous voltage is present in any unknown circuit before measuring. operators of this product must be protected from electric shock at all times. the responsible body must ensure that operators are prevented access and/or insulated from every connection point. in some cases, connections must be exposed to potential human contact. product operators in these circumstances must be trained to protect themselves from the risk of electric shock. if the circuit is capable of operating at or above 1000 volts, no conductive part of the circuit may be exposed. do not connect switching cards directly to unlimited power circuits. they are intended to be used with impedance limited sourc- es. never connect switching cards directly to ac mains. when connecting sources to switching cards, install protective de- vices to limit fault current and voltage to the card. before operating an instrument, make sure the line cord is connected to a properly grounded power receptacle. inspect the con- necting cables, test leads, and jumpers for possible wear, cracks, or breaks before each use. when installing equipment where access to the main power cord is restricted, such as rack mounting, a separate main input pow- er disconnect device must be provided, in close proximity to the equipment and within easy reach of the operator. for maximum safety, do not touch the product, test cables, or any other instruments while power is applied to the circuit under test. always remove power from the entire test system and discharge any capacitors before: connecting or disconnecting ca- bles or jumpers, installing or removing switching cards, or making internal changes, such as installing or removing jumpers. s afety precautions
do not touch any object that could provide a current path to the common side of the circuit under test or power line (earth) gr ound. al- ways make measurements with dry hands while standing on a dry, insulated surface capable of withstanding the voltage being meas ured. the instrument and accessories must be used in accordance with its specitcations and operating instructions or the safety of th e equipment may be impaired. do not exceed the maximum signal levels of the instruments and accessories, as detned in the specitcations and operating in- formation, and as shown on the instrument or test txture panels, or switching card. when fuses are used in a product, replace with same type and rating for continued protection against tre hazard. chassis connections must only be used as shield connections for measuring circuits, not as safety earth ground connections. if you are using a test txture, keep the lid closed while power is applied to the device under test. safe operation requires th e use of a lid interlock. if a screw is present, connect it to safety earth ground using the wire recommended in the user documentation. the symbol on an instrument indicates that the user should refer to the operating instructions located in the manual. the symbol on an instrument shows that it can source or measure 1000 volts or more, including the combined effect of normal and common mode voltages. use standard safety precautions to avoid personal contact with these voltages. the warning heading in a manual explains dangers that might result in personal injury or death. always read the associated information very carefully before performing the indicated procedure. the caution heading in a manual explains hazards that could damage the instrument. such damage may invalidate the war- ranty. instrumentation and accessories shall not be connected to humans. before performing any maintenance, disconnect the line cord and all test cables. to maintain protection from electric shock and tre, replacement components in mains circuits, including the power transformer, test leads, and input jacks, must be purchased from keithley instruments. standard fuses, with applicable national safety ap- provals, may be used if the rating and type are the same. other components that are not safety related may be purchased from other suppliers as long as they are equivalent to the original component. (note that selected parts should be purchased only through keithley instruments to maintain accuracy and functionality of the product.) if you are unsure about the applicability of a replacement component, call a keithley instruments oftce for information. to clean an instrument, use a damp cloth or mild, water based cleaner. clean the exterior of the instrument only. do not apply cleaner directly to the instrument or allow liquids to enter or spill on the instrument. products that consist of a circuit boa rd with no case or chassis (e.g., data acquisition board for installation into a computer) should never require cleaning if handled acc ord- ing to instructions. if the board becomes contaminated and operation is affected, the board should be returned to the factory f or proper cleaning/servicing. ! 11/01
table of contents 1 general information introduction..........................................................................................1-2 feature overview..................................................................................1-2 warranty information...........................................................................1-3 manual addenda...................................................................................1-3 safety symbols and terms ....................................................................1-3 speci?ations.......................................................................................1-3 inspections ...........................................................................................1-4 options and accessories.......................................................................1-5 2 basic measurements introduction..........................................................................................2-2 front panel summary ...........................................................................2-3 rear panel summary ............................................................................2-6 power-up ..............................................................................................2-8 display...............................................................................................2-17 measuring voltage..............................................................................2-18 measuring current..............................................................................2-22 measuring resistance .........................................................................2-24 measuring frequency and period .......................................................2-26 measuring temperature ......................................................................2-28 math...................................................................................................2-30 measuring continuity .........................................................................2-34 testing diodes ....................................................................................2-35 3 measurement options introduction..........................................................................................3-2 measurement con?uration .................................................................3-3 trigger operations................................................................................3-8 buffer operations ...............................................................................3-17 limit operations.................................................................................3-20 scan operations..................................................................................3-22 system operations..............................................................................3-32 4 remote operation introduction..........................................................................................4-2 selecting a language ............................................................................4-4 rs-232 operation .................................................................................4-6 gpib bus operation and reference .......................................................4-9 status structure...................................................................................4-19
trigger model (gpib operation) ....................................................... 4-29 programming syntax ......................................................................... 4-32 common commands.......................................................................... 4-39 5 scpi command reference scpi signal oriented measurement commands .................................. 5-3 scpi command subsystems reference tables ...................................... 5-7 calculate subsystem .......................................................................... 5-20 display subsystem............................................................................ 5-26 :format subsystem .......................................................................... 5-28 route subsystem ............................................................................. 5-32 [sense[1]] subsystem ...................................................................... 5-37 status subsystem............................................................................. 5-52 :system subsystem.......................................................................... 5-61 :trace subsystem............................................................................ 5-68 trigger subsystem ............................................................................. 5-70 :unit subsystem............................................................................... 5-74 a speci?ations accuracy calculations......................................................................... a-7 optimizing measurement accuracy .................................................. a-10 optimizing measurement speed ....................................................... a-11 b status and error messages c example programs program examples .............................................................................. c-2 d models 196/199 and 8840a/8842a commands e ieee-488 bus overview introduction .........................................................................................e-2 bus description ....................................................................................e-4 bus lines ..............................................................................................e-6 bus commands ....................................................................................e-8 interface function codes ....................................................................e-15 f ieee-488 and scpi conformance information introduction .........................................................................................f-2
list of illustrations 2 basic measurements model 2000 front panel .......................................................................2-3 model 2000 rear panel .........................................................................2-6 power module ......................................................................................2-8 dc and ac voltage measurements ....................................................2-19 dc and ac current measurements.....................................................2-22 two- and four-wire resistance measurements....................................2-25 frequency and period measurements.................................................2-27 thermocouple temperature measurements ........................................2-28 continuity measurements ..................................................................2-34 diode testing......................................................................................2-35 3 measurement options moving average and repeating ?ters...................................................3-4 front panel triggering without stepping/scanning ...............................3-8 rear panel pinout...............................................................................3-11 trigger link input pulse speci?ations (ext trig) .........................3-12 trigger link output pulse speci?ations (vmc) ................................3-12 dut test system ................................................................................3-13 trigger link connections ....................................................................3-13 operation model for triggering example ...........................................3-14 din to bnc trigger cable..................................................................3-16 buffer locations..................................................................................3-18 using limit test to sort 100 ? , 10% resistors......................................3-21 front panel triggering with stepping..................................................3-24 front panel triggering with scanning.................................................3-25 internal scanning example with reading count option .......................3-27 internal scanning example with timer and delay options ..................3-29 external scanning example with model 7001 ...................................3-31 4 remote operation rs-232 interface connector .................................................................4-8 ieee-488 connector...........................................................................4-10 ieee-488 connections .......................................................................4-10 ieee-488 connector location.............................................................4-11 model 2000 status register structure..................................................4-19 standard event status .........................................................................4-22 operation event status........................................................................4-22 measurement event status ..................................................................4-23 questionable event status...................................................................4-23 status byte and service request (srq).............................................4-25 trigger model (gpib operation)........................................................4-29
device action (trigger model)............................................................ 4-31 standard event enable register........................................................... 4-41 standard event status register ............................................................ 4-43 service request enable register .......................................................... 4-49 status byte register ............................................................................ 4-51 5 scpi command reference ascii data format ............................................................................. 5-28 ieee754 single precision data format (32 data bits)......................... 5-29 ieee754 double precision data format (64 data bits) ....................... 5-29 measurement event register............................................................... 5-53 questionable event register ............................................................... 5-54 operation event register .................................................................... 5-55 measurement event enable register ................................................... 5-57 questionable event enable register .................................................... 5-57 operation event enable register ......................................................... 5-57 key-press codes................................................................................. 5-66 e ieee-488 bus overview ieee-488 bus con?uration ................................................................e-5 ieee-488 handshake sequence ...........................................................e-7 command codes ................................................................................e-12
list of tables 2 basic measurements fuse ratings..........................................................................................2-9 factory defaults..................................................................................2-13 crest factor limitations ......................................................................2-18 3 measurement options rate settings for the measurement functions .......................................3-7 auto delay settings ..............................................................................3-9 bus commands parameters for stepping and scanning counters .......3-28 4 remote operation language supported.............................................................................4-4 rs-232 connector pinout .....................................................................4-8 general bus commands and associated statements............................4-14 ieee-488.2 common commands and queries....................................4-39 5 scpi command reference signal oriented measurement command summary ..............................5-3 calculate command summary ..........................................................5-8 display command summary ...............................................................5-9 format command summary ..............................................................5-9 route command summary ..............................................................5-10 sense command summary ...............................................................5-10 status command summary ..............................................................5-16 system command summary ............................................................5-17 trace command summary ..............................................................5-17 trigger command summary...............................................................5-18 unit command summary .................................................................5-19 b status and error messages status and error messages................................................................... b-2 d models 196/199 and 8840a/8842a commands models 196/199 device-dependent command summary ....................d-2 models 8840a/8842a device-dependent command summary..........................................................................................d-6
e ieee-488 bus overview ieee-488 bus command summary ..................................................... e-8 hexadecimal and decimal command codes ...................................... e-11 typical addressed command sequence ............................................. e-13 typical addressed command sequence ............................................. e-13 ieee command groups ..................................................................... e-14 model 2000 interface function codes ............................................... e-15 f ieee-488 and scpi conformance information ieee-488 documentation requirements.............................................. f-2 coupled commands ............................................................................ f-4
1 general information
introduction this section contains general information about the model 2000 multimeter. the information is organized as follows: feature overview warranty information manual addenda safety symbols and terms speci?ations inspection options and accessories if you have any questions after reviewing this information, please contact your local keithley representative or call one of our applications engineers at 1-800-348-3735 (u.s. and canada only). worldwide phone numbers are listed at the front of this manual. feature overview the model 2000 is a 6 ? -digit high-performance digital multimeter. it has 0.002% 90-day basic dc voltage accuracy and 0.008% 90-day basic resistance accuracy. at 6 ? digits, the mul- timeter delivers 50 triggered readings/sec over the ieee-488 bus. at 4 ? digits, it can read up to 2000 readings/sec into its internal buffer. the model 2000 has broad measurement ranges: dc voltage from 0.1 v to 1000v. ac (rms) voltage from 0.1 v to 750v, 1000v peak. dc current from 10na to 3a. ac (rms) current from 1 a to 3a. two and four-wire resistance from 100 ? to 120m ? . frequency from 3hz to 500khz. thermocouple temperature from -200? to +1372?. some additional capabilities of the model 2000 include: full range of functions ?in addition to those listed above, the model 2000 functions include period, db, dbm, continuity, diode testing, mx+b, and percent. optional scanning ?for internal scanning, options include the model 2000-scan, a 10-channel, general-purpose card, and the model 2001-tcscan, a 9-channel, thermo- couple card with a built-in cold junction. for external scanning, the model 2000 is com- patible with keithley's model 7001 and 7002 switch matrices and cards. programming languages and remote interfaces ?the model 2000 offers three program- ming language choices (scpi, keithley models 196/199, and fluke 8840a/8842a) and two remote interface ports (ieee-488/gpib and rs-232c). reading and setup storage ?up to 1024 readings and two setups (user and factory de- faults) can be stored and recalled. closed-cover calibration ?the instrument can be calibrated either from the front panel or remote interface. 1-2 general information
warranty information warranty information is located at the front of this instruction manual. should your model 2000 require warranty service, contact the keithley representative or authorized re- pair facility in your area for further information. when returning the instrument for repair, be sure to ?l out and include the service form at the back of this manual to provide the re- pair facility with the necessary information. manual addenda any improvements or changes concerning the instrument or manual will be explained in an addendum included with the manual. be sure to note these changes and incorporate them into the manual. safety symbols and terms the following symbols and terms may be found on the instrument or used in this manual. the symbol on the instrument indicates that the user should refer to the operating in- structions located in the manual. the symbol on the instrument shows that high voltage may be present on the terminal(s). use standard safety precautions to avoid personal contact with these voltages. the warning heading used in this manual explains dangers that might result in personal injury or death. always read the associated information very carefully before performing the indicated procedure. the caution heading used in this manual explains hazards that could damage the in- strument. such damage may invalidate the warranty. speci?ations full model 2000 specications are included in appendix a. ! general information 1-3
inspection the model 2000 was carefully inspected electrically and mechanically before shipment. after unpacking all items from the shipping carton, check for any obvious signs of physical damage that may have occurred during transit. (note: there may be a protective ?m over the display lens, which can be removed.) report any damage to the shipping agent immediately. save the original packing carton for possible future reshipment. the following items are included with every model 2000 order: model 2000 multimeter with line cord. safety test leads (model 1751). accessories as ordered. certi?ate of calibration. model 2000 user's manual (p/n 2000-900-00). model 2000 calibration manual (p/n 2000-905-00). model 2000 support software disk including testpoint run-time applications, testpoint instrument libraries for gpib and rs-232, and quickbasic examples. if an additional manual is required, order the appropriate manual package. the manual pack- ages include a manual and any pertinent addenda. 1-4 general information
options and accessories the following options and accessories are available from keithley for use with the model 2000. scanner cards model 2000-scan: this is a 10-channel scanner card that installs in the option slot of the model 2000. channels can be congured for 2-pole or 4-pole operation. included are two pairs of leads for connection to model 2000 rear panel inputs (keithley p/n ca-109). model 2001-tcscan: this is a thermocouple scanner card that installs in the option slot of the model 2000. the card has nine analog input channels that can be used for high-accuracy, high-speed scanning. a built-in temperature reference allows multi-channel, cold-junction com- pensated temperature measurements using thermocouples. general purpose probes model 1754 universal test lead kit: consists of one set of test leads (0.9m), two spade lugs, two banana plugs, two hooks, and two alligator clips. model 8605 high performance modular test leads: consists of two high voltage (1000v) test probes and leads. the test leads are terminated with a banana plug with retractable sheath on each end. model 8606 high performance probe tip kit: consists of two spade lugs, two alligator clips, and two spring hook test probes. (the spade lugs and alligator clips are rated at 30v rms, 42.4v peak; the test probes are rated at 1000v.) these components are for use with high perfor- mance test leads terminated with banana plugs, such as the model 8605. the following test leads and probes are rated at 30v rms, 42.4v peak: models 5805 and 5805-12 kelvin probes: consists of two spring-loaded kelvin test probes with banana plug termination. designed for instruments that measure 4-terminal resistance. the model 5805 is 0.9m long; the model 5805-12 is 3.6m long. model 5806 kelvin clip lead set: includes two kelvin clip test leads (0.9m) with banana plug termination. designed for instruments that measure 4-terminal resistance. a set of eight replacement rubber bands is available as keithley p/n ga-22. model 8604 smd probe set: consists of two test leads (0.9m), each terminated with a sur- face mount device ?rabber?clip on one end and a banana plug with a retractable sheath on the other end. general information 1-5
low thermal probes model 8610 low thermal shorting plug: consists of four banana plugs mounted to a 1- inch square circuit board, interconnected to provide a short circuit among all plugs. model 8611 low thermal patch leads: consists of two test leads (0.9m), each with a banana plug with a retractable sheath at each end. these leads minimize the thermally-induced offsets that can be created by test leads. model 8612 low thermal spade leads: consists of two test leads (0.9m), each terminated with a spade lug on one end and a banana plug with a retractable sheath on the other end. these leads minimize the thermally-induced offsets that can be created by test leads. cables and adapters models 7007-1 and 7007-2 shielded gpib cables: connect the model 2000 to the gpib bus using shielded cables and connectors to reduce electromagnetic interference (emi). the model 7007-1 is 1m long; the model 7007-2 is 2m long. models 8501-1 and 8501-2 trigger link cables: connect the model 2000 to other instru- ments with trigger link connectors (e.g., model 7001 switch system). the model 8501-1 is 1m long; the model 8501-2 is 2m long. model 8502 trigger link adapter: allows you to connect any of the six trigger link lines of the model 2000 to instruments that use the standard bnc trigger connectors. model 8504 din to bnc trigger cable: allows you to connect trigger link lines one (voltmeter complete) and two (external trigger) of the model 2000 to instruments that use bnc trigger connectors. the model 8504 is 1m long. rack mount kits model 4288-1 single fixed rack mount kit: mounts a single model 2000 in a standard 19- inch rack. model 4288-2 side-by-side rack mount kit: mounts two instruments (models 182, 428, 486, 487, 2000, 2001, 2002, 6517, 7001) side-by-side in a standard 19-inch rack. model 4288-3 side-by-side rack mount kit: mounts a model 2000 and a model 199 side- by-side in a standard 19-inch rack. model 4288-4 side-by-side rack mount kit: mounts a model 2000 and a 5.25-inch instru- ment (models 195a, 196, 220, 224, 230, 263, 595, 614, 617, 705, 740, 775, etc.) side-by-side in a standard 19-inch rack. carrying case model 1050 padded carrying case: a carrying case for a model 2000. includes handles and shoulder strap. 1-6 general information
2 basic measurements
introduction this section summarizes front panel operation of the model 2000. it is organized as follows: front panel summary includes an illustration and summarizes keys, display, and connections. rear panel summary includes an illustration and summarizes connections. power-up describes connecting the instrument to line power, the power-up sequence, the warm-up time, and default conditions. display discusses the display format and messages that may appear while using the instrument. measuring voltage covers dc and ac voltage measurement connections and low level voltage considerations. measuring current covers dc and ac current measurement connections and current fuse replacement. measuring resistance details two and four-wire measurement connections and shielding considerations. measuring frequency and period covers frequency and period measurement con- nections. measuring temperature describes the use of thermocouples for temperature mea- surements. math covers the mx+b, percent, dbm, and db math functions performed on single readings. measuring continuity explains setting up and measuring continuity of a circuit. testing diodes describes testing general-purpose and zener diodes. 2-2 basic measurements
front panel summary the front panel of the model 2000 is shown in figure 2-1. this ?ure includes important ab- breviated information that should be reviewed before operating the instrument. 1 function keys (shifted and unshifted) select measurement function (dc and ac voltage, dc and ac current, 2-wire and 4-wire re- sistance, frequency, period, temperature with thermocouples), math function (mx+b, %, dbm, db), or special function (continuity, diode test). 2 operation keys extrig selects external triggers (front panel, bus, trigger link) as the trigger source. trig triggers a measurement from the front panel. store enables reading storage. recall displays stored readings and buffer statistics (maximum, minimum, average, standard deviation). use and to scroll through buffer; use and to toggle between reading number and reading. filter displays digital ?ter status for present function and toggles ?ter on/off. rel enables/disables relative reading on present function. and moves through selections within functions and operations. if scanner card in- stalled, manually scans channels. open opens all channels on internal scanner card; stops scanning. close closes selected internal channel. step steps through channels; sends a trigger after each channel. scan scans through channels; sends a trigger after last channel. digits changes number of digits of resolution. rate changes reading rate: fast, medium, slow. exit cancels selection, moves back to measurement display. enter accepts selection, moves to next choice or back to measurement display. shift used to access shifted keys. local cancels gpib remote mode. 8 5 4 6 7 1 3 2 2000 multimeter range ! f 500v peak front/rear 3a 250v amps hi lo inputs 350v peak 1000v peak auto shift local power range r shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch8 ch9 ch10 hold trig fast med slow auto err input sense ? 4 wire exit enter digits rate rel filter trig ex trig store recall open close dcv dci mx+b % dbm acv aci ? 2 ? 4 freq temp db cont period tcoupl limits on/off delay hold save setup config halt test rs232 gpib cal step scan basic measurements 2-3 figure 2-1 model 2000 front panel
) ) ) 3 shifted operation keys delay sets user delay between trigger and measurement. hold holds reading when the selected number of samples is within the selected tol- erance. limits sets upper and lower limit values for readings. on/off enables/disables limits; selects beeper operation for limit testing. test selects built-in tests, diagnostics, display test. cal accesses calibration. save saves present con?uration for power-on user default. setup restores factory or user default con?uration. config selects minimum/maximum channels, timer, and reading count for step/scan. halt turns off step/scan. gpib enables/disables gpib interface; selects address and language. rs232 enables/disables rs-232 interface; selects baud rate, ?w control, terminator. 4 range keys moves to higher range; increments digit; moves to next selection. moves to lower range; decrements digit; moves to previous selection. auto enables/disables autorange. 5 annunciators *(asterisk) reading being stored. (diode) instrument is in diode testing function. (speaker) beeper on for continuity or limits testing. (more) indicates additional selections are available. 4w 4-wire resistance reading displayed. auto autoranging enabled. buffer recalling stored readings. ch 1-10 displayed internal channel is closed. err questionable reading; invalid cal step. fast fast reading rate. filt digital ?ter enabled. hold instrument is in hold mode. lstn instrument addressed to listen over gpib. math math function (mx+b, %, db, dbm) enabled. med medium reading rate. rear reading acquired from rear inputs. rel relative reading displayed. rem instrument is in gpib remote mode. scan instrument is in scan mode. shift accessing shifted keys. slow slow reading rate. srq service request over gpib. stat displaying buffer statistics. step instrument is in step mode. talk instrument addressed to talk over gpib. timer timed scans in use. trig indicates external trigger (front panel, bus, trigger link) selected. 2-4 basic measurements
6 input connections input hi and lo used for making dc volts, ac volts, 2-wire resistance measurements. amps used in conjunction with input lo to make dc current and ac cur- rent measurements. also holds current input fuse (3a, 250v, fast blow, 5 20mm). sense ? 4 wire used with input hi and lo to make 4-wire resistance measure- hi and lo ments. 7 inputs selects input connections on front or rear panel. 8 handle pull out and rotate to desired position. basic measurements 2-5
rear panel summary the rear panel of the model 2000 is shown in figure 2-2. this ?ure includes important ab- breviated information that should be reviewed before operating the instrument. warning: no internal operator servicable parts,service by qualified personnel only. warning: no internal operator servicable parts,service by qualified personnel only. caution: for continued protection against fire hazard,replace fuse with same type and rating. caution: for continued protection against fire hazard,replace fuse with same type and rating. rs232 1 3 5 2 4 6 vmc ext trig fuse line 250mat (sb) 100 vac 120 vac 125mat (sb) 220 vac 240 vac 120 2 1 34 5 6 #1 1 2 3 4 5 6 7 8 made in u.s.a. input 500v peak 350v peak 1000v peak trigger link sense ? 4w hi lo ! line rating 50, 60 400hz 17 va max ieee-488 (change ieee address from front panel) ! ! ! #2 external trigger input trigger reading >72 sec ttl hi ttl lo reading complete volt meter complete output >10 sec ttl hi ttl lo 2-6 basic measurements figure 2-2 model 2000 rear panel
1 option slot an optional scanner card (model 2000-scan, 2001-scan, or 2001-tcscan) installs in this slot. 2 input connections input hi and lo used for making dc volts, ac volts, 2-wire resistance measurements and for connecting scanner card. sense ? 4 wire used with input hi and lo to make 4-wire resistance measurements hi and lo and also for connecting scanner card. 3 trigger link one 8-pin micro-din connector for sending and receiving trigger pulses among other instru- ments. use a trigger link cable or adapter, such as models 8501-1, 8501-2, 8502, 8504. 4 rs-232 connector for rs-232 operation. use a straight-through (not null modem) db-9 cable. 5 ieee-488 connector for ieee-488 (gpib) operation. use a shielded cable, such as models 7007-1 and 7007-2. 6 power module contains the ac line receptacle, power line fuse, and line voltage setting. the model 2000 can be con?ured for line voltages of 100v/120v/220v/240vac at line frequencies of 45hz to 66hz or 360hz to 440hz. basic measurements 2-7
power-up line power connection follow the procedure below to connect the model 2000 to line power and turn on the instrument. 1. check to see that the line voltage selected on the rear panel (see figure 2-3) is correct for the operating voltage in your area. if not, refer to the next procedure, ?etting line voltage and replacing fuse. caution operating the instrument on an incorrect line voltage may cause damage to the instrument, possibly voiding the warranty. 2. before plugging in the power cord, make sure that the front panel power switch is in the off (0) position. 3. connect the female end of the supplied power cord to the ac receptacle on the rear panel. connect the other end of the power cord to a grounded ac outlet. warning the power cord supplied with the model 2000 contains a separate ground wire for use with grounded outlets. when proper connections are made, instrument chassis is connected to power line ground through the ground wire in the power cord. failure to use a grounded outlet may result in per- sonal injury or death due to electric shock. 4. turn on the instrument by pressing the front panel power switch to the on (1) position. model 2000 warning: no internal operator servicable parts,service by qualified personnel only. warning: no internal operator servicable parts,service by qualified personnel only. caution: for continued protection against fire hazard,replace fuse with same type and rating. caution: for continued protection against fire hazard,replace fuse with same type and rating. rs232 1 3 5 2 4 6 vmc ext trig fuse line 250mat (sb) 100 vac 120 vac 125mat (sb) 220 vac 240 vac 120 made in u.s.a. input 500v peak 350v peak 1000v peak trigger link sense ? 4w hi lo ! line rating 50, 60 400hz 17 va max ieee-488 (change ieee address from front panel) ! ! ! 120 240 220 100 fuse spring window line voltage selector fuse holder assembly 2-8 basic measurements figure 2-3 power module
setting line voltage and replacing fuse a rear panel fuse located next to the ac receptacle protects the power line input of the instru- ment. if the line voltage setting needs to be changed or the line fuse needs to be replaced, per- form the following steps. warning make sure the instrument is disconnected from the ac line and other equip- ment before changing the line voltage setting or replacing the line fuse. 1. place the tip of a at-blade screwdriver into the power module by the fuse holder assem- bly (see figure 2-3). gently push in and to the left. release pressure on the assembly and its internal spring will push it out of the power module. 2. remove the fuse and replace it with the type listed in table 2-1. caution for continued protection against ?e or instrument damage, only replace fuse with the type and rating listed. if the instrument repeatedly blows fuses, locate and correct the cause of the trouble before replacing the fuse. see the optional model 2000 repair manual for troubleshooting information. 3. if con?uring the instrument for a different line voltage, remove the line voltage selector from the assembly and rotate it to the proper position. when the selector is installed into the fuse holder assembly, the correct line voltage appears inverted in the window. 4. install the fuse holder assembly into the power module by pushing it in until it locks in place. table 2-1 fuse ratings line voltage fuse rating keithley p/n 100/120v 220/240v 0.25a slow-blow 5 20mm 0.125a slow-blow 5 20mm fu-96-4 fu-91 basic measurements 2-9
power-up sequence on power-up, the model 2000 performs self-tests on its eprom and ram and momentarily lights all segments and annunciators. if a failure is detected, the instrument momentarily dis- plays an error message and the err annunciator turns on. (error messages are listed in appen- dix b.) note if a problem develops while the instrument is under warranty, return it to keithley instruments, inc., for repair. if the instrument passes the self-tests, the rmware revision levels are displayed. an example of this display is: rev: a01 a02 where: a01 is the main board rom revision. a02 is the display board rom revision. after the power-up sequence, the instrument begins its normal display of readings. 2-10 basic measurements
high energy circuit safety precautions to optimize safety when measuring voltage in high energy distribution circuits, read and use the directions in the following warning. warning dangerous arcs of an explosive nature in a high energy circuit can cause severe personal injury or death. if the multimeter is connected to a high energy circuit when set to a current range, low resistance range, or any other low impedance range, the circuit is virtually shorted. dangerous arcing can result even when the multimeter is set to a voltage range if the minimum volt- age spacing is reduced in the external connections. when making measurements in high energy circuits, use test leads that meet the following requirements: test leads should be fully insulated. only use test leads that can be connected to the circuit (e.g., alligator clips, spade lugs, etc.) for hands-off measurements. do not use test leads that decrease voltage spacing. these diminishes arc protection and create a hazardous condition. use the following sequence when testing power circuits: 1. de-energize the circuit using the regular installed connect-disconnect device, such as a circuit breaker, main switch, etc. 2. attach the test leads to the circuit under test. use appropriate safety rated test leads for this application. 3. set the multimeter to the proper function and range. 4. energize the circuit using the installed connect-disconnect device and make measure- ments without disconnecting the multimeter. 5. de-energize the circuit using the installed connect-disconnect device. 6. disconnect the test leads from the circuit under test. warning the maximum common-mode voltage (voltage between input lo and the chassis ground) is 500v peak. exceeding this value may cause a breakdown in insulation, creating a shock hazard. basic measurements 2-11
power-on defaults power-on defaults are the settings the instrument assumes when it is turned on. the model 2000 offers two choices for the settings: factory and user. the power-on default will be the last con?uration you saved. the save and setup keys select the two choices of power-on defaults. to save present conguration as user settings: 1. con?ure the instrument as desired for user default. 2. press shift then save. 3. use the and keys to select yes or no. 4. press enter. to restore factory or user settings: 1. press shift then setup. 2. use the and keys to select factory or user. 3. press enter. since the basic measurement procedures in this manual assume the factory defaults, reset the instrument to the factory settings when following step-by-step procedures. table 2-2 lists the factory default settings. 2-12 basic measurements
table 2-2 factory defaults setting factory default autozero buffer continuity beeper digits rate threshold current (ac and dc) digits (ac) digits (dc) filter count mode range relative value rate (ac) rate (dc) diode test digits range rate frequency and period digits range relative value rate function gpib address language limits beeper high limit low limit mx+b scale factor offset percent references on no effect on 4 ? fast (0.1 plc) 10 ? 5 ? 6 ? on 10 moving average auto off 0.0 medium* medium (1 plc) 6 ? 1ma medium (1 plc) 6 ? 10v off 0.0 slow (1 sec) dcv no effect (16 at factory) (scpi at factory) off never +1 -1 off 1.0 0.0 off 1.0 basic measurements 2-13
resistance (2-wire and 4-wire) digits filter count mode range relative value rate rs-232 baud flow tx term scanning channels mode temperature digits filter count mode junction temperature relative value rate thermocouple units triggers continuous delay source ?? on 10 moving average auto off 0.0 medium (1 plc) off no effect no effect no effect off 1-10 internal 5 ? on 10 moving average simulated 23? off 0.0 medium (1 plc) j ? on auto immediate table 2-2 (cont.) factory defaults setting factory default 2-14 basic measurements
voltage (ac and dc) db reference dbm reference digits (ac) digits (dc) filter count mode range relative value rate (ac) rate (dc) no effect 75 ? 5 ? ?? on 10 moving average auto off 0.0 medium* medium (1 plc) *detector:bandwidth 30 table 2-2 (cont.) factory defaults setting factory default basic measurements 2-15
gpib primary address the gpib primary address of the instrument must be the same as the primary address you specify in the controllers programming language. the default primary address of the instru- ment is 16, but you can set the address to any value from 0 to 30 by using the following step by step instructions. 1. press shift then gpib. 2. use the and keys to select address. or, press enter. once you have pressed enter, the unit automatically displays the address selection. 3. use the and keys to toggle from address to the numeric entry. notice the val- ues are blinking. 4. use the and keys to change the numeric entries to the desired address. 5. press enter. see section four ?remote operation for more gpib information. warm-up time the model 2000 is ready for use as soon as the power-up sequence has completed. however, to achieve rated accuracy, allow the instrument to warm up for one hour. if the instrument has been subjected to extreme temperatures, allow additional time for internal temperatures to stabilize. 2-16 basic measurements
display the display of the model 2000 is primarily used to display readings, along with the units and type of measurement. annunciators are located on the top, bottom, right, and left of the reading or message display. the annunciators indicate various states of operation. see figure 2-1 for a complete listing of annunciators. status and error messages status and error messages are displayed momentarily. during model 2000 operation and pro- gramming, you will encounter a number of front panel messages. typical messages are either of status or error variety, as listed in appendix b. basic measurements 2-17
measuring voltage the model 2000 can make dcv measurements from 0.1? to 1000v and acv measure- ments from 0.1? to 750v rms, 1000v peak. connections assuming factory default conditions, the basic procedure is as follows: 1. connect test leads to the input hi and lo terminals. either the front or rear inputs can be used; place the inputs button in the appropriate position. 2. select the measurement function by pressing dcv or acv. 3. pressing auto toggles autoranging. notice the auto annunciator is displayed with autoranging. if you want manual ranging, use the range and keys to select a measurement range consistent with the expected voltage. 4. connect test leads to the source as shown in figure 2-4. caution do not apply more than 1000v peak to the input or instrument damage may occur. the voltage limit is subject to the 8 10 7 v?z product. 5. observe the display. if the ?verflow?message is displayed, select a higher range until an o normal reading is displayed (or press auto for autoranging). use the lowest possible range for the best resolution. 6. take readings from the display. crest factor ac voltage and current accuracies are affected by the crest factor of the waveform, the ratio of the peak value to the rms value. table 2-3 lists the fundamental frequencies at which the cor- responding crest factor must be taken into account for accuracy calculations. table 2-3 crest factor limitations crest factor fundamental frequency 2 3 4-5 50khz 3khz 1khz 2-18 basic measurements
low level considerations for sensitive measurements, external considerations beyond the model 2000 affect the accu- racy. effects not noticeable when working with higher voltages are signicant in microvolt sig- nals. the model 2000 reads only the signal received at its input; therefore, it is important that this signal be properly transmitted from the source. the following paragraphs indicate factors that affect accuracy, including stray signal pick-up and thermal offsets. shielding ac voltages that are extremely large compared with the dc signal to be measured may pro- duce an erroneous output. therefore, to minimize ac interference, the circuit should be shield- ed with the shield connected to the model 2000 input lo (particularly for low level sources). improper shielding can cause the model 2000 to behave in one or more of the following ways: unexpected offset voltages. inconsistent readings between ranges. sudden shifts in reading. to minimize pick-up, keep the voltage source and the model 2000 away from strong ac mag- netic sources. the voltage induced due to magnetic ux is proportional to the area of the loop formed by the input leads. therefore, minimize the loop area of the input leads and connect each signal at only one point. note shielded cables should be used for input circuits to avoid interference caused by conducting rf. 2001 multimeter caution : maximum input = 750v rms, 1000v peak, 8 x 10 7 v?z ac voltage source model 2000 input impedence = 1m ? shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err 2001 multimeter model 2000 caution : maximum input = 1010v peak dc voltage source input resistance = 10m ? ? shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch8 ch9 ch10 hold trig fast med slow auto err basic measurements 2-19 figure 2-4 dc and ac voltage measurements
thermal emfs thermal emfs (thermoelectric potentials) are generated by thermal differences between the junctions of dissimilar metals. these can be large compared to the signal that the model 2000 can measure. thermal emfs can cause the following conditions: instability or zero offset is much higher than expected. the reading is sensitive to (and responds to) temperature changes. this effect can be demonstrated by touching the circuit, by placing a heat source near the circuit, or by a regular pattern of instability (corresponding to changes in sunlight or the activation of heating and air conditioning systems). to minimize the drift caused by thermal emfs, use copper leads to connect the circuit to the model 2000. a banana plug generates a few microvolts. a clean copper conductor such as #10 bus wire is ideal for this application. the leads to the input may be shielded or unshielded, as necessary. refer to ?hielding? widely varying temperatures within the circuit can also create thermal emfs. therefore, maintain constant temperatures to minimize these thermal emfs. a shielded enclosure around the circuit under test also helps by minimizing air currents. the rel control can be used to null out constant offset voltages. note additional thermals may be generated by the optional scanner cards. 2-20 basic measurements
ac voltage offset the model 2000, at 5 ? digits resolution, will typically display 100 counts of offset on ac volts with the input shorted. this offset is caused by the offset of the trms converter. this offset will not affect reading accuracy and should not be zeroed out using the rel feature. the following equation expresses how this offset (v offset ) is added to the signal input (v in ): example: range = 1vac offset = 100 counts (1.0mv) input = 100mv rms the offset is seen as the last digit, which is not displayed. therefore, the offset is negligible. if the rel feature were used to zero the display, the 100 counts of offset would be subtracted from v in , resulting in an error of 100 counts in the displayed reading. see section 3 ?measurement options for information that explain the conguration options for dc and ac voltage measurements. displayed reading v in () 2 v offset () 2 + = displayed reading 100mv () 2 1.0mv () 2 + = displayed reading 0.01v () 110 6 v () + = displayed reading 0.100005 = basic measurements 2-21
measuring current the model 2000 can make dci measurements from 10na to 3a and aci measurements from 1?m to 3a rms. note see the previous discussion about crest factor in ?easuring voltage?in this section. connections assuming factory default conditions, the basic procedure is as follows: 1. connect test leads to the amps and input lo terminals. the front inputs must be used; place the inputs button in the front position. 2. select the measurement function by pressing dci or aci. 3. pressing auto toggles autoranging. notice the auto annunciator is displayed with autoranging. if you want manual ranging, use the range and keys to select a measurement range consistent with the expected current. 4. connect test leads to the source as shown in figure 2-5. caution do not apply more than 3a, 250v to the input or the amps fuse will open- circuit. 5. observe the display. if the ?verflow?message is displayed, select a higher range until a normal reading is displayed (or press auto for autoranging). use the lowest pos- sible range for the best resolution. 6. take readings from the display. 2001 multimeter model 2000 caution : maximum input = 3a dc or rms current source shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err 2-22 basic measurements figure 2-5 dc and ac cur- rent measure- ments
amps fuse replacement warning make sure the instrument is disconnected from the power line and other equipment before replacing the amps fuse. 1. turn off the power and disconnect the power line and test leads. 2. from the front panel, gently push in the amps jack with your thumb and rotate the fuse carrier one-quarter turn counter-clockwise. release pressure on the jack and its internal spring will push the jack out of the socket. 3. remove the fuse and replace it with the same type (3a, 250v, fast blow, 5 20mm). the keithley part number is fu-99-1. caution do not use a fuse with a higher current rating than speci?d or instrument damage may occur. if the instrument repeatedly blows fuses, locate and cor- rect the cause of the trouble before replacing the fuse. see the optional model 2000 repair manual for troubleshooting information. 4. install the new fuse by reversing the procedure above. see section 3 ?measurement options for information that explains the conguration op- tions for dc and ac current measurements. basic measurements 2-23
measuring resistance the model 2000 can make 2-wire and 4-wire resistance measurements from 100 ? to 120m ? . connections assuming factory default conditions, the basic procedure is as follows: 1. connect test leads to the model 2000 as follows: a. for ? 2-wire, connect the test leads to input hi and lo. b. for ? 4-wire, connect the test leads to input hi and lo, and sense ? 4 wire hi and lo. recommended kelvin test probes include the keithley models 5805 and 5806. either the front or rear inputs can be used; place the inputs button in the appropriate position. 2. select the measurement function by pressing ? 2 or ? 4. 3. pressing auto toggles autoranging. notice the auto annunciator is displayed with autoranging. if you want manual ranging, use the range and keys to select a measurement range consistent with the expected resistance. 4. connect test leads to the resistance as shown in figure 2-6. caution do not apply more than 1000v peak between input hi and lo or instru- ment damage may occur. 5. observe the display. if the ?verflow?message is displayed, select a higher range until a normal reading is displayed. use the lowest possible range for the best resolution. 6. take a reading from the display. 2-24 basic measurements
shielding to achieve a stable reading, it helps to shield resistances greater than 100k ? . place the resis- tance in a shielded enclosure and connect the shield to the input lo terminal of the instrument electrically. see section 3?easurement options for information that explains the conguration options for 2-wire and 4-wire resistance measurements. 2001 multimeter model 2000 resistance under test shielded cable optional shield note: source current flows from the input hi to input lo terminals. shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err 2001 multimeter resistance under test shielded cable optional shield note: source current flows from the input hi to input lo terminals. model 2000 shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err basic measurements 2-25 figure 2-6 two- and four- wire resistance measurements
measuring frequency and period the model 2000 can make frequency measurements from 3hz to 500khz on voltage ranges of 100mv, 1v, 10v, 100v, and 750v. period measurements can be taken from 2? to 333ms on the same voltage ranges as the frequency. the instrument uses the volts input terminals to measure frequency. the ac voltage range can be changed with the range and keys. the signal voltage must be greater than 10% of the full-scale range. caution the voltage limit is subject to the 8 10 7 v?z product. trigger level frequency and period use a zero-crossing trigger, meaning that a count is taken when the fre- quency crosses the zero level. the model 2000 uses a reciprocal counting technique to measure frequency and period. this method generates constant measurement resolution for any input fre- quency. the multimeters ac voltage measurement section performs input signal conditioning. gate time the gate time is the amount of time the model 2000 uses to sample frequency or period read- ings. all settings of the rate key (fast, medium, slow) yield a gate time of one second. the model 2000 completes a reading when it receives its ?st zero-crossing after the gate time expires. in other words, the reading is completed 1/2 cycle after the gate time has expired. for example, with a 1sec gate time to sample a 3hz frequency, you may wait up to 3 seconds before the model 2000 returns a reading. 2-26 basic measurements
connections assuming factory default conditions, the basic procedure is as follows: 1. connect test leads to the input hi and lo terminals of the model 2000. either the front or rear inputs can be used; place the inputs button in the appropriate position. 2. select the freq or period function. 3. connect test leads to the source as shown in figure 2-7. caution do not exceed 1000v peak between input hi and input lo or instru- ment damage may occur. 4. take a reading from the display. see section 3?easurement options for information that explains the conguration options for frequency and period measurements. 2001 multimeter model 2000 caution : maximum input = 1000v peak, 8 x 10 7 v hz ac voltage source input impedance = 1m ? shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err basic measurements 2-27 figure 2-7 frequency and period measure- ments
measuring temperature the model 2000 measures temperature with thermocouples. the temperature measurement ranges available depend on the type of thermocouple chosen. thermocouples can be connected to the model 2001-tcscan card, which plugs into the op- tion slot of the model 2000, or to an external thermocouple card, such as a model 7057a, 7402, or 7014 installed in a model 7001 or 7002 switch system. connections 2001 multimeter model 2000 shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err out a hi out a lo input lo input hi note: this thermocouple card must be inserted into a keithley model 2000. note: front or rear inputs can be used. + - ch 2 2001-tcscan 2-28 basic measurements figure 2-8 thermocouple temperature measurements
con?uration the following information explains the various con?uration options for temperature mea surements. to select and congure the thermocouple measurement: press shift then tcoupl. three choices are available using the and keys: units ?c, k, f (centigrade, kelvin, fahrenheit). this parameter selects the displayed units for temperature measurements. type ?j, k, t (thermocouple type). junc ?sim, ch1 (simulated or referenced at channel 1). typically, a thermocouple card uses a single reference junction. the model 2000 can simulate a reference junction temperature or use the reference junction on a switching card. typical reference junction temperatures are 0? and 23?. a simulated reference temperature is the temperature of the junction where the thermocouple voltage is sensed. it is room temperature if the thermocouple wire is terminated to banana jacks and corrected directly to the multimeter. the accuracy of a temperature measurement depends on the accuracy of the reference junction. basic measurements 2-29
math model 2000 math operations are divided into four categories: mx+b and percent dbm and db calculations statistics of buffered readings limit testing the ?st two categories are discussed here; buffered reading statistics and reading limit test- ing are described in section 3 ?measurement options. the procedure to select and congure a math operation is summarized as follows: 1. press shift then the appropriate math key. 2. con?ure the parameters for the math operation. press enter when done. (press shift then the related math function to end the calculation.) notes once enabled for a function, the mx+b and percentage calculations are in effect across function changes. the model 2000 uses ieee-754 oating point format for math calculations. mx + b this math operation lets you manipulate normal display readings (x) mathematically accord- ing to the following calculation: y= mx + b where: x is the normal display reading m and b are user-entered constants for scale factor and offset y is the displayed result 2-30 basic measurements
con?uration to con?ure the mx+b calculation, perform the following steps: 1. press shift then mx+b to display the present scale factor: m: +1.000000 ^ 2. enter a value and units prex. use the and keys to choose a numerical place and use the and keys to increment or decrement the digits. 3. press enter to conrm the m value and display the b value: b: +00.00000 m 4. enter a value and units prex. 5. press enter to conrm the b value and display the units designation: mxb 6. scroll through the letters to change and press enter when done. the model 2000 then displays the result of the calculation. percent this item selects the percentage calculation and lets you specify a reference value. the dis- played reading will be expressed as a percent deviation from the reference value. the percentage calculation is performed as follows: where: input is the normal display reading. reference is the user entered constant. percent is the displayed result. con?uration to con?ure the percent calculation, perform the following steps: 1. press shift then % to display the present value: ref:+1.000000^ 2. enter a reference sign, value, and units prex. use the and keys to choose a nu- merical place and use the and keys to increment or decrement the digits. 3. press enter when done. the model 2000 will display the result of the calculation. the result is positive when the input exceeds the reference and negative when the input is less than the reference. engineering units are used to show values in the range 1 nano to 1000g. exponential notation is used above that range. percent input - reference reference ----------------------------------------- - 100% = basic measurements 2-31
dbm calculation dbm is de?ed as decibels above or below a 1mw reference. with a user-programmable ref- erence impedance, the model 2000 reads 0dbm when the voltage needed to dissipate 1mw through the reference impedance is applied. the relationship between dbm, a reference imped- ance, and the voltage is dened by the following equation: where: v in is the dc or ac input signal. z ref is the specied reference impedance. note do not confuse reference impedance with input impedance. the input impedance of the instrument is not modied by the dbm parameter. if a relative value is in effect when dbm is selected, the value is converted to dbm then rel is applied to dbm. if rel is applied after dbm has been selected, dbm math has rel applied to it. con?uration to set the reference impedance, perform the following steps: 1. after selecting dbm, the present reference impedance is displayed (1-9999 ? ): ref: 0000 2. to change the reference impedance, use the and keys to select the numeric po- sition. then use the and keys to select the desired value. be sure to press enter after changing the reference impedance. notes dbm is valid for positive and negative values of dc volts. the mx+b and percent math operations are applied after the dbm or db math. for example, if mx+b is selected with m=10 and b=0, the display will read 10.000 mxb for a 1vdc signal. if dbm is selected with z ref = 50 ? , the display will read 130mxb. dbm = 10 log v 2 in /z ref ?? ?? 1mw -------------------------------- - 2-32 basic measurements
db calculation expressing dc or ac voltage in db makes it possible to compress a large range of measure- ments into a much smaller scope. the relationship between db and voltage is dened by the following equation: where: v in is the dc or ac input signal. v ref is the specied voltage reference level. the instrument will read 0db when the reference voltage level is applied to the input. if a relative value is in effect when db is selected, the value is converted to db then rel is applied to db. if rel is applied after db has been selected, db has rel applied to it. con?uration to set the reference voltage, perform the following steps: 1. after selecting db, the present reference voltage level is displayed: ref: +0.000000 2. to change the reference level, use the and keys to select the numeric position. then use the and keys to select the desired value. be sure to press enter after changing the reference voltage. notes the db calculation takes the absolute value of the ratio v in / v ref the largest negative value of db is -160db. this will accommodate a ratio of v in = 1? and v ref = 1000v. db= 20 log v in v ref ----------------- - basic measurements 2-33
measuring continuity the model 2000 uses the 1k ? range to measure circuit continuity. after selecting continuity, the unit prompts you for a threshold resistance level (1 ? -1000 ? ). the model 2000 alerts you with a beep when a reading is below the set level. to measure the continuity of a circuit, press shift then cont, set the threshold resistance level and connect the circuit. note continuity has a non-selectable reading rate of fast (0.1 plc). connections connect the circuit you want to test to the input hi and input lo terminals of the model 2000. the test current ows from the input hi as shown in figure 2-9. threshold resistance level you can de?e a threshold resistance from 1 ? to 1000 ? . the factory setting is 10 ? . follow these steps to dene the resistance level: 1. press shift then cont. 2. use the and keys to choose a numerical place and use the and keys to in- crement or decrement the digits. enter a value from 1 to 1000. 3. press enter to conrm your setting. 2001 multimeter model 2000 resistance under test note: source current flows from the input hi to input lo terminals. shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err 2-34 basic measurements figure 2-9 continuity mea- surements
testing diodes with a model 2000, you can measure the forward voltage drop of general-purpose diodes and the zener voltage of zener diodes. to test diodes, press shift then , set the test current range, connect the diode, and take a reading from the display. note diode test has a non-selectable reading rate of medium (1 plc). connections connect the diode leads to the input hi and input lo terminals on the model 2000. the test current ows from the input hi terminal as shown in figure 2-10. range you can set the test current range from the front panel. the choices are 1ma, 100?, and 10?. the factory test current setting is 1ma. to set the test current, do following: 1. press shift then . 2. use the and keys to scroll through the three test current selections. the diode test measures voltages on the 3v range for the 1ma test current and the 10v range for the 100? and 10? ranges. if a reading is more than 10v, the model 2000 displays the ?verflow?status message. 2001 multimeter model 2000 general-purpose diode shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err 2001 multimeter model 2000 zener diode shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch 8 ch9 ch1 0 hold trig fast med slow auto err note: source current flows from the input hi to input lo terminals. basic measurements 2-35 figure 2-10 diode testing
2-36 basic measurements
3 measurement options
introduction this section describes the front panel features of the model 2000. for those measurement op- tions accessible only by a remote interface, refer to sections 4 and 5. this section is organized as follows: measurement conguration describes ranging, ltering, relative readings, digits of resolution, and measurement rate. trigger operations uses a trigger model to explain trigger modes and sources. buffer operations discusses the reading storage buffer and buffer statistics. limit operations de?es how to set reading limits. scan operations explains the internal and external scanning capabilities. system operations gives details on setup saving and restoring, selecting a remote in- terface, and accessing test and calibration. 3-2 measurement options
measurement con?uration the following paragraphs discuss conguring the multimeter for making measurements. see the end of appendix a for information about optimizing readings for speed or accuracy. range the selected measurement range affects both the ultimate digits and accuracy of the measure- ments as well as the maximum signal that can be measured. the range setting (xed or auto) for each measurement function is saved when changing functions. maximum readings the full scale readings for every range on each function are 20% overrange except for the 1000vdc, 750vac, 3adc, 3aac, and diode test ranges. input values more than the maximum readings cause the "overflow" messages to be dis- played. manual ranging to select a range, simply press the range   or   key. the instrument changes one range per keypress. the selected range is displayed for one second. if the instrument displays the "overflow" message on a particular range, select a higher range until an on-range reading is displayed. use the lowest range possible without causing an over?w to ensure best accuracy and resolution. note that the temperature and continuity functions have just one range. autoranging to enable autoranging, press the auto key. the auto annunciator turns on when autorang- ing is selected. while autoranging is selected, the instrument automatically chooses the best range to measure the applied signal. autoranging should not be used when optimum speed is required. note that up-ranging occurs at 120% of range, while down-ranging occurs at 10% of nominal range. to cancel autoranging, press auto or the range   or   key. pressing auto to cancel autoranging leaves the instrument on the present range. the auto key has no effect on the temperature, continuity, and diode test functions. measurement options 3-3
filter filter lets you set the lter response to stabilize noisy measurements. the model 2000 uses a digital ?ter, which is based on reading conversions. the displayed, stored, or transmitted read- ing is simply an average of a number of reading conversions (from 1 to 100). to select a ?ter: 1. press filter once if the filt annunciator is off; press twice if filt is on. 2. enter the number of readings. 3. select the type of lter you want (moving average or repeating), then press enter. the filt annunciator turns on. when a ?ter is enabled, the selected lter con?uration for that measurement function is in effect. pressing filter once disables the lter. note the ?ter can be set for any measurement function except frequency, period, continu- ity, and diode test. filter types the moving average ?ter uses a ?st-in, ?st-out stack. when the stack becomes full, the measurement conversions are averaged, yielding a reading. for each subsequent conversion placed into the stack, the oldest conversion is discarded, and the stack is re-averaged, yielding a new reading. for the repeating lter, the stack is lled and the conversions are averaged to yield a reading. the stack is then cleared and the process starts over. choose this ?ter for scanning so readings from other channels are not averaged with the present channel. conversion #10 #9 #8 #7 #6 #5 #4 #3 #2 conversion #1 reading #1 a. type - moving average, readings = 10 conversion #11 #10 #9 #8 #7 #6 #5 #4 #3 conversion #2 reading #2 conversion #12 #11 #10 #9 #8 #7 #6 #5 #4 conversion #3 reading #3 conversion #10 #9 #8 #7 #6 #5 #4 #3 #2 conversion #1 reading #1 b. type - repeating, readings = 10 conversion #20 #19 #18 #17 #16 #15 #14 #13 #12 conversion #11 reading #2 conversion #30 #29 #28 #27 #26 #25 #24 #23 #22 conversion #21 reading #3 3-4 measurement options figure 3-1 moving average and repeating fil- ters
response time the ?ter parameters have speed and accuracy tradeoffs for the time needed to display, store, or output a ?tered reading. these affect the number of reading conversions for speed versus ac- curacy and response to input signal changes. relative the rel (relative) function can be used to null offsets or subtract a baseline reading from present and future readings. when rel is enabled, the instrument uses the present reading as a relative value. subsequent readings will be the difference between the actual input value and the rel value. you can de?e a rel value for each function. once a rel value is established for a measurement function, the value is the same for all ranges. for example, if 50v is set as a rel value on the 100v range, the rel is also 50v on the 1000v, 10v, 1v, and 100mv ranges. thus, when you perform a zero correction for dcv, ? 2, and ? 4 measurements by enabling rel, the displayed offset becomes the reference value. subtracting the offset from the actual input zeroes the display, as follows: actual input ?reference = displayed reading a rel value can be as large as the highest range. selecting a range that cannot accommodate the rel value does not cause an over?w condi- tion, but it also does not increase the maximum allowable input for that range. for example, on the 10v range, the model 2000 still over?ws for a 12v input. to set a rel (relative) value, press rel key when the display shows the value you want as the relative value. the rel annunciator turns on. pressing rel a second time disables rel. you can input a rel value manually using the mx+b function. set m for 1 and b for any value you want. pressing rel enables that value to be the relative value. see section 2 for more information on the mx+b function. digits the display resolution of a model 2000 reading depends on the digits setting. it has no ef- fect on the remote reading format. the number of displayed digits does not affect accuracy or speed. those parameters are controlled by the rate setting. perform the following steps to set digits for a measurement function: 1. press the desired function. 2. press the digits key until the desired number of digits is displayed (3 ? to 6 ? ). note frequency and period can be displayed with four to seven digits. measurement options 3-5
rate the rate operation sets the integration time of the a/d converter, the period of time the in- put signal is measured (also known as aperture). the integration time affects the usable digits, the amount of reading noise, as well as the ultimate reading rate of the instrument. the integra- tion time is specied in parameters based on a number of power line cycles (nplc), where 1 plc for 60hz is 16.67msec and 1 plc for 50hz and 400hz is 20msec. in general, the fastest integration time (fast (0.1 plc) from the front panel, 0.01 plc from the bus) results in increased reading noise and fewer usable digits, while the slowest integration time (10 plc) provides the best common-mode and normal-mode rejection. in-between settings are a compromise between speed and noise. the rate parameters are explained as follows: fast sets integration time to 0.1 plc. use fast if speed is of primary importance (at the expense of increased reading noise and fewer usable digits). medium sets integration time to 1 plc. use medium when a compromise between noise performance and speed is acceptable. slow sets integration time to 10 plc. slow provides better noise performance at the expense of speed. note the integration time can be set for any measurement function except frequency, peri- od, continuity (fast), and diode test (medium). for frequency and period, this value is gate time or aperture. for the ac functions, medium and slow have no effect on the number of power line cycles. see the discussion on ?andwidth?that follows. 3-6 measurement options
bandwidth the rate setting for ac voltage and current measurements determines the bandwidth setting: slow ?3hz to 300khz. medium ?30hz to 300khz. fast ?300hz to 300khz. bandwidth is used to specify the lowest frequency of interest. when the slow bandwidth (3hz to 300khz) is chosen, the signal goes through an analog rms converter. the output of the rms converter goes to a fast (1khz) sampling a/d and the rms value is calculated from 1200 digitized samples (1.2s). when the medium bandwidth (30hz to 300khz) is chosen, the same circuit is used. however, only 120 samples (120ms) are needed for an accurate calculation because the analog rms con- verter has turned most of the signal to dc. in the fast bandwidth (300hz to 300khz), the output of the analog rms converter (nearly pure dc at these frequencies) is simply measured at 1 plc (16.6ms). table 3-1 lists the rate settings for the various measurement functions. the fast, med, and slow annunciators are only lit when conditions in the table are met. in other case, the annun- ciators are turned off. table 3-1 rate settings for the measurement functions function rate fast medium slow dcv, dci acv, aci ? 2w, ? 4w freq, period db, dbm (acv) db, dbm (dcv) continuity diode test nplc=0.1 nplc=1, bw=300 nplc=0.1 aper=1s nplc=1, bw=300 nplc=0.1 nplc=0.1 n/a nplc=1 nplc=x, bw=30 nplc=1 aper=1s nplc=x, bw=30 nplc=1 n/a nplc=1 nplc=10 nplc=x, bw=3 nplc=10 aper=1s nplc=x, bw=3 nplc=10 n/a n/a notes: nplc = number of power line cycles. bw = lower limit of bandwidth (in hz). aper = aperture in seconds. n/a = not available. x = setting ignored. measurement options 3-7
trigger operations the following paragraphs discuss front panel triggering, the programmable trigger delay, the reading hold feature, and external triggering. trigger model the ?wchart of figure 3-2 summarizes triggering as viewed from the front panel. it is called a trigger model because it is modeled after the scpi commands used to control triggering. note that for stepping and scanning, the trigger model has additional control blocks. these are de- scribed in ?can operations?later in this section. idle the instrument is considered to be in the idle state whenever it is not performing any mea- surements or scanning functions. from the front panel, the unit is considered idle at the end of a step or scan operation when the reading for the last channel remains displayed. to restore trig- gers, use the shift-halt keys. once the model 2000 is taken out of idle, operation proceeds through the owchart. control source and event detection the control source holds up operation until the programmed event occurs and is detected. the control sources are described as follows: immediate ?with this control source, event detection is immediately satised allowing operation to continue. external ?event detection is satised for any of three conditions: an input trigger via the trigger link line ext trig is received. a bus trigger (get or *trg) is received. the front panel trig key is pressed. (the model 2000 must be taken out of remote before it will respond to the trig key. use the local key or send local 716 over the bus.) idle control source immediate external event detection delay device action output trigger figure 3-2 front panel trig- gering without stepping/scanning 3-8 measurement options
delay a programmable delay is available after event detection. it can be set manually or an auto de- lay can be used. with auto delay, the model 2000 selects a delay based on the function and range. the auto settings are listed in table 3-2. the delay function is accessed by pressing the shift-delay keys. the present delay set- ting (auto or manual) is displayed. use the   and   keys to select the type of delay. if manual is chosen, also enter the duration of the delay. the maximum is shown following: 99h:99m:99.999s press enter to accept the delay or exit for no change. changing the delay to manual on one function changes the delays on all functions to man- ual. table 3-2 auto delay settings function range and delay dcv acv freq 100mv 1ms 100mv 400ms 100mv 1ms 1v 1ms 1v 400ms 1v 1ms 10v 1ms 10v 400ms 10v 1ms 100v 5ms 100v 400ms 100v 1ms 1000v 5ms 750v 400ms 750v 1ms dci aci 10ma 2ms 100ma 2ms 1a 2ms 1a 400ms 3a 2ms 3a 400ms ? 2w, ? 4w continuity diode testing 100 ? 3ms 1k ? 3ms 1k ? 3ms 1ma 1ms 10k ? 13ms 100 a 1ms 100k ? 25ms 10 a 1ms 1m ? 100ms 10m ? 150ms 100m ? 250ms measurement options 3-9
device actions the primary device action is a measurement. however, the device action block could include the following additional actions: filtering ?if the repeating lter is enabled, the instrument samples the specied num- ber of reading conversions to yeildl single ltered reading. only one reading conversion is performed if the lter is disabled, or after the specied number of reading conversions for a moving average ?ter is reached. the output of lter feeds hold. hold ?with hold enabled, the rst processed reading becomes the ?eed?reading and operation loops back within the device action block. after the next reading is processed, it is checked to see if it is within the selected window (0.01%, 0.1%, 1%, 10%) of the ?eed?reading. if the reading is within the window, operation again loops back within the device action block. this looping continues until the specied number (2 to 100) con- secutive readings are within the window. if one of the readings is not within the window, the instrument acquires a new ?eed?reading and the hold process continues. channel closure ?when stepping or scanning, the last device action is to open the pre- vious channel (if closed) and close the next channel. using the hold feature provides an auto settling time for the scanner relays. each open/close transition will restart the hold process and a reading for each channel will not occur until the relay settles. output trigger after the device action, an output trigger occurs and is available at the rear panel trigger link connector. this trigger can be used to trigger another instrument to perform an operation (e.g., select the next channel for an external scan). counters the trigger model for stepping and scanning contains additional blocks for counting samples (the number of channels to scan) and counting triggers. these counters are explained in the para- graph ?can operations?later in this section. reading hold (autosettle) when a hold reading is acquired as described in ?evice actions? an audible beep is sounded (if enabled) and the reading is considered a ?rue measurement? the reading is held on the dis- play until an ?ut of window?reading occurs to restart the hold process. when operating remotely or scanning, the hold process seeks a new ?eed"?nce it has been satis?d and the reading has been released. when operating from the front panel, the hold pro- cess does not seek a new "seed" until the held condition is removed. 3-10 measurement options
hold example 1. enable hold, select a window percentage and enter a count. 2. apply test probes to a signal. once the signal becomes stable enough to satisfy the hold condition, the reading is released, and the beeper sounds (if enabled). 3. remove the hold condition by lifting the probes. hold will then seek a new ?eed? external triggering the ext trig key selects triggering from two external sources: trigger link and the trig key. when ext trig is pressed, the trig annunciator lights and dashes are displayed to indi- cate that instrument is waiting for an external trigger. from the front panel, you can press the trig key to trigger a single reading. pressing the ext trig key again toggles you back to con- tinuous triggers. the model 2000 uses two lines of the trigger link rear panel connector as external trigger (ext trig) input and voltmeter complete (vmc) output. the ext trig line allows the mod- el 2000 to be triggered by other instruments. the vmc line allows the model 2000 to trigger other instruments. at the factory, line 1 is congured as vmc and line 2 as ext trig. (changing this cong- uration is described in the optional model 2000 repair manual.) a connector pinout is shown in figure 3-3. rear panel pinout 1 2 3 4 5 6 7 8 pin 2 external trigger input pin 1 voltmeter complete output pin number description 1 2 3 4 5 6 7 8 voltmeter complete output external trigger input no connection * signal ground no connection * no connection * no connection * signal ground * either pin 3 or 5 may be configured as an output instead of pin 1. either pin 4 or 6 may be configured as an input instead of pin 2. see the optional model 2000 repair manual for details. figure 3-3 rear panel pinout measurement options 3-11
external trigger the ext trig input requires a falling-edge, ttl-compatible pulse with the specications shown in figure 3-4. in general, external triggers can be used to control measure operations. for the model 2000 to respond to external triggers, the trigger model must be congured for it. voltmeter complete the vmc output provides a ttl-compatible output pulse that can be used to trigger other instruments. the speci?ations for this trigger pulse are shown in figure 3-5. typically, you would want the model 2000 to output a trigger after the settling time of each measurement. external triggering example in a typical test system, you may want to close a channel and then measure the dut connect- ed to the channel with a multimeter. such a test system is shown in figure 3-6, which uses a model 2000 to measure ten duts switched by a model 7011 multiplexer card in a model 7001/ 7002 switch system. triggers on leading edge ttl high (2v-5v) ttl low ( 0.8v) 2s minimum meter complete ttl high (3.4v typical) ttl low (0.25v typical) 10s minimum figure 3-5 trigger link out- put pulse specifi- cations (vmc) 3-12 measurement options figure 3-4 trigger link input pulse specifica- tions (ext trig)
the trigger link connections for this test system are shown in figure 3-7. trigger link of the model 2000 is connected to trigger link (either in or out) of the model 7001/7002. note that with the default trigger settings on the model 7001/7002, line #1 is an input and line #2 is an output. this complements the trigger lines on the model 2000. for this example, the model 2000 and 7001/7002 are congured as follows: model 2000: factory defaults restored (accessed from shift-setup) external scanning, channels 1 - 10, no timer, 10 readings (accessed from shift-config) external triggers (accessed from ext trig) model 7001 or 7002: factory defaults restored scan list = 1!1-1!10, number of scans = 1 channel spacing = triglink to run the test and store readings in the model 2000 with the unit set for external triggers, press step or scan. the model 2000 waits (with the asterisk annunciator lit) for an external trigger from the model 7001/7002. 2000 multimeter 2000 multimeter 1 dut #1 2 dut #2 10 dut #10 output card 1 7011 mux card warning: no internal operator servicable parts,service by qualified personnel only. warning: no internal operator servicable parts,service by qualified personnel only. caution: for continued protection against fire hazard,replace fuse with same type and rating. caution: for continued protection against fire hazard,replace fuse with same type and rating. rs232 1 3 5 2 4 6 vmc ext trig fuse line 250mat (sb) 100 vac 120 vac 125mat (sb) 220 vac 240 vac 120 made in u.s.a. input 500v peak 350v peak 1000v peak trigger link sense ? 4w hi lo ! line rating 50, 60 400hz 17 va max ieee-488 (change ieee address from front panel) ! ! ! warning: no internal operator servicable parts,service by qualified personnel only. warning: no internal operator servicable parts,service by qualified personnel only. caution: for continued protection against fire hazard,replace fuse with same type and rating. caution: for continued protection against fire hazard,replace fuse with same type and rating. made in usa 7001 or 7002 switch system 2000 multimeter trigger link trigger link cable (8501) trigger link out in figure 3-7 trigger link con- nections measurement options 3-13 figure 3-6 dut test system
press step on the model 7001/7002 to take it out of idle and start the scan. the scanner's output pulse triggers the model 2000 to take a reading, store it, and send a trigger pulse. the following explanation on operation is referenced to the operation model shown in figure 3-8. idle bypass b wait for trigger link trigger scan channel c output trigger trigger d no scanned 10 channels ? yes 7001or 7002 make measurement made 10 measurements ? 2000 press step to start scan a wait for trigger link trigger e output trigger trigger f no yes idle figure 3-8 operation model for triggering ex- ample 3-14 measurement options
pressing ext trig then step or scan on the multimeter places it at point a in the ?wchart, where it is waiting for an external trigger. pressing step takes the model 7001/7002 out of the idle state and places operation at point b in the owchart. for the ?st pass through the model, the scanner does not wait at point b for a trigger. instead, it closes the rst channel. after the relay settles, the model 7001/7002 outputs a channel ready pulse. since the instrument is programmed to scan ten channels, operation loops back up to point b, where it waits for an input trigger. and remember that the model 2000 operation is at point a waiting for a trigger. the output channel ready pulse from the model 7001/7002 triggers the multimeter to measure dut #1 (point e). after the measurement is complete, the model 2000 outputs a completion pulse (point f) and then loops back to point a, where it waits for another input trigger. the trigger applied to the model 7001/7002 from the model 2000 closes the next channel in the scan. this triggers the multimeter to measure the next dut. the process continues until all ten channels are scanned and measured. a b c d e f measurement options 3-15
external triggering with bnc connections an adapter cable is available to connect the micro-din trigger link of the model 2000 to instruments with bnc trigger connections. the model 8503 din to bnc trigger cable has a micro-din connector at one end and two bnc connectors at the other end. the bnc cables are labeled vmc (trigger line 1) and ext trig (trigger line 2). figure 3-9 shows how a keithley model 706 scanner can be connected to the trigger link of the model 2000 using the adapter cable. with this adapter, a model 706 could be substituted for the model 7001/7002 in the previous example. with the model 706 set for external trigger- ing, the test would start when the single scan mode is selected and initiated. if the model 2000 trigger line conguration has been changed from the factory setting, the model 8502 trigger link adapter must be used to interface with instruments having bnc trig- ger connections. it has two micro-din connectors and six bnc connectors, one for each trigger line. warning: no internal operator servicable parts,service by qualified personnel only. warning: no internal operator servicable parts,service by qualified personnel only. caution: for continued protection against fire hazard,replace fuse with same type and rating. caution: for continued protection against fire hazard,replace fuse with same type and rating. rs232 1 3 5 2 4 6 vmc ext trig fuse line 250mat (sb) 100 vac 120 vac 125mat (sb) 220 vac 240 vac made in u.s.a. input 500v peak 350v peak 1000v peak trigger link sense w 4w hi lo ! line rating 50, 60 400hz 17 va max ieee-488 (change ieee address from front panel) ! ! ! keithley 2000 multimeter 706 scanner channel ready external trigger model 8503 din to bnc trigger cable figure 3-9 din to bnc trig- ger cable 3-16 measurement options
buffer operations the model 2000 has a buffer to store from two to 1024 readings and units. it also stores the channel number for scanned readings and over?w readings. in addition, recalled data includes statistical information, such as minimum, maximum, average, and standard deviation. the buffer ?ls with the requested number of readings and stops. readings are placed in the buffer after any math operations are performed. buffered data is overwritten each time the stor- age operation is selected. the data is volatile; it is not saved through a power cycle. the following paragraphs discuss storing and recalling buffered data. storing readings use the following procedure to store readings: 1. set up the instrument for the desired conguration. 2. press the store key. 3. using the , ,  , and  keys to select the number of readings desired. 4. press enter. the asterisk (*) annunciator turns on to indicate a data storage operation. it will turn off when the storage is nished. measurement options 3-17
recalling readings use the following steps to view stored readings and buffer statistics: 1. press recall. the buffer annunciator indicates that stored readings are being dis- played. the arrow annunciator indicates that more data can be viewed with the , ,  , and  keys. 2. as shown in figure 3-10, use the cursor keys to navigate through the reading numbers, reading values, and statistics. for any of the buffer statistics (maximum, minimum, av- erage, statndard deviation), the stat annunciator is on. 3. use the exit key to return to the normal display. rdg no. 10 reading value rdg no. 9 reading value rdg no. 8 reading value rdg no. 7 reading value rdg no. 6 reading value rdg no. 5 reading value rdg no. 4 reading value rdg no. 3 reading value rdg no. 2 reading value rdg no. 1 reading value std dev standard deviation value average average value min at xx minimum value max at xx maximum value range range figure 3-10 buffer locations 3-18 measurement options
buffer statistics the max at and min at values are the maximum and minimum values in the buffer. the average value is the mean of the buffered readings. the equation used to calculate the mean is: where: x i is a stored reading n is the number of stored readings the std dev value is the standard deviation of the buffered readings. the equation used to calculate the standard deviation is: where: x i is a stored reading n is the number of stored readings note the model 2000 uses ieee-754 oating point format for math calculations. y x i i1 = n n ----------------- = x 2 i i1 = n 1 n -- -x i i1 = n ?? ?? ?? ?? 2 ?? ?? ?? ?? n-1 -------------------------------------------------------------- y = measurement options 3-19
limit operations limit operations set and control the values that determine the hi / in / lo status of subse- quent measurements. limits can be applied to all measurement functions except continuity. the limit test is performed after mx+b and percent math operations. unit prexes are applied before the limit test, for example: low limit = -1.0, high limit = 1.0 a 150mv reading equals 0.15v (in). low limit = -1.0, high limit = 1.0 a 0.6k ? reading equals 600 ? (hi). you can con?ure the multimeter to beep or not when readings are inside or outside of the limit range. setting limit values use the following steps to enter high and low limit values: 1. press the shift-limits keys to view the present hi limit value: hi:+1.000000 ^ this value represents the absolute value of that function. 2. use the , ,  , and  keys to enter the desired value. move the cursor to the right- most position and use the  and  keys to move the decimal point. 3. press enter to view the present lo limit value: lo:-1.000000 ^ this value represents the absolute value of that function. 4. enter the desired value for the low limit. pressing enter returns to the normal display. 3-20 measurement options
enabling limits use the following procedure to turn on the limits operation: 1. press the shift-on/off keys to view the present beeper status: beep: never 2. use the  and  keys to change the beeper status (never, outside, inside). press enter when done. when the multimeter returns to the normal display, the hi/in/lo status is displayed along with the reading. to disable limit testing, press shift-on/off again. an example of using lim- its to sort resistors is shown in figure 3-11. lo in hi 90 ? lo limit 110 ? hi limit figure 3-11 using limit test to sort 100 ? , 10% resistors measurement options 3-21
scan operations the model 2000 can be used with an internal scanner card (model 2000 scan or 2001-tcs- can) or with external scanner cards installed in switching mainframes such as the models 707, 7001, and 7002. the following paragraphs discuss various aspects of using scanning with the model 2000. connection precautions warnings connection information for scanner cards is intended for qualied service personnel. do not attempt to connect the dut or external circuitry to a scanner card unless qualied to do so. to prevent electric shock that could result in serious injury or death, adhere to the following safety precautions: before making or breaking connections to the scanner card, make sure the model 2000 power is turned off and power is removed from all external circuitry. do not connect signals that will exceed the maximum specications of the scanner card. if both the front panel terminals and the scanner card terminals are con- nected at the same time, the maximum signal ratings of the front panel ter- minals are reduced to the maximum signal ratings of the scanner card. as described in the international electrotechnical commission (iec) stan- dard iec 664, scanner cards are installation category i and must not be connected to mains. scanning overview a scanner lets you switch among a number of input signals to the model 2000 for measure- ment. the channel control and scanning capabilities depend on whether an internal or external card is being used, as well as on the capabilities of the scanner card. refer to the documentation supplied with the scanner card for specic connection information. using an internal scanner card the optional model 2000-scan scanner card lets you step through or scan up to ten 2-pole channels or ?e 4-pole channels. the optional model 2001-tcscan thermocouple/general purpose scanner card lets you multiplex one of nine 2-pole or one of four 4-pole analog signals into the model 2000, and/or any combination of 2- or 4-pole analog signals. using external scanner cards when using external channels, the switching mainframe controls the opening and closing of individual channels. to synchronize model 2000 measurements with external channel closures, connect the trigger link lines of the multimeter and switching mainframe. refer to ?rigger op- erations?earlier in this section for details and an example on using external triggering. 3-22 measurement options
front panel scanner controls in addition to the trigger keys discussed previously, front panel keys that affect scanner card operation include: and ?allow you to manually step through consecutive internal card channels. open and close ?let you selectively open and close internal card channels. shift-config ?selects internal or external scanning, scan list, time between scans, and reading count. step ?starts a stepping operation of consecutive channels, where output triggers are sent after every channel closure. scan ?starts a scanning operation of consecutive channels, where an output trigger is sent at the end of the scan list. shift-halt ?stops stepping or scanning and restores the trigger model to a non- scanning mode. using and keys the and keys can be used to manually scan through channels on the internal scanner card. with a scanner card installed in the option slot, press the key to manually increment channels or the key to manually decrement channels. the annunciator of the closed channel is lit. hold down either key to manually scan through channels continuously. press open to open all channels. using open and close keys the open and close keys control channels on the internal scanner card only. the keys allow you to directly: close a specic channel (or channel pair for 4-wire resistance). immediately open any internal closed channel (or channel pair for 4-wire resistance). with a scanner card installed in the option slot of the model 2000, the following prompt is displayed when the close key is pressed: close chan:01 use the , ,  , and  keys to display the desired channel (1 to 10) and press enter. the annunciator of the closed channel will be displayed on the front panel along with normal readings. selecting a different channel from the one that is presently closed will cause the closed channel to open and allow a settling time before closing the selected channel. channel relays will be closed according to the presently selected function. if a 4-wire func- tion is selected, both the selected channel relay and the matching relay pair will be closed. fixed 4-pole relay pairs are: 1 and 6 (not available for model 2001-tcscan) 2 and 7 3 and 8 4 and 9 5 and 10 pressing the open key will immediately open any closed scanner card channel or channel pair for 4-wire resistance. measurement options 3-23
stepping and scanning trigger model additions the trigger model presented in ?rigger operations?earlier in this section has some addition- al capabilities when stepping or scanning. these are outlined below: timer ?with this control source, event detection is immediately satised on the initial pass. each subsequent detection is satised when the programmed timer interval (up to 99h:99m:99.99s) elapses. reading counter ?for both stepping and scanning, the reading count can be entered from shift-config. (this is referred to as the trigger counter over the bus.) the read- ing counter can bypass the idle state. operation will wait until the programmed control source event occurs. channel counter ?for scanning, the scan list length (maximum channel less minimum channel) is used to bypass the control source allowing a speci?d number of device ac- tions to occur. (this counter is referred to as the sample counter over the bus.) these additional blocks are shown in the trigger models of figures 3-12 and 3-13. uses of the timer control source, reading counter, and channel counter are shown in the scanning exam- ples later in this section. idle control source immediate external timer event detection delay device action output trigger more readings ? reading count (trigger counter) yes no figure 3-12 front panel trig- gering with step- ping 3-24 measurement options
idle control source immediate external timer event detection delay device action output trigger more readings ? reading count (trigger counter) yes no more channels ? yes no scan list length (sample counter) figure 3-13 front panel trig- gering with scan- ning measurement options 3-25
using shift-config to con gure stepping and scanning from the shift-config key combination, you can select internal or external scanning, the minimum and maximum channels in the scan list, the time between scans, and the reading count. 1. to con?ure stepping or scanning, perform the following: 2. select the desired measurement function. 3. press the shift-config keys to access the step/scan conguration. 4. select the type of scan (internal or external) by using the  and  keys and pressing enter. 5. select the ?st channel in the scan list (minimum channel) by using the , ,  , and  keys and pressing enter. 6. select the last channel in the scan list (maximum channel) and press enter to con- ?m. 7. the next selection is for timed scans. (this is the timer control source in the trigger model.) it sets a user-speci?d interval for starting scans. if you choose timed scans, the model 2000 prompts for a time interval: 00h:00m:00.000s use the , ,  , and  keys to select a time interval and press enter to conrm. 8. next, you are prompted for a reading count (rdg cnt). this can be less than, equal to, or greater than the scan list length (up to 1024). it is the number of readings that will be stored in the buffer. the effects of these choices are further described in the scanning ex- amples. 9. press enter when done to return to the normal display. note that scanned readings are always stored in the buffer, up to the setting for rdg cnt. 3-26 measurement options
scanning examples the following examples demonstrate the use of reading count, timed scans, delay, and exter- nal scanning. counters one of the conguration options for stepping and scanning is the reading count. the example of figure 3-14 shows how different settings of rdg cnt affect these operations: with a reading count (0010) equal to the scan list length (10), a step operation consecu- tively closes ten channels and sends an output trigger after each channel. a scan opera- tion also consecutively closes ten channels but sends an output trigger only at the end of the scan. with a reading count (0020) greater than the scan list length (10), stepping yields 20 channel closures and 20 output triggers. scanning also goes through the scan list twice but sends an output trigger only at the end of each scan. with a reading count (0002) less than the scan list length (10), stepping yields two chan- nel closures and output triggers. scanning goes through the entire scan list and sends an output trigger but only two readings are stored. type: int min chan: 1 max chan: 10 timer? off rdg cnt: 0010 0002 0020 step 20 channel closures 20 output triggers scan 10 channel closures (x2) 2 output triggers recall 20 readings step 10 channel closures 10 output triggers scan 10 channel closures 1 output triggers recall 10 readings step 2 channel closures 2 output triggers scan 10 channel closures 1 output triggers recall 2 readings note: "factory setup" on the model 2000 is assumed. shift-config figure 3-14 internal scanning example with reading count op- tion measurement options 3-27
note if the reading count divided by the scan list length is not an integer, it is rounded up. for example, if the reading count is 15 and the scan list length is 10, there will be two output triggers for scanning. the differences between stepping and scanning counters for bus commands are summarized in table 3-3. timing another con?uration option for stepping and scanning is the timing of channel closures. the example of figure 3-15 shows how different settings of timer and delay affect these oper- ations. these are the timer control source and the delay block shown in the trigger models of figures 3-12 and 3-13. with the timer on and set to ve seconds and delay set to auto, channels are stepped through at ?e-second intervals with an output trigger after each closure. a scan opera- tion yields ten channels scanned immediately with an output trigger at the end of the scan. with the timer off and the delay set to manual for ve seconds, stepping and scanning through the channels is timed the same. the difference is in the number of output trig- gers, with stepping sending a trigger after each channel closure and scanning sending a trigger at the end of the scan. when using both the timer and delay parameters, the timer is not started until after the delay. for example, if the timer is two minutes and the delay is ten seconds, the timer is not started until 10sec after pressing scan. each successive scan will occur at 2:10.0, 4:10.0, etc. if the total delay time per scan is greater than or equal to the timer setting, the timer condition is already satised and, effectively, is ignored. table 3-3 bus commands parameters for stepping and scanning counters operation :sample:count :trigger:count step 1 reading count scan scan list length (reading count) / (scan list length) 3-28 measurement options
type:int min chan: 1 max chan: 10 timer? timer? on 00h:00m:05.000s rdg cnt: 0010 step 10 channel closures at 5-second intervals 10 output triggers scan 10 channel closures 1 output trigger recall 10 readings rdg cnt: 0010 delay: man 00h:00m:05.000s step 10 channel closures at 5-second intervals 10 output triggers scan 10 channel closures at 5-second intervals 1 output trigger recalll 10 readings off on note: "factory setup" on the model 2000 is assumed. shift-config figure 3-15 internal scanning example with tim- er and delay op- tions measurement options 3-29
external scanning the example of figure 3-16 shows the front panel operations to congure an external scan. the trigger and signal connections were shown previously in ?rigger operations? both instru- ment setups assume factory defaults. set the model 2000 for the desired measurement function. on the model 7001 switch system, enter a scan list of channels 1 to 10 on card 1. also on the model 7001, congure the instrument for trigger link triggers and one scan of ten channels. on the model 2000 multimeter, con?ure an external scan of the rst ten channels. set the model 2000 for external triggers by pressing ext trig. the display will be dashes. press step or scan on the model 2000. the asterisk and step or scan annuncia- tor will light. press step on the model 7001 to start channel closures. after the scan, you can recall ten readings from the model 2000 buffer. note when using an external thermocouple scanner card and channel 1 as a reference, the model 2000 only recognizes channel 1 when a step or scan is performed. if using a model 7001 or 7002 to close channel 1 manually, the model 2000 will not interpret that channel as the reference junction without a step or scan operation. 1 2 3 4 5 6 7 3-30 measurement options
model 7001 (from "reset setup") scan channels 1!1-1!10 configure scan chan-control channel-spacing triglink asynchronous chan-count 10 scan-control scan-count 1 model 2000 (from "factory setup") shift-config type:ext min chan: 001 max chan: 010 timer? off rdg cnt: 0010 enter ex trig step or scan step recall (10 readings) , , , exit 1 2 3 4 5 6 7 figure 3-16 external scanning example with model 7001 measurement options 3-31
system operations the model 2000 has other front panel operations. saving and restoring setup information is described in section 2 ?basic measurements. selecting the remote interface and language is covered in section 4 ?remote operation. self-test the test selections are used as diagnostic tools to isolate problems within the model 2000. information on using these test procedures is included in the optional model 2000 repair man- ual. calibration the cal selections are used to view the calibration date and next due date, to perform cali- bration, and to view the number of times calibration has been performed. some of the items are password-protected to prevent unintended changing of calibration constants. to view the calibration dates, press shift-cal. press enter at the dates prompt. the ?st date is the last time calibration was performed. the ndue date is the calibration due date. running calibration is password-protected. refer to the model 2000 calibration manual for details. to view the calibration count, press enter at the count prompt. 3-32 measurement options
4 remote operation
introduction this section includes the following information: selecting an interface selecting a language rs-232 operation gpib bus operation and reference status structure trigger model (gpib operation) programming syntax common commands selecting an interface the model 2000 multimeter supports two built-in remote interfaces: gpib bus rs-232 interface you can use only one interface at a time. the factory interface selection is the gpib bus. you can select the interface only from the front panel. the interface selection is stored in non-volatile memory; it does not change when power has been off or after a remote interface reset. before you select a remote interface, consider the programming language you want to use. for more information about selecting programming languages, see this section. 4-2 remote operation
rs-232 you can connect a controller to the rs-232 interface. some considerations for selecting the rs-232 interface are the following: you must de?e the baud rate, enable or disable software handshake xon/xof. you can only use the scpi programming language with the rs-232 interface. to select rs-232 as the remote interface, do the following: 1. access the rs-232 conguration by pressing shift then rs232. you see: rs232: off 2. move to the on/off selection by pressing the key. you see off selection blinking. 3. turn on the rs-232 interface by toggling the selection to on using the or key and press enter. you can exit the con?uration menu by pressing exit. for more information about the rs-232 interface, see section rs-232 operation. gpib bus the gpib bus is the ieee-488 interface. you must select a unique address for the model 2000 multimeter. the address is displayed when the multimeter is turned on. at the factory, the ad- dress is set to 16. since gpib is the interface selection dened by the factory, only follow these steps to select the gpib interface if you have been previously using the rs-232 remote programming interface: 1. select the gpib option by pressing shift then gpib. you see: gpib: off 2. move to the on/off selection by pressing the key. you see off selection blinking slowly. 3. turn on the gpib interface by toggling the selection to on using the or key and press enter. turning off the rs-232 interface automatically selects gpib as the remote programming in- terface. remote operation 4-3
selecting a language choose one of three languages to program the model 2000 multimeter: scpi (signal oriented measurement commands) keithley models 196/199 digital multimeter fluke model 8840a/8842a digital multimeter the factory sets the language selection as scpi. you only can select a programming language from the front panel. the language selection is stored in non-volatile memory, which means it does not change when power has been off or after a remote interface reset. table 4-1 shows the languages supported by the two available interfaces: as you make your language selection, keep in mind that the language you select determines the remote operations allowed. to select a programming language, follow these steps: 1. access the gpib conguration options by pressing shift then gpib. you see gpib:on with gpib blinking. 2. select the language conguration option by pressing the enter key twice. you see: lang: 3. move to the language selection eld by pressing the key. 4. select the programming language you want by pressing the or key until you see the appropriate language. the menu scrolls through these choices: scpi, 199 (keithley models 196/199), and 8842 (fluke model 8840a/8842a). 5. con?m your selection by pressing enter. the multimeter returns to the measurement mode. table 4-1 language support language gpib rs-232 scpi keithley models 196/199 fluke model 8840a/8842a ye s ye s ye s ye s no no 4-4 remote operation
scpi standard commands for programmable instruments (scpi) is fully supported by the gpib and rs-232 interfaces. always calibrate the model 2000 multimeter using the scpi language. keithley models 196/199 digital multimeter the model 2000 multimeter implements virtually all commands available in the keithley models 196/199 digital multimeter, except for the self-test and calibration commands. the com- mands are listed in appendix d. see the models 196/199 digital multimeter user manuals for more information about remote programming. fluke model 8840a/8842a digital multimeter the model 2000 multimeter implements virtually all commands available in the fluke mod- els 8840a and 8842a digital multimeter, except for the self-test and calibration commands. the commands are listed in appendix d. see the fluke user manual for more information about remote programming. remote operation 4-5
rs-232 operation sending and receiving data the rs-232 interface transfers data using 8 data bits, 1 stop bit, and no parity. make sure the controller you connect to the multimeter also uses these settings. you can break data transmissions by sending a ^c or ^x character string to the multimeter. this clears any pending operation and discards any pending output. selecting baud rate the baud rate is the rate at which the model 2000 multimeter and the programming terminal communicate. choose one these available rates: 19.2k 9600 4800 2400 1200 600 300 the factory selected baud rate is 4800. when you choose a baud rate, make sure that the programming terminal that you are connect- ing to the model 2000 multimeter can support the baud rate you selected. both the multimeter and the other device must be congured for the same baud rate. to select a baud rate, follow these steps: 1. access the rs-232 conguration by pressing shift then rs232. you see: rs232: on (assuming you have already selected the rs-232 interface) 2. go to the baud rate eld by pressing the key. you see baud: . 3. access the baud rate list by pressing the key. you see the rate selection blinking. 4. scroll through the available rates by pressing the and key until you ?d the rate you want. 5. con?m your selection by pressing enter. the multimeter prompts you to dene sig- nal handshaking. continue on for information about handshaking. you can return to measurement mode by pressing exit. 4-6 remote operation
selecting signal handshaking (?w control) signal handshaking between the controller and the instrument allows the two devices to com- municate to each other regarding being ready or not ready to receive data. the model 2000 does not support hardware handshaking (ow control). software ?w control is in the form of x__on and x__off characters and is enabled when xonxoff is selected from the rs232 flow menu. when the input queue of the model 2000 becomes more than 3/4 full, the instrument issues an x_off command. the control program should respond to this and stop sending characters until the model 2000 issues the x_on, which it will do once its input buffer has dropped below half-full. the model 2000 recognizes x_on and x_off sent from the controller. an x_off will cause the model 2000 to stop outputting characters until it sees an x_on. incoming commands are processed after the character is received from the controller. if none is the selected ow control, then there will be no signal handshaking between the controller and the model 2000. data will be lost if transmitted before the receiving device is ready. perform the following steps to set ow control: 1. access the rs-232 conguration by pressing shift and then rs232. you see: rs 232: on (assuming you have already selected the rs-232 interface). 2. go to the ?w control ?ld by using the or key. you see flow: . 3. access the ow control options by pressing the key. you see the ?w control selec- tion blinking. 4. use the or key to display the desired ow control (none or xonxoff) and press enter. you will then be prompted to set the terminator. continue on for information about the terminator. you can return to the measurement mode by pressing exit. setting terminator the model 2000 can be congured to terminate each program message that it transmits to the controller with any combination of and . perform the following steps to set the ter- minator: 1. access the rs-232 conguration by pressing shift and then rs232. you see: rs 232: on (assuming you have already selected the rs-232 interface). 2. go to the terminator eld by using the or key. you see tx term: . 3. access the terminator options by pressing the key. you see the terminator selection blinking. 4. use the or key to display the desired terminator (lf, cr or lfcr) and press enter. the instrument will return to the measurement mode. remote operation 4-7
rs-232 connections the rs-232 serial port can be connected to the serial port of a controller (i.e., personal com- puter) using a straight through rs-232 cable terminated with db-9 connectors. do not use a null modem cable . the serial port uses the transmit (txd), receive (rxd) and signal ground (gnd) lines of the rs-232 standard. it does not use the hardware handshaking lines cts and rts. figure 4-1 shows the rear panel connector for the rs-232 interface, and table 4-2 shows the pinout for the connector. if your computer uses a db-25 connector for the rs-232 interface, you will need a cable or adapter with a db-25 connector on one end and a db-9 connector on the other, wired straight through (not null modem). error messages see appendix b for rs-232 error messages. table 4-2 rs-232 connector pinout pin number description 1 2 3 4 5 6 7 8 9 no connection txd, transmit data rxd, receive data no connection gnd, signal ground no connection cts, clear to send 1 rts, ready to send 1 no connection 1 cts and rts signals are not used. rear panel connector 54321 9876 rs232 4-8 remote operation figure 4-1 rs-232 interface connector
gpib bus operation and reference introduction this section contains information about connecting to and using the gpib (ieee-488) bus. the information is organized as follows: gpib bus standards gpib bus connections selecting the primary address quickbasic 4.5 programming general bus commands front panel gpib operation gpib bus standards the gpib bus is the ieee-488 instrumentation data bus with hardware and programming standards originally adopted by the ieee (institute of electrical and electronic engineers) in 1975. the model 2000 multimeter conforms to these standards: ieee-488-1987.1 ieee-488-1987.2 this standard denes a syntax for sending data to and from instruments, how an instrument interprets this data, what registers should exist to record the state of the instrument, and a group of common commands. scpi 1991 (standard commands for programmable instruments) this standard denes a command language protocol. it goes one step farther than ieee-488- 1987.2 and denes a standard set of commands to control every programmable aspect of an in- strument. remote operation 4-9
gpib bus connections to connect the model 2000 multimeter to the gpib bus, use a cable equipped with standard ieee-488 connectors as shown in figure 4-2. to allow many parallel connections to one instrument, stack the connector. two screws are located on each connector to ensure that connections remain secure. current standards call for metric threads, which are identied with dark-colored screws. earlier versions had different screws, which were silver-colored. do not use these types of connectors on the model 2000 mul- timeter, because it is designed for metric threads. figure 4-3 shows a typical connecting scheme for a multi-unit test system. to avoid possible mechanical damage, stack no more than three connectors on any one unit. note to minimize interference caused by electromagnetic radiation, use only shielded ieee-488 cables. available shielded cables from keithley are models 7007-1 and 7007-2. instrument controller instrument instrument 4-10 remote operation figure 4-2 ieee-488 con- nector figure 4-3 ieee-488 con- nections
to connect the model 2000 multimeter to the ieee-488 bus, follow these steps: 1. line up the cable connector with the connector located on the rear panel. the connector is designed so that it will t only one way. figure 4-4 shows the location of the ieee- 488 connector. 2. tighten the screws securely, making sure not to over tighten them. 3. connect any additional connectors from other instruments as required for your applica- tion. 4. make certain that the other end of the cable is properly connected to the controller. most controllers are equipped with an ieee-488 style connector, but a few may require a dif- ferent type of connecting cable. see your controllers instruction manual for information about properly connecting to the ieee-488 bus. note you can only have 15 devices connected to a ieee-488 bus, including the controller. the maximum cable length is either 20- meters or two meters times the number of de- vices, whichever is less. not observing these limits may cause erratic bus operation. warning: no internal operator servicable parts,service by qualified personnel only. warning: no internal operator servicable parts,service by qualified personnel only. caution: for continued protection against fire hazard,replace fuse with same type and rating. caution: for continued protection against fire hazard,replace fuse with same type and rating. rs232 1 3 5 2 4 6 vmc ext trig fuse line 250mat (sb) 100 vac 120 vac 125mat (sb) 220 vac 240 vac made in u.s.a. input 500v peak 350v peak 1000v peak trigger link sense w 4w hi lo ! line rating 50, 60 400hz 22 va max ieee-488 (change ieee address from front panel) ! ! ! keithley remote operation 4-11 figure 4-4 ieee-488 con- nector location
selecting the primary address the model 2000 multimeter ships from the factory with a gpib address of 16. when the mul- timeter powers up, it momentarily displays the primary address. you can set the address to a val- ue of 0-30. do not assign the same address to another device or to a controller that are on the same gpib bus. usually controller addresses are 0 or 21, but see the controllers instruction manual for details. make certain that the address of the controller is the same as that specied in the controllers pro- gramming language. to change the primary address, follow these steps: 1. access the gpib conguration settings by pressing shift then gpib. you see: gpib:on , with gpib blinking 2. go to address choice by pressing the key. you see: addr:16 3. go to the numeric eld by pressing the key. 4. enter a new address from 0-30 by using the and ; press enter. 5. return to the main display by pressing exit. quickbasic 4.5 programming programming examples are written in microsoft quickbasic 4.5 using the keithley kpc- 488.2 (or capital equipment corporation) ieee interface and the hp-style universal language driver (cechp). install the universal language driver before any programming example can be run, the universal language driver must ?st be installed. to install the driver, from the dos prompt, enter this command: cechp if you include the cechp command in your autoexec.bat ?e, the driver will automat- ically be installed every time you turn on your computer. 4-12 remote operation
about program fragments program fragments are used to demonstrate proper programming syntax. as the name im- plies, only a fragment of the whole program is used to avoid redundancy. at the beginning of each program, driver ?es have to be opened. the input terminator should be set for crlf. for example: open "ieee" for output as #1 open "ieee" for input as #2 print #1, "interm crlf" a typical program fragment includes an output command and an enter command. the output command sends a program message (command string) to the model 2000 multimeter. if the program message includes a query command, then the enter command is required to get the response message from the model 2000 multimeter. the enter command addresses the model 2000 multimeter to talk. the following example program fragment demonstrates how output and enter commands are used. note that the commands assume address 16, which is the factory-set address of the model 2000 multimeter. print #1, "output 16; :func 'volt:ac'; func?" print #1, "enter 16" if you wish to display the response message on the crt, the computer will have to read the message and then ?rint?it to the crt display as follows: line input #2, a$ print a$ the following programming example shows how all the above statements are used together. the program fragment is shown in bold typeface. open "ieee" for output as #1 'open driver open "ieee" for input as #2 'open driver print #1, "interm crlf" 'crlf terminator print #1, "output 16;:func 'volt:ac'; func?" 'select acv and query print #1, "enter 16" 'get response message line input #2, a$ 'read response message print a$ 'display message remote operation 4-13
general bus commands general bus commands and associated statements general commands are those commands, such as dcl, that have the same general meaning regardless of the instrument. table 4-3 lists the general bus commands along with the program- ming statement for each command, which use the keithley kpc-488.2 ieee interface and the hp- style universal language driver. note that the commands requiring that the primary ad- dress be specied assume that the address is the factory-set address of 16. ren (remote enable) the remote enable command is sent to the model 2000 by the controller to set up the instru- ment for remote operation. generally, the instrument should be placed in the remote mode be- fore you attempt to program it over the bus. simply setting ren true does not actually place the instrument in the remote state. you must address the instrument to listen after setting ren true before it goes into remote. note that the instrument need not be in remote to be a talker. program fragment print #1, "remote 16" 'place the model 2000 in remote; turn on rem annunciator note that all front panels controls except for local (and power) are inoperative while the instrument is in remote. you can restore normal front panel operation by pressing the local key. table 4-3 general bus commands and associated statements command programming statement effect on model 2000 multimeter ren ifc llo gtl dcl sdc get spe, spd remote 16 abort local lockout local 16 local clear clear 16 trigger 16 spoll 16 goes into effect when next addressed to listen. goes into talker and listener idle states. local key locked out. cancel remote; restore front panel operation for the 2000. cancel remote; restore front panel operation for all devices. return all devices to known conditions. returns model 2000 to known conditions. initiates a trigger. serial polls the model 2000. 4-14 remote operation
ifc (interface clear) the ifc command is sent by the controller to place the model 2000 multimeter in the local, talker, listener idle states. the unit responds to the ifc command by canceling front panel talk or lstn lights, if the instrument was previously placed in one of those states. note that this command does not affect the status of the instrument; settings, data, and event registers are not changed. to send the ifc command, the controller need only set the ifc line true for a minimum of 100?. program fragment print #1, "output 16; *idn?" 'send query command print #1, "enter 16" 'read data; turn on talk annunci- ator sleep 3 'wait 3 seconds print #1, "abort" 'talker idle state; turn off talk annunciator llo (local lockout) use the llo command to prevent local operation of the instrument. after the unit receives llo, all its front panel controls except the power are inoperative. in this state, pressing the local will not restore control to the front panel. the gtl command restores control to the front panel. program fragment print #1, "remote 16" 'place 2000 in remote print #1, "local lockout" 'lock out front panel (including local key) sleep 6 'wait 6 seconds print #1, "local 16" 'restore front panel operation gtl (go to local) use the gtl command to put a remote-mode instrument into local mode. the gtl com- mand also restores front panel key operation. program fragment print #1, "remote 16" 'place 2000 in remote sleep 3 'wait 3 seconds print #1, "local 16" 'place 2000 in local mode remote operation 4-15
dcl (device clear) use the dcl command to clear the gpib interface and return it to a known state. note that the dcl command is not an addressed command, so all instruments equipped to implement dcl will do so simultaneously. when the model 2000 multimeter receives a dcl command, it clears the input buffer and output queue, cancels deferred commands, and clears any command that prevents the process- ing of any other device command. a dcl does not affect instrument settings and stored data. program fragment print #1, "clear" 'clear all devices sdc (selective device clear) the sdc command is an addressed command that performs essentially the same function as the dcl command. however, since each device must be individually addressed, the sdc com- mand provides a method to clear only selected instruments instead of clearing all instruments simultaneously, as is the case with dcl. program fragment print #1, "clear 16" 'clear 2000 4-16 remote operation
get (group execute trigger) get is a gpib trigger that is used as an arm, scan and/or measure event to control operation. the model 2000 multimeter reacts to this trigger if it is the programmed control source. the control source is programmed from the scpi: trigger subsystem. with the instrument programmed and waiting for a gpib trigger, the following program frag- ment will provide the get: program fragment print #1, "trigger 16" 'trigger 2000 from over the bus this sends ieee-488 commands unt unl listen 16 get. when the command is execut- ed, the trigger event occurs. (the command trigger just sends get. any other listeners are triggered when the command is executed.) spe, spd (serial polling) use the serial polling sequence to obtain the model 2000 serial poll byte. the serial poll byte contains important information about internal functions, (see ?tatus structure?. generally, the serial polling sequence is used by the controller to determine which of several instruments has requested service with the srq line. however, the serial polling sequence may be performed at any time to obtain the status byte from the model 2000 multimeter. program fragment print #1, "spoll 16" 'serial poll the 2000 input #2, s 'read serial poll byte print s 'display the decimal value of the serial poll byte remote operation 4-17
front panel gpib operation this section describes aspects of the front panel that are part of gpib operation, including messages, status indicators, and the local key. error and status messages see section 2 for a list of error and status messages associated with ieee-488 programming. the instrument can be programmed to generate an srq, and command queries can be per- formed to check for specic error conditions. gpib status indicators the rem (remote), talk (talk), lstn (listen), and srq (service request) annunciators show the gpib bus status. each of these indicators is described below. rem ?this indicator shows when the instrument is in the remote state. rem does not necessarily indicate the state of the rem line, as the instrument must be addressed to listen with rem true before the rem indicator turns on. when the instrument is in re- mote, all front panel keys, except for the local key, are locked out. when rem is turned off, the instrument is in the local state, and front panel operation is restored. talk ?this indicator is on when the instrument is in the talker active state. place the unit in the talk state by addressing it to talk with the correct mta (my talk address) command. talk is off when the unit is in the talker idle state. place the unit in the talker idle state by sending an unt (untalk) command, addressing it to listen, or sending the ifc (interface clear) command. lstn ?this indicator is on when the model 2000 multimeter is in the listener active state, which is activated by addressing the instrument to listen with the correct mla (my listen address) command. lstn is off when the unit is in the listener idle state. place the unit in the listener idle state by sending unl (unlisten), addressing it to talk, or send- ing ifc (interface clear) command over the bus. srq ?you can program the instrument to generate a service request (srq) when one or more errors or conditions occur. when this indicator is on, a service request has been generated. this indicator stays on until the serial poll byte is read or all the conditions that caused srq have ceased to exist. see ?tatus structure?for more information. local key the local key cancels the remote state and restores local operation of the instrument. pressing the local key also turns off the rem indicator and returns the display to normal if a user-de?ed message was displayed. if the llo (local lockout) command is in effect, the local key is also inoperative. 4-18 remote operation
status structure see figure 4-5 for the model 2000 multimeters status structure. instrument events, such as errors, are monitored and manipulated by four status register sets. notice that these status regis- ter sets feed directly into the status byte register. more detailed illustrations of these register sets are provided by figures 4-5 through 4-9. 0 2 3 5 6 cal 7 9 10 11 12 13 14 15 questionable condition register (always zero) 0 2 3 5 6 7 9 10 11 12 13 14 15 questionable event register 0 11 1 2 3 5 6 7 9 10 11 12 13 14 15 questionable event enable register & & & & & & & & & & & & & & & & logical or 3 trig 7 8 idle 11 12 13 15 operation condition register (always zero) 3 7 8 idle 11 12 13 15 operation event register 3 7 8 idle 11 12 13 15 operation event enable register & & & & & & & & & & & & & & & & logical or idle eav qsb mav esb rqs/mss osb status byte register 1 eav qsb mav esb 6 osb service request enable register & & & & & & & logical or *stb? *sre *sre? master summary status (mss) msb = measurement summary bit eav = error available qsb = questionable summary bit mav = message available esb = event summary bit rqs/mss = request for service/master summary staus osb = operation summary bit error queue output queue trig trig note : rqs bit is in serial poll byte, mss bit is in *stb? response. 1 14 14 opc qye dde exe cme urq pon 8 9 8 11 12 13 15 standard event status register 8 9 8 11 12 13 15 standard event status enable register & & & & & & & & & & & & & & & & logical or (always zero) operation complete query error device specific error execution error command error user request power on opc qye dde exe cme urq pon *esr? *ese *ese? msb msb 12 13 14 15 (always zero) 12 13 14 15 measurement event register 12 13 14 15 measurement event enable register & & & & & & & & & & & & & & & & logical or measurement condition register rof ll hl 3 4 rav bav bhf bfl rof ll hl rav bav bhf bfl rof ll1 hl1 rav bav bhf bfl reading overfolw low limit high limit reading available buffer available buffer half full buffer full 11 cal cal calibration summary command warning warn warn warn 222 temperature summary temp temp temp 6 10 66 10 10 999 3 4 3 4 666 0 1 0 1 0 1 meas meas meas 11 11 11 measuring triggering remote operation 4-19 figure 4-5 model 2000 status register structure
condition registers as figure 4-5 shows, all status register sets have a condition register. a condition register is a real-time, read-only register that constantly updates to reect the current operating conditions of the instrument. for example, while a measurement is being performed, bit b4 (meas) of the operation condition register is set. when the measurement is completed, bit b4 clears. use the :condition? query commands in the status subsystem to read the condition reg- isters. see section 5 for more information. event registers as figure 4-5 shows, each status register set has an event register. an event register is a latched, read-only register whose bits are set by the corresponding condition register, once a bit in an event register is set, it remains set (latched) until the register is cleared by a specic clearing operation. the bits of an event register are logically anded with the bits of the corresponding enable register and applied to an or gate. the output of the or gate is applied to the status byte register. use the *esr? common command to read the standard event register. all other event reg- isters are read using the :event? query commands in the status subsystem. see section 5 for more information. an event register is cleared when it is read. the following operations clear all event registers: cycling power sending *cls 4-20 remote operation
enable registers as figure 4-5 shows, each status register set has an enable register. an enable register is pro- grammed by you and serves as a mask for the corresponding event register. an event bit is masked when the corresponding bit in the enable register is cleared (0). when masked, a set bit in an event register cannot set a bit in the status byte register (1 and 0 = 0). to use the status byte register to detect events (i.e., serial poll), you must unmask the events by setting (1) the appropriate bits of the enable registers. to program and query the standard event status register, use the *ese and *ese? common commands respectively. all other enable registers are programmed and queried using the :en- able and :enable? commands in the status subsystem. see section 5 for more information. an enable register is not cleared when it is read. the following operations affect the enable registers: cycling power - clears all enable registers :status:preset clears the following enable registers: operation event enable register questionable event enable register measurement event enable register *ese 0 - clears the standard event status enable register. remote operation 4-21
* esr ? pon (b7) urq (b6) cme (b5) exe (b4) dde (b3) qye (b2) (b1) (b0) or standard event status register standard event status enable register pon = power on urq = user request cme = command error exe = execution error dde = device-dependent error qye = query error opc = operation complete & = logical and or = logical or & & & & & opc & & pon (b7) urq (b6) cme (b5) exe (b4) dde (b3) qye (b2) (b1) (b0) opc * ese * ese ? to event summary bit (esb) of status byte register (see figure 4-10). (b15 - b8) (b15 - b8) or idle = idle state of the 2000 trig = triggering meas = measuring & = logical and or = logical or (b15 - b11) idle (b10) (b9) (b8) (b7) (b6) trig (b5) meas (b4) (b3) (b2) (b1) (b0) operation event register (b15 - b11) idle (b10) (b9) (b8) (b7) (b6) trig (b5) meas (b4) (b3) (b2) (b1) (b0) operation event enable register & to operation summary bit (osb) of status byte register. (see figure 4-10). & & (b15 - b11) idle (b10) (b9) (b8) (b7) (b6) trig (b5) meas (b4) (b3) (b2) (b1) (b0) operation condition register 4-22 remote operation figure 4-6 standard event status figure 4-7 operation event status
or bfl = buffer full bhf = buffer half full bav = buffer available & = logical and or = logical or (b15 - b12) (b10) (b9) bhf (b8) bav (b7) (b6) rav (b5) (b4) (b3) (b2) ll (b1) (b0) measurement event register (b15 - b12) measurement event enable register to measurement summary bit (msb) of status byte register. (see figure 4-10) & & (b15 - b12) (b10) (b9) (b8) (b7) (b6) rav (b5) (b4) (b3) (b2) ll (b1) (b0) measurement condition register bfl hl rof bfl rof & & & bhf bav hl & & (b10) (b9) bhf (b8) bav (b7) (b6) rav (b5) (b4) (b3) (b2) ll (b1) (b0) bfl rof hl rav = reading available hl = high limit ll = low limit rof = reading overflow (b11) (b11) (b11) (b13 - b9) (b14) (b8) (b15) or questionable condition register questionable event enable register warn = command warning cal = calibration summary temp = temperature summary & = logical and or = logical or & & & 0 (b13 - b9) (b14) (b8) (b15) 0 warn cal questionable event register (b13 - b9) (b14) (b8) (b15) to questionable summary bit (qsb) of status byte register (see figure 4-10). (b7 - b5) (b7 - b5) (b7 - b5) warn cal 0 warn cal (b4) temp (b4) temp (b3 - b0) (b3 - b0) (b3 - b0) (b4) temp & remote operation 4-23 figure 4-8 measurement event status figure 4-9 questionable event status
queues the model 2000 uses two queues, which are rst-in, ?st-out (fifo) registers: output queue - used to hold reading and response messages error queue - used to hold error and status messages the model 2000 multimeter status model (figure 4-5) shows how the two queues are struc- tured with the other registers. output queue the output queue holds data that pertains to the normal operation of the instrument. for ex- ample, when a query command is sent, the response message is placed on the output queue. when data is placed in the output queue, the message available (mav) bit in the status byte register sets. a data message is cleared from the output queue when it is read. the output queue is considered cleared when it is empty. an empty output queue clears the mav bit in the status byte register. read a message from the output queue by addressing the model 2000 multimeter to talk af- ter the appropriate query is sent. error queue the error queue holds error and status messages. when an error or status event occurs, a message that denes the error/status is placed in the error queue. this queue will hold up to 10 messages. when a message is placed in the error queue, the error available (eav) bit in the status byte register is set. an error message is cleared from the error/status queue when it is read. the er- ror queue is considered cleared when it is empty. an empty error queue clears the eav bit in the status byte register. read an error message from the error queue by sending either of the following scpi query commands and then addressing the model 2000 to talk: :system:error? :status:queue see section 5 for complete information about reading error messages. 4-24 remote operation
status byte and service request (srq) service request is controlled by two 8-bit registers: the status byte register and the service request enable register. figure 4-10 shows the structure of these registers. status summary messages * stb? serial poll osb (b7) rqs (b6) mss esb (b5) mav (b4) qsb (b3) eav (b2) (b1) (b0) or * sre * sre? status byte register service request enable register osb = operation summary bit mss = master summary status rqs = request for service esb = event summary bit mav = message available qsb = questionable summary bit eav = error available msb = measurement summary bit & = logical and or = logical or osb (b7) (b6) esb (b5) mav (b4) qsb (b3) eav (b2) (b1) (b0) & & & & & msb msb & service request generation read by serial poll read by *stb? remote operation 4-25 figure 4-10 status byte and service request (srq)
status byte register the summary messages from the status registers and queues are used to set or clear the ap- propriate bits (b0, b2, b3, b4, b5, and b7) of the status byte register. these bits do not latch, and their states (0 or 1) are solely dependent on the summary messages (0 or 1). for example, if the standard event status register is read, its register will clear. as a result, its summary mes- sage will reset to 0, which in turn will clear the esb bit in the status byte register. bit b6 in the status byte register is either: the master summary status (mss) bit, sent in response to the *stb? command, indi- cates the status of any set bits with corresponding enable bits set. the request for service (rqs) bit, sent in response to a serial poll, indicates which de- vice was requesting service by pulling on the srq line. for a description of the other bits in the status byte register, see ?ommon commands, *stb? the ieee-488.2 standard uses the following common query command to read the status byte register: *stb?. when reading the status byte register using the *stb? command, bit b6 is called the mss bit. none of the bits in the status byte register are cleared when using the *stb? command to read it. the ieee-488.1 standard has a serial poll sequence that also reads the status byte register and is better suited to detect a service request (srq). when using the serial poll, bit b6 is called the rqs bit. serial polling causes bit b6 (rqs) to reset. serial polling is discussed in more detail later in this section entitled ?erial poll and srq.? any of the following operations clear all bits of the status byte register: cycling power. sending the *cls common command note: the mav bit may or may not be cleared. 4-26 remote operation
service request enable register this register is programmed by you and serves as a mask for the status summary message bits (b0, b2, b3, b4, b5, and b7) of the status byte register. when masked, a set summary bit in the status byte register cannot set bit b6 (mss/rqs) of the status byte register. converse- ly, when unmasked, a set summary bit in the status byte register sets bit b6. a status summary message bit in the status byte register is masked when the corresponding bit in the service request enable register is cleared (0). when the masked summary bit in the status byte register sets, it is anded with the corresponding cleared bit in the service request enable register. the logic ??output of the and gate is applied to the input of the or gate and, thus, sets the mss/rqs bit in he status byte register. the individual bits of the service request enable register can be set or cleared by using the following common command: *sre to read the service request enable register, use the *sre? query command. the service request enable register clears when power is cycled or a parameter (n) value of zero is sent with the *sre command *sre 0). remote operation 4-27
serial poll and srq any enabled event summary bit that goes from 0 to 1 will set rqs and generate a service request (srq). in your test program, you can periodically read the status byte register to check if a service request (srq) has occurred and what caused it. if an srq occurs, the program can, for example, branch to an appropriate subroutine that will service the request. typically, service requests (srqs) are managed by the serial poll sequence of the model 2000. if an srq does not occur, bit b6 (rqs) of the status byte register will remain cleared and the program will simply proceed normally after the serial poll is performed. if an srq does occur, bit b6 of the status byte register will set and the program can branch to a service subroutine when the srq is de- tected by the serial poll. the serial poll automatically resets rqs of the status byte register. this allows subsequent serial polls to monitor bit b6 for an srq occurrence generated by other event types. after a se- rial poll, the same event can cause another srq, even if the event register that caused the rst srq has not been cleared. a serial poll clears rqs but does not clear mss. the mss bit stays set until all status byte event summary bits are cleared. the following quickbasic 4.5 program (using the kpc-488.2 interface and the cechp driver) demonstrates how serial poll can be used to detect an srq: cls open "ieee" for output as #1 open "ieee" for input as #2 print #1, "output 16; *cls" 'clear status byte register print #1, "output 16; *ese 32 'unmask command errors print #1, "output 16; *sre 32 'unmask event summary message print #1, "output 16; *ese" 'error - missing parameter sleep 1 print #1, "spoll 02" 'serial poll 2000 input #2, s 'read status byte register s=s or 191 'or register with a mask if s= 255 then gosub srq 'go to subroutine to acknowledge srq end if print end srq: print "srq has occurred--rqs (bit b6) is set (1)" return 4-28 remote operation
trigger model (gpib operation) this section describes how the model 2000 multimeter operates over the gpib bus. the ?wchart in figure 4-11 summarizes operation over the bus and is called the trigger model. it is called the trigger model because operation is controlled by scpi commands from the trigger subsystem (see section 5 for more information). key scpi commands are included in the trigger model. :abort *rcl :syst:pres language change no yes idle and initiate :trigger:signal control source :trigger:source immediate :trigger:source external :trigger:source timer :trigger:source manual :trigger:source bus :trigger:delay :trigger:delay:auto delay device action (see figure 4-12) :sample:count another sample ? :trigger:count infinite another trigger ? :init (:imm) or :init:cont on ? event detection :init (:imm) or :init:cont on ? no no no yes yes output trigger yes remote operation 4-29 figure 4-11 trigger model (remote opera- tion)
idle and initiate the instrument is considered to be in the idle state whenever it is not operating. while in the idle state, the instrument cannot perform any measure or scan functions. you can send two com- mands over the bus to remove the instrument from the idle state: :initiate :initiate:continuous on with continuous initiation enabled (:initiate:continuous on), the instrument will not re- main in the idle state after all programmed operations are completed. however, you can return the instrument to the idle state at any time by sending any of these commands: *rst abort *rcl syst:pres trigger model operation once the instrument is taken out of idle, operation proceeds through the trigger model down to the device action. in general, the device action includes a measurement and, when scanning, closes the next channel. control source as shown in figure 4-11, a control source is used to hold up operation until the programmed event occurs. the control source options are explained as follows: immediate ?event detection is immediately satised allowing operation to continue. manual ?event detection is satised by pressing the trig key. the model 2000 mul- timeter must be in local mode for it to respond to the trig key. press the local key or send local 16 over the bus to remove the instrument from the remote mode. timer ?event detection is immediately satised on the initial pass through the loop each subsequent detection is satised when the programmed timer interval (0 to 999999.999) seconds elapses. the timer source is only available during step/scan oper- ation. the timer resets to its initial state when the instrument goes into the normal mode of operation or into the idle state. external ?event detection is satised when an input trigger via the trigger link connector is received by the model 2000 multimeter. bus ?event detection is satised when a bus trigger (get or *trg) is received by the model 2000 multimeter. delay a programmable delay is available after the event detection. the delay can be man- ually set from 0 to 999999.999 seconds, or auto delay can be used. with auto delay enabled, the instrument automatically selects a delay based on the selected function and range. see the auto delay table in section 3 for delay times. auto delay is typically used for scanning. the nominal delay will be just long enough to al- low each relay to settle before making the measurement. 4-30 remote operation
device action figure 4-12 provides a detailed look at the device action. if the repeat lter is enabled, then the instrument samples the specied number of reading conversions to yield a single ?tered reading. if the moving ?ter is active, or ?ter is disabled, then only one reading conversion is performed. if the hold feature is enabled (see :hold commands in section 5), then the rst processed reading becomes the "seed" reading and operation loops back to the beginning of the device ac- tion. after the next reading is processed, it is compared to the programmed hold window (0.01% to 20%). if the reading is within the window, then operation again loops back to the beginning of the device action. this looping action continues until the specied number (2 to 100) of valid hold readings (readings within the window) have occurred. if one of the hold readings is not within the window, then the instrument acquires a new "seed" reading and repeats the hold pro- cess. after the hold is released, an audible beep is sounded to signal a valid measurement. the use of hold is explained in section 3. if the instrument is performing a step or scan, then the next task for device action is to open the previous channel (if closed) and close the next channel. if the ?ter, hold feature and scanning are disabled, the device action would simply be a single reading conversion. from delay block of trigger model (see figure 4-11) device action to output trigger block of trigger model (see figure 4-11). conv hold chan filtering process (filter enabled) conv = reading conversion hold = hold feature process (if enabled) chan = close channel (if scanning) conv conv remote operation 4-31 figure 4-12 device action (trigger model)
programming syntax the information in this section covers syntax for both common commands and scpi com- mands. for information not covered here, see the ieee- 488.2 and scpi standards. command words program messages are made up of one or more command words. commands and command parameters common commands and scpi commands may or may not use a parameter. the following are some examples: *sav parameter (nrf) required *rst no parameter used :initiate:continuous parameter required :system:preset no parameter used. put at least one space between the command word and the parameter. brackets [ ]: some command words are enclosed in brackets ([ ]). these brackets are used to denote an optional command word that does not need to be included in the pro- gram message. for example: :initiate[:immediate] these brackets indicate that :immediate is implied (optional) and does not have to used. thus, the above command can be sent in one of two ways: :intiate or :intiate:immediate notice that the optional command is used without the brackets. when using optional command words in your program, do not include the brackets. 4-32 remote operation
parameter types: the following are some of the more common parameter types: boolean: used to enable or disable an instrument operation. 0 or off dis- ables the operation, and 1 or on enables the operation. example: :current:ac:range:auto on enable auto ranging name parameter: select a parameter name from a listed group. example: = never = next :trace:feed:control next numeric representation format: this parameter is a number that can be ex- pressed as an integer (e.g., 8) a real number (e.g., 23.6) or an exponent (2.3e6). example: :system:key 16 press temp key from over the bus numeric value: a numeric value parameter can consist of an nrf number or one of the following name parameters: default, minimum, maximum. when the default parameter is used, the instrument is programmed to the *rst default value. when the minimum parameter is used, the instrument is programmed to the lowest allowable value. when the maximum param- eter is used, the instrument is programmed to the largest allowable value. ex- amples: :trigger:timer 0.1 sets timer to 100 msec. :trigger:timer default sets timer to 0.1 sec. :trigger:timer minimum sets timer to 1 msec. :trigger:timer maximum sets timer to 999999.999 sec. list: specify one or more switching channels. examples: :route:scan (@1:10) specify scan list (1-10). :route:scan (@2,4,6) specify scan list (2, 4, and 6). angle brackets < >: angle brackets (< >) are used to denote a parameter type. do not include the brackets in the program message. for example: :hold:state the indicates that a boolean-type parameter is required. thus, to enable the hold feature, you must send the command with the on or 1 parameter as follows. :hold:state on or 1 remote operation 4-33
query commands this type of command requests (queries) the currently programmed status. it is identied by the question mark (?) at the end of the fundamental form of the command. most commands have a query form, example: :trigger:timer? queries the timer interval. most command that require a numeric parameter() can also use the default, minimum, and maximum parameters for the query form. these query forms are used to determine the *rst default value and the upper and lower limits for the fundamental command. examples: :trigger:timer? default queries the *rst default value. :trigger:timer? minimum queries the lowest allowable value. :trigger:timer? maximum queries the largest allowable value. case sensitivity common commands and scpi commands are not case sensitive. you can use upper or lower case and any case combination. examples: *rst = *rst :data? = :data? :system:preset = :system:preset long-form and short-form versions a scpi command word can be sent in its long-form or short-form version. the command subsystem tables in section 5 provide the in the long-form version. however, the short-form ver- sion is indicated by upper case characters. examples: :system:preset long-form :syst:pres short form :system:pres long-form and short-form combination note that each command word must be in long-form or short-form, and not something in be- tween. for example, :syste:prese is illegal and will generate an error. the command will not be executed. 4-34 remote operation
short-form rules use the following rules to determine the short-form version of any scpi command: if the length of the command word is four letters or less, no short form version exists. example: :auto = :auto these rules apply to command words that exceed four letters: if the fourth letter of the command word is a vowel, delete it and all the letters after it. example :immediate = :imm rule exception-the short form version of the following command uses only the rst two letters of the word: :tcouple = :tc if the fourth letter of the command word is a consonant, retain it but drop all the letters after it. example: :format = :form if the command contains a question mark (?; query) or a non- optional number included in the command word, you must include it in the short-form version. example: :delay? = :del? command words or characters that are enclosed in brackets ([ ]) are optional and need not be included in the program message. remote operation 4-35
program messages a program message is made up of one or more command words sent by the computer to the instrument. each common command is simply a three letter acronym preceded by an asterisk (*). scpi commands are categorized in the :status subsystem and are used to help explain how command words are structured to formulate program messages. :status path (root) :operation path :enable command and parameter :enable? query command :preset command single command messages the above command structure has three levels. the ?st level is made up of the root command (:status) and serves as a path. the second level is made up of another path (:operation) and a command (:preset). the third path is made up of one command for the :operation path. the three commands in this structure can be executed by sending three separate program messages as follows: :stat:oper:enab :stat:oper:enab? :stat:pres in each of the above program messages, the path pointer starts at the root command (:stat) and moves down the command levels until the command is executed. multiple command messages you can send multiple command messages in the same program message as long as they are separated by semicolons (;). here is an example showing two commands in one program mes- sage: :stat:oper; :stat:oper:enab when the above is sent, the rst command word is recognized as the root command (:stat). when the next colon is detected, the path pointer moves down to the next command level and executes the command. when the path pointer sees the colon after the semicolon (;), it resets back to the root level and starts over. commands that are on the same command level can be executed without having to retype the entire command path. example: :stat:oper:enab ; enab? after the ?st command (:enab) is executed, the path pointer is at the third command level in the structure. since :enab? is also on the third level, it can be typed in without repeating the entire path name. notice that the leading colon for :enab? is not included in the program message. if a colon were included, the path pointer would reset to the root level and expect a root command. since :enab? is not a root command, an error would occur. 4-36 remote operation
command path rules each new program message must begin with the root command, unless it is optional (e.g., [:sense]). if the root is optional, simply treat a command word on the next level as the root. the colon (:) at the beginning of a program message is optional and need not be used. example: :stat:pres = stat:pres when the path pointer detects a colon (:) it moves down to the next command level. an exception is when the path pointer detects a semicolon (;), which is used to separate com- mands within the program message (see next rule). when the path pointer detects a colon (:) that immediately follows a semicolon (;), it re- sets back to the root level. the path pointer can only move down. it cannot be moved up a level. executing a com- mand at a higher level requires that you start over at the root command. using common commands and scpi commands in the same message both common commands and scpi commands can be used in the same message as long as they are separated by semicolons (;). a common command can be executed at any command lev- el and will not affect the path pointer. example: :stat:oper:enab ; *ese program message terminator (pmt) each program message must be terminated with an lf (line feed), eoi (end or identify), or an lf+eoi. the bus will hang if your computer does not provide this termination. the following example shows how a multiple command program message must be terminated: :rout:open:all; scan (@1:5) 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 mes- sage are executed. valid commands that follow an invalid command in a multiple command program mes- sage are ignored. remote operation 4-37
response messages a response message is the message sent by the instrument to the computer in response to a query command program message. sending a response message after sending a query command, the response message is placed in the output queue. when the model 2000 multimeter is then addressed to talk, the response message is sent from the out- put queue to the computer. multiple response messages if you send more than one query command in the same program message (see the paragraph entitled, ?ultiple command messages?, the multiple response messages for all the queries is sent to the computer when the model 2000 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; message exchange protocol two rules summarize the message exchange protocol: rule 1. you must always tell the model 2000 what to send to the computer. the following two steps must always be performed to send information from the instrument other computer: 1. send the appropriate query command(s) in a program message. 2. address the model 2000 to talk. rule 2. the complete response message must be received by the computer before another program message can be sent to the model 2000. 4-38 remote operation
common commands common commands (summarized in table 4-4) are device commands that are common to all devices on the bus. these commands are designated and dened by the ieee-488.2 standard. table 4-4 ieee-488.2 common commands and queries mnemonic name description *cls *ese *ese? *esr? *idn? *opc *opc? *opt? *rcl *rst *sav *sre *sre? *stb *trg *tst? *wai clear status event enable command event enable query event status register query identi?ation query operation complete command operation complete query option identication query recall command reset command save command service request enable com- mand service request enable query read status byte query trigger command self-test query wait-to-continue command clears all event registers and error queue. program the standard event enable register. read the standard event enable register. read the standard event enable register and clear it. returns the manufacturer, model number, serial number and rmware revision levels of the unit. set the operation complete bit in the stan- dard event status register after all pending commands have been executed. places an ascii ??into the output queue when all pending selected device operations have been completed. returns an id code that indicates which memory option is installed and whether or not the optional scanner card is installed. returns the model 2000 to the setup congu- ration stored in the specied memory loca- tion. returned the model 2000 to the *rst default conditions. saves the current setup to the specied mem- ory location. programs the service request enable regis- ter. reads the service request enable register. reads the status byte register. sends a bus trigger to the 2000. performs a checksum test on rom and returns the result. wait until all previous commands are exe- cuted. remote operation 4-39
*cls clear status clear status registers and error queue description use the *cls command to clear (reset to 0) the bits of the following registers in the model 2000: standard event register operation even register error queue measurement event register questionable event register this command also forces the instrument into the operation complete command idle state and operation complete query idle state. *ese event enable program the standard event enable register *ese? event enable query read the standard event register parameters = 0 clear register 1 set opc (b0) 4 set qye (b2) 8 set dde (b3) 16 set exe (b4) 32 set cme (b5) 64 set urq (b6) 128 set pon (b7) 255 set all bits description use the *ese command to program the standard event enable register. this command is sent with the decimal equivalent of the binary value that determines the desired state (0 or 1) of the bits in the register. this register is cleared on power-up. this register is used as a mask for the standard event register. when a standard event is masked, the occurrence of that event will not set the event summary bit (esb) in the status byte register. conversely, when a standard event is unmasked (enabled), the occurrence of that event sets the esb bit. for information on the standard event register and descriptions of the standard event bits see the next section. a cleared bit (0) in the enabled register prevents (masks) the esb bit in the status byte reg- ister from setting when the corresponding standard event occurs. a set bit (1) in the enable reg- ister allows (enables) the esb bit to set when the corresponding standard event occurs. 4-40 remote operation
the standard event enable register is shown in figure 4-13 and includes the decimal weight of each bit. the sum of the decimal weights of the bits that you wish to be set is the parameter value that is sent with the *ese command. for example, to set the cme and qye bits of the standard event enable register, send the following command: *ese 36 where: cme (bit b5) = decimal 32 qye (bit b2) = decimal 4 = 36 if a command error (cme) occurs, bit b5 of the standard event status register sets. if a que- ry error (qye) occurs, bit b2 of the standard event status register sets. since both of these events are unmasked (enabled) the occurrence of any one of them causes the esb bit in the sta- tus byte register to set. read the standard event status register using the *ese? query command. b7 b6 b5 b4 b3 b2 b1 b0 0/1 0/1 0/1 bit position event decimal weighting value value : 1 = enable standard event 0 = disable (mask) standard event pon urq cme dde exe qye opc 0/1 0/1 0/1 0/1 (2 ) 7 (2 ) 6 (2 ) 5 (2 ) 4 (2 ) 3 (2 ) 2 (2 ) 0 64 32 1 128 16 8 4 note : bits b8 through b15 are not shown since they are not used. events : pon = power on urq = user request cme = command error exe = execution error dde = device-dependent error qye = query error opc = operation complete figure 4-13 standard event enable register remote operation 4-41
*esr? event status register query read the standard event status register and clear it description use this command to acquire the value (in decimal) of the standard event register (see fig- ure 4-14). the binary equivalent of the returned decimal value determines which bits in the reg- ister are set. the register is cleared on power-up or when *cls is sent. a set bit in this register indicates that a particular event has occurred. for example, for an ac- quired decimal value of 48, the binary equivalent is 00110000. from this binary value, bits b4 and b5 of the standard event status register are set. these bits indicate that a device-dependent error and command error have occurred. the bits of the standard event status register are described as follows: bit b0, operation complete ?a set bit indicates that all pending selected device oper- ations are completed and the model 2000 is ready to accept new commands. this bit only sets in response to the *opc? query command. bit b1 ?not used bit b2, query error (qye) ?a set bit indicates that you attempted to read data from an empty output queue. bit b3, device-dependent error (dde) ?a set bit indicates that an instrument opera- tion did not execute properly due to some internal condition. bit b4, execution error (exe) ?a set bit indicates that the model 2000 detected an error while trying to execute a command. bit b5, command error (cme) ?a set bit indicates that a command error has occurred. command errors include: ieee-488.2 syntax error: model 2000 received a message that does not follow the de- ?ed syntax of the ieee-488.2 standard. semantic error: model 2000 received a command that was misspelled, or received an op- tional ieee-488.2 command that is not implemented. the instrument received a group execute trigger (get) inside a program message. bit b6, user request (urq) ?a set bit indicates that the local key on the model 2000 front panel was pressed. bit b7, power on (pon) ?a set bit indicates that the model 2000 has been turned off and turned back on since the last time this register has been read. 4-42 remote operation
*idn? identi cation query read the identi cation code description the identi?ation code includes the manufacturer, model number, serial number, and ?m- ware revision levels, and is sent in the following format: keithley instruments inc., model 2000, xxxxxxx, yyyyy/zzzzz where: xxxxxxx is the serial number yyyyy/zzzzz is the rmware revision levels of the digital board rom and display board rom. b7 b6 b5 b4 b3 b2 b1 b0 0/1 0/1 0/1 bit position event decimal weighting value value : 1 = event bit set 0 = event bit cleared events : pon = power on urq = user request cme = command error exe = execution error dde = device-dependent error qye = query error opc = operation complete pon urq cme exe dde qye opc 0/1 0/1 0/1 0/1 (2 ) 7 (2 ) 6 (2 ) 5 (2 ) 4 (2 ) 3 (2 ) 2 (2 ) 0 64 32 1 128 16 8 4 note : bits b8 through b15 are not shown since they are not used. figure 4-14 standard event status regster remote operation 4-43
*opc operation complete set the opc bit in the standard event status register after all pending commands are complete description on power-up or when the *cls or *rst is executed, the model 2000 goes into the operation complete command idle state (ocis). in this state, no pending overlapped commands exist. the model 2000 has three overlapped commands: :initiate :initiate:continuous on *trg when you send the *opc command, the model 2000 exits from ocis and enters the oper- ation complete command active state (ocas). in ocas, the instrument continuously moni- tors the no-operation-pending ag. after the last pending overlapped command is completed (no-operation- pending ag set to true), the operation complete (opc) bit in the standard event status register sets, and the instrument goes back into ocis. note that the instrument always goes into ocas when *opc is executed. if no pending com- mand operations are present (e.g. trigger model in idle state), the model 2000 immediately sets the opc bit and returns to ocis. when used with the :initiate or :initiate:continuous on command, the opc bit of the standard event status register will not set until the model 2000 goes back into the idle state. the initiate operations are not considered nished until the instrument goes into idle. when used with the *trg command, the opc bit will not set until the operations associated with the *trg command (and the initiate command) are nished. the *trg command is con- sidered to be nished when the device action completes or when operation stops a control source to wait for an event (see trigger model in this section). to use the *opc exclusively with the *trg command, rst force the completion of the ini- tiate command so that only the *trg command is pending. do this by sending the :abort command to place the instrument in idle, which (by denition) completes the initiate command. since continuous initiation is on, operation continues on into the trigger model. after sending the *trg command, the opc bit sets when the *trg command is nished. 4-44 remote operation
program fragment gosub read register 'clear register by reading it print #1, "output 16; :init 'place 2000 in idle :cont off; :abort" print #1, "output 16; :init;*opc" 'start measurements and send *opc sleep 2 'wait two seconds gosub readregister 'read register to show that opc is not set print #1, "output 16; :abort" 'place 2000 back in idle gosub readregister 'read register to show that opc is now set end readregister: print #1, "output 16; *esr?" 'query standard event status reg- ister print #1, "enter 16" 'get response message from 2000 line input #2, a$ 'read decimal value of register print a$ return remote operation 4-45
*opc? operation complete query place a 1 in the output queue after all pending operations are completed description on power-up or when the *cls or *rst is executed, the model 2000 goes into the operation complete command query idle state (oqis). in this state, no pending overlapped commands exist. the model 2000 has three overlapped commands: :initiate :initiate:continuous on *trg when you send the *opc? command, the model 2000 exits from oqis and enters the oper- ation complete command query active state (oqas). in oqas, the instrument continuously monitors the no-operation-pending ag. after the last pending overlapped command is com- pleted (no- operation-pending ag set to true), an ascii character ??is placed into the output queue, the message available (mav) bit in the status byte sets, and the instrument goes back into oqis. addressing the model 2000 to talk sends the ascii ??to the computer. note that the instrument always goes into oqas when *opc? is executed. if no pending command operations are present (e.g. trigger model in idle state), the model 2000 immediately places an ascii ??in the output queue, sets the mav bit and returns to oqis. when used with the :initiate or :initiate:continuous on command, an ascii ??will not be sent to the output queue and the mav bit will not set until the model 2000 goes back into the idle state. the initiate operations are not considered nished until the instrument goes into the idle state. when used with the *trg command, an ascii ??will not be placed into the output queue and the mav bit will not set until the operations associated with the *trg command (and the initiate command) are nished. the *trg command is considered to be nished when the de- vice action completes or when operation stops at a control source to wait for an event (see the trigger model in this section). to use *opc? exclusively with the *trg command, rst force the completion of the initiate command so that only the *trg command is pending. to do this, send the :abort command to place the instrument in idle, which (by denition) completes the initiate command. since con- tinuous initiation is on, operation continues on into the trigger model. after sending the *trg command, an ascii ??is placed in the output queue and the mav bit sets when the *trg command is nished. after *opc? is executed, additional commands cannot be sent to the model 2000 until the pending overlapped commands are nished. for example, :initiate:continuous on followed by *opc? locks up the instrument and requires a device clear (dcl or sdc) before it will ac- cept any more commands. note: see *opc, *trg and *wai for more information. 4-46 remote operation
program fragment print #1, "output 16; :syst:pres" 'select defaults print #1, "output 16; :init:cont off;:abort" 'place 2000 in idle print #1, "output 16; :trig:coun 1; sour tim" print #1, "output 16; :samp:coun 5" 'program for 5 measurements and stop (idle) print #1, "output 16; :init; *opc?" 'start measurements and send *opc? print #1, "enter 16" 'get response when 2000 goes into idle line input #2, a$ 'read contents of output queue print a$ 'display the ascii "1" *opt? option identi cation query determine if an option is installed description the response message indicates the presence or absence of an optional scanner card. for ex- ample: 0 no scanner card installed 200x-scan scanner card installed *rcl recall return to setup stored in memory parameters =0 description use this command to return the model 2000 to the conguration stored in memory. the *sav command is used to store the setup conguration in memory location. only one setup conguration can be saved and recalled. the model 2000 ships from the factory with :systen:preset defaults loaded into the avail- able setup memory. if a recall error occurs, the setup memory defaults to the :system:preset values. remote operation 4-47
*rst reset return 2000 to *rst defaults description when the *rst command is sent, the model 2000 performs the following operations: 1. returns the model 2000 to the *rst default conditions (see scpi tables). 2. cancels all pending commands. 3. cancels response to any previously received *opc and *opc? commands. *sav save save present setup in memory parameters =0 description use the *save command to save the current instrument setup conguration in memory for later recall. any control affected by *rst can be saved by the *sav command. the *rcl com- mand is used to restore the instrument to the saved setup conguration. only one setup conguration can be saved and recalled. *sre service request enable program service request enable register *sre? service request enable query read service request enable register parameters = 0 clears enable register 1 set msb bit (bit 0) 4 set eav bit (bit 2) 8 set qsb bit (bit 3) 16 set mav bit (bit 4) 32 set esb (bit 5) 128 set osb (bit 7) 255 set all bits description use the *sre command to program the service request enable register. send this command with the decimal equivalent of the binary value that determines the desired state (0 or 1) of each bit in the register. this register is cleared on power-up. this enable register is used along with the status byte register to generate service requests (srq). with a bit in the service request enable register set, an srq occurs when the corre- 4-48 remote operation
sponding bit in the status byte register is set by an appropriate event. for more information on register structure, see the information presented earlier in this section. the service request enable register is shown in figure 4-15. notice that the decimal weight of each bit is included in the illustration. the sum of the decimal weights of the bits that you wish to set is the value that is sent with the *sre command. for example, to set the esb and mav bits of the service request enable register, send the following command: *sre 48 where: esb (bit b5) = decimal 32 mav(bit b4) = decimal 16 = 48 the contents of the service request enable register can be read using the *sre? query com- mand. b7 b6 b5 b4 b3 b2 b1 b0 (2 ) 7 (2 ) 5 (2 ) 4 (2 ) 3 (2 ) 2 (2 ) 0 32 0/1 bit position event decimal weighting value value : 1 = enable service request event 0 = disable (mask) service request event events : osb = operation summary bit esb = event summary bit mav = message available qsb = questionable summary bit eav = error available msb = measurement summary bit osb esb mav qsb eav 0/1 0/1 0/1 0/1 128 16 8 4 msb 1 0/1 figure 4-15 service request enable register remote operation 4-49
*stb? status byte query read status byte register description use the *stb? query command to acquire the value (in decimal) of the status byte register. the status byte register is shown in figure 4-16. the binary equivalent of the decimal value determines which bits in the register are set. all bits, except bit b6, in this register are set by other event registers and queues. bit 6 sets when one or more enabled conditions occur. the *stb? query command does not clear the status byte register. this register can only be cleared by clearing the related registers and queues. see ?tatus structure?for details. for example, for an acquired decimal value of 48, the binary equivalent is 00110000. this binary value indicates that bits 4 and 5 if the status byte register are set. the bits of the status byte register are described as follows: bit 0, measurement status (msb)-a set bit indicates that a measurement event has oc- curred. the event can be identied by reading the measurement event status register using the :status:measurement? command (see section 5 for details). bit 1-not used. bit 2, error available (eav)-a set bit indicates that an error or status message is present in the error queue. the message can be read using one of the following scpi com- mands: :system:error? :status:queue? see section 5 for more information. bit 3, questionable summary bit (qsb)-a set bit indicates that a calibration error has occurred. bit 4, message available (mav)-a set bit indicates that a message is present in the out- put queue. the message is sent to the computer when the model 2000 is addressed to talk. bit 5, event summary bit (esb)-a set bit indicates that an enabled standard event has occurred. the event can be identied by reading the standard event status register us- ing the *ese? query command. bit 6, master summary status (mss)/request service (rqs)-a set bit indicates that one or more enabled status byte conditions have occurred. read the mss bit by using the stb? query command, or perform a serial poll to detect the occurrence of a service re- quest (rqs bit set). bit 7, operation summary (osb)-a set bit indicates that an enabled operation event has occurred. the event can be identied by reading the operation event status register us- ing the :status:operation? query command (see section 5 for details). 4-50 remote operation
*trg trigger send bus trigger to 2000 description use the *trg command to issue a gpib trigger to the model 2000. it has the same effect as a group execute trigger (get). use the *trg command as an event to control operation. the model 2000 reacts to this trig- ger if bus is the programmed control source. the control source is programmed from the trig- ger subsystem (see section 5). *tst?-self-test query run self test and read result description use this query command to perform a checksum test on rom. the command places the cod- ed result (0 or 1) in the output queue. when the model 2000 is addressed to talk, the coded re- sult is sent from the output queue to the computer. a returned value of zero (0) indicates that the test passed, and a value of one (1) indicates that the test has failed. b7 b6 b5 b4 b3 b2 b1 b0 (2 ) (2 ) 6 (2 ) 5 (2 ) 4 (2 ) 3 (2 ) 2 (2 ) 0 32 0/1 bit position event decimal weighting value value : 1 = event bit set 0 = event bit cleared events : osb = operation summary bit mss = master summary status rqs = request service esb = event summary bit mav = message available qsb = questionable summary bit eav = error available msb = measurement summary bit osb esb mav qsb eav 0/1 0/1 0/1 0/1 128 16 8 4 mss, rqs 64 0/1 msb 1 0/1 7 figure 4-16 status byte regis- ter remote operation 4-51
*wai wait-to-continue prevent execution of commands until previous commands are completed description two types of device commands exist: sequential commands-a command whose operations are allowed to ?ish before the next command is executed. overlapped commands-a command that allows the execution of subsequent commands while device operations of the overlapped command are still in progress. use the *wai command to suspend the execution of subsequent commands until the device operations of all previous overlapped commands are nished. the *wai command is not need- ed for sequential commands. the model 2000 has three overlapped commands: :initiate :initiate:continuous on *trg note: see *opc, *opc? and *trg for more information. the :initiate commands remove the model 2000 from the idle state. the device operations of :initiate are not considered complete until the model 2000 returns to idle. by sending the *wai command after the :initiate command, all subsequent commands will not execute until the model 2000 goes back into idle. the *trg command issues a bus trigger that could be used to provide the arm, scan, and measure events for the trigger model. by sending the *wai command after the *trg com- mand, subsequent commands will not executed until the pointer for the trigger model has n- ished moving in response to *trg and has settled at its next state. program fragment print #1, "output 02; :syst:pres" 'select defaults print #1, "output 02; :init:cont off;:abort" 'place 2000 in idle print #1, "output 02; :trig:coun 1;sour tim" 'program for 30 measurements and 'then stop (idle) print #1, "output 02; :samp:coun 30" print #1, "output 02;:init; *wai" 'start measurements and send *wai print #1, "output 02; :data?" 'query a reading print #1, "enter 02" 'get reading after 2000 goes into idle line input #2, a$ 'read the reading print a$ 'display the reading 4-52 remote operation
5 scpi command reference
this section contains reference information on programming the model 2000 with the scpi commands. it is organized as follows: scpi signal oriented measurement commands covers the signal oriented measure- ment commands. these commands are used to acquire readings. scpi command subsystems reference tables includes a summary table for each scpi subsystem command. scpi command subsystems includes additional information on each scpi subsystem command. 5-2 scpi command reference
scpi signal oriented measurement commands the signal oriented measurement commands are used to acquire readings. you can use these high-level instructions to control the measurement process. these commands are summarized in table 5-1. configure command :configure: = current:ac ac current current[:dc] dc current voltage:ac ac voltage voltage[:dc] dc voltage resistance 2-wire resistance fresistance 4-wire resistance period period frequency frequency temperature temperature diode diode testing continuity continuity test query :configure? query the selected function. description this command congures the instrument for subsequent measurements on the speci?d function. basically, this command places the instrument in a ?ne-shot?measurement mode. you then use the :read? command to trig- ger a measurement and acquire a reading (see :read?). when this command is sent, the model 2000 will be congured as follows: the function specied by this command is selected. all controls related to the selected function are defaulted to the *rst val- ues. continuous initiation is disabled (:initiate:continuous off). table 5-1 signal oriented measurement command summary command description :configure: :fetch? :read? measure[:]? places the model 2000 in a ?ne-shot?measurement mode for the speci?d function. requests the latest reading without triggering. performs an :abort, :initiate, and a :fetch?. performs an :abort, :configure:, and a :read?. scpi command reference 5-3
the control source of the trigger model is set to immediate. the count values of the trigger model are set to one. the delay of the trigger model is set to zero. the model 2000 is placed in the idle state. all math calculations are disabled. buffer operation is disabled. a storage operation currently in process will be aborted. autozero is set to the *rst default value. all operations associated with switching cards (scanning) are disabled. this command is automatically asserted when the :measure? command is sent. program print #1, ?utput 16; :conf:volt:dc ?erform :configure opera- tions. fetch? command :fetch? description this query command requests the latest post- processed reading. after send- ing this command and addressing the model 2000 to talk, the reading is sent to the computer. this command does not affect the instrument setup. this command does not trigger a measurement. the command simply re- quests the last available reading. note that this command can repeatedly re- turn the same reading. until there is a new reading, this command continues to return the old reading. if your application requires a ?resh?reading, use the :data:fresh? command (see the sense subsystem command). this command is automatically asserted when the :read? or :measure? command is sent. note if external rapid triggers are applied, the unit may not return read- ings when using :fetch? 5-4 scpi command reference
read? command :read? description typically, this command is used with the instrument in the ?ne-shot?mea- surement mode to trigger and acquire a specied number of readings. the :sample:count command is used to specify the number of readings (see trigger subsystem). note that the readings are stored in the buffer. when this command is sent, the following commands execute in the order that they are presented: :abort :initiate :fetch? when :abort is executed, if continuous initiation is disabled, the instru- ment goes into the idle state. if continuous initiation is enabled, the operation re-starts at the beginning of the trigger model. if the instrument is in the idle state, :initiate takes the instrument out of the idle state. if continuous initiation is enabled, (:initiate:continuous on), then the :initiate command generates an error and ignores the command. see the :fetch? command for more details. note that an ?nit ignored?er- ror will not cancel the execution of the :fetch? command. note you cannot use the :read? command if sample count >1 (see trigger subsystem) and there are readings stored in the buffer (er- ror -225, out of memory). either set sample count to one or clear the buffer. see appendix c for an example program using the read? com- mand. scpi command reference 5-5
measure command :measure[:]? = current:ac ac current current[:dc] dc current voltage:ac ac voltage voltage[:dc] dc voltage resistance 2-wire resistance fresistance 4-wire resistance period period frequency frequency temperature temperature diode diode testing continuity continuity test description this command combines all of the other signal oriented measurement com- mands to perform a ?ne-shot?measurement and acquire the reading. when this command is sent, the following commands execute in the order that they are presented. :abort:configure::read? when :abort is executed, if continuous initiation is disabled, the instru- ment goes into the idle state. if continuous initiation is enabled, the operation re-starts at the beginning of the trigger model. when :configure is executed, the instrument goes into a ?ne-shot?mea- surement mode. see :configure for more details. when :read? is executed, its operations will then be performed. in general, another :abort is performed, then an :initiate, and ?ally a fetch? to ac- quire the reading. see :read? for more details. 5-6 scpi command reference
scpi command subsystems reference tables tables 5-2 through 5-11 summarize the commands for each scpi subsystem. the following list includes the scpi subsystem commands and the table number where each command is summarized. calculate command summary (table 5-2) display command summary (table 5-3) format command summary (table 5-4) route command summary (table 5-5) sense command summary (table 5-6) status command summary (table 5-7) system command summary (table 5-8) trace command summary (table 5-9) trigger command summary (table 5-10) unit command summary (table 5-11) general notes: brackets ([ ]) are used to denote optional character sets. these optional characters do not have to be included in the program message. do not use brackets in the program message. angle brackets (< >) are used to indicate parameter type. do not use angle brackets in the program message. the boolean parameter () is used to enable or disable an instrument operation. 1 or on enables the operation and 0 or off disables the oper- ation. upper case characters indicate the short-form version for each command word. default parameter ?listed parameters are both the *rst and :sys- tem:preset defaults, unless noted otherwise. parameter notes are locat- ed at the end of each table. scpi ?a checkmark ( ) indicates that the command and its parameters are scpi conrmed. an unmarked command indicates that it is non-sc- pi. scpi conrmed commands that use one or more non-scpi parameters are explained by notes. scpi command reference 5-7
table 5-2 calculate command summary command description default parameter scpi :calculate[1] :format :format? :kmath :mmfactor :mmfactor? :mbfactor :mbfactor? :munits :munits? :percent :acquire :percent? :state :state? :data? subsystem to control calc 1: select math format (none, mxb, percent). query math format. path to con?ure math calculations: set ??factor for mx+b (-100e6 to 100e6). query ??factor. set ??factor for mx+b (-100e6 to 100e6). query ??factor. specify units for mx+b reading (three characters a through ??. query ?x+b?units. set target value for percent calculation (-100e6 to 100e6). use input signal as target value. query percent. enable or disable kmath calculation. query state of kmath function. read result of kmath calculation. percent 1 0 mxb 1 (note) :calculate2 :format :format? :state :state? :immediate :immediate? :data? subsystem to control calc 2: select math format: (mean, sdeviation, maximum, minimum, or none). query math format. enable or disable calculation. query state of math function. recalculate raw input data in buffer. perform calculation and read result. read math result of calc 2. none (note) :calculate3 :limit[1] :upper [:data] [:data]? :lower [:data] [:data]? :state :state? :fail? :clear [:immediate] :auto :auto? :immediate subsystem to control calc 3 (limit test): path to control limit 1 test: path to con?ure upper limit: set upper limit (-100e6 to 100e6). query upper limit. path to con?ure lower limit: set lower limit (-100e6 to 100e6). query lower limit. enable or disable limit test. query state of limit test. query test result (1 = pass, 0 = fail). path to clear failed test: clear failed test indication. enable or disable auto clear. query auto clear. re-perform limit tests. 1 -1 off on *note: on is the *rst default parameter, and off is the :system:preset default. 5-8 scpi command reference
table 5-3 display command summary command description default parameter scpi :display [:window[1]] :text :data :data? :state :state? :enable :enable? path to control user text messages. de?e ascii message ??(up to 12 characters). query text message. enable or disable message mode. query text message state. enable or disable the front panel display. query state of the display. (note 1) (note 2) (note 3) notes: 1. *rst and :system:preset has no effect on a user de?ed message. cycling power cancels all user de?ed messages. 2. *rst and :system:preset has no effect on the state of the message mode. cycling power disables (off) the message mode. 3. *rst and :system:preset has no effect on the display circuitry. cycling power enables (on) the display circuitry. table 5-4 format command summary command description default parameter scpi :format [:data] [,] [:data]? :elements :elements? :border :border? select data format: (ascii, sreal or dreal). query data format. specify data elements: (reading, channel, and units). query data elements. select binary byte order: (normal or swapped). query byte order. ascii reading swapped scpi command reference 5-9
table 5-5 route command summary command description default parameter scpi route :close :state? :open:all :multiple :close :state? :open :scan [:internal] [:internal]? :external :external? :lselect :lselect? commands to control scanner card: close speci?d channel (1 to 10) or channel pair (1 to 5). query closed channel (or channel pair). open all input channels (1 through 10). path to close and open multiple channels: close speci?d channels (1 to 11). query closed channel. open speci?d channels (1 to 11). path to scan channels. specify internal scan list (2 to 10 channels). query internal scan list. specify external scan list (2 to 800 channels). query external scan list. select scan operation (internal, external, or none). query scan operation. 1-10 1-10 none table 5-6 sense command summary command description default parameter scpi [:sense[1]] :function :function? :data? :hold :window :window? :count :count? :state :state? select measurement function: ?oltage:ac? voltage :dc? resistance? ?resistance? ?urrent:ac? ?urrent: dc , ?requency??emperature? ?eriod? ?iode? ?ontinuity? query function. return the last instrument reading. path to control hold feature: set hold window (%); 0.01 to 20. query hold window. set hold count; 2 to 100. query hold count. enable or disable hold. query state of hold. ?olt[:dc] 1 5 off 5-10 scpi command reference
:current:ac :nplcycles :nplcycles? :range [:upper] [:upper]? :auto :auto? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? :detector :bandwidth :bandwidth? path to con?ure ac current. set integration rate (line cycles; 0.01 to 10). query line cycle integration rate. path to con?ure measurement range: select range (0 to 3.1). query range. enable or disable auto range. query auto range. specify reference (-3.1 to 3.1). enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control the ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. path to con?ure bandwidth: specify bandwidth (3 to 300e3). query bandwidth. 1 3 on 0 off 6 (note) 10 off 30 :current:dc :nplcycles :nplcycles? :range [:upper] [:upper]? :auto :auto? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? path to con?ure dc current. set integration rate (line cycles; 0.01 to 10). query line cycle integration rate. path to con?ure measurement range: select range (0 to 3.1). query range. enable or disable auto range. query auto range. specify reference (-3.1 to 3.1). enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control the ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. 1 3 on 0 off 7 (note) 10 off table 5-6(cont.) sense command summary command description default parameter scpi scpi command reference 5-11
:voltage:ac :nplcycles :nplcycles? :range [:upper] [:upper]? :auto :auto? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? :detector :bandwidth :bandwidth? path to con?ure ac voltage. set integration rate (line cycles; 0.01 to 10). query line cycle integration rate. path to con?ure measurement range: select range (0 to 757.5). query range. enable or disable auto range. query auto range. specify reference (-757.5 to 757.5). enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control the ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. path to con?ure bandwidth: specify bandwidth (3 to 300e3). query bandwidth. 1 757.5 on 0 off 6 (note) 10 off 30 :voltage:dc :nplcycles :nplcycles? :range [:upper] [:upper]? :auto :auto? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? path to con?ure dc voltage: set integration rate (line cycles; (0.01 to 10). query line cycle integration rate. path to con?ure measurement range: select range (0 to 1010). query range. enable or disable auto range. query auto range. specify reference (-1010 to +1010). enable or disable reference. query state of reference (0 or 1). use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control the ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. 1 1000 on 0 off 7 (note) 10 off table 5-6(cont.) sense command summary command description default parameter scpi 5-12 scpi command reference
:resistance :nplcycles :nplcycles? :range [:upper] [:upper]? :auto :auto? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? path to con?ure resistance: set integration rate (line cycles; 0.01 to 10). query line cycle integration rate. path to con?ure measurement range: select range (0 to 120e6). query range. enable or disable auto range. query auto range. specify reference (0 to 120e6). enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. 1 100e6 on 0 off 7 (note) 10 off :fresistance :nplcycles :nplcycles? :range [:upper] [:upper]? :auto :auto? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? path to con?ure four-wire resistance: set integration rate (line cycles; 0.01 to 10). query line cycle integration rate. path to con?ure measurement range: select range (0 to 101e6). query range. enable or disable auto range. query auto range. specify reference (0 to +101e6). enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. 1 100e6 on 0 off 7 (note) 10 off table 5-6(cont.) sense command summary command description default parameter scpi scpi command reference 5-13
:temperature :nplcycles :nplcycles? :reference :state :state? :acquire :reference? :digits :digits? :average :tcontrol :tcontrol? :count :count? :state :state? :tcouple :type :type? :rjunction :rselect :rselect? :simulated :simulated? :real :tcoef?ient :tcoef?ient? :offset :offset? path to con?ure temperature: set integration rate (line cycles; 0.01 to 10). query line cycle integration rate. specify reference; -200 to 1372 enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. path to con?ure and control the ?ter. select ?ter type: (moving or repeat). query ?ter type. specify ?ter count (1 to 100). query ?ter count. enable or disable ?ter. query state of digital ?ter. path to con?ure thermocouple: select thermocouple type (j, k, or t). query thermocouple type. path to con?ure reference junction: select reference type (simulated or real). query reference type. specify simulated temperature in ? (0 to 50). query simulated temperature. path to con?ure real reference junction: specify temp coef?ient (-0.09999 to 0.09999). query temp coef?ient. specify voltage offset at 0? (-0.09999 to 0.09999). query voltage offset. 1 0 off 6 (note) 10 off j simulated 23? 2e-4 5.463e-2 :frequency :aperture :aperture? :threshold :voltage :range :range? :reference :state :state? :acquire :reference? :digits :digits? path to con?ure frequency. sets gate time for period measurements (0.01-1.0s). query period gate time. path to select the threshold voltage range: select threshold range (0 to 1010). query threshold range. specify reference (0 to 1.5e7) enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resoltuion (4 to 7). query resolution. 10 0 off 7 table 5-6(cont.) sense command summary command description default parameter scpi 5-14 scpi command reference
:period :aperture :aperture? :threshold :voltage :range :range? :reference :state :state? :acquire :reference? :digits :digits? path to con?ure period. sets gate time for period measurements (0.01-1.0s). query period gate time. path to select the threshold voltage range: select threshold range (0 to 1010). query threshold range. specify reference (0 to 1). enable or disable reference. query state of reference. use input signal as reference. query reference value. specify measurement resolution (4 to 7). query resolution. 10 0 off 7 :diode :current :range [:upper] [:upper]? paths to con?ure diode test: path to select range. select range (0 to 1e-3) query range. 1e-3 :continuity :threshold :threshold? path to con?ure continuity test: set threshold resistance (1 to 1000). query threshold resistance. 10 note: repeat is the *rst default and moving is the :system:preset default. table 5-6(cont.) sense command summary command description default parameter scpi scpi command reference 5-15
table 5-7 status command summary command description default parameter scpi :status :measurement [:event]? :enable :enable? :condition? :operation [:event]? :enable :enable? :condition? :questionable [:event]? :enable :enable? :condition? :preset :queue [:next]? :enable :enable? :disable :disable? :clear path to control measurement event registers: read the event register. program the enable register. read the enable register. read the condition register. path to control operation status registers: read the event register. program the enable register. read the enable register. read the condition register. path to control questionable status registers: read the event register. program the enable register. read the enable register. read the condition register. return status registers to default states. path to access error queue: read the most recent error message. specify error and status messages for queue. read the enabled messages. specify messages not to be placed in queue. read the disabled messages. clears all messages from error queue. (note 1) (note 2) (note 3) (note 2) (note 3) (note 2) (note 3) (note 4) (note 5) (note 5) notes: 1. commands in this subsystem are not affected by *rst and :system:preset. the effects of cycling power, *cls and :sta- tus:preset are explained by the following notes. 2. event registers: power-up and *cls ?clears all bits of the registers :status:preset ?no effect. 3. enable registers: power-up and :status:preset ?clears all bits of the registers *cls ?no effect 4. error queue: power-up and *cls ?clears the error queue :status:preset ?no effect 5. enable/disable error queue messages: power-up ?clears list of messages *cls and :status:preset ?no effect 5-16 scpi command reference
table 5-8 system command summary command description default parameter scpi :system :preset :posetup :posetup? :frswitch? :version? :error? :azero :state :state? :key :key? :clear :beeper [:state] [:state]? :local :remote :rwlock :kclick :kclick :lfrequency? return to :syst:pres defaults. select power-on setup: (rst, preset or sav0). query power-on setup. query inputs switch (0=rear, 1=front). query rev level of scpi standard. query (read) error queue. path to set up autozero. enable or disable autozero. query autozero. simulate key-press (1 to 31; see figure 5-10). query the last ?ressed?key. clears messages from the error queue. path to control beeper. enable or disable beeper. query state of beeper. take
2000 out of remote and restore operation of front panel controls (rs-232 only). place 2000 in remote (rs-232 only). lockout front panel controls (rs-232 only). turn the keyclick on/off. query the keyclick status. query power line frequency. (note) on on on note: clearing the error queue: power-up and *cls ?clears the error queue *rst, :system:preset and :status:preset ?no effect table 5-9 trace command summary command description default parameter* scpi :trace|:data :clear :free? :points :points? :feed :control :control? :feed? :data? use :trace or :data as root command. clear readings from buffer. query bytes available and bytes in use. specify size of buffer (2 to 1024). query buffer size. select source of readings (sense[1], calculate[1], none. select buffer control mode (never or next) query buffer control mode. query source of readings for buffer. read all readings in the buffer. *:system:preset and *rst have no effect on the commands in this subsystem. scpi command reference 5-17
table 5-10 trigger command summary command description default parameter scpi :initiate [:immediate] :continuous :continuous? :abort :trigger[:sequence[1]] :count :count? :delay :auto :auto? :delay? :source :source? :timer :timer? :signal :sample :count :count? subsystem command path: initiate one trigger cycle. enable or disable continuous initiation. query continuous initiation. reset trigger system. path to program trigger layer: set measure count (1 to 9999, or inf). query measure count. set delay (0 to 999999.999 sec) enable or disable auto delay. query state of delay. query delay. select control source (immediate, timer, manual, bus, or external). query control source. set timer interval (0.001 to 999999.999 sec). request the programmed timer interval. loop around control source. specify sample count (1 to 1024). query sample count. (note 1) (note 2) 0 off immediate 0.1 1 (note 2) notes: 1. defaults for continuous initiation: :system:preset enables continuous initiation *rst disables continuous initiation 2. defaults for count: :system:preset sets the count to inf (in?ite). *rst sets the count to 1. 5-18 scpi command reference
table 5-11 unit command summary command description default parameter scpi :unit :temperature :temperature? :voltage :ac :db :reference :reference? :dbm :impedance :impedance? :ac? [:dc] :db :reference :reference? :dbm :impedance :impedance? :dc? select temperature measurement units (c, f, or k). query temperature units. path to con?ure voltage units. select acv measurement units (v, db or dbm). path to set db reference voltage. specify reference in volts (le-7 to 1000). query db reference. path to set dbm reference impedance. specify reference impedance (1 to 9999). query dbm reference impedance. query acv units. select dcv measurement units (v, db, or dbm) path to set db reference voltage: specify reference in volts (1e-7 to 1000). query reference. path to set dbm refernece impedance: specify reference impedance (1 to 9999). query reference impedance. query dcv units. c v 1 75 v 1 75 scpi command reference 5-19
calculate subsystem the commands in this subsystem are used to congure and control the cal- culate subsystems and are summarized in table 5-2. :calculate[1] these commands are used to congure and control the mxb (polynomial) and percent math calculations. detailed information on math calculations is provided in section 2. :format calculate[1]:format specify calc1 format parameters = none no calculations mxb polynomial math calculation percent percent math calculation query :format? query programmed math format description this command is used to specify the format for the calc1 math calcula- tions. with none selected, no calc1 calculation is performed. with mxb or percent selected and enabled (see :state), the result of the calcu- lation is displayed. the calculated reading is refreshed every time the instru- ment takes a reading. :kmath commands :mmfactor :calculate [1]:kmath:mmfactor specify ??factor parameter = -100e6 to 100e6 query :mmfactor? query ??factor description this command is used to dene the??factor for the mx+b calculation. :mbfactor :calculate [1]:kmath:mbfactor specify ??factor parameter = -100e6 to 100e6 query :mbfactor? query ??factor description this command is used to dene the??factor for the mx+b calculation. 5-20 scpi command reference
:munits :calculate [1]:kmath:munits specify units for mx+b parameter = 3 characters using a through ? query :munits? query units for mx+b description this command is used to specify the units data element for the mx+b calcu- lation. use any three letters from a through ?? :percent :calculate [1]:kmath:percent specify target value for percent calculation parameter = -1e8 to +1e8 specify target value. query :percent? query percent target value description this command is used to specify the target value for the percent calculation. :acquire :calculate [1]:kmath:percent:acquire use input signal as target value description this action command is used to acquire the present input signal reading and use it as the target value for the percent calculation. :state :calculate [1]:state control calc1 parameters = 0 or off disable calc1 calculation 1 or on enable calc1 calculation query :state? query state (on or off) of calc1. description this command is used to enable or disable the calc1 calculation. when enabled, each instrument reading will reect the selected calculation (see :format). :data? :calculate [1]:kmath:data? read calc1 result description this query command is used to read the result of the calc1 calculation. if calc1 is disabled or none is selected, the ?aw?reading will be read. scpi command reference 5-21
:calculate2 these commands are used to congure and control the calc2 operations on readings stored in the buffer. :format calculate2:format specify calc2 format parameters = none no calculations mean mean value of readings in buffer sdeviation standard deviation of readings in buffer maximum largest reading in buffer minimum lowest reading in buffer query :format? query programmed math format description this command is used to specify the format for the calc2 math calculation. the calculation operations for calc2 use data stored in the buffer. with none selected, no calc2 calculation is performed. with any of the other formats selected and calc2 enabled (see :state), the calculation is performed every time the :immediate or :immediate? command is executed. :state :calculate2:state control calc2 parameters = 0 or off disable calc2 calculation 1 or on enable calc2 calculation query :state? query state (on or off) of calc2. description this command is used to enable or disable the calc2 calculation. when enabled, the selected calc2 format will be calculated when the :immediate or :immediate? command is executed. 5-22 scpi command reference
:immediate :calculate2:immediate perform calc2 query :immediate? perform calculation and read result (equivalent to :calculate2:immediate; data?) description the :immediate command is used to perform the selected calc2 operation on the readings in the buffer (assuming calc2 is enabled; see :state). af- ter performing the calculation, the result can be read by using the :calculate2:data? query command. another way to perform the calculation and read the result is to use the query form of the command (:immediate?). when this command is sent, the cal- culation is performed and the result is queried. program this example assumes that there are readings stored in the buffer and that calc2 is enabled: print #1, ?utput 02; :calc2:form max ?select format print #1, ?utput 02; :calc2:imm? ?perform math and query result print #1, ?nter 02 ?get response from 2000 :data? :calculate2:data? read calc2 result description this query command is used to read the result of the calc2 calculation. if calc2 is disabled or none is selected, the ?aw?reading will be read. scpi command reference 5-23
:calculate3 these commands are used to congure and control the calc3 limit test. [:data] :calculate3:limit [1]:upper[:data] specify upper limit1 :calculate3:limit [1]:loweer[:data] specify lower limit parameters = -100e6 to 100e6 specify limit value default set speci?d upper limit to 1 set speci?d lower limit to -1 minimum set speci?d limit to -100e6 maximum set speci?d limit to +100e6 description this command is used to specify the upper and lower limit for limit1. the actual limit depends on which measurement function is currently selected. for example, a limit value of 1 is 1v for the volts functions (dcv or acv), 1a for the current functions (dci or aci), 1 ? on the ohms functions (2 or 4), and 1 (c, f, or k) for the temperature function (temp). a limit value is not range sensitive. a limit of 1 for dcv is 1v on all measurement ranges. :state :calculate3:limit[1]:state control limit1 test parameters = 0 or off disable limit test 1 or on enable limit test query :state? query state (on or off) of limit test description this command is used to enable or disable the limit1 test. when enabled, the test sequence for limits will be performed every time the instrument per- forms a measurement. a failed indication (see :fail?) for limit1 is cleared when the limit test is disabled. :fail? :calculate3:limit[1]:fail? read limit1 test result description this command is used to read the results of the limit1 test: 0 = limit test failed 1= limit test passed the response message (0 or 1) only tells you if a limit test has passed or failed. it does not tell you which limit (upper or lower) has failed. to deter- 5-24 scpi command reference
mine which limit has failed, you will have to read the measurement event register. reading the results of a limit test does not clear the fail indication of the test. a failure can be cleared by using a :clear command, or by disabling the test (:state off). :clear commands [:immediate] :calculate3:limit[1]:clear[:immediate] clear limit1 test failure description this action command is used to clear the fail indication of the limit1 test. note that a failure is also cleared when the limit test is disabled (:state off). :auto :calculate3:limit[1]:clear:auto control auto- clear parameters = 1 or on enable auto-clear for limit failure 0 or off disable auto-clear for limit failure query :auto? query state of auto-clear description with auto-clear enabled, the fail indication of a limit test clears when instru- ment operation enters the idle state. with auto-clear disabled, the fail indi- cation will remain until it is cleared by the :clear[immediate] command. :immediate :calculate3:immediate perform calc3 description when you change the conguration of the limit test, the next reading is eval- uated according to the new test con?uration. if the instrument is not in a continuous measurement mode (e.g., waiting for a manual trigger), the test will not be performed until the next reading conversion occurs. this action command allows you to re-process the current input data to test new limits. for example, assume the instrument is in a non-continuous mea- surement mode and requires a manual trigger to cause the next reading con- version. changing the test limits will not affect the last test result. however, sending the :immediate command reprocesses the data and evaluates the reading according to the new test limits. note that sending the :immediate command does not initiate a reading conversion. program print #1, ?utput 16;:trig:sour bus ?place 2000 in one-shot mode sleep 3 wait three seconds print #1, ?utput 16;:calc:imm ?re-perform limit test scpi command reference 5-25
display subsystem the commands in this subsystem are used to control the display of the model 2000 and are summarized in table 5-3. :enable :display:enable control display circuitry parameters = 0 or off disable display circuitry 1 or on enable display circuitry query :enable? query state of display description this command is used to enable and disable the front panel display circuitry. when disabled, the instrument operates at a higher speed. while disabled, the display is frozen. all front panel controls (except local) are disabled. normal display op- eration can be resumed by using the :enable command to enable the display or by putting the model 2000 into local mode (press local). :text commands :data :display[:window[1]]:text:data de?e message for display. parameter = ascii characters for message (maximum of 12 characters). the char- acters must be enclosed in either double quotes (?? or single quotes (??. query :data? query the dened text message. description these commands dene the text message for display. a message can be as long as 12 characters. a space counts as a character. excess message char- acters results in an error. 5-26 scpi command reference
:state :display[window[1]]:text:state control (on/off) message parameters = 0 or off disable text message 1 or on enable text message query :state? query state of message mode. description this command enables and disables the text message mode. when enabled, a de?ed message is displayed. when disabled, the message is removed from the display. a user de?ed text message remains displayed only as long as the instrument is in remote. taking the instrument out of remote (by pressing the local key or sending local 16), cancels the message and disables the text mes- sage mode. scpi command reference 5-27
:format subsystem the commands in this subsystem are used to select the data format for trans- ferring instrument readings over the bus. the border command and data command only affect readings transferred from the buffer. (i. e. sense:da- ta? or calc:data? are always sent in ascii.) these commands are sum- marized in table 5-4. :data command [:data] :format[:data] specify data format parameters = ascii ascii format sreal ieee754 single precision format dreal ieee754 double precision format query [data]? query data format description this command is used to select the data format for transferring readings over the bus. for every reading conversion, the data string sent over the bus con- tains the elements specied by the :elements command. the speci?d el- ements are sent in a particular order. the ascii data format is in a direct readable form for the operator. most basic languages easily convert ascii mantissa and exponent to other for- mats. however, some speed is compromised to accommodate the conver- sion. figure 5-1 shows the ascii format that includes all the data elements. 1.23456789e 00vdc, 0intchan reading* channel number mantissa exponent units: intchan = internal channel extchan = external channel 0 = no channel 1 to 400 = channel number units: vdc = dc volts vac = ac volts adc = dc current aac = ac current ohm = 2-wire resistance ohm4w = 4-wire resistance hz = frequency c = temperature in c f = temperature in f k = temperature in k * an overflow reading is displayed as +9.9e37 with no units 5-28 scpi command reference figure 5-1 ascii data format
sreal will select the binary ieee754 single precision data format. figure 5-2 shows the normal byte order format for each data element. for example, if three valid elements are specied, the data string for each reading conver- sion is made up of three 32-bit data blocks. note that the data string for each reading conversion is preceded by a 2-byte header that is the binary equiva- lent of an ascii # sign and 0. dreal selects the binary ieee754 double precision data format and is shown in figure 5-3 (normal byte order shown). this format is similar to the single precision format except that it is 64 bits long. byte 1 70 header # 0 byte 2 70 byte 3 70 byte 4 70 se f s = sign bit (0 = positive, 1 = negative) e = exponent bits (8) f = fraction bits (23) normal byte order shown. for swapped byte order, bytes sent in reverse order: header, byte 4, byte 3, byte 2, byte 1. the header is only sent once for each measurement conversion. byte 1 70 header byte 2 70 byte 7 70 byte 8 70 se f s = sign bit (0 = positive, 1 = negative) e = exponent bits (11) f = fraction bits (52) normal byte order shown. for swapped byte order, bytes sent in reverse order: header, byte 8, byte 7 .... byte 1. the header is only sent once for each measurement conversion. bytes 3, 4, 5, and 6 not shown. # 0 scpi command reference 5-29 figure 5-2 ieee754 single precision data format (32 data bits) figure 5-3 ieee754 double precision data format (64 data bits)
:border command :border :format:border specify binary byte order parameters = normal normal byte order for binary formats swapped reverse byte order for binary formats query :border? query byte order description this command is used to control the byte order for the ieee754 binary for- mats. for normal byte order, the data format for each element is sent as fol- lows: byte 1 byte 2 byte 3 byte 4 (single precision) byte 1 byte 2 ... byte 8 (double precision for reverse byte order, the data format for each element is sent as follows: byte 4 byte 3 byte 2 byte 1 (single precision) byte 8 byte 7 ... byte 1 (double precision) the ?0?header is not affected by this command. the header is always sent at the beginning of the data string for each measurement conversion. the ascii data format can only be sent in the normal byte order. the swapped selection is simply ignored when the ascii format is selected. 5-30 scpi command reference
:elements command :elements :format:elements parameters : reading includes reading in data string channel includes channel number units includes units note: each item in the list must be separated by a comma (,). query :elements? query elements in data string description this command is used to specify the elements to be included in the data string for each measurement conversion. you can specify from one to all three elements. each element in the list must be separated by a comma (,). these elements, shown in figure 5-1, are explained as follows: reading: instrument reading. the resolution of this reading tracks the dis- play resolution of the instrument. an over?w reading reads as +9.9e37 with no units. channel: corresponds the instrument reading to the channel number of a switching card. if not scanning, the channel number is 0. units: this element attaches the function unit to the reading, and the chan- nel unit (internal or external) to the channel number. an internal channel re- fers to an internally installed switching card channel, while an external channel refers to the channel for an external switch system. this element is not available for the binary formats. the ascii format shown in figure 5-1 shows the byte order of the data string. keep in mind that the byte order can only be reversed for the binary formats. when using this command to add an element, you must include all elements that you want in the format. for example, if the reading is already specied and you want to add the channel, you must include the reading parameter: :form:elem chan, read data elements for the item list can be listed in any order, but are always sent in the order shown in figure 5-1. scpi command reference 5-31
route subsystem the commands in this subsystem are used to congure and control switching and are summarized in table 5-5. single channel (or channel pair) control like operation from the front panel, the following commands let you close a single channel (or channel pair for 4-pole operation) on an internal scanner card. :close :route:close close speci?d channel or channel pair parameter = (@ x) specify channel (x) where x is a single channel (1 through 10) or a channel pair (1 through 5) to be closed. description this command lets you close a single channel or channel pair on the internal scanner card. only one channel (or channel pair) can be closed at a time. when this command is sent, any closed channels are rst opened. then, the speci?d channel (or channel pair) closes. when using this command, pole mode (2-pole or 4-pole) is determined by the present measurement function. with a 2-wire function selected (i.e., dcv), 2-pole switching will be performed at the scanner card. the speci?d channel (1 through 10) will close. with a 4-wire function selected (i.e., w4), 4-pole switching will be performed at the scanner card. the speci?d channel pair (1 through 5) will close. in the 4-pole mode, channels are paired as follows: channel 1 is paired to channel 6 channel 2 is paired to channel 7 channel 3 is paired to channel 8 channel 4 is paired to channel 9 channel 5 is paired to channel 10 examples: 2-pole mode 4-pole mode rout:clos (@ 2) close channel 2 close channels 2 and 7 rout:clos (@ 4) close channel 4 close channels 5 and 9 rout:clos (@ 7) close channel 7 not valid when a channel (or channel pair) is closed using this command, the channel annunciator that corresponds to that channel is displayed. note that for 4-pole operation, the annunciator for the paired channel is not displayed. for exam- ple, if channel pair 4 and 9 is closed, only the ?h4?annunciator is displayed. 5-32 scpi command reference
:close:state? :route:close:state? query closed channel or channel pair description the response message for this query command indicates the channel (or channel pair) that has been closed on the internal scanner card using the :rout:close command (or channels closed from the front panel). note that for 4-pole operation, the paired channel is not included in the re- sponse message. for example, if channel pair 4 and 9 has been closed, the (@4) response message will be returned. note for 4-pole operation, the rout:mult:close? query command includes the paired channel in the response message (see ?ultiple channel control?. the rout:close? query command will not indicate channels that have been closed using the rout:mult:close command (see ?ultiple channel control?. channels cannot be closed if a scan (internal or external) is presently en- abled. see the :lselect command in ?can commands?to disable scan operations. :open:all :route:open:all open all input channels description this command is used to open all input channels (1 through 10) on the inter- nal scanner card. the only channel this command will not open is channel 11. this channel is the 2-pole/4-pole relay and is controlled by the multiple channel commands. see ?ultiple channel control?for details on controlling channel 11. sending rout:open:all disables scan operation (sets :lselect to none; see ?can commands?. multiple channel control the following commands let you close one or more channels at the same time. they also let you manually select the 2-pole or 4-pole mode of opera- tion. :close :route:multiple:close close speci?d channels parameter = (@ chanlist) specify channels to close where chanlist is the list of channels (1 through 11) to be closed. this command lets you have multiple channels closed at the same time. when this command is sent, the channels specied in the chanlist close. scpi command reference 5-33
pole mode is not affected by the selected measurement function. instead, it is selected by controlling channel 11, which is the 2-pole/4-pole relay. closing channel 11 selects the 2-pole mode. when channel 11 is open, the 4-pole mode is selected. use the rout:multiple:open command to open channel 11. examples of a list: list = (@1,3,5) channels 1, 3, and 5. = (@1:5) channels 1 through 5. when this command is sent, the front panel channel number annunciators are disabled. use the following query command to determine which channels are closed. :close:state? :route:multiple:close:state? query closed channels description this query command is used to determine which channels on the internal scanner card are closed. after sending this command and addressing the in- strument to talk, a list of all closed channels is sent to the computer. :open :route:multiple:open open speci?d channels parameter = (@ chanlist) specify channels to open where chanlist is the list of channels (1 through 11) to be opened. description this command is used to open specied channels on the internal scanner card. when this command is sent, the channels specied in the chanlist will open. channel 11 is the 2-pole/4-pole relay. opening channel 11 selects the 4-pole operating mode. examples of a list: list = (@1,3,5) channels 1, 3, and 5. = (@1:5) channels 1 through 5. 5-34 scpi command reference
:scan commands [:internal] :route:scan[:internal] de?e internal scan list and enable scan. parameter = (@ scanlist) where scanlist is the specied list of channels (1 through 10) to be scanned. query [:internal]? query programmed scan list description this command is used to dene the scan list for the internal scanner card. the scan list can contain 2 to 10 channels. the following examples demon- strate the various forms for expressing a scan list: list = (@ 2,3,4) channels separated by commas (,). (@ 1:8) range of channels (1 through 8). range limits separated by a colon (:). note you can only scan consecutive channels. skipping channels is not allowed. for exam- ple: (@1:4) is valid. (@1,2,4) is not valid. see the instruction manual of the internal scanner card for details on scan- ning. :external :route:scan:external de?e external scan list parameter = (@ scanlist) where scanlist is the specied list of external channels (1 to 800) to be scanned. query :external? query programmed scan list description the model
2000 can operate with an external switch system, such as the kei- thley model 7001 or 7002. the model 2000 can measure up to 800 channels that are switched by the external switching system. this command is used to de?e the external scan list. the scan list can contain 2 to 800 channels. see :scan[:internal] for ex- amples to express a scan list. the external scan is enabled by the route:scan:lselect external command. scpi command reference 5-35
:lselect :route:scan:lselect perform speci?d scan operation parameters = internal enable scan for internal scanner card external enable scan for external scanner card none disable all scan operations query :lselect?: query scan operation description this command is used to select and perform the desired scan operation. when internal is selected, the model 2000 scans the channels of the internal switching card according to how the scan is congured (see :scan[:inter- nal]). external is used to measure channels that are controlled by an external switch system. when external is selected, the model 2000 scans the exter- nal scan list (see :scan:external). when none is used, the model 2000 disables all operations associated with a scan. 5-36 scpi command reference
[sense[1]] subsystem the sense 1 subsystem is used to congure and control the measurement functions of the model 2000. a function does not have to be selected before you program its various con?urations. a function can be selected any time after it has been programmed. whenever a programmed function is selected, it assumes the programmed states. :function command :function [:sense[1]]:function select measurement function. parameters = ?urrent:ac ?elect ac current ?urrent[:dc] ?elect dc current ?oltage:ac ?elect ac voltage ?oltage[:dc] ?elect dc voltage ?esistance ?elect 2-wire resistance ?resistance ?elect 4-wire resistance ?eriod ?elect period ?requency ?elect frequency ?emperature ?elect temperature ?iode ?elect diode testing ?ontinuity ?elect continuity testing query :function? query currently programmed function. description the :function command is used to select the measurement function of the instrument. note that parameter names are enclosed in single quotes (?. however, double quotes (? can instead be used. for example: :func ?olt = :func ?olt? each measurement function ?emembers?its own unique setup congura- tion, such as range, speed, resolution, lter and rel. this eliminates the need to re-program setup conditions every time you switch from one function to another. scpi command reference 5-37
:data command :data? [:sense[1]]:data? return reading. description this query command is used to read the latest instrument reading. this com- mand returns the ?aw?reading or a reading that is the result of the reference (rel from the front panel) operation. for example, if a reference value of 1.0 is established, the reading returned by this command is the ?aw?reading minus 1.0. calculated (math) readings cannot be read with this command (see the calculate subsystem for information on how to read math calcula- tions). the reading is returned in exponent form. for example, a 10v dc reading will be displayed on the crt as follows: +1.000000e+01 notice that the measurement function is not included in the response mes- sage. thus, you may want to perform a function query (see previous com- mand) after a reading query. 5-38 scpi command reference
:hold command the following commands are used to congure and control the hold feature. for details on hold, refer to ?rigger model, device action?in this section and ?old?in section 3. :window [:sense[1]]:hold:window set hold window parameter = 0.01 to 20 set window (percent) query :window? query hold window. description this command is used to set the window for hold. the window is expressed as a percent of the ?eed?reading for the hold process. :count [:sense[1]]:hold:count specify hold count. parameter = 2 to 100 specify hold count query :count? query hold count. description this command is used to specify the count for hold. count is the number of readings that are compared to the ?eed?reading during the hold process. :state [:sense[1]]:hold:state control (on/off) hold parameters = 0 or off disable hold 1 or on enable hold query :state? query state of hold. description this command is used to enable or disable hold. see ?old?in section 3 and ?rigger model, device action?in this section for details on hold. scpi command reference 5-39
speed commands :nplcycles [:sense[1]]:current:ac:nplcycles set nplc for aci [:sense[1]]:curren[:dc]:nplcycles set nplc for dci [:sense[1]]:voltage:ac:nplcycles set nplc for acv [:sense[1]]:voltage[:dc]:nplcycles set nplc for dcv [:sense[1]]:resistance:nplcycles set nplc for ? 2 [:sense[1]]:fresistance:nplcycles set nplc for ? 4 [:sense[1]]:temperature:nplcycles set nplc for temp parameters = 0.01 to 10 power line cycles per integration default 1 minimum 0.01 maximum 10 query :nplcycles? query programmed nplc value :nplcycles? default query *rst default value :nplcycles? minimum query minimum nplc value :nplcycles? maximum query maximum nplc value description the integration period (measurement speed) for the basic measuement func- tions (except frequency and period) is set using the :nplcycle command. nplc (number of power line cycles) expresses the integration period by basing it on the power line frequency. for example, for a plc of 1, the inte- gration period in seconds would be 1/60 (for 60hz line power) which is 16.67msec. :aperture [:sense[1]]:frequency:aperture set aperture for frequency [:sense[1]]:period:aperture set aperture for period parameter = 0.01s to 1.0s default 1.0s minimum 0.01s maximum 1.0s query :aperture? query programmed aperture value description the integration period (measurement speed) for frequency and period is set us- ing the aperture command (to set other basic measurement functions, see :nplcycle). the unit of measurement for the aperture command is sec- onds. 5-40 scpi command reference
:range commands [:upper] [:sense[1]]:current:ac:range[:upper] set measurement range for aci [:sense[1]]:current[:dc]:range[:upper] set measurement range for dci [:sense[1]]:voltage:ac:range[:upper] set measurement range for acv [:sense[1]]:voltage[:dc]:range[:upper] set measurement range for dcv [:sense[1]]:resistance:range[:upper] set measurement range for ? 2 [:sense[1]]:fresistance:range[:upper] set measurement range for ? 4 parameters = 0 to 3.1 expected reading is amps (aci and dci) 0 to 757.5 expected reading is ac volts (acv) 0 to 1010 expected reading in dc volts (dcv) 0 to 120e6 expected reading is ohms ( ? 2 and ? 4) default 3 (aci and dci) 757.5 (acv) 1000 (dcv) 100e6 and ? minimum 0 (all functions) maximum same as default query :range[:upper]? query aci measurement range :range[:upper]? default query *rst default range :range[:upper]? minimum query lowest measurement range :range[:upper]? maximum query highest measurement range description this command is used to manually select the measurement range for the specifed measurement function. the range is selected by specifying the ex- pected reading as an absolute value. the model 2000 will then go to the most sensitive range that will accommodate that expected reading. for example, if you expect a reading of approximately 50mv, simply let the parameter () = 0.05 (or 50e-3) in order to select the 100mv range. scpi command reference 5-41
:auto [:sense[1]]:current:ac:range:auto control auto range for aci [:sense[1]]:current[:dc]:range:auto control auto range for dci [:sense[1]]:voltage:ac:range:auto control auto range for acv [:sense[1]]:voltage[:dc]:range:auto control auto range for dcv [:sense[1]]:resistance:range:auto control auto range for ? 2 [:sense[1]]:fresistance:range:auto control auto range for ? 4 parameters = 1 or on enable auto range 0 or off disable auto range query :auto? query auto range (on or off) description these commands are used to control auto ranging. with auto ranging en- abled, the instrument automatically goes to the most sensitive range to per- form the measurement. the auto range command (:range:auto) is coupled to the command that manually selects the measurement range (:range ). when auto range is enabled, the parameter value for :range changes to the automati- cally selected range value. thus, when auto range is disabled, the instrument remains at the automatically selected range. when a valid :range command is sent, auto ranging disables. 5-42 scpi command reference
:reference commands :reference [:sense[1]]:current:ac:reference specify reference for aci [:sense[1]]:current[:dc]:reference specify reference for dci [:sense[1]]:voltage:ac:reference specify reference for acv :sense[1]]:voltage[:dc]:reference specify reference for dcv [:sense[1]]:resistance:reference specify reference for ? 2 [:sense[1]]:fresistance:reference specify reference for ? 4 [:sense[1]]:frequency:reference specify reference for freq [:sense[1]]:period:reference specify reference for per [:sense[1]]:temperature:reference specify reference for temp parameters = -3.1 to 3.1 reference for aci and dci -757.5 to 757.5 reference for acv -1010 to 1010 reference for dcv 0 to 120e6 reference for ? 2 and ? 4 0 to 1.5e7 reference for freq 0 to 1 reference for per -200 to 1372 reference for temp default 0 (all functions) minimum minimum value for specied function maximum maximum value for specied function query :reference? query programmed reference value :reference? default query *rst default reference value :reference? minimum query lowest allowable reference value :reference? maximum query largest allowable reference value description these commands are used to establish a reference value for the specied function. when reference is enabled (see :reference:state), the result will be the algebraic difference between the input signal and the reference value: reading = input signal - reference from the front panel, reference is called relative (rel). the :reference command is coupled to the :acquire command. the last command sent (:reference or :acquire) establishes the reference. when a reference is set using the :reference command, the :refer- ence? query command returns the programmed value. conversely, when a reference is set using the :acquire command, the :reference? query com- mand returns the acquired reference value. scpi command reference 5-43
:state [:sense[1]]:current:ac:reference:state control reference for aci [:sense[1]]:current[:dc]:reference:state control reference for dci [:sense[1]]:voltage:ac:reference:state control reference for acv [:sense[1]]:voltage[:dc]:reference:state control reference for dcv [:sense[1]]:resistance:reference:state control reference for ? 2 [:sense[1]]:fresistance:reference:state control reference for ? 4 [:sense[1]]:frequency:reference:state control reference for freq [:sense[1]]:period:reference:state control reference for per [:sense[1]]:temperature:reference:state control reference for temp parameters = 1 or on enable reference 0 or off disable reference query :state? query state of reference description these commands are used to enable or disable reference for the specied function. when enabled, the displayed reading will include the programmed reference value (see :reference and :acquire). when disabled, the displayed reading will not include the reference value. :acquire [:sense[1]]:current:ac:reference:acquire acquire reference for aci [:sense[1]]:current[:dc]:reference:acquire acquire reference for dci [:sense[1]]:voltage:ac:reference:acquire acquire reference for acv [:sense[1]]:voltage[:dc]:reference:acquire acquire reference for dcv [:sense[1]]:resistance:reference:acquire acquire reference for ? 2 [:sense[1]]:fresistance:reference:acquire acquire reference for ? 4 [:sense[1]]:period:reference:acquire acquire reference for per [:sense[1]]:frequency:reference:acquire acquire reference for freq [:sense[1]]:temperature:reference:acquire acquire reference for temp description when one of these commands is sent, the measured input signal is acquired and established as the reference value. this command is typically used to zero the display. for example, if the instrument is displaying a 1? offset, sending this command and enabling reference (see :state) zeroes the dis- play. this command is functional only if the instrument is on the specied mea- surement function. sending this command while in any other function caus- es an error. also, if the latest reading is over?wed (?flo? or a reading has not been triggered (?---?, an error occurs when this command is sent. the :acquire command is coupled to the :reference command. see the description for :reference for details. 5-44 scpi command reference
:digits command :digits [:sense[1]]:current:ac:digits specify resolution for aci [:sense[1]]:current:dc:digits specify resolution for dci [:sense[1]]:voltage:ac:digits specify resolution for acv [:sense[1]]:voltage:dc:digits specify resolution for dcv [:sense[1]]:resistance:digits specify resolution for ? 2 [:sense[1]]:fresistance:digits specify resolution for ? 4 [:sense[1]]:period:digits specify resolution for per [:sense[1]]:frequency:digits specify resolution for freq [:sense[1]]:temperature:digits specify resolution for temp parameters = 4 3 ? digits 54 ? digits 65 ? digits 76 ? digits default 6 ? digits for dci, dcv, ? 2, ? 4, freq, per 5 ? digits for aci, acv, temp minimum 3 ? for dci, aci, acv, dcv, ? 2, ? 4, temp maximum 6 ? digits for dci, aci, acv, dcv, ? 2, ? 4, temp query :digits? query selected resolution :digits? default query *rst default resolution :digits? minimum query minimum allowable resoltuion :digits? maximum query maximum allowable resolution description these commands are used to select display resolution for the specied mea- surement function. even though the parameters for this command are expressed as integers (4 to 7), you can specify resolution using real numbers. for example, to select 3 ? digit resolution let = 3.5, for 4 ? digit let = 4.5, and so on. internally, the instrument rounds the entered parameter value to the nearest integer. scpi command reference 5-45
:average commands the :average commands are used to congure and control the lter. the filter is explained in section 3. :state [:sense[1]]:current:ac:average:state control ?ter for aci [:sense[1]]:current[:dc]:average:state control ?ter for dci [:sense[1]]:voltage:ac:average:state control ?ter for acv [:sense[1]]:voltage[:dc]:average:state control ?ter for dcv [:sense[1]]:resistance:average:state control ?ter for ? 2 [:sense[1]]:fresistance:average:state control ?ter for ? 4 [:sense[1]]:temperature:average:state control ?ter for temp parameters = 0 or off disable the digital lter 1 or on enable the digital lter query :state? query state of digital lter description these commands are used to enable or disable the digital averaging ?ter for the speci?d function. when enabled, readings will be ltered according to how the ?ter is congured. :tcontrol :sense[1]]:current:ac:average:tcontrol select ?ter type for aci [:sense[1]]:current[:dc]:average:tcontrol select ?ter type for dci [:sense[1]]:voltage:ac:average:tcontrol select ?ter type for acv [:sense[1]]:voltage[:dc]:average:tcontrol select ?ter type for dcv [:sense[1]]:resistance:average:tcontrol select ?ter type for ? 2 [:sense[1]]:fresistance:average:tcontrol select ?ter type for ? 4 [:sense[1]]:temperature:average:tcontrol select ?ter type for temp parameters = repeat select repeating lter moving select moving ?ter query :tcontrol? query lter type description these commands are used to select the type of averaging ?ter (repeat or moving) for the specied function. these ?ter types are explained in sec- tion 3 (see ?ilter modes?. the number of readings that are averaged by the lter is set with the :aver- age:count command. the :average:state command is used to enable or disable the lter. changing the lter type disables auto lter. 5-46 scpi command reference
:count [:sense[1]]:current:ac:average:count specify ?ter count for aci [:sense[1]]:current[:dc]:average:count specify ?ter for dci [:sense[1]]:voltage:ac:average:count specify ?ter count for acv [:sense[1]]:voltage[:dc]:average:count specify ?ter count for dcv [:sense[1]]:resistance:average:count specify ?ter count for ? 2 [:sense[1]]:fresistance:average:count specify ?ter count for ? 4 [:sense[1]]:temperature:average:count specify ?ter count for temp parameters = 1 to 100 specify ?ter count default 10 minimum 1 maximum 100 query :count? query ?ter count :count? default query the *rst default ?ter count :count? minimum query the lowest allowable ?ter count :count? maximum query the larges allowable ?ter count description these commands are used to specify the lter count. in general, the lter count is the number of readings that are acquired and stored in the lter buff- er for the averaging calculation. the larger the ?ter count, the more ltering that is performed. scpi command reference 5-47
bandwidth command :bandwidth [:sense[1]]:current:ac:detector:bandwidth specify maximum bandwidth for aci [:sense[1]]:voltage:ac:detector:bandwidth specify maximum bandwidth for acv parameters = 3 to 300e3 specify bandwidth (in hz) query bandwidth? query selected bandwidth description the model 2000 uses three bandwidth settings for aci and acv measure- ments; 3 (3hz-300khz), 30 (30hz-300khz) and 300 (300hz-300khz). to achieve best accuracy, you should use the bandwidth setting that best reects the frequency of the input signal. for example, if the input signal is 40hz, then a bandwidth setting of 30 should be used. these commands are used to select bandwidth for the aci and acv func- tions. to set the bandwidth, simply specify (approximately) the frequency of the input signal. the model 2000 will automatically select the optimum bandwidth setting. note for bandwidth setting of 3 and 30, the normal a/d reading con- version method is not used. thus, the nplc setting is only valid for bandwidth setting of 300. :threshold commands use these commands to set the maximum range input (signal level) for fre- quency and period measurements. :range [:sense[1]]:period:threshold:voltage:range set voltage threshold range [:sense[1]]:frequency:threshold:voltage:range set voltage threshold range parameters = 0 to 1010 specify signal level in volts (voltage threshold) query :range? query maximum signal level description these commands are used to specify the expected input level. the instru- ment will then automatically select the most sensitive current or voltage threshold range. 5-48 scpi command reference
thermocouple commands :type [:sense[1]]:temperature:tcouple:type specify tc type parameters = j set operation for type j thermocouples k set operation for type k thermocouples t set operation for type t thermocouples query :type? query thermocouple type description this command is used to congure the model 2000 for the thermocouple type that you are using to make temperature measurements. these commands are used to congure the reference junction for thermocou- ple temperature measurements. :rselect [:sense[1]]:temperature:tcouple:rjunction[1]:rselect specify reference junction type. parameters = simulated use simulated temperature as reference real use a measured temperature as reference query :rselect? query reference junction type description this command is used to specify the type of reference junction that is going to be used for thermocouple temperature measurements. specify real if you are using an actual reference junction. the :real command is then used to specify the desired reference temperature. specify simulated if you wish to use a simulated reference temperature. the :simulated command is then used to specify the desired simulated reference temperature. scpi command reference 5-49
:simulated [:sense[1]]:temperature:tcouple:rjunction[1]:simulated parameters = 0 to 50 specify temperature in ? 32 to 122 specify temperature in ? 273 to 323 specify temperture in k default 23?, 73.4?, 296k minimum 0?, 32?, 273k maximum 50?, 122?, 323k query :simulated? query simulated reference :simulated? default query default *rst reference :simulated? minimum query lowest allowable reference :simulated? maximum query largest allowable reference description this command is used to specify the simulated reference temperature. the temperature value depends on which temperature scale is currently selected (?, ? or k). typically, 0?or 23? is used as the simulated reference tem- perature. :real:tcoef?ient [:sense[1]]:temperature:tcouple:rjunction[1]]:real:tcoef?ient parameters = -0.09999 to 0.09999 specify temperature coef?ient default +0.01 temperature coef?ient minimum -0.09999 temperature coef?ient maximum +0.09999 temperature coef?ient query :tcoef?ient? query temperature coef?ient (tc) :tcoef?ient? default query *rst default tc :tcoef?ient? minimum query lowest allowable tc :tcoef?ient? maximum query largest allowable tc description this command is used to specify the temperature coef?ient (tc) of the ?e- al?temperature reference junction. tc is specied in ?/volt and is not af- fected by the :unit:temperature command. 5-50 scpi command reference
:real:offset [:sense[1]]:temperature:tcouple:rjunction[1]:real:offset parameters = -0.09999 to 0.09999 specify voltage offset at 0? default 0.05463 minimum -0.09999 maximum 0.09999 query :offset? query voltage offset :offset? default query *rst default voltage offset :offset? minimum query lowest allowable voltage offset :offset? maximum query largest allowable voltage offset description this command is used to specify the offset voltage at 0? for the specied reference junction. :diode command :range[:upper] [:sense[1]]:diode:current:range[:upper] select current range for diode test parameters = 0 to 1e-3 specify diode test current query [upper]? query selected range description there are three current ranges available for the diode test: 10? range, 100? range and the 1ma range. range is selected by using this command to specify the expected current for the diode under test. the instrument will then automatically select the appropriate range. :continuity command :threshold [sense[1]]:continuity:threshold specify threshold resistance parameters = 1 to 1000 specify threshold in ohms query :threshold? query threshold resistance this command is used to specify the threshold resistance for the continuity test. continuity occurs when the measurement is less than or equal to the speci?d threshold level. scpi command reference 5-51
5-52 scpi command reference status subsystem the status subsystem is used to control the status registers of the model 2000. the commands in this subsystem are summarized in table 5-7. [:event]? command [:event]? :status:measurement[:event]? read measurement event register :status:operation[:event]? read operation event register :status:questionable[:event]? read questionable event register description these query commands are used to read the event registers. after sending one of these commands and addressing the model 2000 to talk, a decimal val- ue is sent to the computer. the binary equivalent of this value determines which bits in the appropriate register are set. the event registers are shown in figures 5-4, 5-5, and 5-6. note that reading an event register clears the bits in that register. for example, assume that reading the measurement event register results in an acquired decimal value of 544. the binary equivalent is 0000001000100000. for this binary value, bits b5 and b9 of the measure- ment event register are set.
scpi command reference 5-53 measurement event register: bit b0, reading over?w (rof) set bit indicates that the reading ex- ceeds the measurement range of the instrument. bit b1, low limit (ll) set bit indicates that the reading is less than the low limit 1 setting. bit b2, high limit (hl) set bit indicates that the reading is greater than the high limit 1 setting. bits b3 and b4 not used. bit b5, reading available (rav) set bit indicates that a reading was tak- en and processed. bit b6 not used. bit b7, buffer available (bav) set bit indicates that there are at least two readings in the trace buffer. bit b8, buffer half full (bhf) set bit indicates that the trace buffer is half full. bit b9, buffer full (bfl) set bit indicates that the trace buffer is full. bits b10 through b15 not used. rav b15 - b12 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 (2 ) 9 (2 ) 8 (2 ) 7 (2 ) 5 (2 ) 2 (2 ) 1 (2 ) 0 32 0/1 bit position event decimal weighting value value : 1 = measurement event set 0 = measurement event cleared ll 2 0/1 events : bfl = buffer full bhf = buffer half full bav = buffer available rav = reading available hl = high limit ll = low limit rof = reading overflow bfl hl rof 512 4 1 0/1 0/1 0/1 bhf bav 256 128 0/1 0/1 b11 figure 5-4 measurement event register
5-54 scpi command reference questionable event register: bits b0 through b3 not used. bit b4, temperature summary (temp) set bit indicates that an invalid reference junction measurement has occurred for thermocouple temperature measurements. bits b5, b6 and b7 not used. bit b8, calibration summary (cal) set bit indicates that an invalid cal- ibration constant was detected during the power-up sequence. the instru- ment will instead use a default calibration constant. this error will clear after successful calibration of the instrument. bits b9 through b13 not used. bit b14, command warning (warn) set bit indicates that a signal ori- ented measurement command parameter has been ignored. note whenever a questionable event occurs, the err annunciator will turn on. the annunciator will turn off when the questionable event clears. cal b13 - b9 b8 b15 b14 (2 ) 8 256 (2 ) 14 16384 0/1 0/1 warn b7 - b5 0 temp b4 (2 ) 4 16 0/1 b3 - b0 bit position event decimal weighting value events : warn = command warning cal = calibration summary temp = temperature summary value : 1 = questionable event bit set 0 = questionable event bit cleared figure 5-5 questionable event register
scpi command reference 5-55 operation event register: bits b0 through b3 not used. bit b4, measuring (meas) set bit indicates that the instrument is per- forming a measurement. bit b5, triggering (trig) set bit indicates that the instrument is in the de- vice action block of the trigger model. bits b6 through b9 not used. bit b10, idle set bit indicates that the instruments in the idle state. bits b11 through b15 not used. trig b14 - b12 b15 b11 b10 b9 b8 b7 b6 b5 b4 b1 b0 (2 ) 5 32 00/1 bit position event decimal weighting value value : 1 = operation event set 0 = operation event cleared events : idle = idle state of the 2000 trig = triggering meas = measuring meas (2 ) 4 16 0/1 idle (2 ) 10 1024 0/1 b3 b2 figure 5-6 operation event register
5-56 scpi command reference :enable command :enable :status:measurement:enable program measurement event enable register :status:questionable:enable program questionable event enable register :status:operation:enable program operation event enable register parameters = 0 clear register = 128 set bit b7 1 set bit b0 256 set bit b8 2 set bit b1 512 set bit b9 4 set bit b2 1024 set bit b10 16 set bit b4 16384 set bit b14 32 set bit b5 65535 set all bits 64 set bit b6 query :enable? query enable register description these commands are used to set the contents of the event enable registers (see figures 5-7, 5-8 and 5-9). an :enable command is sent with the deci- mal equivalent of the binary value that determines the desired state (0 or 1) of each bit in the appropriate register. each event enable register is used as a mask for events (see [:event] for de- scriptions of events). when a bit in an event enable register is cleared (0), the corresponding bit in the event register is masked and thus, cannot set the cor- responding summary bit of the next register set in the status structure. con- versely, when a bit in an event enable register is set (1), the corresponding bit in the event register is unmasked. when the unmasked bit in the event regis- ter sets, the summary bit of the next register set in the status structure will set. the decimal weighting of the bits for each event enable register are included in figures 5-7, 5-8 and 5-9. the sum of the decimal weights of the bits that you wish to set is sent as the parameter () for the appropriate :enable command. for example, to set the bfl and rav bits of the measurement event enable register, send the following command: :stat:meas:enab 544 where; bfl (bit b9) = decimal = 512 rav (bit b5) = decimal = 32 = 544
scpi command reference 5-57 rav b15 - b12 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 (2 ) 9 (2 ) 8 (2 ) 7 (2 ) 5 (2 ) 2 (2 ) 1 (2 ) 0 32 0/1 bit position event decimal weighting value value : 1 = enable measurement event 0 = disable (mask) measurement event ll 2 0/1 events : bfl = buffer full bhf = buffer half full bav = buffer available rav = reading available hl = high limit ll = low limit rof = reading overflow bfl hl rof 512 4 1 0/1 0/1 0/1 bhf bav 256 128 0/1 0/1 b11 bit position event decimal weighting value value : 1 = enable questionable event 0 = disable (mask) questionable event events : warn = command warning cal = calibration summary temp = temperature summary cal b13 - b9 b8 b15 b14 (2 ) 8 256 (2 ) 14 16384 0/1 0/1 warn b7 - b5 0 temp b4 (2 ) 4 16 0/1 b3 - b0 idle meas trig b15 - b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 (2 ) 10 1024 (2 ) 4 (2 ) 5 16 32 0/1 0/1 0/1 bit position event decimal weighting value value : 1 = enable operation event 0 = disable (mask) operation event events : idle = idle state of the 2000 trig = triggering meas = measuring figure 5-7 measurement event enable reg- ister figure 5-8 questionable event enable reg- ister figure 5-9 operation event enable register
5-58 scpi command reference :condition? command :condition? :status:measurement:condition? read measurement condition register :status:questionable:condition? read questionable condition register :status:operation:condition? read operation condition register description these query commands are used to read the contents of the condition regis- ters. each set of event registers (except the standard event register set) has a condition register. a condition register is similar to its corresponding event register, except that it is a real-time register that constantly updates to reect the current operating status of the instrument. see [:event] for register bit descriptions. after sending one of these commands and addressing the model 2000 to talk, a decimal value is sent to the computer. the binary equivalent of this decimal value indicates which bits in the register are set. for example, if sending :stat:meas:cond? returns a decimal value of 512 (bi- nary 0000001000000000), bit b9 of the measurement condition register is set indicating that the trace buffer is full. :preset command :preset :status:preset return registers to default conditions description when this command is sent, the scpi event registers are affected as follows: all bits of the following registers are cleared to zero (0): questionable event enable register. measurement event enable register. operation event enable register note registers not included in the above list are not affected by this command.
scpi command reference 5-59 :queue commands [:next]? :status:queue[:next]? read error queue description as error and status messages occur, they are placed into the error queue. this query command is used to read those messages. the error queue is a rst-in, ?st-out (fifo) register. every time you read the queue, the ?ldest?message is read and that message is then removed from the queue. the queue will hold up to 10 messages. if the queue be- comes full, the message ?50, ?ueue over?w?will occupy the last mem- ory location in the register. on power-up, the error queue is empty. when the error queue is empty, the message ?, ?o error?is placed in the error queue. the messages in the queue are preceded by a number. negative (-) numbers are used for scpi dened messages, and positive (+) numbers are used for keithley de?ed messages. the messages are listed in appendix b. after this command is sent and the model 2000 is addressed to talk, the ?ld- est?message in the queue is sent to the computer. note the :status:queue[:next]? query command performs the same function as the :system:error? query command (see sys- tem subsystem). :clear :status:queue:clear clear error queue description this action command is used to clear the error queue of messages.
5-60 scpi command reference :enable :status:queue:enable enable messages for error queue parameter = (numlist) where numlist is a specied list of messages that you wish to enable for the error queue. query :enable? query list of enabled messages description on power-up, all error messages are enabled and will go into the error queue as they occur. status messages are not enabled and will not go into the queue. this command is used to specify which messages you want enabled. mes- sages not specied will be disabled and prevented from entering the queue. when this command is sent, all messages will rst be disabled, then the mes- sages specied in the list will be enabled. thus, the returned list (:enable?) will contain all the enabled messages. messages are specied by numbers (see appendix b). the following exam- ples show various forms for expressing a message numlist: numlist =-110 single message. -110, -140, -222 messages separated by commas. -110:-222 range of messages (- 110 through - 222). -110:-222, -230 range entry and single entry separated by a comma. note to disable all messages from entering the error queue, send the following command: :stat:que:enab () :disable :status:queue:disable disable messages for error queue parameter = (numlist) where numlist is a specied list of messages that you wish to disable for the error queue. query :disable? query list of disabled messages description on power-up, all error messages are enabled and will go into the error queue as they occur. status messages are not enabled and will not go into the queue. this command is used to specify which messages you want disabled. dis- abled messages are prevented from going into the error queue. messages are specied by numbers (see appendix b). see :queue:enable for examples to express a numlist.
scpi command reference 5-61 :system subsystem the system subsystem contains miscellaneous commands that are summa- rized in table 5-8. :beeper command [:state] :beeper[:state] enable or disable beeper parameters = 1 or on enable beeper 0 or off disable beeper query [:state]? query state of beeper description this command is used to enable or disable the beeper for limit tests. :preset command :preset :system:preset return to :system:preset defaults description this command returns the instrument to states optimized for front panel op- eration. :system:preset defaults are listed in the scpi tables (tables 5-2 through 5-11). :kclick command :kclick :system:kclick enable or disable keyclick parameters = 1 or on enable keyclick (default) 0 or off disable keyclick query kclick? query status of keyclick description this command is used to enable or disable the keyclick. the keyclick can also be enabled or disabled from the front panel by pressing shift then local.
5-62 scpi command reference :posetup command :posetup :system:posetup program power-on defaults parameters = rst select *rst defaults on power up preset select :system:preset defaults on power up sav0 select saved defaults on power up query :posetup? query power-on setup description this command is used to select the power-on defaults. with rst selected, the instrument powers up to the *rst default conditions. with pres select- ed, the instrument powers up to the :system:preset default conditions. de- fault conditions are listed in the scpi tables (tables 5-2 through 5-11). with the sav0 parameter selected, the instrument powers-on to the setup that is saved in the specied location using the *sav command. :frswitch? command :frswitch? :system:frswitch? read inputs switch description this query command is used to read the position of the front/rear in- puts switch. switch position code is dened as follows: 1 = front panel inputs selected 0 = rear panel inputs selected
scpi command reference 5-63 :version? command :version? :system:version? read scpi version description this query command is used to read the version of the scpi standard being used by the model 2000. example code: 1991.0 the above response message indicates the version of the scpi standard. :error? command :error? :system:error? read error queue description as error and status messages occur, they are placed into the error queue. this query command is used to read those messages. the error queue is a ?st-in, ?st-out (fifo) register that can hold up to 10 messages. every time you read the queue, the ?ldest?message is read and that message is then re- moved from the queue. if the queue becomes full, the message ?50, queue over?w?occupies the last memory location in the register on power-up, the queue is empty. when the error queue is empty, the message ?, no error?is placed in the error queue. the messages in the queue are preceded by a number. negative (-) numbers are used for scpi dened messages, and positive (+) numbers are used for keithley de?ed messages. appendix b lists the messages. note the :system:error? query command performs the same func- tion as the :status:queue? query command (see status sub- system).
5-64 scpi command reference :azero commands :state :system:azero:state control autozero parameters = 1 or on enable autozero 0 or off disable autozero query :state? query state of autozero description this command is used to disable or enable autozero. when enabled, accuracy is optimized. when disabled, speed is increased at the expense of accuracy. important note: before you can enable or disable auto-zero, the model 2000 must ?st be in the idle state. the model 2000 can be placed in the idle state by ?st disabling continuous initiation (:initiate:continuous off), and then sending the :abort command. after sending the :state command, readings can be re-started by sending :initiate:continuous on or :ini- tiate. program print #1, ?utput 16; :init:cont off; :abor ?lace 2000 in idle print #1, ?utput 16; :syst:azer:stat off; stat? ?disable autozero print #1, ?nter 16 ?get response from 2000 line input #2, a$ ?read response print a$ ?display response print #1, ?utput 16; :init:cont on ?ake 2000 out of idle note when ?ished, be sure to re-enable autozero. :clear command :clear :system:clear clear error queue description this action command is used to clear the error queue of messages.
scpi command reference 5-65 :key command :system:key simulate key-press parameters = 1 shift key = 17 local key 2 dcv key 18 ex trig key 3 acv key 19 trig key 4 dci key 20 store key 5 aci 21 recall key 6 ? 2 key 22 filter key 7 ? 4 key 23 rel key 8 freq key 24 left arrow key 9 25 10 26 open key 11 up arrow key 27 close key 12 auto key 28 step key 13 down arrow key 29 scan key 14 enter key 30 digits key 15 right arrow key 31 rate key 16 temp key 32 exit key query :key? query last ?ressed?key. description this command is used to simulate front panel key presses. for example, to select dcv you can send the following command to simulate pressing the dcv key: :syst:key 2 the parameter listing provides the key-press code in numeric order. figure 5-10 also illustrates the key-press codes. the queue for the :key? query command can only hold one key-press. when :key? is sent over the bus, and the model 2000 is addressed to talk, the key-press code number for the last key pressed (either physically or with :key) is sent to the computer. scpi command reference 5-65
5-66 scpi command reference 2000 multimeter range ! f 500v peak front/rear 2a 250v amps hi input lo sense ? 4 wire inputs 350v peak 1100v peak auto shift local power range r shift ch1 rem talk lstn srq stat rel filt 4w buffer math rear scan timer step ch2 ch3 ch4 ch5 ch6 ch7 ch8 ch9 ch10 hold trig fast med slow auto err exit enter digits rate rel filter trig ex trig store recall open close dcv dci mx+b % dbm acv aci ? 2 ? 4 freq temp db cont period tcoupl limits on/off delay hold save setup config halt test rs232 gpib cal step scan 1 234567816 11 17 18 26 27 19 20 28 29 21 22 30 31 23 24 32 14 15 13 12 figure 5-10 key-press codes
scpi command reference 5-67 rs-232 interface commands :local :system:local take 2000 out of remote description normally, the model 2000 is in local during rs-232 communications. in this state, front panel keys are operational. however, the user may wish to lock out front keys during rs-232 communications (see :rwlock). this action command isu sed to take the model 2000 out of the remote state and enables the operation of front panel keys. note that this command can only be sent over the rs-232 interface. :remote :system:remote place the model 2000 in remote description this action command is used to place the model 2000 in the remote state. in remote, the front panel keys will be locked out if local lockout is asserted (see :rwlock). note that this command can only be sent over the rs-232 inter- face. :rwlock :system:rwlock disable front panel keys description this action command is used to disable front panel controls (local lockout) during rs-232 operation. taking the instrument out of remote (see :local) restores front panel keys operation. note that this command can only be sent over the rs-232 inter- face. line frequency query :lfrequency? :system:lfrequency? query line frequency description this query returns the frequency of the power line from which the unit is op- erating. the power line frequency is automatically sensed upon power-up.
5-68 scpi command reference :trace subsystem the commands in this subsystem are used to congure and control data stor- age into the buffer. the commands are summarized in table 5-9. :trace|:data the bar (|) indicates that :trace or :data can be used as the root command for this subsystem. from this point on, the documentation in this manual uses :trace. if you prefer to use :data, simply replace all the :trace command words with :data. :clear command :clear :trace:clear clear buffer description this action command is used to clear the buffer of readings. if you do not clear the buffer, a subsequent store will overwrite the old readings. if the sub- sequent store is aborted before the buffer becomes full, you could end up with some ?ld?readings still in the buffer. :free? command :free? :trace:free? read status of memory description this command is used to read the status of storage memory. after sending this command and addressing the model 2000 to talk, two values separated by commas are sent to the computer. the ?st value indicates how many bytes of memory are available, and the second value indicates how many bytes are reserved to store readings. :points command :points :trace:points specify buffer size parameter = 2 to 1024 query :points? query the buffer size description this command is used to specify the size of the buffer.
scpi command reference 5-69 :feed command :feed :trace:feed specify readings source parameters = sense[1] put raw readings in buffer calculate[1] put calculated readings in buffer none put no readings in buffer query :feed? query buffer feed description this command is used to select the source of readings to be placed in the buffer. with sense[1] selected, raw readings are placed in the buffer when storage is performed. with calculate[1] selected, calculated math readings (mx+b or percent or none) are placed in the buffer. with none selected, no readings are placed in the buffer when storage is performed over the bus. :control :trace:feed:control specify buffer control parameters = never disables buffer storage next fills buffer and stops query :control? query buffer control description this command is used to select the buffer control. with never selected, storage into the buffer is disabled. with either of the other selections, storage is performed as long as buffer feed is not set for none (see :trace:feed none). when next is selected, the storage process starts, lls the buffer and then stops. the buffer size is specied by the :points command. :data? command :data? :trace:data? send buffer readings description when this command is sent and the model 2000 is addressed to talk, all the readings stored in the buffer are sent to the computer. the format that read- ings are sent over the bus is controlled by the :format subsystem.
5-70 scpi command reference trigger subsystem the trigger subsystem is made up of a series of commands and subsystems to con?ure the trigger model. these commands and subsystems are sum- marized in table 5-10. :initiate commands [:immediate] :initiate[:immediate] take 2000 out of idle state description this command takes the model 2000 out of the idle state. after all pro- grammed operations are completed, the instrument returns to the idle state if continuous initiation is disabled; (see next command). :continuous :initiate:continuous control continuous initiation parameters = 0 or off disable continuous initiation 1 or on enable continuous initiation query :continuous? query continuous initiation description when continuous initiation is selected (on), the instrument is taken out of the idle state. at the conclusion of all programmed operations, the instru- ment returns to the top of the trigger model. note: with continuous initiation enabled (on), you cannot use the :read? command or set sample count greater than one (see :sample:count). :abort command :abort abort operation description when this action command is sent, the model 2000 aborts operation and re- turns to the top of the trigger model. if continuous initiation is disabled, the instrument goes to the idle state. if continuous initiation is enabled, opera- tion continues at the top of the trigger model. the abort command resets the scan pointer back to the rst channel in the scan list.
scpi command reference 5-71 :trigger commands :count :trigger[:sequence[1]]:count set measure count parameters = 1 to 9999 specify count inf sets count to innite default sets count to 1 minimum sets count to 1 maximum sets count to 9999 query :count? queries programmed count :count? default queries *rst default count :count? minimum queries lowest allowable count :count? maximum queries largest allowable count description this command is used to specify how many times operation loops around in the trigger operation. for example, if the count is set to 10, operation con- tinues to loop around until 10 device actions are performed. after the 10th action, operation proceeds back up to the start of the trigger model. note that each loop places operation at the control source where it waits for the pro- grammed event.
5-72 scpi command reference :delay :trigger[:sequence[1]]:delay set trigger model delay parameters = 0 to 999999.999 specify delay in seconds default 0 second delay minimum 0 second delay maximum 999999.999 second delay query :delay? query the programmed delay :delay? default query the *rst default delay :delay? minimum query the lowest allowable delay :delay? maximum query the largest allowable delay description the delay is used to delay operation of the trigger model. after the pro- grammed event occurs, the instrument waits until the delay period expires before performing the device action in the trigger model. the delay time can also be set by using the auto parameter. if auto is set to 1 or on, the delay period is enabled and will occur. if auto is set to 0 or off, the delay period is not enabled and no delay will occur. :source :trigger[:sequence[1]]:source specify measure event control source parameters = immediate pass operation through immediately external select external triggering as event timer select timer as event manual select manual event bus select bus trigger as event query :source? query programmed control source. description these commands are used to select the event control source. with immedi- ate selected (do not confuse :source immediate with :initiate:immedi- ate), operation immediately starts. a speci? event can be used to control operation. with external selected, operation continues when an external trigger is received. with timer selected, the event occurs at the beginning of the timer interval, and every time it times out. for example, if the timer is programmed for a 30 second interval, the ?st pass through the control source occurs immedi- ately. subsequent scan events will then occur every 30 seconds. the interval for the timer is set using the :timer command. with manual selected, the event occurs when the trig key is pressed. with bus selected, the event occurs when a get or *trg command is sent over the bus.
scpi command reference 5-73 :timer :trigger:[sequence[1]]:timer set interval for measure layer timer parameters = 0.001 to 999999.999 specify timer interval in seconds query :timer? query programmed timer interval description these commands are used to set the interval for the timer. note that the timer is in effect only if the timer is the selected control source. :signal :trigger[:sequence[1]]:signal bypass measure control source description this action command is used to bypass the specied control source when you do not wish to wait for the programmed event. keep in mind that the instru- ment must be waiting for the appropriate event when the command is sent. otherwise, an error occurs and this command is ignored. :sample command :sample:count set sample count parameter = 1 to 1024 query :count? query the sample count description this command species the sample count. the sample count denes how many times operation loops around in the trigger model to perform a device action. note if sample count is >1, you cannot use the :read? command if there are readings stored in the buffer.
5-74 scpi command reference :unit subsystem the unit subsystem is used to congure and control the measurement units for temp, acv, and dcv, and is summarized in table 5-11. :temperature command :temperature :unit:temperature specify temp units parameters = c or cel ? temperature units f or far ? temperature units k k temperature units query temperature? query temperature units description this command is used to specify the units for temperature measurements. :voltage commands :ac :unit:voltage:ac specify acv units parameters = v ac voltage measurement units db db ac voltage measurement units dbm dbm ac voltage measurement units query :ac? query ac voltage units description this command is used to select the units for acv measurements. with volt (v) units selected, normal ac voltage measurements are made for the acv function. with db units selected, ac db voltage measurements are per- formed. the dbm units selection is used to make decibel measurements ref- erenced to 1mw. db and dbm measurements are explained further in section 2.
scpi command reference 5-75 :db:reference :unit:voltage:ac:db:reference specify dbm reference parameter = le-7 to 1000 specify reference in volts query :reference? description this command is used to specify the db reference level. when db units is selected (:voltage:ac: db), acv db measurements are made using the speci?d db reference level. the reference level is specied in volts and is not range dependent. for ex- ample, a db reference level of 1 is 1v on all acv measurement ranges. :dbm:impedance :unit:voltage:ac:dbm:impedance specify db reference parameter = 1 to 9999 specify reference impedance query :impedance? description this command is used to specify the dbm reference impedance level. when dbm units is selected acv dbm measurements are made using the specied dbm reference impedance. the reference impedance is specied in ohms and is not range dependent. for example, a dbm reference level of 600 is 600 on all acv measurement ranges. a rational number is rounded to the nearest valid integer value. [:dc] :unit:voltage:dc specify dcv units parameters = v dc voltage measurement units db db dc voltage measurement units dbm dbm dc voltage measurement units query [:dc]? query dc voltage units description this command is used to select the units for dcv measurements. with volt (v) units selected, normal dc voltage measurements are made for the dcv function. with db units selected, dc db voltage measurements are per- formed. the dbm units selection is used to make decibel measurements ref- erenced to 1mw. db and dbm measurements are explained further in section 2.
5-76 scpi command reference :db:reference :unit:voltage[:dc]:db:reference specify dbm reference parameter = 1e-7 to 1000 specify reference in volts query :reference? description this command is used to specify the db reference level. when db units is selected (:voltage[:dc]:db), dcv db measurements are made using the speci?d db reference level. the reference level is specied in volts and is not range dependent. for ex- ample, a db reference level of 1 is 1v on all dcv measurement ranges. :dbm:impedance :unit:voltage[:dc]:dbm:impedance specify db reference parameters = 1 to 9999 specify reference impedance query :impedance? description this command is used to specify the dbm reference impedance level. when dbm units is selected, dcv dbm measurements are made using the specied dbm reference impedance. the reference impedance is specied in ohms and is not range dependent. for example, a dbm reference level of 600 is 600 on all dcv measurement ranges. a rational number is rounded to the nearest valid integer value.
a speci?ations

 
 
 
    


  
   
  
    
  jmm 8/8/01 rev. e spec-2000 2000 6?-digit multimeter specifications dc characteristics conditions: med (1 plc) 1 or slow (10 plc) accuracy: (ppm of reading + ppm of range) or med (1 plc) with filter of 10 (ppm = parts per million) (e.g., 10ppm = 0.001%) function range resolution test current or burden voltage (5%) input resistance 24 hour 14 23c 1 90 day 23c 5 1 year 23c 5 temperature coefficient 0-18c & 28-50c voltage 100.0000 mv 0.1 v >10 g ? 30 + 30 40 + 35 50 + 35 2 + 6 1.000000 v 1.0 v >10 g ? 15 + 6 25 + 7 30 + 7 2 + 1 10.00000 v 10 v >10 g ? 15 + 4 20 + 5 30 + 5 2 + 1 100.0000 v 100 v 10 m ? 1% 15 + 6 30 + 6 45 + 6 5 + 1 1000.000 v 9 1mv 10 ? 1% 20 + 6 35 + 6 45 + 6 5 + 1 resistance 15 100.0000 ? 100 ? 1 ma 30 + 30 80 + 40 100 + 40 8 + 6 1.000000 k ? 1m ? 1ma 20 + 6 80 + 10 100 + 10 8 + 1 10.00000 k ? 10 m ? 100 a 20 + 6 80 + 10 100 + 10 8 + 1 100.0000 k ? 100 m ? 10 a 20 + 6 80 + 10 100 + 10 8 + 1 1.000000 m ? 16 1 ? 10 a 20 + 6 80 + 10 100 + 10 8 + 1 10.00000 m ? 11, 16 10 ? 700 na // 10m ? 150 + 6 200 + 10 400 + 10 70 + 1 100.0000 m ? 11, 16 100 ? 700 na // 10m ? 800 + 30 1500 + 30 1500 + 30 385 + 1 current 10.00000 ma 10 na < 0.15 v 60 + 30 300 + 80 500 + 80 50 + 5 100.0000 ma 100 na < 0.03 v 100 + 300 300 + 800 500 + 800 50 + 50 1.000000 a 1 a < 0.3 v 200 + 30 500 + 80 800 + 80 50 + 5 3.00000 a 10 a < 1 v 1000 + 15 1200 + 40 1200 + 40 50 + 5 continuity 2w 1 k ? 100 m ? 1 ma 40 + 100 100 + 100 120 + 100 8 + 1 diode test 3.00000 v 10 v 1 ma 20 + 6 30 + 7 40 + 7 8 + 1 10.00000 v 10 v 100 a 20 + 6 30 + 7 40 + 7 8 + 1 10.00000 v 10 v 10 a 20 + 6 30 + 7 40 + 7 8 + 1

 
 
 
    


  
   
  
    
  jmm 8/8/01 rev. e spec-2000 2000 6?-digit multimeter specifications dc operating characteristics 2 function digits readings/s plcs 8 6? 3, 4 510 6? 3, 7 30 1 6? 3, 5 50 1 5? 3, 5 270 0.1 5? 5 500 0.1 5? 5 1000 0.04 dcv (all ranges), dci (all ranges), and ohms (<10m range) 4? 5 2000 0.01 dc system speeds 2, 6 range change 3 : 50/s. function change 3 : 45/s. autorange time 3, 10 : <30 ms. ascii readings to rs-232 (19.2k baud): 55/s. max. internal trigger rate: 2000/s. max. external trigger rate: 500/s. dc general linearity of 10vdc range: (2ppm of reading + 1ppm of range). dcv, ? ? ? ? , temperature, continuity, diode test input protection: 1000v, all ranges. maximum 4w ? ? ? ? lead resistance: 10% of range per lead for 100 ? and 1k ? ranges; 1k ? per lead for all other ranges. dc current input protection: 3a, 250v fuse. shunt resistor: 0.1 ? for 3a, 1a and 100ma ranges. 10 ? for 10ma range. continuity threshold: adjustable 1 ? to 1000 ? . autozero off error: add (2ppm of range error + 5v) for <10 minutes and 1c change. overrange: 120% of range except on 1000v, 3a and diode. speed and noise rejection rate readings/s digits rms noise 10v range nmrr 12 cmrr 13 10 pcl 5 6? < 1.5 v 60 db 140 db 1pcl 50 6? < 4 v 60 db 140 db 0.1 pcl 500 5? < 22 v ? 80 db 0.01 pcl 2000 4? < 150 v ? 80 db dc notes 1 add the following to ?ppm of range? uncertainty:1v and 100v, 2ppm; 100mv, 15ppm; 100 ? , 15ppm; <1m ? , 2ppm; 10ma and 1a, 10ppm; 100ma, 40ppm. 2 speeds are for 60 hz operation using factory default operating conditions (*rst). autorange off, display off, trigger delay = 0. 3 speeds include measurement and binary data transfer out the gpib. 4 auto zero off. 5 sample count = 1024, auto zero off. 6 auto zero off, nplc = 0.01. 7 ohms = 24 readings/second. 8 1 plc = 16.67ms @ 60hz, 20ms @ 50hz/400hz. the frequency is automatically determined at power up. 9 for signal levels >500v, add 0.02ppm/v uncertainty for the portion exceeding 500v. 10 add 120ms for ohms. 11 must have 10% matching of lead resistance in input hi and lo. 12 for line frequency 0.1%. 13 for 1k ? unbalance in lo lead. 14 relative to calibration accuracy. 15 specifications are for 4-wire ohms. for 2-wire ohms, add 1 ? additional uncertainty. 16 for rear inputs, add the following to temperature coefficient ?ppm of reading? uncertainty: 10m ? 70ppm, 100m ? 385ppm. operating environment specified for 0 to 50c and 50% rh at 35c.

 
 
 
    


  
   
  
    
  jmm 8/8/01 rev. e spec-2000 2000 6?-digit multimeter specifications true rms ac voltage and current characteristics accuracy 1 : (% of reading + % of range), 23c 5 c voltage range resolution calibration cycle 3 hz-10 hz 10 hz-20 khz 20 khz-50 khz 50 khz-100 khz 100 khz-300 khz 100.0000 mv 0.1 v 1.000000 v 1.0 v 90 days 0.35 + 0.03 0.05 + 0.03 0.11 + 0.05 0.60 + 0.08 4 + 0.5 10.00000 v 10 v 100.0000 v 100 v 1 year 0.35 + 0.03 0.06 + 0.03 0.12 + 0.05 0.60 + 0.08 4 + 0.5 750.000 v 1 mv 0.035 + 0.003 0.005 + 0.003 0.006 + 0.005 0.01 + 0.006 0.03 + 0.01 temperature coefficient/c 8 current range resolution calibration cycle 3 hz-10 hz 10 hz-5 khz 1.000000 a 1 a 90 day/1 year 0.30 + 0.04 0.10 + 0.04 3.00000 9 a10a 90 day/1 year 0.35 + 0.06 0.15 + 0.06 temperature coefficient/c 8 0.035 + 0.006 0.015 + 0.006 high crest factor additional error (% of reading) 7 crest factor: 1?2 2?3 3?4 4?5 additional error: 0.05 0.15 0.30 0.40 ac operating characteristics 2 function digits readings/s rate bandwidth 6? 3 2s/reading slow 3 hz-300khz 6? 3 1.4 med 30 hz-300khz 6? 4 4.8 med 30 hz-300khz 6? 3 2.2 fast 300 hz-300khz acv (all ranges), and aci (all ranges) 6? 4 35 fast 300 hz-300khz additional low frequency errors (% of reading) slow med fast 20hz - 30hz 0 0.3 ? 30hz - 50hz 0 0 ? 50hz - 100hz 0 0 1.0 100hz - 200hz 0 0 0.18 200hz - 300hz 0 0 0.10 > 300hz 0 0 0 ac system speeds 2, 5 function/range change 6 : 4/s. autorange time: <3 s. ascii readings to rs-232 (19.2k baud) 4 : 50/s. max. internal trigger rate 4 : 300/s. max. external trigger rate 4 : 300/s. ac general input impedance: 1m ? 2% paralleled by <100pf. acv input protection: 1000vp. maximum dcv: 400v on any acv range. aci input protection: 3a, 250v fuse. burden voltage: 1a range: <0.3v rms. 3a range: <1v rms. shunt resistor: 0.1 ? on all aci ranges. ac cmrr: >70db with 1k ? in lo lead. maximum crest factor: 5 at full scale. volt hertz product: <8 10 7 vhz. overrange: 120% of range except on 750v and 3a ranges. ac notes 1 specifications are for slow rate and sinewave inputs >5% of range. 2 speeds are for 60 hz operation using factory default operating conditions (*rst). auto zero off, auto range off, display off, includes measurement and binary data transfer out the gpib. 3 0.01% of step settling error. trigger delay = 400ms. 4 trigger delay = 0. 5 detector:bandwidth 300, nplc = 0.01. 6 maximum useful limit with trigger delay = 175ms. 7 applies to non-sinewaves >5hz. 8 applies to 0?18c and 28?50c. 9 for signal levels > 2.2a, add additional 0.4% to ?of reading? uncertainty.

 
 
 
    


  
   
  
    
  jmm 8/8/01 rev. e spec-2000 2000 6?-digit multimeter specifications frequency and period characteristics 1, 2 acv range frequency range period range gate time resolution (ppm of reading) accuracy 90 day/1 year (%of reading) 100 mv to 750 v 3 hz to 500 khz 333 ms to 2 s 1 s (slow) 0.3 0.01 frequency notes 1 specifications are for squarewave inputs >10% of acv range, except 100mv range. on 100mv range frequency must be >10hz if volta ge is <20mv. 2 20% overrange on all ranges except 750v range. temperature characteristics thermocouple 2,3,4 90 day/1 year (23c 5c) accuracy 1 type range resolution relative to reference junction using 2001-tcscan 5 j -200 to + 760c 0.001c 0.5c 0.65c k -200 to + 1372c 0.001c 0.5c 0.70c t -200 to + 400c 0.001c 0.5c 0.68c temperature notes 1 for temperatures 900c add 0.3c. 2 temperature can be displayed in c, k or f. 3 accuracy based on its-90. 4 exclusive of thermocouple error. 5 specifications apply to channels 2-6. add 0.06c/channel from channel 6. internal scanner speed 4 maximum internal scanner rates range: channels/s 1 trigger delay = 0 dcv 2 acv 2, 3 2-wire ohms 2 4-wire ohms 2 temperature 4 all :110 all : 100 all : 105 <10m ? : 33 all : 60 trigger delay = auto dcv 2 acv 2, 3 2-wire ohms 2 4-wire ohms 2 temperature 4 0.1v : 105 all : 1.8 100 ? :85 100 ? :29 all : 60 1v : 105 1k ? :85 1k ? :29 10v : 105 10k ? : 42 10k ? :22 100v : 70 100k ? :28 100k ? :18 1000v : 70 1m ? :8 1m ? :7 10m ? :5 10m ? :5 100m ? : 3 100m ? :3 internal scanner speed notes 1 speeds are for 60hz operation using factory default operating conditions (*rst). auto zero off, auto range off, display off, sample count = 1024. 2 nplc = 0.01. 3 detector:bandwidth 300. 4 10-channel card specification. see individual card specifications for options other than 10-channel card.

 
 
 
    


  
   
  
    
  jmm 8/8/01 rev. e spec-2000 2000 6?-digit multimeter specifications triggering and memory reading hold sensitivity: 0.01%, 0.1%, 1%, or 10% of reading. trigger delay: 0 to 99 hrs (1ms step size). external trigger latency: 200s + <300s jitter with autozero off, trigger delay = 0. memory: 1024 readings. math functions rel, min/max/average/stddev (of stored reading), db, dbm, limit test, %, and mx + b with user defined units displayed. dbm reference resistances: 1 to 9999 ? in 1 ? increments. standard programming languages scpi (standard commands for programmable instruments) keithley 196/199 fluke 8840a. 8842a remote interface gpib (ieee-488.1, ieee-488.2) and rs-232c. general power supply: 100v / 120v / 220v / 240v 10%. line frequency: 45hz to 66hz and 360hz to 440hz, automatically sensed at power-up. power consumption: 22 va. operating environment: specified for 0c to 50c. specified to 80% r.h. at 35c. storage environment: -40c to 70c. warranty: 3 years. emc: complies with european union directive 89/336/eec, en61326-1. safety: conforms to european union directive 73/23/eec en61010-1, cat ii. vibration: mil-prf-28800f class 3 random. warmup: 1 hour to rated accuracy. dimensions: rack mounting: 89mm high 213mm wide 370mm deep (3? in. 8 ? in. 14 9 / 16 in.). bench configuration (with handle and feet): 104mm high 238mm wide 370mm deep (4 ? in. 9 ? in. 14 9 / 16 in.). net weight: 2.9kg (6.3 lbs). shipping weight: 5kg (11 lbs). volt hertz product: <8 10 7 vhz. specifications are subject to change without notice.
accuracy calculations the information below discusses how to calculate accuracy for both dc and ac characteris- tics. calculating dc characteristics accuracy dc characteristics accuracy is calculated as follows: accuracy = ?ppm of reading + ppm of range) (ppm = parts per million, and 10ppm = 0.001%) as an example of how to calculate the actual reading limits, assume that you are measuring 5v on the 10v range. you can compute the reading limit range from one-year dcv accuracy speci?ations as follows: accuracy = ?30ppm of reading + 5ppm of range) ?(30ppm 5v) + (5ppm 10v)] ?150? + 50?) ?00? thus, the actual reading range is: 5v?200?, or from 4.9998v to 5.0002v dc current and resistance calculations are performed in exactly the same manner using the pertinent specications, ranges, and input signal values. calculating ac characteristics accuracy ac characteristics accuracy is calculated similarly, except that ac speci?ations are given as follows: accuracy = ?% of reading + % of range) as an example of how to calculate the actual reading limits, assume that you are measuring 120v, 60hz on the 750v range. you can compute the reading limit range from acv one-year accuracy speci?ations as follows: accuracy = ?0.06% of reading + 0.03% of range) ?(0.0006 120v) + (0.0003 750v)] ?0.072v + 0.225v) ?.297v in this case, the actual reading range is: 120v ?0.297v, or from 119.703v to 120.297v ac current calculations are performed in exactly the same manner using the pertinent speci- ?ations, ranges, and input signal values. specifications a-7
calculating dbm characteristics accuracy as an example of how to calculate the actual reading limits for a 13dbm measurement with a reference impedance of 50 ? , assume an applied signal 0.998815v. the relationship between voltage and dbm is as follows: from the previous example on calculating dc characteristics accuracy, it can be shown that 0.998815v has an uncertainty of 36.96445 v, or 0.998778v to 0.998852v, using one-year speci?ations of the 1vdc range. expressing 0.998778v as dbm: and expressing 0.998852v as dbm: thus, the actual reading range is 13dbm 0.00032dbm. dbm and db for other voltage inputs can be calculated in exactly the same manner using per- tinent specifcations, ranges, and reference impedances. dbm = 10 log v 2 in / r ref 1mw --------------------------- - dbm = 10 log 0.998778v () 2 / 50 ? 1mw ------------------------------------------------ - 13.00032dbm = dbm = 10 log 0.998852v () 2 / 50 ? 1mw ------------------------------------------------ - 13.00032dbm = a-8 specifications
calculating db characteristics accuracy the relationship between voltage and db is as follows: as an example of how to calculate the actual readings limits for db, with a user-de?ed v ref of 10v, you must calculate the voltage accuracy and apply it to above equation. to calculate a -60db measurement, assume 10mvrms for a v ref of 10v. using the 100mv range, one-year, 10hz - 20khz frequency band, and slow rate, the voltage limits are as fol- lows: accuracy = ?(0.06% of reading) + (0.03% of range)] ?(0.006 10mv) + (0.0003 100mv)] ?6? + 30?] ?6? thus, the actual reading accuracy is 10mv 36 v or 10.036mv to 9.964mv. applying the voltage reading accuracy into the db equation yields: thus, the actual reading accuracy is -60db + 0.031213db to -60db - 0.031326db. dbm and db for other voltage inputs can be calculated in exactly the same manner using per- tinent specications, ranges, and other reference voltages. additional derating factors in some cases, additional derating factors must be applied to calculate certain accuracy val- ues. for example, an additional derating factor must be added for dc voltages over 500v. before calculating accuracy, study the associated specication notes carefully to see if any derating fac- tors apply. db = 20 log v in v ref -------------- - dbm = 20 log 10.036mv 10v ------------------------- -59.96879db = dbm = 20 log 9.964mv 10v ---------------------- -60.03133db = specifications a-9
optimizing measurement accuracy the con?urations listed below assume that the multimeter has had factory setups restored. dc voltage, dc current, and resistance: select 6 ? digits, 10 plc, lter on (up to 100 readings), xed range. use rel on dc voltage and 2-wire resistance measurements. use 4-wire resistance measurements for best accuracy. ac voltage and ac current: select 6 ? digits, 10 plc, lter on (up to 100 readings), xed range. temperature: select 6 ? digits, 10 plc, lter on (up to 100 readings). a-10 specifications
optimizing measurement speed the con?urations listed below assume that the multimeter has had factory setups restored. dc voltage, dc current, and resistance: select 3 ? digits, 0.01 plc, lter off, ?ed range. ac voltage and ac current: select 3 ? digits, 0.01 plc, lter off, ?ed range. temperature: select 3 ? digits, 0.01 plc, lter off. for all functions, turn off the display and autozero and set the trigger delay to zero. use the :sample:count and read? bus commands. specifications a-11
a-12 specifications
b status and error messages
table b-1 status and error messages number description event -440 -430 -420 -410 -363 -350 -330 -314 -315 -285 -284 -282 -281 -260 -241 -230 -225 -224 -223 -222 -221 -220 -215 -214 -213 -212 -211 -210 -202 -201 -200 -178 -171 -170 -168 -161 -160 -158 -154 -151 -150 query unterminated after indenite response query deadlocked query unterminated query interrupted input buffer overrun queue over?w self-test failed save/recall memory lost con?uration memory lost program syntax error program currently running illegal program name cannot create program expression error hardware missing data corrupt or stale out of memory illegal parameter value too much data parameter data out of range settings conict parameter error arm deadlock trigger deadlock init ignored arm ignored trigger ignored trigger error settings lost due to rtl invalid while in local execution error expression data not allowed invalid expression expression error block data not allowed invalid block data block data error string data not allowed string too long invalid string data string data error ee ee ee ee sys sys ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee b-2 status and error messages
-148 -144 -141 -140 -128 -124 -123 -121 -120 -114 -113 -112 -111 -110 -109 -108 -105 -104 -103 -102 -101 -100 character data not allowed character data too long invalid character data character data error numeric data not allowed too many digits exponent too large invalid character in number numeric data error header suf? out of range unde?ed header program mnemonic too long header separator error command header error missing parameter parameter not allowed get not allowed data type error invalid separator syntax error invalid character command error ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee +000 no error se +101 +121 +122 +123 +124 +125 +126 +161 +171 +174 +301 +302 +303 +304 +305 +306 +307 operation complete device calibrating device settling device ranging device sweeping device measuring device calculating program running waiting in trigger layer re-entering the idle layer reading over?w low limit 1 event high limit 1 event low limit 2 event high limit 2 event reading available voltmeter complete se se se se se se se se se se se se se se se se se table b-1 status and error messages number description event status and error messages b-3
+308 +309 +310 +311 buffer available buffer half full buffer full buffer over?w se se se se +400 +401 +402 +403 +404 +405 +406 +407 +408 +409 +410 +411 +412 +413 +414 +415 +416 +417 +418 +419 +420 +421 +422 +423 +424 +425 +438 +439 +450 +451 +452 +453 +454 +455 +456 +457 +458 calibration messages: 10 vdc zero error 100 vdc zero error 10 vdc full scale error -10 vdc full scale error 100 vdc full scale error -100 vdc full scale error 1k 2-w zero error 10k 2-w zero error 100k 2-w zero error 10m 2-w zero error 10m 2-w full scale error 10m 2-w open error 1k 4-w zero error 10k 4-w zero error 100k 4-w zero error 10m 4-w sense lo zero error 1k 4-w full scale error 10k 4-w full scale error 100k 4-w full scale error 1m 4-w full scale error 10m 4-w full scale error 10m adc zero error 100m adc zero error 10m adc full scale error 100m adc full scale error 1 adc full scale error date of calibration not set next date of calibration not set 100m vac dac error 1 vac dac error 10 vac dac error 100 vac dac error 100m vac zero error 100m vac full scale error 1 vac zero error 1 vac full scale error 1 vac noise error ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee table b-1 status and error messages number description event b-4 status and error messages
+459 +460 +461 +462 +463 +464 +465 +466 +467 +468 +469 +470 +471 +472 +473 10 vac zero error 10 vac full scale error 10 vac noise error 100 vac zero error 100 vac full scale error 750 vac zero error 750 vac full scale error 750 vac noise error post ?ter offset error 1 aac zero error 1 aac full scale error 3 aac zero error 3 aac full scale error input time constant error frequency gain error ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee +500 +510 +511 +512 +513 +514 +515 +522 +610 +611 +800 +802 +803 +805 +806 +807 +808 +900 calibration data invalid reading buffer data lost gpib address lost power-on state lost ac calibration data lost dc calibration data lost calibration dates lost gpib communication language lost questionable calibration questionable temperature rs-232 framing error detected rs-232 overrun detected rs-232 break detected invalid system communication rs-232 settings lost rs-232 oflo: characters lost ascii only with rs-232 internal system error ee ee ee ee ee ee ee ee se se ee ee ee ee ee ee ee ee +950 +951 +952 +953 +954 +955 ddc status model: ddc trigger overrun error ddc interval overrun error ddc big string error ddc uncalibrated error ddc no scanner error ddc maximum channel is 4 ee ee ee ee ee ee table b-1 status and error messages number description event status and error messages b-5
note: scpi-con?med messages are described in volume 2: command reference of the standard commands for programmable instruments. refer to the :system:error? command. +956 +957 +958 +959 +960 +961 ddc maximum channel is 8 ddc calibration locked ddc con?ct error ddc no remote error ddc mode iddc error ddc mode iddco error ee ee ee ee ee ee +962 +963 +964 +965 +966 keithley 199 serial poll byte events: ddc ready ddc reading done ddc buffer half full ddc buffer full ddc reading over?w se se se se se +970 +971 +972 fluke 8842 serial poll byte events: fluke error data available overrange se se se ee = error event se - status event sys = system error event table b-1 status and error messages number description event b-6 status and error messages
c example programs
program examples all examples presume quickbasic version 4.5 or higher and a cec ieee-488 interface card with cec driver version 2.11 or higher, with the model 2000 at address 16 on the ieee- 488 bus. changing function and range the model 2000 has independent controls for each of its measurement functions. this means, for example, that autorange can be turned on for dc voltage while leaving it off for ac voltage. another difference is in the parameter to the range command. in other instruments, a single number was used to denote each range. the parameter of the scpi range command is given as "the maximum value to measure." the instrument interprets this parameter and goes to the ap- propriate range. when you query the range with range? the instrument sends back the full-scale value of its present range. the following example program illustrates changing function and range. it sets the range for several functions, then takes readings on each of those functions. note that the model 2000 rounds the range parameter to an integer before choosing the ap- propriate range. sending voltage:dc:range 20.45 will set the model 2000 to the 100v range. c-2 example programs
'example program to demonstrate changing function and range, 'taking readings on various functions 'for quickbasic 4.5 and cec pc488 interface card 'edit the following line to where the quickbasic 'libraries are on your computer '$include: 'c:\qb45\ieeeqb.bi' 'initialize the cec interface as address 21 call initialize(21, 0) 'reset the sense1 subsystem settings, along with the trigger 'model, each read? will cause one trigger call send(16, "*rst", status%) 'set range for each function to measure call send(16, "volt:dc:rang .1", status%) call send(16, "volt:ac:rang 20", status%) call send(16, "res:rang 80", status%) 'switch to dc volts and take reading call send(16, "func 'volt:dc';:read?", status%) reading$ = space$(80) call enter(reading$, length%, 16, status%) print reading$ 'switch to ac volts and take reading call send(16, "func 'volt:ac';:read?", status%) reading$ = space$(80) call enter(reading$, length%, 16, status%) print reading$ 'switch to 2-wire ohms and take reading call send(16, "func 'res';:read?", status%) reading$ = space$(80) call enter(reading$, length%, 16, status%) print reading$ example programs c-3
one-shot triggering other dmms generally have two types of triggering: one-shot and continuous. in one-shot, each activation of the selected trigger source causes one reading. in continuous, the dmm is idle until the trigger source is activated, at which time it begins taking readings at a specied rate. typical trigger sources are: ieee-488 talk ieee-488 group execute trigger (get) ??command external trigger (rear panel bnc) arming the instrument to respond to triggers is implicit in the non-scpi dmms. simply sending a command to a non-scpi dmm to change any of the trigger controls causes the instru- ment to arm itself for triggers. the scpi trigger model implemented in the model 2000 gives you: explicit control over the trigger source (the trigger subsystem). a way for completely disabling triggers. changing any of the settings in the trigger subsystem does not automatically arm the model 2000 for triggers. the following program sets up the model 2000 to take one reading each time it receives an external trigger pulse. 'example program to demonstrate one-shot external triggering 'for quickbasic 4.5 and cec pc488 interface card 'edit the following line to where the quickbasic 'libraries are on your computer '$include: 'c:\qb45\ieeeqb.bi' 'initialize the cec interface as address 21 call initialize(21, 0) 'reset controls and put trigger model in idle state call send(16, "*rst", status%) call send(16, "trig:sour ext;coun inf", status%) 'start everything call send(16, "init", status%) after the model 2000 receives the initiate command, it stops at the control source in the trigger model, waiting for a trigger pulse. each time a pulse arrives at the trigger link connec- tor, the model 2000 takes one reading. because trigger:count has been set to infinity , the instrument never enters the idle state. you can send the abort command to put the instrument in the idle state, disabling triggers until another initiate command is sent. c-4 example programs
generating srq on buffer full when your program must wait until the model 2000 has completed an operation, it is more ef?ient to program the 2000 to assert the ieee-488 srq line when it is nished, rather than repeatedly serial polling the instrument. an ieee-488 controller will typically address the in- strument to talk, then unaddress it, each time it performs a serial poll. repeated polling of the model 2000 will generally reduce its overall reading throughput. therefore, use the srq%() function call. the model 2000 provides a status bit for nearly every operation it performs. it can be pro- grammed to assert the ieee-488 srq line whenever a status bit becomes true or false. the ieee-488 controller (your computer) can examine the state of the the srq line without per- forming a serial poll, thereby detecting when the 2000 has completed its task without interrupt- ing it in the process. the following example program segment sets up the model 2000 to assert srq when the reading buffer has completely lled, then arms the reading buffer, initiates readings, and waits for the model 2000 to indicate that the buffer is full. this is not a complete program. not shown are the commands to congure the trigger model and the reading buffer (see the next example). the example shown here can be modied for any event in the model 2000 status reporting system. 'reset status subsystem (not affected by *rst) call send(16, "stat:pres;*cls", status%) call send(16, "stat:meas:enab 512", status%)'enable bfl call send(16, "*sre 1"' status%)'enable msb call send(16, "trac:feed:cont next", status%) ' start everything call send(16, "init", status%) waitsrq: if (not(srq%)) then goto waitsrq call spoll(16, poll%, status%) if (poll% and 64)=0 then goto waitsrq notice that after the program has detected an asserted srq line, it serial polls the model 2000 to determine if it is the device requesting service. this is necessary for two reasons: serial polling the model 2000 causes it to quit asserting the srq line. in test systems that have more than one ieee-488 instrument programmed to assert srq, your program must determine which instrument is actually requesting service. once an event register has caused a service request, it cannot cause another service request until you clear it by reading it (in this case using status:measurement[:event]? ) or by sending the *cls command. example programs c-5
storing readings in buffer the reading buffer in the model 2000 is exible and capable. it has three controls, which are found in the trace susbsystem. there are commands to control: the size of the buffer (in readings). trace:points where the data is coming from (before or after the calculate1 math post-processing). trace:feed sense1 store unprocessed readings trace:feed calcualte1 store math processed readings select buffer control mode. trace:feed:control never immediately stop storing readings trace:feed:control next start now, stop when buffer is full the following example program sets up the model 2000 to take 20 readings as fast as it can into the buffer, then reads the data back after the buffer has ?led. c-6 example programs
'example program to demonstrate the reading buffer 'for quickbasic 4.5 and cec pc488 interface card 'edit the following line to where the quickbasic 'libraries are on your computer '$include: 'c:\qb45\ieeeqb.bi' 'initialize the cec interface as address 21 call initialize(21, 0) 'reset controls and put trigger model in idle state call send(16, "*rst", status%) 'reset status subsystem (not affected by *rst) call send(16, "stat:pres;*cls", status%) call send(16, "stat:meas:enab 512", status%)'enable bfl call send(16, "*sre 1", status%)'enable msb call send(16, "trig:coun 20", status%) 'trace subsystem is not affected by *rst call send(16, "trac:poin 20", status%) call send(16, "trac:feed sens1;feed:cont next", status%) 'start everything call send(16, "init", status%) 'initialize reading$ while the 2000 is busy taking readings reading$ = space$(4000) waitsrq: if (not(srq%)) then goto waitsrq call spoll(16, poll%, status%) if (poll% and 64)=0 then goto waitsrq call send(16, "stat:meas?", status%) call enter(s$, length%, 16, status%) call send(16, "form:elem read,unit" status%) call send(16, "trac:data?", status%) call enter(reading$, length%, 16, status%) print reading$ note to repeat buffer storage, send the following command and then repeat the steps fol- lowing the ?tart everything comment in the above example. call send(16, "feed:cont next", status%) example programs c-7
taking readings with the scanner card the model 2000-scan is an optional 10-channel scanner card for the model 2000 multim- eter. only one channel can be closed at a time. if you close a channel while another is already closed, the rst one opens with break-before-make operation. you can use the scanner card two ways. one is to issue a command to close a particular chan- nel before sending other commands to take readings. the other way is to program the scan list, and let the meter take care of closing a channel before taking a reading. the following example program measures dc volts on channel 1, ac volts on channel 2, and 2-wire resistance on channel 3, using the route:close command. c-8 example programs
'example program to demonstrate taking readings on different 'scanner channels 'for quickbasic 4.5 and cec pc488 interface card 'edit the following line to where the quickbasic 'libraries are on your computer '$include: 'c:\qb45\ieeeqb.bi' 'initialize the cec interface as address 21 call initialize(21, 0) 'reset controls in init, arm;lay1, arm:lay2, and trig subsystems 'and put trigger model in idle state, set function to dcv call send(16, "*rst", status%) 'close channel 1, take dc voltage reading call send(16, "rout:clos (@1);:read?", status%) reading$ = space$(80) call enter(reading$, length%, 16, status%) print reading$ 'close channel 2, take ac voltage reading call send(16, "func 'volts:ac'", status%) call send(16, "rout:clos (@2);:read?", status%) reading$ = space$(80) call enter(reading$, length%, 16, status%) print reading$ 'close channel 3, take ohms reading call send(16, "func 'res'", status%) call send(16, "rout:clos (@3);:read?", status%) reading$ = space$(80) call enter(reading$, length%, 16, status%) print reading$ example programs c-9
the following example program sets up the model 2000 using a scan list to measure dc volt- age on channels 1, 2 and 3. the meter takes ten sets of readings, with each set spaced 15 seconds apart, and each of the three readings in each group taken as fast as possible. the model 2000 stores the readings in the buffer, and asserts srq when the buffer is full. the program waits for the srq, then reads the readings from the buffer. 'example program to demonstrate using the scan list 'for quickbasic 4.5 and cec pc488 interface card 'edit the following line to where the quickbasic 'libraries are on your computer '$include: 'c:\qb45\ieeeqb.bi' 'initialize the cec interface as address 21 call initialize(21, 0) 'reset controls and put trigger model in idle state, set function to dcv call send(16, "*rst", status%) 'reset status subsystem (not affected by *rst) call send(16, "stat:pres;*cls", status%) call send(16, "stat:meas:enab 512", status%)'enable bfl call send(16, "*sre 1", status%)'enable msb c-10 example programs
'*rst sets trig:sour to imm call send(16, "samp:coun 3", status%) call send(16, "trig:sour tim;tim 15", status%) call send(16, "trig:coun 10", status%) 'trace subsystem is not affected by *rst call send(16, "trac:poin 30", status%) call send(16, "trac:feed sens1;feed:cont next", status%) ' now the buffer is armed call send(16, "rout:scan (@1:3)", status%) call send(16, "rout:scan:lsel int", status%) 'start everything call send(16, "init", status%) 'initialize reading$ while the 2000 is busy taking readings reading$ = space$(2500) waitsrq: if (not(srq%)) then goto waitsrq call spoll(16, poll%, status%) if (poll% and 64)=0 then goto waitsrq call send(16, "stat:meas", status%) call enter(s$, length%, 16, status%) call send(16, "form:elem read,unit" status%) call send(16, "trac:data?", status%) call enter(reading$, length%, 16, status%) print reading$ note to repeat buffer storage, send the following command and then repeat the steps fol- lowing the ?tart everything comment in the above example. call send(16, "feed:cont next", status%) example programs c-11
taking readings using the :read? command this programming example demonstrates a simple method to take and display (on the com- puter crt) a specied number of readings. the number of readings are specied by the :sam- ple:count command. when :read? is asserted, the specied number of readings are taken. after all the readings are taken, they are sent to the computer. note that these readings are also stored in the buffer. the following program takes 10 readings on the dcv function and displays then on the com- puter crt. ?for quickbasic 4.5 and cec pc488 interface card ?edit the following line to where the quickbasic libraries are ?on your computer ?$include: ?:\qb45\ieeeqb.bi ?initialize the cec interface as address 21 call initialize(21, 0) ?reset controls, clear buffer and place 2000 in idle call send(16, ?rst? status%) call send(16, ?rac:cle? status%) call send(16, ?ample:coun 10? status%) call send(16, ?orm:elem read,unit? status%) call send(16, ?ead?? status%) reading$ = space$ (300) call enter(reading$, length%, 16, status%) print reading$ controlling the model 2000 via the rs-232 com2 port this example program illustrates the use of the keithley model 2000 dmm interfaced to the rs-232 com2 port. the model 2000 is setup to take 100 readings at the fastest possible rate (2000 per second). the readings are taken, sent across the serial port, and displayed on the screen. ?example program controlling the model 2000 via the rs-232 com2 port ?for quickbasic 4.5 and cec pc488 interface card rd$=space$(1500) ?set string space cls ?clear screen print ?et com2 baud rate to 9600 print ?et no flow control, and cr as terminator ?configure serial port parameters comopen$=?om2:9600,8,1,asc,cd0,cs0,ds0,lf,op0,rs,tb8192,rb8192 open comopen$ for random as #1 ?model 2000 setup commands ?note serial communications only operate with scpi mode.... print #1, ?rst ?clear registers c-12 example programs
print #1, ?cls ?clear model 2000 print #1, ?init:cont off;:abort ?init off print #1, ?sens:func ?olt:dc ?dcv print #1, ?syst:azer:stat off ?auto zero off print #1, ?sens:volt:dc:aver:stat off ?filter off print #1, ?sens:volt:dc:nplc 0.01 ?nplc = 0.01 print #1, ?sens:volt:dc:rang 10 ?10v range print #1, ?sens:volt:dc:dig 4 ?4 digit print #1, ?form:elem read ?reading only print #1, ?trig:coun 1 ?trig count 1 print #1, ?samp:coun 100 ?sample count 100 print #1, ?trig:del 0 ?no trigger delay print #1, ?trig:sour imm ?immediate trigger print #1, ?disp:enab off ?no display sleep 1 wait one second print #1, ?read? ?read query line input #1, rd$ ?get data print rd$ ?display data print #1, ?disp:enab on ?turn on display ?clean up and quit. finish: close #1 ?close file clear ?interface clear end example programs c-13
c-14 example programs
d models 196/199 and 8840a/8842a commands
the model 2000 can be congured to accept device-dependent commands of the keithley models 196/199. the commands to control the model 2000 with the 196/199 language are pro- vided in table d-1. since the architecture of the model 2000 differs from that of the 196/199, some commands are different or cannot be used. commands such as function (offset-compensated ohms, ac cur- rent db), range, analog and digital lter, rate, calibration, factory defaults, and self-test do not map one-for-one. also note that the model 2000 does not have the speed characteristics of the models 196/199. other commands of the model 2000 have been added to the 196/199 command set, such as frequency, temperature, and scanning. refer to the appropriate manual for further details. caution the 196/199 language is intended to be used only over the ieee-488 bus. using front panel controls in conjunction with this language may cause erratic operation. in this case, results cannot be guaranteed. table d-1 models 196/199 device-dependent command summary mode command description execute x execute other device-dependent commands. function f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 dc volts ac volts 2-wire ohms dc current ac current acv db not valid frequency temperature 4-wire ohms range r0 r1 r2 r3 r4 r5 r6 r7 dcv acv dca aca ohms* acv db freq auto auto auto auto auto auto 1v 1v 100ma 1a 1k ? 1v .1v 10v 10v 3a 3a 10k ? 10v 1v 100v 100v 3a 3a 100k ? 100v 10v 1000v 750v 3a 3a 1m ? 750v 100v 1000v 750v 3a 3a 10m ? 750v 750v 1000v 750v 3a 3a 100m ? 750v 1000v 750v 3a 3a 100m ? 750v *2-wire and 4-wire ohms zero (rel) z0 z1 z2 zero disabled zero enabled zero enabled using a zero value (v) filter p0 p1 p2 filter disabled moving ?ter (count = 10) repeat ?ter (count = 10) d-2 models 196/199 and 8840a/8842a commands
rate s0 s1 s2 0.1 plc integration line cycle integration (16.67msec, 60hz; 20msec, 50hz) 10 plc (166.67msec integration, 60hz; 200msec integration, 50hz) trigger mode t0 t1 t2 t3 t4 t5 t6 t7 continuous on talk one-shot on talk continuous on get one-shot on get continuous on x one-shot on x continuous on external trigger one-shot on external trigger reading mode b0 b1 b2 readings from a/d converter individual readings from data store all readings from data store (buffer dump) data store size i0 in disable data store data store of n (n=1 to 500), ?l and stop interval q0 qn default interval, 175msec (select off) n=interval in milliseconds (15msec to 999999msec) value v?n.nnnn or v?.nnnnnne+n zero value, simulated reference junction temperature default conditions l0 l1 restore factory default conditions and save (l1) save present machine states as default conditions data format g0 g1 g2 g3 g4 g5 g6 g7 reading with pre?. reading without pre?. reading and buffer location with pre?. reading and buffer location without pre?. reading and channel with pre?. reading and channel without pre?. reading, buffer location, and channel with pre?. reading, buffer location, and channel without pre?. srq m0 m1 m2 m4 m8 m16 m32 disable reading over?w data store full data store half full reading done ready error eoi and bus hold-off k0 k1 k2 k3 enable eoi and bus hold-off on x disable eoi, enable bus hold-off on x enable eoi, disable bus hold-off on x disable both eoi and bus hold-off on x table d-1 (cont.) models 196/199 device-dependent command summary mode command description models 196/199 and 8840a/8842a commands d-3
terminator y0 y1 y2 y3 cr lf lf cr cr lf status u0 u1 u2 u3 u4 u5 u6 send machine status word (199 format only) send error conditions (only supports no scanner, iddc, iddco) send translator word list (since translator is not sup- ported, replies with one space character) send buffer size send current value of ??(199 format, equivalent to u7 for 196) send input switch status (front /rear) (199 format, equivalent to u8 for 196) send simulated temperature (set by h0) multiplex a0 a1 auto/cal multiplex disabled auto/cal multiplex enabled delay wn n=delay period in milliseconds, (0msec to 999999msec) display da d display up to 12-character message (a=character) cancel display mode scanning n0 n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 open all - stop scanning or stepping if applicable close channel 1 close channel 2 close channel 3 close channel 4 close channel 5 close channel 6 close channel 7 close channel 8 close channel 9 close channel 10 step mode, max channel is 2 step mode, max channel is 3 step mode, max channel is 4 step mode, max channel is 5 step mode, max channel is 6 step mode, max channel is 7 step mode, max channel is 8 step mode, max channel is 9 step mode, max channel is 10 open all - stop scanning or stepping if applicable table d-1 (cont.) models 196/199 device-dependent command summary mode command description d-4 models 196/199 and 8840a/8842a commands
scanning (cont.) n21 n22 n23 n24 n25 n26 n27 n28 n29 scan mode, max channel is 2 scan mode, max channel is 3 scan mode, max channel is 4 scan mode, max channel is 5 scan mode, max channel is 6 scan mode, max channel is 7 scan mode, max channel is 8 scan mode, max channel is 9 scan mode, max channel is 10 thermocouple j0 j1 j2 type j thermocouple type k thermocouple type t thermocouple o0 o1 simulated reference junction (for temperature function) real reference junction (for temperature function) h0 set simulated reference junction temperature using ?? command; 0 to 50 (?). table d-1 (cont.) models 196/199 device-dependent command summary mode command description models 196/199 and 8840a/8842a commands d-5
the model 2000 can be congured to accept device-dependent commands of the fluke mod- els 8840a/8842a. the commands to control the model 2000 with the 8840a/8842a language are provided in table d-2. since the architecture of the model 2000 differs from that of the 8840a/8842a, some com- mands are different or cannot be used. commands such as range, calibration, factory defaults, and self-test do not map one-for-one. also note that the model 2000 does not have the speed characteristics of the models 8840a/8842a. other commands of the model 2000 have been added to the 8840a/8842a command set, such as frequency, temperature, and scanner channels. refer to the appropriate manual for further details. ca ution the 8840a/8842a language is intended to be used only over the ieee-488 bus. using front panel controls in conjunction with this language may cause erratic operation. in this case, results cannot be guaranteed. table d-2 models 8840a/8842a device-dependent command summary mode command description function f1 f2 f3 f4 f5 f6 f7 f8 vdc (default) vac 2-wire k ? 4-wire k ? ma dc ma ac freq temp range r0 r1 r2 r3 r4 r5 r6 r7 r8 vdc vac k ? * ma dc ma ac freq auto on auto on auto on auto on auto on 1v 1v 1k ? 10ma 3a 1v 10v 10v 10k ? 10ma 3a 10v 100v 100v 100k ? 100ma 3a 100v 1000v 750v 1m ? 1a 1a 750v 1000v 750v 10m ? 3a 3a 750v 1000v 750v 100m ? 3a 3a 750v auto off auto off auto off auto off auto off 100mv 750v 100 ? 3a 3a 750v *2-wire and 4-wire ohms reading rate s0 s1 s2 slow, 10 plc medium, 1 plc, 6 ? -digit resolution (default) fast, 0.1 plc, 5 ? -digit resolution d-6 models 196/199 and 8840a/8842a commands
trigger mode t0 (default) t1 t2 t3 t4 trigger rear panel auto mode trigger delay internal disabled external enabled on external disabled on external enabled off external disabled off note: delay is enabled by entering ext trig mode while in local. offset (rel) b0 b1 offset off (default) offset on display d0 d1 normal display (default) blank display suf? y0 y1 disable output suf? (default) enable output suf? terminator w0 w1 w2 w3 w4 w5 w6 w7 enable cr lf eoi (default) enable cr lf only enable cr eoi only enable cr only enable lf eoi only enable lf only enable eoi only disable all output terminators clear * x0 device clear (resets 8842a to default conditions) clear error register single-trigger ? trigger measurement get g0 g1 g2 g3 g4 g5 g6 g7 g8 get instrument con?uration (function, range, speed, trigger) get srq mask get calibration input prompt (generates error message 51) get user-de?ed message (replies with 16 space charac- ters) get calibration status (replies with ?000? get iab status (input f/r, autorange on/off, offset on/ off) get yw status (suf? enabled/disabled, terminator selection) get error status get instrument id (replies with ?luke,8842a,0,emul? table d-2 (cont.) models 8840a/8842a device-dependent command summary mode command description models 196/199 and 8840a/8842a commands d-7
get (cont.) g9 g10 g11 get status of jkm commands (temp. units; tc type and junction) string = 1jkm get closed channel number string = 10nn where: nn = 00 (all open) 01 through 10 (closed channel) get simulated reference junction temperature string = xx.xxx (in ?) note: g2 valid only in calibration mode. put p0 p1 p4 put instrument con?uration (function, range, speed, trigger) put srq mask set simulated junction temperature; 0 to 50 (?) default temperature = 23? put format n p0 n p1 n p4 thermocouple type k0 k1 k2 type j thermocouple (default) type k thermocouple type t thermocouple temperature unit j0 j1 j2 ? (default) k ? thermocouple refer- ence junction m0 m1 select simulated junction (default) select real junction (channel 1 for 2001-tcscan card) scanner channel ln control speci?d channel of internal scan card where: n = 0 (open all channels) 1 through 10 (close speci?d channel) note: for 4-wire ohms, only channels 1 through 5 are valid due to automatic channel pairing. srq mask values 00 01 16 32 srq disabled (default) srq on overrange srq on data available srq on any error note: add srq mask values for combinations. example: 33 for srq on overrange or any error. table d-2 (cont.) models 8840a/8842a device-dependent command summary mode command description d-8 models 196/199 and 8840a/8842a commands
e ieee-488 bus overview
introduction basically, the ieee-488 bus is simply a communication system between two or more elec- tronic devices. a device can be either an instrument or a computer. when a computer is used on the bus, it serves to supervise the communication exchange between all the devices and is known as the controller. supervision by the controller consists of determining which device will talk and which device will listen. as a talker, a device will output information and as a listener, a de- vice will receive information. to simplify the task of keeping track of the devices, a unique ad- dress number is assigned to each one. on the bus, only one device can talk at a time and is addressed to talk by the controller. the device that is talking is known as the active talker. the devices that need to listen to the talker are addressed to listen by the controller. each listener is then referred to as an active listener. devices that do not need to listen are instructed to unlisten. the reason for the unlisten instruc- tion is to optimize the speed of bus information transfer since the task of listening takes up bus time. e-2 ieee-488 bus overview
through the use of control lines, a handshake sequence takes place in the transfer process of information from a talker to a listener. this handshake sequence helps ensure the credibility of the information transfer. the basic handshake sequence between an active controller (talker) and a listener is as follows: 1. the listener indicates that it is ready to listen. 2. the talker places the byte of data on the bus and indicates that the data is available to the listener. 3. the listener, aware that the data is available, accepts the data and then indicates that the data has been accepted. 4. the talker, aware that the data has been accepted, stops sending data and indicates that data is not being sent. 5. the listener, aware that there is no data on the bus, indicates that it is ready for the next byte of data. ieee-488 bus overview e-3
bus description the ieee-488 bus, which is also frequently referred to a the gpib (general purpose interface bus), was designed as a parallel transfer medium to optimize data transfer without using an ex- cessive number of bus lines. in keeping with this goal, the bus has only eight data lines that are used for both data and with most commands. five bus management lines and three handshake lines round out the complement of bus signal lines a typical set up for controlled operation is shown in figure e-1. generally, a system will con- tain one controller and a number of other instruments to which the commands are given. device operation is categorized into three operators: controller, talker and listener. the controller does what its name implies; it controls the instruments on the bus. the talker sends data while a lis- tener receives data. depending on the type of instrument, any particular device can be a talker only, a listener only or both a talker and listener. there are two categories of controllers: system controller, and basic controller. both are able to control other instruments, but only the system controller has the absolute authority in the sys- tem. in a system with more than one controller, only one controller may be active at any given time. certain protocol is used to pass control from one controller to another. the ieee-488 bus is limited to 15 devices, including the controller. thus, any number of talk- ers and listeners up to that limit may be present on the bus at one time. although several devices may be commanded to listen simultaneously, the bus can have only one active talker, or commu- nications would be scrambled. a device is placed in the talk or listen state by sending an appropriate talk or listen command. these talk and listen commands are derived from an instruments primary address. the primary address may have any value between 0 and 31, and is generally set by rear panel dip switches or programmed in from the front panel of the instrument. the actual listen address value sent out over the bus is obtained by oring the primary address with $20. for example, if the primary address is $16, the actual listen address is $36 ($36 = $16 + $20). in a similar manner, the talk address is obtained by oring the primary address with $40. with the present example, the talk address derived from a primary address of 16 decimal would be $56 ($56 = $16 + $40). the ieee-488 standards also include another addressing mode called secondary addressing. secondary addresses lie in the range of $60-$7f. note, however, that many devices, including the model 2000, do not use secondary addressing. once a device is addressed to talk or listen, the appropriate bus transactions take place. for example: if the instrument is addressed to talk, it places its data string on the bus one byte at a time. the controller reads the information and the appropriate software can be used to direct the information to the desired location. e-4 ieee-488 bus overview
device 1 able to talk, listen and control (computer) device 3 only able to listen (printer) device 4 only able to talk dav nrfd ndac ifc atn srq ren eoi d io1 ... 8 data (8 lines) handshake bus management data bus data byte transfer control general interface management device 2 able to talk and listen 7001 to other devices ieee-488 bus overview e-5 figure e-1 ieee-488 bus configuration
bus lines the signal lines on the ieee-488 bus are grouped into three different categories: data lines, management lines and handshake lines. the data lines handle bus data and commands, while the management and handshake lines ensure that proper data transfer and operation takes place. each bus line is active low, with approximately zero volts representing a logic 1 (true). the fol- lowing paragraphs describe the operation of these lines. data lines the ieee-488 bus uses eight data lines that transfer data one byte at a time. dio1 (data in- put/output) through dio8 (data input/output) are the eight data lines used to transmit both data and multiline commands and are bidirectional. the data lines operate with low true logic. bus management lines the ?e bus management lines help to ensure proper interface control and management. these lines are used to send the uniline commands. atn (attention) ?the atn line is one of the more important management lines in that the state of this line determines how information on the data bus is to be interpreted. ifc (interface clear) ?as the name implies, the ifc line controls clearing of instruments from the bus. ren (remote enable) ?he ren line is used to place the instrument on the bus in the re- mote mode. eoi (end or identify) ?the eoi is usually used to mark the end of a multi-byte data transfer sequence. srq (service request) ?this line is used by devices when they require service from the controller. e-6 ieee-488 bus overview
handshake lines the bus handshake lines operate in an interlocked sequence. this method ensures reliable data transmission regardless of the transfer rate. generally, data transfer will occur at a rate de- termined by the slowest active device on the bus. one of the three handshake lines is controlled by the source (the talker sending information), while the remaining two lines are controlled by accepting devices (the listener or listeners re- ceiving the information). the three handshake lines are: dav (data valid) ?the source controls the state of the dav line to indicate to any lis- tening devices whether or not data bus information is valid. nrfd (not ready for data) ?the acceptor controls the state of nrfd. it is used to signal to the transmitting device to hold off the byte transfer sequence until the accepting device is ready. ndac (not data accepted) ?ndac is also controlled by the accepting device. the state of ndac tells the source whether or not the device has accepted the data byte. the complete handshake sequence for one data byte is shown in figure e-2. once data is placed on the data lines, the source checks to see that nrfd is high, indicating that all active devices are ready. at the same time, ndac should be low from the previous byte transfer. if these conditions are not met, the source must wait until ndac and nrfd have the correct sta- tus. if the source is a controller, nrfd and ndac must be stable for at least 100nsec after atn is set true. because of the possibility of a bus hang up, many controllers have time-out routines that display messages in case the transfer sequence stops for any reason. once all ndac and nrfd are properly set, the source sets dav low, indicating to accepting devices that the byte on the data lines is now valid. nrfd will then go low, and ndac will go high once all devices have accepted the data. each device will release ndac at its own rate, but ndac will not be released to go high until all devices have accepted the data byte. the sequence just described is used to transfer both data, talk and listen addresses, as well as multiline commands. the state of the atn line determines whether the data bus contains data, addresses or commands as described in the following paragraph. data dav source source valid nrfd ndac acceptor acceptor all ready all accepted figure e-2 ieee-488 hand- shake sequence ieee-488 bus overview e-7
bus commands the instrument may be given a number of special bus commands through the ieee-488 in- terface. this section briey describes the purpose of the bus commands which are grouped into the following three categories. 1. uniline commands ?sent by setting the associated bus lines true. for example, to as- sert ren (remote enable), the ren line would be set low (true). 2. multiline commands ?general bus commands which are sent over the data lines with the atn line true (low). 3. common commands ?commands that are common to all devices on the bus; sent with atn high (false). 4. scpi commands ?commands that are particular to each device on the bus; sent with atn (false). these bus commands and their general purpose are summarized in table e-1. table e-1 ieee-488 bus command summary command type command state of atn line comments uniline multiline universal addressed unaddressed common scpi ren (remote enable) eoi ifc (interface clear) atn (attention) srq llo (local lockout) dcl (device clear) spe (serial enable) spd (serial poll disable) sdc (selective device clear) gtl (go to local) unl (unlisten) unt (untalk) x x x low x low low low low low low low low high high set up devices for remote operation. marks end of transmission. clears interface. de?es data bus contents. controlled by external device. locks our local operation. returns device to default conditions. enables serial polling. disables serial polling. returns unit to default conditions. returns device to local. removes all listeners from the bus. removes any talkers from the bus. programs ieee-488.2 compatible instruments for common operations. programs scpi compatible instru- ments for particular operations. e-8 ieee-488 bus overview
uniline commands atn, ifc and ren are asserted only by the controller. srq is asserted by an external device. eoi may be asserted either by the controller or other devices depending on the direction of data transfer. the following is a description of each command. each command is sent by setting the corresponding bus line true. ren (remote enable) ?ren is sent to set up instruments on the bus for remote operation. when ren is true, devices will be removed from the local mode. depending on device con used to positively identify the last byte in a multi-byte transfer sequence, thus allowing data words of various lengths to be transmitted easily. ifc (interface clear) ?ifc is used to clear the interface and return all devices to the talker and listener idle states. atn (attention) ?the controller sends atn while transmitting addresses or multiline com- mands. srq (service request) ?srq is asserted by a device when it requires service from a con- troller. universal multiline commands universal commands are those multiline commands that require no addressing. all devices equipped to implement such commands will do so simultaneously when the commands are transmitted. as with all multiline commands, these commands are transmitted with atn true. llo (local lockout) ?llo is sent to the instrument to lock out the local key and thus all their front panel controls. dcl (device clear) ?dcl is used to return instruments to some default state. usually, in- struments return to their power-up conditions. spe (serial poll enable) ?spe is the rst step in the serial polling sequence which is used to determine which device has requested service. spd (serial poll disable) ?spd is used by the controller to remove all devices on the bus from the serial poll mode and is generally the last command in the serial polling sequence. ieee-488 bus overview e-9
addressed multiline commands addressed commands are multiline commands that must be preceded by the device listen ad- dress before that instrument will respond to the command in question. note that only the ad- dressed device will respond to these commands. both the commands and the address preceding it are sent with atn true. sdc (selective device clear) ?the sdc command performs essentially the same function as the dcl command except that only the addressed device responds. generally, instruments return to their power-up default conditions when responding to the sdc command. gtl (go to local) ?the gtl command is used to remove instruments from the remote mode. with some instruments, gtl also unlocks front panel controls if they were previously locked out with the llo command. get (group execute trigger) ?the get command is used to trigger devices to perform a speci? action that depends on device con?uration (for example, take a reading). although get is an addressed command, many devices respond to get without addressing. address commands addressed commands include two primary command groups and a secondary address group. atn is true when these commands are asserted. the commands include: lag (listen address group) ?these listen commands are derived from an instruments pri- mary address and are used to address devices to listen. the actual command byte is obtained by oring the primary address with $20. tag (talk address group) ?the talk commands are derived from the primary address by oring the address with $40. talk commands are used to address devices to talk. scg (secondary command group) ?commands in this group provide additional address- ing capabilities. many devices (including the model 2000) do not use these commands. unaddress commands the two unaddress commands are used by the controller to remove any talkers or listeners from the bus. atn is true when these commands are asserted. unl (unlisten) ?listeners are placed in the listener idle state by the unl command. unt (untalk) ?any previously commanded talkers will be placed in the talker idle state by the unt command. e-10 ieee-488 bus overview
common commands common commands are commands that are common to all devices on the bus. these com- mands are designated and dened by the ieee-488.2 standard. generally, these commands are sent as one or more ascii characters that tell the device to perform a common operation, such as reset. the ieee-488 bus treats these commands as data in that atn is false when the commands are transmitted. scpi commands scpi commands are commands that are particular to each device on the bus. these com- mands are designated by the instrument manufacturer, and are based on the instrument model de?ed by the standard commands for programmable instruments (scpi) consortiums scpi standard. generally, these commands are sent as one or more ascii characters that tell the device to perform a particular operation, such as setting a range or closing a relay. the ieee-488 bus treats these commands as data in that atn is false when the commands are transmitted. command codes command codes for the various commands that use the data lines are summarized in figure e-3. hexadecimal and the decimal values for the various commands are listed in table e-2. table e-2 hexadecimal and decimal command codes command hex value decimal value gtl sdc get llo dcl spe spd lag tag scg unl unt 01 04 08 11 14 18 19 20-3f 40-5f 60-7f 3f 5f 1 4 8 17 20 24 25 32-63 64-95 96-127 63 95 ieee-488 bus overview e-11
d 7 d 6 d 5 d 4 x 0 0 0 command x 0 0 1 command x 0 1 0 primary address x 0 1 1 primary address x 0 1 1 primary address x 0 1 1 primary address x 1 1 0 x 1 1 1 bits d 3 d 2 d 1 d 0 column row 0 (a) 0 (b) 1 (a) 1 (b) 2 (a) 2 (b) 3 (a) 3(b) 4 (a) 4 (b) 5 (a) 5 (b) 6 (a) 6 (b) 7 (a) 7 (b) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 nul soh stx etx eot enq ack bel bs ht lf vt ff cr so si gtl sdc ppc* get tct* dle dc1 dc2 dc3 dc4 nak syn etb can em sub esc fs gs rs us llo dcl ppu* spe spd sp ! # $ % & ( ) + , - . / 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 : ; < = > ? 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 unl @ a b c d e f g h i j k l m n o 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 p q r s t u v w x y z [ \ ] ? 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 unt a b c d e f g h i j k l m n o p q r s t u v w x y z { : } ? del addressed command group (acg) universal command group (ucg) listen address group (lag) talk address group (tag) primary command group (pcg) secondary command group (sdc) *ppc (parallel poll configure) ppu (parallel poll unconfigure), and tct (take control) not implemented by model 2000. note: d 0 = dio1 ... d 7 = dio8; x = dont care. figure e-3 command codes e-12 ieee-488 bus overview
typical command sequences for the various multiline commands, a specic bus sequence must take place to properly send the command. in particular, the correct listen address must be sent to the instrument before it will respond to addressed commands. table e-3 lists a typical bus sequence for sending the ad- dressed multiline commands. in this instance, the sdc command is being sent to the instrument. unl is generally sent as part of the sequence to ensure that no other active listeners are present. note that atn is true for both the listen command and the sdc command byte itself. table e-4 gives a typical common command sequence. in this instance, atn is true while the instrument is being addressed, but it is set high while sending the common command string. table e-3 typical addressed command sequence step command atn state data bus ascii hex decimal 1 2 3 4 unl lag* sdc set low stays low stays low returns high ? 0 eot 3f 30 04 63 48 4 *assumes primary address = 16. table e-4 typical addressed command sequence step command atn state data bus ascii hex decimal 1 2 3 4 5 6 unl lag* data data data data set low stays low set high stays high stays high stays high ? 0 * r s t 3f 30 2a 52 53 54 63 48 42 82 83 84 *assumes primary address = 16. ieee-488 bus overview e-13
ieee command groups command groups supported by the model 2000 are listed in table e-5. common commands and scpi commands are not included in this list. table e-5 ieee command groups handshake command group ndac = not data accepted nrfd = not ready for data dav = data valid universal command group atn = attention dcl = device clear ifc = interface clear ren = remote enable spd = serial poll disable spe = serial poll enable address command group listen talk lag = listen address group mla = my listen address unl = unlisten tag = talk address group mta = my talk address unt = untalk ota = other talk address addressed command group acg = addressed command group gtl = go to local sdc = selective device clear status command group rqs = request service srq = serial poll request stb = status byte eoi = end e-14 ieee-488 bus overview
interface function codes the interface function codes, which are part of the ieee-488 standards, de?e an instru- ments ability to support various interface functions and should not be confused with pro- gramming commands found elsewhere in this manual. the interface function codes for the model 2000 are listed in table e-6. the codes de?e model 2000 capabilities as follows: sh (source handshake function) sh1 de?es the ability of the instrument to initiate the transfer of message/data over the data bus. ah (acceptor handshake function) ah1 de?es the ability of the instrument to guar- antee proper reception of message/data transmitted over the data bus. t (talker function) the ability of the instrument to send data over the bus to other de- vices is provided by the t function. instrument talker capabilities (t5) exist only after the instru- ment has been addressed to talk. l (listener function) the ability for the instrument to receive device-dependent data over the bus from other devices is provided by the l function. listener capabilities (l4) of the instrument exist only after it has been addressed to listen. sr (service request function) sr1 de?es the ability of the instrument to request ser- vice from the controller. rl (remote-local function) rl1 de?es the ability of the instrument to be placed in the remote or local modes. table e-6 model 2000 interface function codes code interface function sh1 ah1 t5 l4 sr1 rl1 pp0 dc1 dt1 c0 e1 te0 le0 source handshake capability acceptor handshake capability talker (basic talker, talk-only, serial poll, unaddressed to talk on lag) listener (basic listener, unaddressed to listen on tag) service request capability remote/local capability no parallel poll capability device clear capability device trigger capability no controller capability open collector bus drivers no extended talker capability no extended listener capability ieee-488 bus overview e-15
pp (parallel poll function) the instrument does not have parallel polling capabilities (pp0). dc (device clear function) dc1 de?es the ability of the instrument to be cleared (ini- tialized). dt (device trigger function) ? dti de?es the ability of the model 2002 to have readings triggered. c (controller function) the instrument does not have controller capabilities (c0). te (extended talker function) the instrument does not have extended talker capabili- ties (te0). le (extended listener function) the instrument does not have extended listener capa- bilities (le0). e (bus driver type) the instrument has open-collector bus drivers (e1). e-16 ieee-488 bus overview
f ieee-488 and scpi conformance information
introduction the ieee-488.2 standard requires specic information about how the model 2000 imple- ments the standard. paragraph 4.9 of the ieee-488.2 standard (std 488.2-1987) lists the docu- mentation requirements. table f-1 provides a summary of the requirements, and provides the information or references the manual for that information. table f-2 lists the coupled commands used by the model 2000. the model 2000 complies with scpi version 1991.0. tables 5-2 through 5-11 list the scpi con?med commands, and the non-scpi commands implemented by the model 2000. table f-1 ieee-488 documentation requirements requirements description or reference (1) (2) (3) (4) (5) (a) (b) (c) (d) (e) (6) (7) (8) (9) (10) (11) (12) (13) (14) ieee-488 interface function codes. behavior of 2000 when the address is set outside the range 0-30. behavior of 2000 when valid address is entered. power-on setup conditions. message exchange options: input buffer size. queries that return more than one response message unit. queries that generate a response when parsed. queries that generate a response when read. coupled commands. functional elements required for scpi commands. buffer size limitations for block data. syntax restrictions. response syntax for every query command. device-to-device message transfer that does not follow rules of the standard. block data response size. common commands implemented by 2000. calibration query information. trigger macro for *ddt. see appendix e. cannot enter an invalid address. address changes and bus resets. determine by :system:posetup (section 5). 256 bytes. none. all queries (common commands and scpi). none. see table f-2. contained in scpi command sub- systems tables (see tables 5-2 through 5-11). block display messages: 12 char- acters max, see ?rogramming syntax?in sec- tion 4. see ?rogramming syntax?in sec- tion 4. none. see ?isplay subsystem?in sec- tion 5. see ?ommon commands?in sec- tion 4. see calibration manual. not applicable. f-2 ieee-488 and scpi conformance information
(15) (16) (17) (18) (19) (20) (21) (22) (23) macro information response to *idn (identication). storage area for *pud and *pud? resource description for *rdt and *rdt? effects of *rst, *rcl and *sav. *tst information. status register structure. sequential or overlapped commands. operation complete messages. not applicable. see ?ommon commands?in sec- tion 4. not applicable. not applicable. see ?ommon commands?in sec- tion 4. see ?ommon commands?in sec- tion 4. see ?tatus structure?in section 4. all are sequential except :init and :init:cont on, which are over- lapped. *opc, *opc? and *wai; see ?ommon commands?in section 4. table f-1 (cont.) ieee-488 documentation requirements requirements description or reference ieee-488 and scpi conformance information f-3
table f-2 coupled commands command also changes to :trac:poin :trac:cle :trac:feed:cont :trac:feed:cont nev nev sense subsystem commands: ...:rang:upp ...:ref:acq ...:rang:auto ...:ref off presently displayed reading :rout:clos :rout:open:all :rout:scan:int :rout:scan:lsel :rout:scan:lsel :rout:scan:lsel none none int ... = valid function command words (i.e. :volt:dc, :volt:ac, etc.) f-4 ieee-488 and scpi conformance information
index symbol :abort command 5-70 :average commands 5-46 :azero commands 5-64 :border command 5-30 :calculate subsystem 5-20 calculate[1] 5-20 :calculate2 5-22 :calculate3 5-24 :clear command 5-64, 5-68 :close commands 5-32 *cls ?clear status 4-40 :condition? command 5-58 :configure command 5-3 :continuity command 5-57 :data command 5-28, 5-38 :data? command 5-69 :digits command 5-45 :diode command 5-51 :enable command 5-56 :error? command 5-63 *ese ?event enable 4-40 *ese? ?event enable query 4-40 *esr? ?event status register query 4-42 [:event]? command 5-52 :feed command 5-69 :fetch? command 5-4 :format subsystem 5-28 :free? command 5-68 :frswitch? command 5-62 :function command 5-37 *idn? ?identi?ation query 4-43 :initiate commands 5-70 :key command 5-65 :measure command 5-6 *opc ?operation complete 4-44 :open:all command 5-33 *opc? ?operation complete query 4-46 *opt? ?option identi?ation query 4-47 :points command 5-68 :posetup command 5-62 :preset command 5-61 :preset command 5-58 :queue commands 5-59 :range commands 5-41 *rcl ?recall 4-47 :read? command 5-5 :reference commands 5-43 *rst ?reset 4-48 *sav ?save 4-48 :scan commands 5-35 [sense[1]] subsystem 5-37 *sre ?service request enable 4-48 *sre? ?service request enable query 4-48 *stb? ?status byte query 4-50 :system subsystem 5-61 :temperature 5-74 :threshold commands 5-48 :trace subsystem 5-68 *trg ?trigger 4-51 :trigger commands 5-71 *tst? ?self-test query 4-51 :unit subsystem 5-74 :version? command 5-63 :voltage commands 5-74 and keys 3-23 a about program fragments 4-13 ac voltage offset 2-21 accessories 1-5 accuracy calcualtions a-7 adapters 1-6 additional derating factors a-9 address commands e-10 addressed multiline commands e-10 amps fuse replacement 2-23 autoranging 3-3 b bandwidth 3-7 bandwidth command 5-48 basic measurements 2-1 beeper command 5-61 buffer operations 3-17 buffer statistics 3-19 bus commands e-8 bus description e-4 bus lines e-6 bus management lines e-6
c cables 1-6 calculate subsystem 5-20 calculating ac characteristics accuracy a-7 calculating db characteristics accuracy a-9 calculating dbm characteristics accuracy a-8 calculating dc characteristics accuracy a-7 calibration 3-32 carrying case 1-6 case sensitivity 4-34 changing function and range c-2 command codes e-11 command execution rules 4-37 command parameters 4-32 command path rules 4-37 command words 4-32 commands 4-32 common commands 4-39, e-11 condition registers 4-20 configure command 5-3 con?uration 2-29, 2-31, 2-32, 2-33 connections 2-18, 2-22, 2-24, 2-27, 2-28, 2-34, 2-35 control source 3-8 controlling the model 2000 via the rs-232 com2 port c-12 counters 3-10, 3-27 crest factor 2-18 d data lines e-6 db calculation 2-33 dbm calculation 2-32 dcl (device clear) 4-16 delay 3-9 device actions 3-10 digits 3-5 display 2-17 display subsystem 5-26 e elements command 5-31 enable registers 4-21 enabling limits 3-21 error messages 2-17, 4-8, 4-18, b-1 error queue 4-24 event detection 3-8 event registers 4-20 example programs c-1 external scan card use 3-22 external scanning 3-30 external triggering 3-11 external triggering example 3-12 external triggering with bc connections 3-16 f feature overview 1-2 fetch? command 5-4 filter 3-4 filter types 3-4 fluke model 8840a/8842a digital multimeter 4-5 front panel gpib operation 4-18 front panel scanner controls 3-23 front panel summary 2-3 g gate time 2-26 general bus commands (associated statements) 4-14 general information 1-1 general purpose probes 1-5 generating srq on buffer full c-5 get (group execute trigger) 4-17 gpib bus 4-3 gpib bus connections 4-10 gpib bus operation and reference 4-9 gpib bus standards 4-9 gpib primary address 2-16 gpib status indicators 4-18 gtl (go to local) 4-15 h handshake lines e-7 high energy circuit safety precautions 2-11 hold command 5-39 hold example 3-11 i idle 3-8, 4-30 ieee command groups e-14 ieee-488 bus overview e-1 ieee-488 conformance information f-1 ifc (interface clear) 4-15 initiate 4-30 inspection 1-4 install the universal language driver 4-12 interface function codes e-15 internal scan card use 3-22 k keithley model 199 digital multimeter 4-5
l limit operations 3-20 line frequency query 5-67 line power connection 2-8 llo (local lockout) 4-15 local key 4-18 long-form versions 4-34 low level considerations 2-19 low thermal probes 1-6 m manual addenda 1-3 manual ranging 3-3 math 2-30 maximum readings 3-3 measure command 5-6 measurement con?uration 3-3 measurement options 3-1 measuring continuity 2-34 measuring current 2-22 measuring frequency 2-26 measuring period 2-26 measuring resistance 2-24 measuring temperature 2-28 measuring voltage 2-18 message exchange protocol 4-38 model 199 and 8840a/8842a commands d-1 multiple command messages 4-36 multiple response messages 4-38 mx + b 2-30 o one-shot triggering c-4 optimizing measurement accuracy a-10 optimizing measurement speed a-11 options 1-5 output queue 4-24 output trigger 3-10 p percent 2-31 power-on defaults 2-12 power-up 2-8 power-up sequence 2-10 program examples c-2 program message terminator (pmt) 4-37 program messages 4-36 programming syntax 4-32 q query commands 4-34 queues 4-24 quickbasic 4.5 programming 4-12 r rack mount kits 1-6 range 2-35, 3-3 rate 3-6 read? command 5-5 reading hold (autosettle) 3-10 rear panel summary 2-6 recalling readings 3-18 relative 3-5 remote operation 4-1 ren (remote enable) 4-14 replacing fuse 2-9 response message terminator (rmt) 4-38 response messages 4-38 response time 3-5 route subsystem 5-32 rs-232 4-3 rs-232 connections 4-8 rs-232 operation 4-6 s safety symbols and terms 1-3 scan operations 3-22 scanner cards 1-5 scanning examples 3-27 scanning overview 3-22 scanning trigger model additions 3-24 scpi 4-5 scpi command reference 5-1 scpi command subsystems reference tables 5-7 scpi commands e-11 scpi conformance information f-1 scpi signal oriented measurement commands 5-3 sdc (selective device clear) 4-16 selecting a language 4-4 selecting an interface 4-2 selecting baud rate 4-6 selecting signal handshake (?w control) 4-7 selecting the primary address 4-12 self-test 3-32 sending a response message 4-38 sending baud rate 4-6 serial poll and srq 4-28 service request enable register 4-27 setting limit values 3-20 setting line voltage 2-9 setting terminator 4-7 shielding 2-19, 2-25 short-form rules 4-35 short-form versions 4-34 single command messages 4-36
speci?ations 1-3, a-1 speed commands 5-40 spe, spd (serial polling 4-17 status byte and service request (srq) 4-25 status byte register 4-26 status messages 2-17, 4-18, b-1 status structure 4-19 status subsystem 5-52 stepping trigger model additions 3-24 storing readings 3-17 storing readings in buffer c-6 system operations 3-32 t taking readings using the :read? command c- 12 taking readings with the scanner card c-8 testing diodes 2-35 thermal emfs 2-20 thermocouple commands 5-49 threshold resistance level 2-34 timing 3-28 trigger level 2-26 trigger model 3-8 trigger model operation 4-30 trigger model (gpib operation) 4-29 trigger operations 3-8 trigger subsystem 5-70 typical command sequences e-13 u unaddress commands e-10 uniline commands e-9 universal multiline commands e-9 using common commands and scpi commands in the same messages 4-37 using external scanner cards 3-22 using open and close keys 3-23 using shift-config to con?ure stepping and scanning 3-26 v voltmeter complete 3-12 w warm-up time 2-16 warranty information 1-3
service form model no. ______________ serial no.___________________date ________________ name and telephone no. _________________________________________________ company ______________________________________________________________ list all control settings, describe problem and check boxes that apply to problem. _________________________ __________________________________________________________________________________________ __________________________________________________________________________________________ ? intermittent ? analog output follows display ? particular range or function bad; specify _______________________________ ? ieee failure ? obvious problem on power-up ? batteries and fuses are ok ? front panel operational ? all ranges or functions are bad ? checked all cables display or output (check one) ? drifts ? unable to zero ? unstable ? overload ? will not read applied input ? calibration only ? certi?ate of calibration required ? data required (attach any additional sheets as necessary) show a block diagram of your measurement including all instruments connected (whether power is turned on or not). also, describe signal source. where is the measurement being performed? (factory, controlled laboratory, out-of-doors, etc.)_______________ __________________________________________________________________________________________ what power line voltage is used? ___________________ ambient temperature? ________________________ ? relative humidity? ___________________________________________ other? ___________________________ any additional information. (if special modications have been made by the user, please describe.) __________________________________________________________________________________________ __________________________________________________________________________________________ be sure to include your name and phone number on this service form.
specifications are subject to change without notice. all keithley trademarks and trade names are the property of keithley instruments, inc. all other trademarks and trade names are the property of their respective companies. keithley instruments, inc. 28775 aurora road ?cleveland, ohio 44139 ?440-248-0400 ?fax: 440-248-6168 1-888-keithley (534-8453) ?www.keithley.com sales offices: belgium: bergensesteenweg 709 ?b-1600 sint-pieters-leeuw ?02-363 00 40 ?fax: 02/363 00 64 china: yuan chen xin building, room 705 ?12 yumin road, dewai, madian ?beijing 100029 ?8610-6202-2886 ?fax: 8610-6202-2892 finland: tiet?j?ntie 2 ?02130 espoo ?phone: 09-54 75 08 10 ?fax: 09-25 10 51 00 france: 3, all?e des garays ?91127 palaiseau c?dex ?01-64 53 20 20 ?fax: 01-60 11 77 26 germany: landsberger strasse 65 ?82110 germering ?089/84 93 07-40 ?fax: 089/84 93 07-34 great britain: unit 2 commerce park, brunel road ?theale ?berkshire rg7 4ab ?0118 929 7500 ?fax: 0118 929 7519 india: flat 2b, willocrissa ?14, rest house crescent ?bangalore 560 001 ?91-80-509-1320/21 ?fax: 91-80-509-1322 italy: viale san gimignano, 38 ?20146 milano ?02-48 39 16 01 ?fax: 02-48 30 22 74 korea: fl., uri building ?2-14 yangjae-dong ?seocho-gu, seoul 137-130 ?82-2-574-7778 ?fax: 82-2-574-7838 netherlands: postbus 559 ?4200 an gorinchem ?0183-635333 ?fax: 0183-630821 sweden: c/o regus business centre ?frosundaviks all? 15, 4tr ?169 70 solna ?08-509 04 679 ?fax: 08-655 26 10 switzerland: kriesbachstrasse 4 ?8600 d?bendorf ?01-821 94 44 ?fax: 01-820 30 81 taiwan: 1fl., 85 po ai street ?hsinchu, taiwan, r.o.c. ?886-3-572-9077?fax: 886-3-572-9031 copyright 2001 keithley instruments, inc. printed in the u.s.a. 11/01


▲Up To Search▲   

 
Price & Availability of 2000

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X