Text preview for : 213_903_01A.pdf part of Keithley 213 903 01A Keithley 213 213_903_01A.pdf
Back to : 213_903_01A.pdf | Home
Model 213 Quad Voltage Source
Quick Reference Guide
A GREATER MEASURE OF CONFIDENCE
+
INTRODUCTION
This quick reference guide contains descriptions of the
features and operation of the Model 213. Also included is
a programming example using a PC controller.
Olggo. Keithley Instruments, Inc.
All Rights Reserved
Instruments Division
Cleveland, Ohio, U. S. A.
Document Number: 213-903-01 Rev. A
1
+
+
TABLE OF CONTENTS
SAFETY WARNINGS ....................... 5
FRONT PANEL FAMlLtARtZATlON ........... 7
REAR PANEL FAMlLlARlZATtON ............. 9
DIP SWtTCH ......................... 9
ANALOG OUTPUT PORTS .............. 9
DlGtTAL INPUT/OUTPUT PORTS ........ 10
BASIC OPERATION ....................... 13
DAC PORTTRIGGERING ............... 13
INTERNAL SUFFER ................... 14
CONTROL MODES .................... 16
IEEE-488 PROGRAMMING .................. 19
DEVICE-DEPENDENTCOMMANDS ...... 19
SRQ MASK AND SERIAL POLL BYTE ..... 31
STATUS WORDS ..................... 32
KEYBOARD CONTROLLER PROGRAM ....... 38
+
+
SAFETY WARNINGS
The following safety warnings should be obsewed before
using Model 213 Quad Voltage Source. Refer to main
manual for detailed safety information and complete op-
eration instructions.
The Model 213 Quad Voltage Source is intended for use
by qualified personnel who recognize shock hazards and
are familiar with the safety precautions required to avoid
possible injury. Read over the manual carefully before
using the instrument.
Before operating the instrument, make sure the line cord
is connected to a properly grounded power receptacle.
Exercise extreme caution when a shock hazard is pre-
sent. Lethal voltages may be present on connsctorjacks.
The American National Standards fnstitute (ANSI) states
that a shock hazard exists when voltage levels greater
than 30V FtMSor42.4Vpeakare present. Agoodsafety
practice Is to expect that hazardous v&age Is pre-
sent In any unknown clrcuii before measuring.
Inspect the connecting cables, test leads, and jumpers
for possible wear, cracks, or breaks before each use.
For maximum safety, do not touch the Quad Voltage
Source connections, test cables or connections to any
other instruments white power is applied to the circuit un-
der test. Turn off att power and discharge any capacitors
before connecting or disconnecting cables or jumpers.
+ 5
+
Do not touch any object which could provide a current
path to the commonside ofthecircuit undertestorpower
line (earth) ground.
Do not exceed the maximum signal levels of the instru-
ment, as shown on the rear panel and as defined in the
specifications and operation section of the instruction
manual.
tnstrumentation and accessories should not be con-
nected to humans.
Maintenance should only be performed by qualified SBW
ice personnel. Before performing any maintenance, dis-
connect the line cord and all test cables from the instru-
ment.
+
+
FRONT PANEL
FAMILIARIZATION
Six LEDs on the front panel of the Model 213 Quad Volt-
age Source disolav the status of the interface fsee
Figure 1).
Ffgure 1. Front Panel Indicators
TALK-On when the unit is in the talker state, off whsn
the unit is in the idle or listener state.
LfSTEN - On when the unit is in the listener state, off
when the unit is in the idle or talker State.
SRQ - On when the unit has generated a service Is-
quest. oft when no SW is pending. (See Service Re-
quest Mask command for more information.)
ERROR-On when an error has occurred, off when no
error condition exists. (See Error Query command for
more information.)
+ 7
+
TEST - Used in conjunction with the Test command to
verify that communication. n ..__ ___, established with the
haa haen
unit. The TEST light will flash wher I the unit is calibrating
in the auto-calibration mode. It will then remain tit when
finished.
POWER-On when power is applied to the unit and the
power switch on the back panel is in the on position (de-
pressed). Off if power is not present.
8 +
+
REAR PANEL
FAMILIARIZATION
DIP SWITCH
The Model 213 hasone S-position switch @WI) accessi-
ble from the rear panel. This switch determines the unit's
IEEE address and its operating mode (normal or auto-
calibration). The switch is read only when the unit is pow-
ered on and should be set prior to applying power.
Figure 2 illustrates the factory default setting for SWI,
Figure 2. SW1 Factory Default Setttngs
ANALOG OUTPUT PORTS
The Model 213 can be thought of as four isolated digital
to analog converters occupying one IEEE-488 bus ad-
dress. Each port has a low (L), high (H), and ground
9
+
+
(chassis ground) line. Cha*sis ground may be connected
lo the shield of shielded cable if this type of cable is used
lo carry the analog signals.
CAUTION
The maximum common-mode input
voltage (the voltage between output LO
and chassis ground) Is 500V peak. Ex-
ceeding this value may damage the In-
terface.
The pinouts for all four analog ports are labeled on the
real panel of the unit and are shown in Figure 3. Each
analog output is capable of sourcing and sinking a maxi-
mum current 0, ,OrnA.
PORT 1 PORT? PORT 3 PORT4
HLG HLG HLG HLG
. . . . . . . . . . . .
Figure 3. Analog Output Connector Pinout
DIGITAL INPUT/OUTPUT PORTS
The Model 213 has eight digital input lines and eight digi-
tal output lines.
Figure 4 illustrates the digital I/O edge connector as
viewed from the rear of the instrument.
10
+
The digital output lines will drive two TTL loads. All digital
input lines are less than 1.5 TTL loads. Normal precau-
tions should be taken to limit the input voltages to -0.3 to
+i'.O volts. All IWOlines are referenced to digital ground
(pin 20).
+
In addition to interfacing with TTL logic Iewts, the digital
output lines can be configured es high voltage/high cur-
rent outputs. These outputs can sink up to 1OOmA at WV
DC through the use of open collector drivers with integral
diodes for inductive load transient suppression. This al-
lows for interfacing the digital outputs with relays. lamps
and solenoids.
To configure the digital output lines for this purpose, it is
necessary to open the enclosure and reposition the
configuration jumper according to the procedure in
Section 6 of the Model 213 Instruction Manual.
12 +
+
BASIC OPERATION
DAC PORT TRIGGERING
Triggering is the process of changing a DAC output at the
ccwrrence of a trigger event. The three trigger events
which can trigger a DAC port are: a Command Trigger
(@), an IEEE Group Execute Trigger (GET), or an exter-
nal trigger pulse applied tc the external trigger/SK2 in-
put. Any DAC port may be configured to trigger on one or
more of these trigger sources. These trigger sources and
their relationship to a DAC port are shown in Figure 5.
As shown in the diagram, the trigger sources are routed
to the ports using the trigger mask commands. The trig-
ger mask commands are illustrated as switches. They
are used to enable a trigger source to trigger the selected
DAC port. All trigger signals are then combined to allow a
port tc be triggered upon the occurrencs of any of the
three trigger events.
Operation of the Model 213 is controlled by an internal
lmssc timer. Each DAC port is updated at a maximum
rate of cnce every millisecond. When a trigger event cc-
curs, the DAC will output the programmed voltage within
1 msec of receiving the trigger.
+ 13
+
Figure 5. Model 213 Trigger Structure
INTERNAL BUFFER
The Model 213 contains an internal buffer consisting of
81921ocations numbered 0 to 8191. The bufferisshared
by all ports. Each port may be given a different section of
the buffer or ports may use the same buffer locations
without conflict.
This buffer may be loaded with voltage values to be out-
put when the stepped or waveform modes are used. All
14 +
+
data in the internal b""W is SaYed in non-volatile RAM.
Therefore bufferdatawhichwaspreviously loaded will be
available at power on.
Figure 6 shows the factory default allocation of the inter-
nal buffer to each of the DAC ports on the Model 213.
+
CONTROL MODES
Four modes of DAC port operation are available: direct,
indirect, stepped, and waveform. Each port is independ-
enf and may be operated in a different mode.
Direct Control Mode
In the direct control mode, a DAC voltage is output upon
receipt of the Execute (X) command. Direct control is ac-
complished by selecting the DAC port, the range or
autorange, specifying the DAC output voltage. and issu-
ing the Execute command.
Indirect control implies that the DAC output will change
only when a trigger event occurs. Indirect control is ac-
complished by selecting ihe DAC port. the rang8 or
autorange, specifying the DAC output voltage and the
desired trigger source. When the trigger event occurs,
the programmed voltage will be output.
Stepped Mode
In this mode, a sequence of DAC voltages is loaded into
the Model 213 internal buffer. After the voltages are
loaded into the buffer, the DAC output can then be
stepped through each of the values by using any of the
three trigger sources. When the last voltage in the buffer
16 +
+
is output, th@ Model 213 will automatically return to the
first location, thereby allowing the sequence to be re-
peated. See Figure 7.
Figure 7. Example of Stepped Mode
Waveform Mode
The waveform control mode may be used tc control the
DAC in an automatic manner. A buffer is defined and volt-
age values are loaded into the buffer. Once the Model
213 is triggered, these preloaded voltage values are then
output at a regular interval. See Figure 8.
When'the last voltage in the buffer is output, the Model
213 will remain at that location if the number of cycle has
been reached. The voltage stored at this location is then
output continuously. lfthespecified number of cycles has
+ 17
+
"cl been reached, the Mode, 213 a",CmatiO~ll~ CO"ti"-
UBS a, the first buffer location.
Flgure 8. Example of Waveform Mode
16 +
+
IEEE-488 PROGRAMMING
DEVICE-DEPENDENT
COMMANDS
Trigger
(system command)
@ Command trigger. Triggers the ports in
the command trigger mask (Tmask).
This command does not require the Exe-
cute Ixl command to owate.
Autorange
(port command)
A0 Disableautorangefor selected DACpoll
Al (default) Enable autorange for selected DAC port
A? Returns current autorange setting.
+ 19
+
lufter Data
port command)
Png,volts Write volts value in buffer location for
selected DAC port.
kng,#val Write decimal bit value in buffer location
for selected DAC port.
~mg,#$valZ Write hexadecimal bit value in buffer lo-
cation for selected DAC port.
3? Returns the range and value at the loca-
tion pointer for the selected DAC port in
the format specified by the Output For-
mat (On) command.
NOfS%
1. This command increments the loca-
tion counter after the value is written
lo or read from the buffer.
2. Factory default vlaues are mg=O,
volts=0.
3. Valid values are mg=O-3, volts=
number without a V mefix.
Control Mode
(wart command)
CO (default) Direct mode
Cl Indirect mode
C2 Steooed mode
.~.
C3 Waveform mode
C? Returns current control mode for se-
lected port
Notes:Selecting a control mode slops
the prior mode activity and rearms the
Dart for the selected mode.
20 +
+
outputs the value on the digital outpuf
Returns the current value of the digital
I Noies:'
1. Default o"ta"t
2. "a, = o-25<.
value = 0
-1 Returns the error status which indicates
Error Status Codes:
EO No error
I
El Invalid command
E2 Invalid command parameter
Command conflict
:: Calibration write protected
E5 Non-volatile RAM error
Nofes: Upon reading the error status ths
errnr is rlalrad
21
+
+
the selected port. 0 c start 5 8191; 1 5
Returns the starting buffer location and
number of locations used in the defined
buffer.
No&s: The sum of stari+size must be
less than or equal to 8192. The default
values are o,, 024; 1024, 1024; 2048.
1024: and 3072,1024 for ports 1 thru 4
respectively.
Get Trigger Mask
(system command)
Gmask Sets bits in the GET trigger mask which
specifies which ports will be triggered
upon receipt of a bus GET command.
G-mask Clears the specified bits in the GET trig-
germask.
Clears all bits in the GET trigger mask.
Returns current GET trigger mask.
The mask bits are as follows:
Bit 0 Enable trigger to DAC port 1 (1).
Bit 1 Enable trigger to DAC port 2 (2).
Sit 2 Enable trigger to DAC port 3 (4).
Bit 3 Enable trigger to DAC pon 4 (8).
Nofss: The default mask value is 0.
22 +
+
oftset Catlbr*ttOn
(port command)
Hval Specifies the offset constant for selected
range and port. Range is f255.
H? Returns the o"set constant for selected
range and port.
Notes: Calibration constants must be
programmed while using the direct con-
trol mode (CO). Autorange must be dis-
abled to program calibration constants.
The current voltage output is retriggered
upon execution of this command. Default
"lll,FI is n
IlltWWil
(port command)
It Specify time interval (in milliseconds)
used with the waveform control mode.
Range fort is i-65535.
I? Returns the current interval.
Notes: The default value is 1000 (1 sec-
+ 23
+
C Mn Callbratlon
port command)
.IIpos, neg Specifies the gain constant for both Po-
larities of the selected range and port.
pos and neg = O-255.
JI? Returns the gain constants for selected
range and port.
Notes: Calibration constants must be
programmed while using the direct con-
1
trol mode (CO). Autorange must be dis-
abled (AO) to program calibration con-
stants. The current voltage output is
retriggered upon execution of this com-
mand. Default "alws are 128. 128.
Returns the current EOI control setting.
LocatIon Pointer
Jport command)
LWI Specifies the current buffer location.
Range for val is O-8191.
L? Returns the current buffer location in the
format specified by the Output Format
(On) command. The value returned after
an L? is the first location that will be used
in stepped and waveform modes.
24 +
ServiceRequest Mask
&stem command)
Mmask Sets bits in the service request mask
which specifies which Model 213 events
will generate a bus service request.
M-mask Clears the specified bits in the service re-
quest mask.
MO Clears all bits in the service request
mask.
M? Returns currant service request mask.
The mask bits are as follows:
Bit 0 Enable SRQ on DAC port 1 ready for trig-
ger (1).
Bit 1 Enable SRQ on DAC port 2 ready for trig-
w (2).
Bit 2 Enable SRQ on DAC port 3 ready for trig
w (4).
Bit 3 Enable SRQ on DAC port 4 ready for trig-
ger (a).
Bit 4 Enable SRQ on Trigger Overrun (16).
Bit 5 Enable SRQ on (war (32).
Bit 7 Enable SRQ on External input transition
II XII
Number of Cycles
jport command)
Nval Specifies the number of cycles through
the buffer in the waveform mode. "al is
O-65535, where 0 is continuous.
N? Returns the number of repetitions speci-
fied for use in the waveform mode.
Notes: The default value is 1.
25
+
+
{system command)
OO(default) Sets output format to volts in flO.0000
(fixed).
Sets output format in volts in decimal bits.
is: Sets output format in volts in hexadeci-
mal bits.
07 Returns current output format selected.
Pt (default) Select DAC port 1.
26 +
External Trigger Mask
(system command)
Qmask Sets bits in the external trigger mask
which specifies the active edge of the w
ternal input line and which ports will be
triggered upon a transition of that line.
Q-mask Clears the specified bits in the external
trigger mask.
00 Clears all bits in the external trigget
mask.
Q? Returns current external trigger mask.
The mask bits are as fellows:
Bit 0 Enable trigger to DAC port 1 (1).
Bit 1 Enable trigger to DAC port 2 (2).
Bit 2 Enable trigger tc DAC port 3 (4).
Bit 3 Enable trigger to DAC pod 4 (8).
Bit 7 External input line edge sense: (128)
l=negative edge triggered
O=positive edge triggered
Notes:The bit 7 default value is 0.
RI (default) Select DAC *IV range.
Select DAC -tW range.
Select DAC *IO" range.
Returns DAC ""I+ rnnn~
Notes:This cc
command should not be used
+ 27
Saves the current settings as default val-
Restores Gain and Offset cal constants.
Saves current calibration constants to
Returns the last Sn command executed.
Command Trigger Mask
(system command)
Tmask Sets bits in the command trigger mask
which specifies which ports will be trig
gered upon receipt of a trigger command
(@).
T-mask Clears the specified bits in the command
trigger mask.
TO Clears all bits in the command trigger
mask.
T? Returns current command trigger mask.
The mask bits are as follows:
Bit 0 Enable trigger lo DAC port 1.
Sit 1 Enable trigger to DAC port 2.
Sit 2 Enable trigger to DAC port 3.
Sit 3 Enable trigger to DAC pod 4.
N&s: The default value is 0.
28 +
+
(system command)
Send system status on talk.
i? Send DAC port 1 status on talk.
Send DAC port 2 status on talk.
K Send DAC port 3 stat"~ on talk.
u4 Send DAC port 4 status on talk.
Send digital input port status on talk.
ifi Send overr"" status on talk.
u7 Returns actual output voltage and range.
U8 (default) Returns programmed output voltage and
range.
U? Returns current status select setting.
Notes: All status commands are one
shot.
Value output
(port command)
VVOltS Write volts value for selected DAC port
V#Kl Write decimal bit value for selected DAC
PO*.
V#$KlZ Write hexadecimal bit value for selected
DAC port.
V? Returns current range and value for se-
lected port in the format specified by the
Output Format (On) command.
Notes: The urrent autorange and range
affect the value. When programming in
bits. autorange must be disabled. The
digital port must be programmed in bits.
+ 29
+
-1
WO (dsfault)Turn off TEST LED.
1
Execute
(system command)
x Execute command string.
Bus Terminator
{system command)
YO(default) Bus terminator is carriage return lins
feed.
Bus terminator is line feed carriage re-
turn.
Bus terminator is carriage return only.
Bus terminator is line feed only.
Returns current bus terminator setting.
30 +
+
SRQ MASK AND
SERIAL POLL BYTE
+ 31
+
STATUS WORDS
32 +
+
UO System Status (Cont.)
+ 33
+
Figure 11. WI-U4 Port Status
34 +
+
U5 - Digital Input Port Status
nnn
u
Fioure 13. U6 Overrun Status
35
+
+
C#P#R#ViC##.#####
1 = OAC pm 1
*=oACpart2
3=OACport3
`l=LMCip0*4
Flgure 14. WActuaI Output Voltage and Range
36 +
+
A#C#P#R#Vzt##.#####
1=OAcport1
2~oACpon2
3 _ OAC part 3
4-oACporl4
Figure 16. U6 Programmed Output Voltage and
Ftanoe
37
+
+
KEYBOARD CONTROLLER
PROGRAM
The keyboard controller program is a simple BASIC pro-
gram that accepts commands from the PC keyboard and
sends them to an IEEE-488 interface with the IOtech
Driver488 software. It then displays any responses on
the PC screen. The keyboard controller program is acon-
venient method of exercising the Model 213 and becom-
ing familiar with the commands and their actions.
36 +
+
+
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