Control device and non-transitory machine readable storage medium
AssigneeOMRON Corporation
InventorsHitoshi Kataoka, Nobuyuki Sakatani, Mitsuhiro Yoneda
Life of this patent
Estimating the term…
Abstract
Information is backed up with a simple configuration. A control device that controls an object, the control device includes: a storage configured to store information controlling the object; and a change detector configured to detect that information in the storage is changed, in which the control device executes backup processing of the information stored in the storage when the change detector detects that the information in the storage is changed during operation.
Claims20
A control device that controls an object, the control device comprising:
- a storage configured to store information for controlling the object;
- a change detector configured to detect that the information in the storage is changed;
- a first network controller configured to connect a first network configured to communicate between the control device and the object;
- a second network controller configured to connect a second network configured to communicate between the control device and an upper system provided outside the control device;
- a processor;
- and
- a scheduler configured to manage a plurality of programs executed by the processor within a cycle,
- wherein:
- the control device executes backup processing of the information stored in the storage when the change detector detects that the information in the storage is changed during operation,
- the backup processing includes processing for copying information in the storage and storing the copied information in a storage medium,
- the storage medium includes a storage medium comprised in the upper system,
- a communication protocol of the first network includes a protocol that guarantees a data arrival time,
- the communication protocol of the first network is different from a communication protocol of the second network,
- the plurality of programs managed by the scheduler include:
- a control program that controls the object, and
- a backup program that performs the backup processing,
- the scheduler causes the processor to execute the control program within the cycle,
- the scheduler causes the processor to execute the backup program in an idle time of the cycle,
- the scheduler causes the processor to execute the backup program in the idle time of at least one cycle in which a total length of the idle time of the at least one cycle corresponds to a required time of the backup processing,
- the control device calculates the required time for completion of the backup processing based on an information amount to be backed up included in the information stored in the storage, a reading speed of the storage, and a writing speed of a storage medium, and
- the control device calculates a number N of the at least one cycle required for the completion of the backup processing based on the required time and the idle time of each cycle, N being greater than or equal to 1.
A non-transitory machine readable storage medium containing a program executed by a processor included in a control device controlling an object, the control device including a storage that stores information for controlling the object, a first network controller that connects a first network configured to communication between the control device and the object, a second network controller that connects a second network configured to communicate between the control device and an upper system provided outside the control device, a processor, and a scheduler configured to manage a plurality of programs executed by the processor within a cycle, the program, when executed by the processor, causing the processor to:
- detect that the information in the storage is changed;
- and
- execute backup processing of the information stored in the storage in response to the detection that the information is changed when the control device is in operation,
- wherein:
- the backup processing includes copying information in the storage and storing the copied information in a storage medium,
- the storage medium includes a storage medium comprised in the upper system,
- a communication protocol of the first network includes a protocol that guarantees a data arrival time,
- the communication protocol of the first network is different than a communication protocol of the second network,
- the plurality of programs managed by the scheduler include:
- a control program that controls the object, and
- a backup program that performs the backup processing,
- the scheduler causes the processor to execute the control program within the cycle,
- the scheduler causes the processor to execute the backup program in an idle time of the cycle,
- the scheduler causes the processor to execute the backup program in the idle time of at least one cycle in which a total length of the idle time of the at least one cycle corresponds to a required time of the backup processing,
- the program further causes the processor to calculate the required time for completion of the backup processing based on an information amount to be backed up included in the information stored in the storage, a reading speed of the storage, and a writing speed of a storage medium, and to calculate a number N of the at least one cycle required for the completion of the backup processing based on the required time and the idle time of each cycle, N being greater than or equal to 1.
Dependencies are inferred from the claim text.