摘要 |
<p>A control apparatus capable of updating a user program while processing is being performed in a multitasking manner is provided. A CPU unit (1) includes a ROM (12) storing a user program containing a POU as well as a CPU (11) executing a task containing the user program and also updating the POU stored in the ROM (12). The CPU (11) is configured to execute a plurality of tasks concurrently and to execute each task with a period corresponding to the task. Moreover, the CPU (11) is configured to update the POU stored in the ROM (12) during the period of time from when a plurality of tasks to be executed have been finished until when the plurality of tasks are executed again.</p> |