Advantech PCL-848A/B Manual de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
36 PCL-848AB User's Manual
3.4.18. STATUS Purpose :
Purpose :
This command reads the status from the interface and returns this value to the
calling statement.
Offset :
STATUS%=42
Syntax :
CALL STATUS%(CONDITION%,5%) ----BASIC
CALL ABSOLUTE(CONDITION%,5%,5TATUS%) ----BASIC Compiler
Parameter :
CONDITION% - This number specifies which status is read.
0 - 7 : NEC7210 read register 0 - 7.
8 : Error Number of last called command.
9 : Count of string bytes that are output or entered.
10 : Timeout interval in milliseconds.
11 : I/O port address of NEC7210.
12 : DMA & IRQ setting.
S% - Variable which represents interface status 3 response.
Bus Activity :
None.
Remark :
The error number returned with condition 8 represents different types of errors.
Error Number Error Type
0 No error
l Handshake timeout
2 Interface error
3 Call ABORT when non-system controller
4 Invalid passed parameter(s)
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 83 84

Comentarios a estos manuales

Sin comentarios