Accell MPC-68K Series Manuale Utente Pagina 33

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 45
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 32
Multi-task
MPC-684 has 32 tasks ( task0 : Main-task. task1~31 : sub-tasks)
Main-task executes immediately after the RUN command (program mode) or MPC-684
power-on (auto mode). Sub-tasks are executed from main-task.
There isn't any prioritization of sub task. A sub task can execute or cancel out other sub
tasks.
The commands for multi-task
FORK,END,QUIT
The FORK command executes a sub-task.
The task is cancelled by the END command included in that task or by using the QUIT
command in a different task.
PAUSE,CONT
The PAUSE command pauses other tasks execution.
The CONT command enables the task to continue after it has been paused by the PUASE
command stop.
10 FORK 1 *TASK1 /* sub-task1 execute
20 WAIT SW(192)==1
30 QUIT 1 /* sub-task1 destroy
40 OFF 0
50 END
60 *TASK1
70 DO
80 ON 0 : TIME 500
90 OFF 0 : TIME 500
100 LOOP
33
Vedere la pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 44 45

Commenti su questo manuale

Nessun commento