Iei-integration WAFER-LX v1.0 Manual de usuario Pagina 117

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 144
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 116
WAFER-L
X
out period that is selected by software, please refer to the example program.
A tolerance of at least 5% must be maintained to avoid unknown routines within the operating
system (DOS), such as disk I/Os that can be very time consuming. Therefore, if the timeout
period has been set to 10 seconds, the I/O port 443H must be read within 7 seconds.
NOTE:
When exiting a program it is necessary to disable the Watchdog Timer,
otherwise the system will reset.
Example Assembly Program:
TIMER_PORT = 443H
TIMER_START = 443H
TIMER_STOP = 843H
;;INITIAL TIME PERIOD COUNTER
MOV DX, TIME_PORT
MOV AL, 8: ;;8 SECONDS
OUT DX, AL
;;ADD YOUR APPLICATION HERE
MOV DX, TIMER START
IN AL, DX. ;;START COUNTER
ADD YOUR APPLICATION HERE
W_LOOP:
MOV DX, TIMER_START
IN AL, DX. ;RESTART COUNTER
;ADD YOUR APPLICATION HERE
CMP EXIT_AP, 0
JNEW_LOOP
MOV DX, TIMER_STOP
A-3
A-3
Vista de pagina 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 143 144

Comentarios a estos manuales

Sin comentarios