Accell MPC-68K Series Bedienungsanleitung Seite 33

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 45
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 44 45

Kommentare zu diesen Handbüchern

Keine Kommentare