beautypg.com

Ppoll disable or ppd, Ppoll unconfig or ppu, Remote – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 318

background image

III. COMMAND REFERENCES - 15. Command References

15A. Driver488/DRV Commands

Personal488 User’s Manual, Rev. 3.0

III-303

EXAMPLE

PRINT#1,

"PPC23;&H0D"

Configure device 23 to assert DIO6 when it desires service (ist =

1) and it is Parallel Polled (&H0D = 1101 binary; S=ist=1,
P2=1, P1=0, P0=1; 101 binary = 5 decimal = DIO6).

The

PPOLL CONFIG

command configures the Parallel Poll response of a specified bus device. Not all

devices support Parallel Polling and, among those that do, not all support the software control of their
Parallel Poll response. Some devices are configured by internal switches.

The Parallel Poll response is set by a four-bit binary number response:

S

,

P2

,

P1

, and

P0

. The most

significant bit of response is the Sense (

S

) bit. The Sense bit is used to determine when the device will

assert its Parallel Poll response. Each bus device has an internal individual status (

ist

). The Parallel

Poll response is asserted when this

ist

equals the Sense bit value

S

. The

ist

is normally a logic

1

when the device requires attention, so the

S

bit should normally also be a logic

1

. If the

S

bit is

0

, then

the device asserts its Parallel Poll response when its

ist

is a logic

0

. That is, it does not require

attention. However, the meaning of

ist

can vary between devices, so refer to your IEEE 488 bus

device documentation. The remaining 3 bits of response:

P2

,

P1

, and

P0

, specify which

DIO

bus data

line is asserted by the device in response to a Parallel Poll. These bits form a binary number with a
decimal value from

0

through

7

, specifying data lines

DIO1

through

DIO8

, respectively.

PPOLL DISABLE or PPD

SYNTAX

PPOLL DISABLE addr[,addr...]

or

PPD addr[,addr...]

addr

is a device address (primary with optional secondary) or an external device

name.

RESPONSE

None

MODE

CA

BUS STATES

ATN

UNL, MTA, LAG, PPC, PPD

SEE ALSO

PPOLL, PPOLL CONFIG, PPOLL UNCONFIG

EXAMPLE

PRINT#1,”PPOLL DISABLE

18,06,13”

Disable Parallel Poll of devices 18, 6, and 13.

The

PPOLL DISABLE

command disables the Parallel Poll response of selected bus devices.

PPOLL UNCONFIG or PPU

SYNTAX

PPOLL UNCONFIG

or

PPU

RESPONSE

None

MODE

CA

BUS STATES

ATN

PPU

SEE ALSO

PPOLL, PPOLL CONFIG, PPOLL DISABLE

EXAMPLE

PRINT#1,"PPOLL UNCONFIG"

The

PPOLL UNCONFIG

command disables the Parallel Poll response of all bus devices.

REMOTE

Bus Addresses Not Specified

SYNTAX

REMOTE

RESPONSE

None

MODE

SC

BUS STATES

REN

SEE ALSO

Remote (Sub-Chapter 15B)

EXAMPLES

PRINT#1,"REMOTE"

Assert Remote Enable