摘要 |
<P>PROBLEM TO BE SOLVED: To perform multi-task scheduling of a plurality of ladder processes and task processes according to a priority order. <P>SOLUTION: A controller comprises a first processor executing ladder processing, a second processor executing task processing and main memory storing a plurality of ladder programs and a plurality of task programs, and preliminarily sets combinations of the ladder programs and the task programs according to priorities of processing. The second processor instructs the first processor to execute a ladder program with a priority in response to interruption with processing period of each priority of processing. The first processor executes the ladder processing according to the ladder program with the priority within the main memory. The second processor executes the task processing according to a task program with the priority within the main memory, and completes the task processing with the priority and the ladder processing with the priority within the processing period of each priority of designated interruption. <P>COPYRIGHT: (C)2013,JPO&INPIT |