摘要 |
A controller (104), such as a PLC, stores a task execution condition management table (242) that indicates execution conditions for tasks and executes programs periodically in accordance with the execution conditions for the tasks. The controller (104) provides a setting instruction (320) for modifying the execution conditions for the tasks. A user enters the setting instruction (320) in a user program (236) by using a support device (300), for example. The controller (104) updates the task execution condition management table (242) with regard to a task associated with the instruction by executing the instruction (320) for modifying the execution conditions for the tasks, including priorities of the tasks and cycles of the tasks, contained in the user program (236), and executes the programs in accordance with the updated execution conditions for the tasks. |