Measurement-computing Analyzer488 Manual de usuario Pagina 231

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 281
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 230
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
Vista de pagina 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 280 281

Comentarios a estos manuales

Sin comentarios