2840 Series Resistance Meter Programming Manual Model: 2840, 2841
Contents Contents i 1 Introduction to SCPI 1.1 Conventions Used in This Guide . . . . . . . 1.2 Types of SCPI Commands . . . . . . . . . . 1.2.1 Common . . . . . . . . . . . . . . . 1.2.2 Subsystem . . . . . . . . . . . . . . . 1.2.3 Multiple Commands in a Message . 1.2.4 Moving Among Subsystems . . . . . 1.2.5 Case Sensitivity . . . . . . . . . . . . 1.2.6 Long-form and Short-form Versions 1.2.7 Query commands . . . . . . . . . . . 1.3 Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii CONTENTS 6.1 6.2 FETCh[:IMP]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 FETCh:AUTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 7 TEMPerature 7.1 TEMPerature:CORRect:STATe . . . . . . . . . 7.2 TEMPerature:CORRect:PARameter . . . . . . 7.3 TEMPerature:CONVersion:DELTa:STATe . . . 7.4 TEMPerature:CONVersion:DELTa:PARameter 7.5 TEMPerature:SENSor . . . . . . . . . . . . . . 7.
iii CONTENTS 11.2 IO:IN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 12 SYStem 12.1 SYSTem:BEEPer:STATe 12.2 SYSTem:LFRequency . 12.3 SYSTem:SAVE . . . . . 12.4 SYSTem:LOAD . . . . . 12.5 SYSTem:EXTernalout . 12.6 SYSTem:EOC:MODE . 12.7 SYSTem:EOC:PULSe . 12.8 SYSTem:RESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1 Introduction to SCPI SCPI (Standard Commands for Programmable Instruments), a command language for controlling instrument functions over GPIB, RS-232, USB,and Ethernet interface, etc. SCPI is layered on top of the hardware portion of IEEE 488.2. 1.1 Conventions Used in This Guide Angle brackets <> Items within angle brackets are parameter abbreviations. For example, indicates a specific form of numerical data. Vertical bar | Vertical bars separate alternative parameters.
CHAPTER 1. INTRODUCTION TO SCPI 1.2.3 2 Multiple Commands in a Message Multiple SCPI commands can be combined and sent as a single message. There are two important conditions when sending several commands within a single message: • Use a semicolon to separate commands within a message. • There is an implied header path that affects how commands are interpreted by the electronic load. The header path can be thought of as a string that gets inserted before each command within a message.
3 CHAPTER 1. INTRODUCTION TO SCPI Simple integer the usual range of numbers depending on the command Decimal number Digits with an explicit decimal point. Example: 0.0123 Exponential number Digits with an explicit decimal point and an exponent. Example: 2.73E+2 Any format number Extended format that includes , and . String String representation of a value Ex: AUTO, ON Boolean value Boolean values, On, Off 1 or 0 Table 1.
Chapter 2 DISPlay 2.1 DISPlay:PAGE Description Set or query which display page to show on the screen. Command Syntax DISPlay:PAGE Parameters MEASurement, COMPare, MSETup, BIN, BSETup, TSETup, STATistics, SYSTem, FLISt Example disp:page meas Query Syntax DISPlay:PAGE? Returned Parameters MEAS, COMP, MSET, BIN, BSET, TSET1 , STAT, SYST, FLIS 2.2 DISPlay:STATe Description Set or query the state of showing measurements on the screen.
Chapter 3 FUNCtion 3.1 FUNCtion:IMPedance Description Set or query the measurement mode. Command Syntax FUNCtion:IMPedance Parameters R resistance RT resistance and temperature – 2841 Only T temperature – 2841 Only LPR low power resistance LPRT low power resistance and temperature – 2841 Only Example Set to normal power resistance and temperature measurement. func:imp rt Query Syntax FUNCtion:IMPedance? Returned Parameters R, RT 1 , T 2 , LPR, LPRT 3 3.
6 CHAPTER 3. FUNCTION 3.3 FUNCtion:IMPedance:RES:RANGe:AUTO Description Automatic ranging mode for the resistance measurement. Command Syntax FUNCtion:IMPedance:RES:RANGe:AUTO Parameters ON, 1, OFF, or 0 (not case sensitive) Example func:imp:res:range:auto on Query Syntax FUNCtion:IMPedance:RES:RANGe? Returned Parameters 1 for on, and 0 for off 3.4 FUNCtion:IMPedance:LPR:RANGe Description The resistance range in Low Power Resistance measurement mode.
7 CHAPTER 3. FUNCTION 3.7 FUNCtion:ADJust:CLEAr Description Execute or clear 0 ADJ. Command Syntax FUNCtion:ADJust:CLEAr Parameters 0 it indicates that the 0CAJ has completed successfully and open 0 CAJ after the completion. 1 it indicates that the measured value of resistance exceeds 400 dgt, namely operation failed. Example func:adj:clear Query Syntax FUNCtion:ADJust? Returned Parameters 3.8 FUNCtion:MEASMODE Description Measurement speed.
8 CHAPTER 3. FUNCTION 3.10 FUNCtion:FDETect:AUTO Description Automatic fault detection Note 2841 Only Command Syntax FUNCtion:FDETect:AUTO Parameters 1, on, 0, or off Example func:fdet:auto on Query Syntax FUNCtion:FDETect:AUTO? Returned Parameters 1 or 0 for on and off 3.
Chapter 4 APERture 4.1 APERture Description The measurement speed. Command Syntax APERture Parameters FAST, MEDium, SLOW1 or SLOW2 Example APER SLOW1 Query Syntax APERture? Returned Parameters 4.2 APERture:AVERage Description The number of readings to average.
Chapter 5 TRIGger 5.1 TRIGger[:IMMediate] Description Send a bus trigger. Command Syntax TRIGger[:IMMediate] Parameters none Example trig 5.2 TRIGger:SOURce Description The source of a trigger. Command Syntax TRIGger:SOURce Parameters INTernal Be automatically triggered by the instrument and be the defaut setting of the instrument. MANual Be triggered by pressing the TRIGGER button on the panel. EXTernal Be triggered by the HANDLER interface.
11 CHAPTER 5. TRIGGER 5.4 TRIGger:DELay:AUTO Description Enable/disable the measurement delay after a trigger.
Chapter 6 FETCh 6.1 FETCh[:IMP]? Description Fetch the last measurement taken. Query Syntax FETCh[:IMP]? Returned Parameters The data got from the commands can be divided into three types according to different functions and display page. 1.
13 CHAPTER 6. FETCH 6.2 FETCh:AUTO Description Set the automatic mode switch to send each measurement result to the output buffer.
Chapter 7 TEMPerature The following commands are available on the 2841 only. 7.1 TEMPerature:CORRect:STATe Description The state of the temperature correction function. Sets the TC/∆t mode to TC. Note Turning the temperature correction function on stops the temperature conversion function. Command Syntax TEMPerature:CORRect:STATe Parameters on, 1, off, 0 Example temp:correct:state on Query Syntax TEMPerature:CORRect:STATe? Returned Parameters 1 or 0 (on and off respectively) 7.
15 CHAPTER 7. TEMPERATURE 7.3 TEMPerature:CONVersion:DELTa:STATe Description The state of the temperature conversion function. Sets the TC/∆t mode to ∆t. Command Syntax TEMPerature:CONVersion:DELTa:STATe Parameters 1, on, 0, or off Example temp:conv:delta:state on Query Syntax TEMPerature:CONVersion:DELTa:STATe? Returned Parameters 1 for on, and 0 for off 7.
16 CHAPTER 7. TEMPERATURE V1 0 to 2.00 reference voltage 1, unit: V T1 -99.9 to 999.9 reference temperature 1, unit: ◦ C V2 0 to 2.00 reference voltage 2, unit: V T2 -99.9 to 999.9 reference temperature 2, unit: ◦ C Example temp:par 0,0,1,500 Query Syntax TEMPerature:PARameter? Returned Parameters ,,, the same format as the command form.
Chapter 8 COMParator 8.1 COMParator[:STATe] Description State of instrument comparator function. Command Syntax COMParator[:STATe] Parameters 1, on, 0, or off Example comp on Query Syntax COMParator[:STATe]? Returned Parameters 1 for on and 0 for off 8.2 COMParator:BEEPer Description The state of the comparator beep behavior. Beep if the condition is true, either the value measured is IN range or it is HL or out of the set range. Note The instrument behavior is unusual.
18 CHAPTER 8. COMPARATOR Example comp:mode ptol Query Syntax comp? Returned Parameters ATOL or PTOL 8.4 COMParator:UPPer Description The upper comparator limit. Note This value must be larger than the lower limit. Command Syntax COMParator:UPPer Parameters 0 to 2.2E+6 units: Ω Example comp:upper 18E-3 Query Syntax COMParator:UPPer? Returned Parameters 8.5 COMParator:LOWer Description The lower comparator limit. Note This value must be smaller than the upper limit.
19 CHAPTER 8. COMPARATOR 8.7 COMParator:PERCent Description The percentage threshold for the comparator. The percentage is relative to the “reference” value set, NOM on screen in comparator mode. Command Syntax COMParator:PERCent Parameters 0 to 99.999 units: % Example comp:per 10% Query Syntax COMParator:PERCent? Returned Parameters 8.8 COMParator:RESult Description Query the current comparator result.
Chapter 9 BIN 9.1 BIN[:STATe] Description Setting of the BIN comparator function. Command Syntax BIN[:STATe] Parameters 1, on, 0 or off Example bin on Query Syntax BIN[:STATe]? Returned Parameters 1 or 0 for on and off respectively 9.2 BIN:BEEPer Description The beep mode when in BIN mode. Beeping on passing (gd) or failing (ng) is set via this command. Command Syntax BIN:BEEPer Parameters OFF Beep does not sound NG Beep sounds when measuring values outside of the BIN limits.
21 CHAPTER 9. BIN PTOLerance Percent deviation from the nominal values Example bin:mode ptol Query Syntax BIN:MODE? Returned Parameters ATOL or PTOL 9.4 BIN:COLOr:NG Description The color of a BIN icon when a value measures as Not Good for that bin. Command Syntax BIN:COLOr:NG Parameters OFF, GRAY, RED, GREEN Example bin:color:ng red Query Syntax BIN:COLOr:NG? Returned Parameters OFF, GRAY, RED, GREEN 9.5 BIN:COLOr:GD Description The color of a BIN icon when a value measures as Good for that bin.
22 CHAPTER 9. BIN 9.7 BIN:LOWer Description The lower limit value of a particular BIN when in absolute tolerance mode. Command Syntax BIN:UPPer , Parameters , Bin number (0-9)3 or (0-2)4 0 to 2.2E+6, the lower limit resistance value in Ohms Example bin:upper Query Syntax BIN:UPPer? Returned Parameters 9.8 BIN:REFerence Description The nominal value for a particular BIN. The percentage (PTOLerance) uses this.
23 CHAPTER 9. BIN 9.10 BIN:ENABle Description Enable or disable bins. The parameter of this command represents each of the bins as a bit. The parameter is a decimal representation of the bits. Command Syntax BIN:ENABle Parameters Model 2840: has 3 bins, so the range of values is 0-7. bin # 2 1 0 bit # 3 2 1 decimal 4 2 1 To determine the parameter, add the decimal values for each bin desired. Example: Bins 1 and 3 = 1 + 4 = 5 Model 2841: There are 10 bins encoded using 10 bits.
24 CHAPTER 9. BIN to match.
Chapter 10 STATistics 10.1 STATistics[:STATe] Description The state of the statistics function. Prior to enabling statistics, the display page must be on statistics. See section 2.1 Command Syntax STATistics[:STATe] Parameters 1, on, 0, or off Example stat on Query Syntax STATistics[:STATe]? Returned Parameters 1 for on and 0 for off 10.2 STATistics:MODE Description The “edge” or limit mode to use.
26 CHAPTER 10. STATISTICS Parameters 0 to 2.2E+6 units Ω Example stat:upper 100e-3 Query Syntax STATistics:UPPer? Returned Parameters 10.4 STATistics:LOWer Description The lower comparison limit when in Absolute Tolerance mode. Note If statistics is active (STATistics[:STATe] on) this command is ignored and the value left unchanged. Disable statistics to enable changeability. Command Syntax STATistics:LOWer Parameters 0 to 2.
27 CHAPTER 10. STATISTICS 10.7 STATistics:CLEAr Description Command for clearing statistical data. Note If statistics is active (STATistics[:STATe] on) this command is ignored and the value left unchanged. Disable statistics to issue this command. Command Syntax STATistics:CLEAr Parameters none Example stat:clear 10.8 STATistics:NUMBer Description The number of statistical samples and how many of them are within the comparison settings. Note Information incomplete.
28 CHAPTER 10. STATISTICS 10.12 STATistics:COUNt Description The statistical comparison results Query Syntax STATistics:COUNt? Returned Parameters ,,, High, In, Low, and Measurement error counts 10.13 STATistics:DEViation Description The statistics standard deviation Query Syntax STATistics:DEViation? Returned Parameters 10.14 STATistics:VARiance Description The statistical sample variance Query Syntax STATistics:VARiance? Returned Parameters 10.
Chapter 11 IO These commands refer to the handler of the instrument. 11.1 IO:OUT Description Set the value output by the pins. Note 2841 only Command Syntax IO:OUT Parameters A decimal representation of the pin states. Data Bit 7 6 5 Output Bit 4 3 2 1 0 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 50 25 49 24 48 23 47 22 Pin Example io:out 128 (Pin 7 high and the rest low) 11.2 IO:IN Description State of the handler pins RTIG and PRINT, see the user manual for details.
Chapter 12 SYStem 12.1 SYSTem:BEEPer:STATe Description The state of the beep feature Command Syntax SYSTem:BEEPer:STATe Parameters 1, on, 0, off Example system:beeper:state off Query Syntax SYSTem:BEEPer:STATe? Returned Parameters 1 for on and 0 for off 12.2 SYSTem:LFRequency Description The AC line frequency powering the meter. This helps reduce noise and improve accuracy.
31 CHAPTER 12. SYSTEM 12.4 SYSTem:LOAD Description Recall a set of settings from memory Command Syntax SYSTem:LOAD Parameters The table location number desired Example syst:load 8 12.5 SYSTem:EXTernalout Description Output of the comparator results to the handler interface. Note 2841 only Command Syntax SYSTem:EXTernalout Parameters BIN or BCD The representation of the results. Example syst:ext bcd Query Syntax SYSTem:EXTernalout? Returned Parameters - BIN or BCD 12.
32 CHAPTER 12. SYSTEM 12.8 SYSTem:RESet Description Reset the unit. This brings the operator to the main display page.