Claims
- 1. A program control system in a multitask environment wherein operational programs respective for machine tools or industrial robots are allowed to be executed in parallel in an environment where a plurality of programs can be executed, comprising:
- program execution control means for controlling an execution of a plurality of programs;
- a first program of said plurality of programs which is activated for execution as an originating task by said program execution control means and includes a subtask execution command indicating an activation of another of said plurality of programs and a wait command indicating a temporary stop of execution of said first program;
- subtask execution recognition means for recognizing said subtask execution command in said first program during the execution of the first program;
- a second program of said plurality of programs which is activated for parallel execution as a subtask by said program execution control means in response to the recognition of said subtask execution command in said first program by said subtask execution recognition means, and includes an end command indicating a completion of a task in said second program associated with a task in said first program; and
- resumption control means for recognizing said wait command in said first program during the execution of said first program and for recognizing said end command in said second program during the execution of said second program,
- said program execution control means for temporarily stopping the execution of said first program in response to the recognition of said wait command in the first program by said resumption control means and for resuming the execution of said first program in response to the recognition of the end command in said second program by said resumption control means.
- 2. A program control system in a multitask environment according to claim 1, further comprising a third program which is activated for execution by said program execution control means as a subtask of said first program or said second program.
Priority Claims (1)
Number |
Date |
Country |
Kind |
5-277985 |
Nov 1993 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/330,818, filed Oct. 24, 1994, now abandoned.
US Referenced Citations (6)
Continuations (1)
|
Number |
Date |
Country |
Parent |
330818 |
Oct 1994 |
|