摘要 |
PROBLEM TO BE SOLVED: To provide a task execution controller with high processing efficiency which is suitable for high speed cyclic processing by switching a task by a task switching means for executing the next task within an assigned time when the processing time of the task which is being processed ends earlier than the assigned time. SOLUTION: A task switching part 40 switches first - third tasks 51-53 under the control of a task execution managing part 10. When a system is started, the initialization of a task manager such as constant setting is operated, and the decision of tasks 51-53 to be started and the pre-processing of the start of the tasks 51-53 to be started is operated. When the processing of the tasks 51-53 is ended within an assigned time set by a time managing part 30, that is, when the processing time of the task which is being processed is shorter than the assigned time, the post-processing at the time of ending the execution of the task such as the saving of a stack pointer is operated, and the next tasks 51-53 are executed.
|