Control device for industrial machine and control method for industrial machine
The present invention is designed to improve safety in the event an anomaly occurs in software. A control device for an industrial machine includes a memory part and a control part. The memory part stores the software for controlling the industrial machine to repeat the molding operations. The control part executes the software at least twice so that a process is performed by each of a plurality of the same software.
1 . A control device for an industrial machine, the control device comprising:
a memory part configured to store first software and second software; the first software and the second software controlling the industrial machine to repeat a molding operation; the first software including a first process, and the second software including a second process; and
a processor configured to:
execute the first software to perform the first process; and
execute the second software to perform the second process,
wherein the first process and the second process are identical,
wherein the first software and the second software are generated by executing a single control program stored in the memory part at least twice, and have an identical algorithm, and
wherein the processor is further configured to execute the second software to perform the second process concurrently with the execution of the first software.
2 . The control device for the industrial machine according to claim 1 , wherein the first software or the second software outputs a command that causes the industrial machine to perform the molding operation.
3 . The control device for the industrial machine according to claim 2 , wherein the first software monitors the second software as to whether an anomaly occurs in the second software, and the second software monitors the first software as to whether an anomaly occurs in the first software.
4 . The control device for the industrial machine according to claim 2 , wherein the processor is configured to monitor each of the first software and the second software as to whether an anomaly occurs in each of the first software and the second software.
5 . The control device for the industrial machine according to claim 2 , wherein the first software determines whether an anomaly occurs in the first software, and the second software determines whether an anomaly occurs in the second software.
6 . The control device for the industrial machine according to claim 2 , wherein,
the first software does not output the command before an occurrence of an anomaly is determined in the second software; and
the first software starts outputting the command, in response to the determination of the occurrence of the anomaly.
7 . The control device for the industrial machine according to claim 6 , wherein, when the occurrence of the anomaly is determined in the second software and the outputting of the command is switched to the first software, the first software outputs an indication that a product molded at a time of the switching is defective.
8 . A control method for an industrial machine that repeats a molding operation, the method comprising:
executing first software and second software; the first software and the second software controlling the industrial machine; the first software and the second software stored in a memory part; the first software including a first process, and the second software including a second process;
causing the first software to perform the first process; and
causing the second software to perform the second process,
wherein the first process and the second process are identical,
wherein the first software and the second software are generated by executing a single control program stored in the memory part at least twice, and have an identical algorithm, and
wherein the control method further comprises executing the second software to perform the second process concurrently with the execution of the first software.
9 . The control device for the industrial machine according to claim 1 , wherein the first software performs the first process and the second software performs the second process at substantially a same time.
10 . The control device for the industrial machine according to claim 1 , wherein the first software outputs a first command that causes the industrial machine to perform the molding operation,
wherein the processor is configured to cause a second command to be output from the second software, when an anomaly is determined in the first software, and to output, to outside of the control device, information indicating that a switch has occurred from output of the first command to output of the second command; and
wherein the output of the information is performed at the time that the switch occurred.
11 . The control device for the industrial machine according to claim 1 , wherein
the memory part includes a first memory field and a second memory field;
the first software reads and writes in the first memory field; and
the second software reads and writes in the second memory field.
12 . A control device for an industrial machine, the control device comprising:
a memory part configured to store software that controls the industrial machine to repeat a molding operation; and
a processor configured to execute the software at least twice so that a process is performed by each of a plurality of same software;
wherein one of the plurality of same software outputs a first command that causes the industrial machine to perform the molding operation;
wherein the processor is configured to output a second command from another software of the plurality of same software, when an anomaly is determined in the one software, and to output, to outside of the control device, information indicating that a switch has occurred from output of the first command to output of the second command; and
wherein the output of the information is performed at the time that the switch occurred,
wherein the first process and the second process are identical,
wherein the first software and the second software are generated by executing a single control program stored in the memory part at least twice, and have an identical algorithm, and
wherein the processor is further configured to execute the second software to perform the second process concurrently with the execution of the first software.
13 . The control device for the industrial machine according to claim 12 ,
wherein the memory part has a plurality of memory fields; and
wherein the plurality of same software reads and writes in different memory fields among the plurality of memory fields.