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

  • 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 42
CHAPTER 3 PROGRAMMING REFERENCE
37
3.4.19. TIMEOUT Purpose :
Purpose :
This command sets the timeout period. When the bus handshake is stuck, the called
I/O functions will terminate at the time specified and the timeout flag will be set.
Offset :
TIMEOUT%=45
Syntax :
CALL TIMEOUT%(T%) ----BASIC
CALL ABSOLUTE(T%,TIMEOUT%) ----BASIC Compiler
Parameter:
T% - T% = 0 Disable the timeout command.
T% = 1 to 32767 Timeout period is T% units.
T% = -1 to -32767 Timeout period is (65536+T%) units.
Bus Activity :
None.
Remark :
1. The unit of the timeout period depends on the execution speed of the CPU. For PC/
XT of 4.77 MHz clock rate, the unit is one millisecond. For PC/AT and higher clock
rate CPU, the unit is less.
2. The timeout period is set to 10000 units each time the INIT command is called.
Vista de pagina 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 83 84

Comentarios a estos manuales

Sin comentarios