background image

14

PRS-200 Series

PROGRAMMING

Read the IDN string from the PRS

Parse the IDN string to extract the IDN String Model
(second) section. Parse this further to determine:

let iType= type of device (R,L,C,RTD; enum 0-3)
let iModel = model (200,201,202; enum 0-2)
let iTol = tolerance (see section 7.3.1; enum 0-10)
let  iDec = value of “Number of Decades”
let  nMin = numeric value of LSD (see section 7.3.1)
let  locLSD = location of the LSD on system board
let iOption = options installed (see section 7.3.1)
let  iMax =(iMin*10**nDec)

Calculate iMax. In our example, the LSD is 100m or
0.1 Ohms and the number of decades is 6

iMax =(0.1*10**6)-iMin ; or iMax = 99,999.9

7.3.3 Source Impedance

Range test the desired output value against iMin and
iMax. Coerce the supplied value to the max or min,
return an error code, or use optionally equipped OC/
SC features per your needs.

Example 1:

let iModel = 0 (model 200/201 system board)
let iValue equal 123.51
iValue is < 99,999.9 and > 0.1;
therefore iValue = 123.51

Example 2:

let iModel = 1 (model 202 system board)
let iValue equal 1,000,000
iValue is > 99,999.9;
if iOption = 1 or 3 then iValue = 100,000.0
else iValue = 99,999.9

Multiply iValue by one over iMin to shift the digits
below the operating range of the PRS to the right of
the decimal point (in this case, 10). Select the integer
portion of iValue

Example 1:

iValue=iValue*(1/iMin)
iValue=123.51*(1/.1); or iValue = 1235.1
iValint=int(iValue); or iValint = 1235

Example 2:

iValue=iValue*(1/iMin)
iValue=100,000*(1/.1); or iValue= 1,000,000.0
iValint = int(iValue); or iValint = 1000000

Shift this value to align it with the location of the first
decade in the PRS. locLSD from our IDN string evalu-
ation is 1, so:

Example 1:

iValint = iValint * (1*10^(locLSD))
iValint = 1235 * (1*10^(0))
iValint = 1235 * 1; or iValue = 1235

Example 2:

iValint = iValint * (1*10^(locLSD))
iValint = 1000000 * (1*10^(0))
iValint = 1000000 * 1; or iValue = 1000000

Convert the number to a string value using a “for-
mat” function that includes leading zeros. A 200/201
series unit has 10 decade locations, a 202 has 12.

prsCmd = “SOURce:DATA ” _
 & format(iValue,“0000000000”)

Example 1:

“SOURce:DATA 0000001235”

Example 2:

“SOURce:DATA 000001000000”

Send the prsCmd string to the PRS.

Summary of Contents for PRS-202 Series

Page 1: ...959 800 899 8438 FAX 516 334 5988 www ietlabs com 534 Main Street Westbury NY 11590 IET LABS INC PRS 202 SERIES High Precision Manual or SCPI Programmable Decade Resistance Substituters Operation Manu...

Page 2: ......

Page 3: ...3 2 3 Four Wire Kelvin Lead Connections 6 3 2 4 Thermal emf Considerations 6 3 3 Dial Setting 7 3 4 Environmental Conditions 7 3 5 Local Operation 7 3 6 Remote Operation 7 Chapter 4 BCD INTERFACE OPTI...

Page 4: ...s Switch Settings 10 Chapter 7 PROGRAMMING 12 7 1 Introduction 12 7 2 Command String Structure 12 7 3 Advanced Programming Software Drivers 13 7 3 1 Determining the PRS Configuration 13 7 3 2 Instrume...

Page 5: ...T IN EXCESS OF THE MAXIMUM LIMITS INDICATED ON THE FRONT PANEL OR THE OPERATING GUIDE LABEL WARRANTY We warrant that this product is free from defects in material and workmanship and when properly use...

Page 6: ......

Page 7: ...r each decade The PRS 202 Series employs very low resistance low thermal emf relays with gold clad silver alloy con tacts A special design keeps contact resistance to a minimum The gold plating keeps...

Page 8: ...2 INTRODUCTION PRS 202 Series This page is intentionally left blank...

Page 9: ......

Page 10: ......

Page 11: ...eak or 0 5 step or 4 5 maximum whichever applies first Interface IEEE 488 2 1987 SCPI 1994 0 front panel switch selects REMOTE or LOCAL operation IDN for S N Model REV CAL DATe for last calibration da...

Page 12: ...utable to the temperature difference between the leads of the re lay and the contacts when temperature is applied to the coil This emf is of the order of 5 V per relay but is not usually additive The...

Page 13: ...on If a REMOTE option is present the READY and LOCAL indicators should il luminate 2 Set the REMOTE LOCAL switch to LO CAL 3 Connect any desired instrumentation to the front panel binding posts The G...

Page 14: ...21 and 22 on the BCD INPUT rear panel connector as shown in Table 3 1 Note that both pins must be set The REMOTE and LOCAL led s will respond accordingly Once the PRS 202 is set into Remote the thumbw...

Page 15: ...k 13 8 20 1 19 2 18 4 l 9 M 17 8 29 1 28 2 27 4 10 90 M 26 8 34 O p en circuit control 35 Short circuit control op tional 23 Earth ground 24 5V l0 mA maximum 25 Earth ground 21 LO CA L REM O T E selec...

Page 16: ...y address There are 32 possible primary addresses Decimal Address SWITCH SETTINGS 5 4 3 2 1 Decimal Address SWITCH SETTINGS 5 4 3 2 1 0 0 0 0 0 0 16 1 0 0 0 0 1 0 0 0 0 1 17 1 0 0 0 1 2 0 0 0 1 0 18 1...

Page 17: ...e controller returns and LF as a prompt after executing any command When Echo is turned On the controller returns CR LF and as a prompt after executing any command Echo back RS232 Message Mode Prompt...

Page 18: ...or 9 for OPEN CIRCUIT operation optional 2 3 6 or7forSHORTCIRCUIT operation optional 7 1 Introduction PRS 202 units equipped with IEEE or SERIAL op tions implement a consistent SCPI interface A PRS S...

Page 19: ...e PRS has been encoded to provide information about the char acteristics of the specific instrument being used For example a IDN query to a PRS might return IET Labs PRS 200 F 6 100m 0 0 D6 0211201 D6...

Page 20: ...Example 2 let iModel 1 model 202 system board let iValue equal 1 000 000 iValue is 99 999 9 if iOption 1 or 3 then iValue 100 000 0 else iValue 99 999 9 Multiply iValue by one over iMin to shift the...

Page 21: ...this task allowing for a band of uncertainty of the instrument itself consult IET Labs for information It is important to allow both the testing instrument and the PRS 202 Substituter to stabilize for...

Page 22: ...ASCII 10 and EOI terminates a RESPONSE MESSAGE Asterisk defines a 488 2 common command Ends a query where a reply is expected SCPI builds on the programming syntax of 488 2 to give the programmer the...

Page 23: ...ERial SERIAL option only EXTernal 0 1 or OFF ON 0 BAUD numeric value 9600 PARity EVEN ODD NONE BITS 7 8 SBITs 1 2 NETwork 0 1 or OFF ON 0 ADDRess 0 15 4 UPdate no value command only RS485 0 1 or OFF O...

Page 24: ...e state 1 or 0 of bits in the register Reading of this register resets the contents to zero Bit Description 7 Power On 6 User Request 5 Command Error 4 Execution Error 3 Dev Dep Error 2 Query Error 1...

Page 25: ......

Reviews: