Keithley 194 Instruction Manual page 269

High speed voltmeter
Table of Contents

Advertisement

APPENDIX
G
A device is placed in the talk or listen mode from the con-
troller by sending an appropriate
talk or listen command.
These talk and listen commands are derived from an in-
strument's
primary
address. The primary
address may
have any value between 0 and 30 and is generally set by
rear panel switches or programmed in from the front panel
(as in the case of the Model 194). The actual listen com-
mand value sent over the bus is derived by ORing the
primary
address with $20 (the $ symbol preceding
the
number designates a hexadecimal,
or base 16 value). For
example, if the primary
address is 9 (the default Model
194 value), the actual listen command byte value is $29 ($09
+ $20 = $29). In a similar manner, the talk command byte
is derived by ORing the primary
address with $40. With
a primary
address of 9, the actual talk command
byte
would be $49 ($40 + $09 = $49).
The IEEE-488 standards also include another addressing
mode called secondary
addressing.
Secondary
address
byte values lie in the range of $60.$7F, Note, however, that
many devices, including
the Model 194, do not use secon-
dary addressing.
Once the device is properly addressed, bus transmission
sequences are set to take place. For example, if an instru-
ment is addressed to talk, it will usually output
its data
string on the bus one byte at a time. The listening
device
(frequently
the controller)
will then read this information
as transmitted.
BUS LINES
The signal lines on the IEEE-488 bus are grouped into three
categories: data lines, management lines, and handshake
lines. The eight data lines handle bus data and many com-
mands, while the management
and handshake lines en-
sure orderly bus operation. Each bus line is active low with
approximately
zero volts representing
logic 1 (true). The
following
paragraphs
briefly
describe the operation
of
these lines.
Data Lines
The bus uses eight data lines to transmit and receive data
in bit-parallel,
byte serial fashion. These lines use the con-
vention DIOl-Dl08
instead of the more common DO-D7.
DlOl
is the least significant
bit, while Dl08 is the most
significant
bit. The data lines are bidirectional
(with most
devices), and, as with the remaining bus lines, low is con-
sidered to be true
Bus Management
Lines
The five bus management
lines ensure proper interface
control and management.
These lines are used to send
uniline
commands.
ATN (Attention)-The
state of ATN determines
how
infor-
mation on the data lines is to be interpreted.
IFC (Interface
Clear)-IFC
allows the clearing of active
talkers or listeners from the
bus.
REN (Remote Enable)-REN
is used to place devices in
the remote mode. Usually,
devices must be in remote
before they can be programmed
over the bus.
EOI (End Or Identify-E01
is used to mark the end of
a multi-byte
data transfer sequence. EOI is also used along
with ATN, to send the IDY (identify)
message for parallel
polling.
SRQ (Service Request)-SRQ
is used by devices to request
service from the controller.
Handshake
Lines
Three handshake lines that operate in an interlocked
se-
quence are used to ensure reliable
data transmission
regardless of the transfer rate. Generally, data transfer will
occur at a rate determined
by the slowest active device on
the bus. These handshake
lines are:
DAV (Data Valid)-The
source (talker) controls the state
of DAV to indicate to any listeners when data is valid.
NRFD (Not Ready For Data)-The
acceptor (listener) con-
trols the state of NRFD. It is used to signal the transmit-
ting 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.
Figure G-2 shows the basic handshake
sequence for the
transmission
of one data byte. This sequence is used to
transfer data, talk and listen addresses, as well as multiline
commands.
G-2

Advertisement

Table of Contents
loading

Table of Contents