Control device, control method, and non-transitory computer readable medium
AssigneeOMRON Corporation
InventorKoji NISHIGAKI
Life of this patent
Estimating the term…
Abstract
Provided is a control device which can reliably execute a fixed cycle task within a control cycle. A schedule program (212) executed in the control device (1): estimates an execution time of a fixed cycle program (230) as a fixed cycle task that is to be executed in a next control cycle, which is a following control cycle, in a control cycle under execution in which a prescribed cycle program is executed; and sets an execution time of an information processing program (235) as an information processing task that is executed in the control cycle under execution in response to the length of the estimated execution time as the estimation result.
Claims9
A control device for controlling a control target apparatus connected via a network, the control device comprising:
- a microprocessor;
- and
- a storage unit,
- wherein the storage unit stores:
- a fixed cycle program, causing the microprocessor to execute a fixed cycle task required to be executed in a predetermined control cycle;
- an information processing program, causing the microprocessor to execute an information processing task with a priority lower than the fixed cycle task;
- and
- a scheduler program, causing the microprocessor to execute a schedule setting process of the fixed cycle program and the information processing program executed in the control cycle,
- wherein the scheduler program estimates an execution time of the fixed cycle program scheduled to be executed in a next control cycle, which is a following control cycle, in the control cycle under execution, which is the control cycle in which the predetermined fixed cycle program is executed, and sets the execution time of the information processing program executed in the control cycle under execution in accordance with a length of an estimated execution time as an estimation result.
A control method of a control device for controlling a control target apparatus connected via a network, the control method comprising:
- a fixed cycle program execution step of causing a microprocessor to execute a fixed cycle task required to be executed in a predetermined control cycle;
- an information processing program execution step of causing the microprocessor to execute an information processing task with a priority lower than the fixed cycle task;
- and
- a scheduler program execution step of causing the microprocessor to execute a schedule setting process of the fixed cycle program and the information processing program executed in the control cycle,
- wherein in the scheduler program execution step, an execution time of the fixed cycle program scheduled to be executed in a next control cycle, which is a following control cycle, is estimated in the control cycle under execution, which is the control cycle in which the predetermined fixed cycle program is executed, and the execution time of the information processing program executed in the control cycle under execution is set in accordance with a length of an estimated execution time as an estimation result.
Dependencies are inferred from the claim text.