Keithley KM-488-ROM User Manual page 62

Ieee-488 interface board
Table of Contents

Advertisement

-
SETSPOLL
(cont.)
This example illustrates a common use of SETSPOLL.
-
SPOLL
purpose
Performs a serial poll of the specified device.
offset
12
usage
. . .
XXWOLL-12
xx. a&a% -
xx rsspe
-
xx
&Gate
=
xx CrLLL WOLL (adz*%, rsape, *tat%)
parameters
adrs% is an INTEGER containing the IEEE bus address of the device
that is to be serial polled. This can range from 0 to 30.
returns
resp% is an INTEGER containing the serial poll response received. The
definition of this integer varies from device to device; however, Bit 6 is
always used to indicate whether the device is in need of service. Consult
the manufacturer's operator's manual for more information.
stat% is an INTEGER describing the state of the transfer returned after
the call. The stat value is interpreted as follows:
Stat (Return) -Low Byte
BIT
7
6
6
4
3
2
1
0
0
0
0
0
TM0
0
NC
ADR
Where
TM0
Timeout Error. Indicates whether or not a Timeout Error
occurred during data transfer. If this bit is a 1, then a
Timeout Error occurred.
NC
KM48-ROM not a Controller. If this bit is set to a 1, it
indicates the routine was called before the KM-488-ROM
was designated as an Active Controller.
4-22
KM-466~ROM USER GUIDE

Advertisement

Table of Contents
loading

Table of Contents