Parallel poll response pn – Measurement Computing Analyzer488 User Manual

Page 231

Advertising
background image

Section 6

Instrument Simulator

6.21

Parallel Poll Response Pn

The Parallel Poll Response command, Pn, is used to set the eight-bit parallel poll

register to any value from 0 to 255. The value in the parallel poll register will be
returned when the IEEE controller issues a parallel poll command (PPOLL) on the bus.
If Pn is used to change the parallel poll register, it replaces any previous register data.

SYNTAX:

P0

Clear the parallel poll register (default)

Pn

Set the Parallel Poll Register to n. (new data
replaces any previous data)

P?

Return Parallel Poll Register contents

EXAMPLES:

PRINT#1,"OUTPUT10;P65X"

set the parallel poll register to 65

PRINT#1,"PPOLL"

parallel poll the bus

INPUT#2,C$
PRINT C$

display shows 65

PRINT#1,"OUTPUT10;P?X"

request parallel poll register
contents

PRINT#1,"ENTER10"
INPUT#2,C$
PRINT C$

display shows P065

Advertising