background image

PROGRAMMING

PRS-200 Series

13

7.3

Advanced Programming -

Software Drivers

Basic control of a PRS can be automated by writing
a function that accepts a numeric value and converts
it to the string using the method described previously.

If the PRS is to be used in an automated environment
where various models and options may be installed or
where interchangeability is a requirement, a 

driver

can be written that abstracts the device specific func-
tions from the test sequence.

The PRS family of instruments are available in many
models (including inductance, resistance and capaci-
tance) ranges, (1milliOhm to 10MegaOhm) and with
various options. Information to create a more robust
driver to control a PRS instrument is listed below.

7.3.1 Determining the PRS Configuration

The IEEE 488.2 specification defines the *IDN string
as containing 4 sections separated by commas; the
manufacturer, the model, the serial number and the
revision of the instrument.

The Model section of the *IDN string of the 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:

I E T   L a b s , P R S - 2 0 0 - F - 6 - 1 0 0 m - 0 - 0 , D 6 -

0211201,D6

In our example above, the Manufacturer section con-
tains “IET Labs”, the Model section contains “PRS-
200-F-6-100m-0-0”, the Serial Number section “D6-
0211201” and the Revision section “D6”. The model
is split into 7 parts with dashes to identify:

Type
Version
Tolerance
Number of Decades
Least Significant Decade
Slot of LSD
Options

Type:

PRS

Resistance Substituter

Version:

200
201
202

Tolerance:

X:

0.01%

Q:

0.02%

A:

0.05%

B:

0.1%

C:

0.5%

F:

1%

G:

2%

H:

4%

LSD:

1m

1 milliOhm

10m

10 milliOhm

100m

100 milliOhm

1

1 Ohm

10

10 Ohm

100

100 Ohm

1K

1 KOhm

10K

10 KOhm

100K

100 KOhm

1M

1 MegaOhm

10M

10 MegaOhm

Note: 

micro and Mega Ohms use the same

suffix letter; case indicates magnitude.

Open Cicuit / Short Circuit Option:

0

not equipped

1

Open Circuit option present

2

Short Circuit option present

3

Both OC/SC present

7.3.2 Instrument Initialization

Reset the unit to power up defaults using *RST

Check that the instrument is “in cal” by reading  the
calibration date and compare it to current date/time
using CALibrate:DATe?

Содержание PRS-202 Series

Страница 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...

Страница 2: ......

Страница 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...

Страница 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...

Страница 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...

Страница 6: ......

Страница 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...

Страница 8: ...2 INTRODUCTION PRS 202 Series This page is intentionally left blank...

Страница 9: ......

Страница 10: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 25: ......

Отзывы: