CHAPTER 7
THEORY OF OPERATION
87
9.5. Service Request and Serial Pollmg
Some IEEE-488 devices have the ability to request service from the controller. A
device may request service when it has completed a 2 measurement, or when it has
detected a critical condition, or for other reasons. An IEEE-488 device requests
controller service by setting the SRQ line low. The controller has to determine when
and how a service request will be serviced. The following sequence is used to respond
to a service request:
1)
The controller checks for the presence of a service request.
2)
If a service request is present, the controller sets the serial poll mode. The serial
poll mode is initiated by the controller sending the command SPE (Serial Poll
Enable).
3)
The controller sequentially polls those devices that may have requested service.
Each polled device responds with the status byte. The controller then checks the
bit 6 (weight 64) of the byte to see if service was requested by this device.
4)
For each device that has requested service, the controller takes appropriate action.
5)
When all devices have been polled, the controller terminates the serial poll mode
by issuing the command SPD (Serial Poll Disable).
The full sequence of operations is not necessary in all cases. If the reason for a request
is simple and the controller knows the action, serial polling is not necessary. For
software convenience, the con- . troller sends SPD just after the status byte is read by
the computer.
9.6. Parallel Polling
Parallel polling permits the status of up to eight devices on the bus to be checked
simultaneously. Each device is assigned a data line (DIO1 to DI08) during parallel poll
configure. When the controller conducts a parallel poll (ATN and EOI set low at same
time), the rt device sets the assigned data line low or high to indicate if it requires
service. If more than eight devices are used with their parallel poll capability, some of
them can share one data line. Very few instruments have the capability to respond to a
parallel poll. Therefore, you can neglect the parallel poll now and only study it when
it becomes necessary.
Содержание PCLS-848-P
Страница 1: ...PCLS 848 P IEEE 488 INTERFACE CARD PASCA SUPPORT PACKAGE USER S MANUAL...
Страница 6: ...Figures Figuree 7 1 PCL 848A B Block Diagram 77...
Страница 10: ...4 PCLS 848 P User s Manual...
Страница 20: ...14 PCLS 848 P User s Manual...
Страница 32: ...26 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false String is entered...
Страница 37: ...CHAPTER 2 INSTALLATION 31 ieinit ioport myaddr setting...
Страница 42: ...36 PCLS 848 P User s Manual If addr 0 or addr 30 ATN is set false Long string is sent...
Страница 56: ...50 PCLS 848 P User s Manual...
Страница 80: ...74 PCLS 848 P User s Manual...
Страница 83: ...CHAPTER 7 THEORY OF OPERATION 77 Figuree 7 1 PCL 848A B Block Diagram...
Страница 84: ...78 PCLS 848 P User s Manual...
Страница 95: ...CHAPTER 7 THEORY OF OPERATION 89...
Страница 97: ...CHAPTER 7 THEORY OF OPERATION 91 Handshake Timing Sequence...
Страница 102: ...96 PCLS 848 P User s Manual...