Support device and non-transitory storage medium
AssigneeOMRON Corporation
InventorsMasahiko NAKANO, Eiji YAMAMOTO
Life of this patent
Estimating the term…
Abstract
A support device is provided for efficiently using a limited process resource that can be provided by a single control device and a non-transitory storage medium for storing a support program for realizing the support device. The support device includes a load estimation unit which calculates a degree of a load necessary for analyzing a syntax of a command included in an application program and a priority calculation unit which calculates a priority to be set for a second task based on the calculated degree of the load.
Claims20
A support device connected to a control device including one or a plurality of processors, the control device being configured to process a plurality of tasks based on priorities set for each of the tasks,
- wherein the plurality of tasks includes a first task which includes a process of outputting a control command every first cycle according to an internal command, a second task which includes a process of sequentially generating the internal command by analyzing a syntax of at least a part of an application program described by an interpreter language every second cycle longer than the first cycle, and a third task which includes a different process from the first task and the second task, and
- wherein the support device comprises:
- a load estimation unit which calculates a degree of a load necessary for analyzing a syntax of a command included in the application program;
- and
- a priority calculation unit which calculates a priority to be set for the second task based on the calculated degree of the load.
A non-transitory storage medium for storing a support program, wherein the support program used for realizing a support device connected to a control device including one or a plurality of processors, the control device being configured to process a plurality of tasks based on priorities set for each of the tasks,
- wherein the plurality of tasks includes a first task which includes a process of outputting a control command every first cycle according to an internal command, a second task which includes a process of sequentially generating the internal command by analyzing a syntax of at least a part of an application program described by an interpreter language every second cycle longer than the first cycle, and a third task which includes a different process from the first task and the second task, and
- wherein the support program causes a computer to execute:
- calculating a degree of a load necessary for analyzing a syntax of a command included in the application program;
- and
- calculating a priority to be set for the second task based on the calculated degree of the load.
Dependencies are inferred from the claim text.