摘要 |
<P>PROBLEM TO BE SOLVED: To provide a control device which can perform consistent calculation even when a plurality of tasks has access to variables. <P>SOLUTION: A CPU unit comprises: a task execution unit 21 which executes a plurality of tasks in parallel and also executes each task of the plurality of tasks in a cycle according to each task; a RAM 13 for storing global variables to be updated and consulted by an update task and consultation data to be consulted by a consultation task according to the global variables; and a collection unit 23 for collecting the global variables and the consultation data while the task execution unit 21 executes the plurality of tasks. <P>COPYRIGHT: (C)2013,JPO&INPIT |