摘要 |
PURPOSE:To stop even other tasks in the same group when one task stops by controlling the group relation of tasks in the relation of the simultaneous stop. CONSTITUTION:A device consists of control tasks 21-25 which main machines 21W-26W and given task numbers #1-#6 corresponding to respective the main machines, a task control table 20 which contains group classifications of mutual relations of the respective tasks 21-26, and an OS 7 which controls the respective tasks 21-26. The task control table 20 assign the same digit bit positions of respective task group flags to the same task group and stores '1' at the same digit bit positions of task groups flags of tasks which are so related to stop at the same time when one task stops. The OS 7 inputs the task number of the task where an error occurs and also inputs the task group of the task where the error occurs, thereby stopping the respective tasks in the task group. |