Configuring Parallel Poll Responses - HP 1652B Programming Reference Manual

Logic
Hide thumbs Also See for HP 1652B:
Table of Contents

Advertisement

Polling HP-16 Devices
Configuring Parallel
Poll Responses
Example:
Example:
Status Reporting
B-10
Parallel Poll is the fastest means of gathering device status when several
devices are connected to the bus. Each device (with this capability)
be programmed to respond with one bit of status when parallel polled.
This makes it possible to obtain the status of several devices in one
operation. If a device responds affirmatively to a parallel poll, more
information about its specific status can be obtained by conducting a serial
poll of the device.
Certain devices, including the HP 1652B/1653B, can be remotely
programmed by a controller to respond to a parallel poll. A device which
is currently configured for a parallel poll responds to the poll by placing
its current status on one of the bus data lines. The response and the
data-bit number can then be programmed by the PPC (parallel Poll
Configure) statement. No multiple listeners can be specified in this
statement. If more than one device is to respond on a single bit, each
device must be configured with a separate PPC statement.
A S S I G N @ D e v i c e T O 7 0 7
P P O L L C O N F I G U R E
The value of Mask (any'numeric expression can be specified) is first
rounded andthen used to configure the device's parallel response. The
least significant 3 bits (bits 0 through 2) of the expression are used to
determine which data line the device is to respond on (place its status on).
Bit 3 specifies the "true" state of the parallel poll response bit of the
device. A value of 0 implies that the device's response is 0 when its status
bit message is true.
The following statement configures the device at address 07 on the
interface select code 7 to respond by placing a 0 on bit 4 when its status
response is "true."
P P O L L C O N F I G U R E
can
HP 16528/1663B
Programming Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 1653b

Table of Contents