The present invention relates to a maintenance operation for a control device for controlling a factory automation (FA) system such as production system.
A control device, such as programmable logic controller (PLC), controls an FA system installed in a manufacturing site or similar sites in a production factory by executing an arithmetic operation in accordance with a control program. In such a control device, a suitable program can be installed to update an already installed program. In addition, in such a control device, a suitable program can be installed to add a function. Various techniques have been proposed so far for downloading a program into a control device. For example, Japanese Unexamined Patent Publication No. 2002-297388 (Patent Document 1) proposes a method for downloading only part of a system program.
In addition, for a control device, Japanese Unexamined Patent Publication No. 2009-223586 (Patent Document 2) discloses a technique for recording, into the control device, information on an error occurred in the control device.
Patent Document 1: Japanese Unexamined Patent Publication No. 2002-297388
Patent Document 2: Japanese Unexamined Patent Publication No. 2009-223586
As disclosed in Patent Document 2, a control device records, if an error occurs, information on the error. However, the control device does not record its status information unless an error occurs. Therefore, a content of a maintenance operation after normally executed without an error in such an above described control device has been difficult to review. Due to this reason, the control device has to be analyzed in detail to review if the control device operates normally.
In addition, in a manufacturing site or a similar site in a production factory, in which the above described control device is used, an operator is required to execute a maintenance operation, including downloading a program, for the control device, without permission by a supervisor in the site. In such a case, a required review for the control device through a detailed analysis, as described above, could bother the supervisor. In particular in recent years in which companies globally expand their scales, a company may own some production factories in multiple countries. In view of such a situation, some production factories can present in other countries, in addition to a country in which a substantial supervisor of the production factories resides. In such a case, the above described substantial supervisor has to take some efforts to visit each of the countries in which the production factories present in order to analyze control devices.
In view of the above circumstances, the present invention has an object to provide devices, a system, and a method over which a history of maintenance operations taken for each control device can easily be confirmed.
According to an aspect, a control device for controlling a production system is provided. The control device includes a storage device, and a processor configured to write, into the storage device, firmware used for the control device and recorded in a portable recording medium. The processor is configured to write, into the storage device, information identifying that firmware is written.
Preferably, the information identifying that firmware is written includes information identifying a name of the firmware written into the storage device.
Preferably, the information identifying that firmware is written includes information identifying the portable recording medium.
According to another aspect, a control system including a control device for controlling a production system, and a support device capable of communicating with the control device is provided. The control device includes a first storage device, and a first interface for communicating with the support device. The support device includes a second storage device, a second interface for communicating with the control device, and a controller configured to write, into the first storage device, via the second interface, firmware used for the control device and recorded in the second storage device. The controller is further configured to write, into the first storage device, information identifying that firmware is written.
Preferably, the controller further writes, into the second storage device, information identifying that firmware is written. The support device further includes a displaying unit configured to display the information written in the first storage device to identify that firmware is written, and the information written in the second storage device to identify that firmware is written.
Preferably, the control device further includes a processor configured to write, into the first storage device, firmware used for the control device and recorded in a portable recording medium detachable to and from the control device. The processor is configured to write, into the first storage device, information identifying that firmware recorded in the portable recording medium is written into the first storage device. The displaying unit is further configured to display the information identifying that firmware recorded in the portable recording medium is written into the first storage device.
According to still another aspect, a support device capable of communicating with a control device for controlling a production system is provided. The support device includes a storage device, an interface for communicating with the control device, and a controller configured to write, into the control device, via the interface, firmware used for the control device and recorded in the storage device. The controller is configured to write, into the control device, information identifying that firmware used for the control device is written.
Preferably, the information identifying that firmware used for the control device is written includes information identifying the control device.
According to still another aspect, a maintenance management method for a control device, executed by a computer of the control device for controlling a production system, is provided. The management method includes a step of writing, into a storage device of the control device, firmware used for the control device and recorded in a portable recording medium, and a step of writing, into the storage device of the control device, information identifying that firmware is written.
Preferably, the information identifying that firmware is written includes information identifying the portable recording medium.
According to still another aspect, a method for managing writing of firmware into a control device for controlling a production system, executed by a support device capable of communicating with the control device, is provided. The management method includes a step of writing, into the control device, firmware used for the control device, and a step of writing, into the control device, information identifying that firmware used for the control device is written.
Preferably, the information identifying that firmware used for the control device is written includes information identifying the control device.
According to still another aspect, a control device for controlling a production system is provided. The control device includes a storage device, and a processor configured to delete, from the storage device, firmware used for the control device. The processor is configured to write, into the storage device, information identifying that firmware is deleted.
According to the present invention, at least one of information identifying that firmware is written and information identifying that firmware is deleted is recorded into a control device. Accordingly, at least one of a history showing that firmware is written and a history showing that firmware is deleted is record into the control device. Therefore, the history can provide a maintenance history on firmware in the control device for easy confirmation. In particular, when the control device can make a communication via a network, a substantial supervisor in a manufacturing site can remotely see and confirm the maintenance history on firmware used for the control device disposed in the manufacturing site.
An embodiment of the present invention will now be described in detail with reference to the drawings. At this point, identical numerals and symbols apply to identical or equivalent components shown in the drawings so as not to repeat description of the components.
<Configuration of Control System>
In the control system shown in
In the control system shown in
In the control system shown in
In response to this, the PLC 100 writes the data recorded in the support device 300.
Upon the maintenance operation is executed, information identifying the maintenance operation is recorded in the PLC 100. As an example, the information identifying the maintenance operation is written by the support device 300. At this time, the support device 300 may record, into the support device 300 itself, the information identifying the maintenance operation.
As another example, the information identifying the maintenance operation is written by the PLC 100 itself. More specifically, when the PLC 100 writes, into the PLC 100 itself, data recorded in the recording medium 500 to execute a maintenance operation, the PLC 100 further writes, into the PLC 100 itself, information identifying the maintenance operation. At this time, the PLC 100 may record, into the recording medium 500, the information identifying the maintenance operation.
<Hardware Configuration of Support Device 300>
The hard disk 308 can store data (program data and/or batch file data) to be sent to the PLC 100 and a history of maintenance operations executed for the PLC 100. In
The support device 300 further includes a keyboard 310 and a mouse 312 for accepting operations by a user, a monitor 314 for presenting information to the user, and a Secure Digital (SD) memory card interface 316. The embodiment applies an SD memory card as an example of the recording medium 500. The CPU 302 reads data recorded in the recording medium 500, and records data into the recording medium 500, via the SD memory card interface 316. The support device 300 further includes a communication interface (IF) 318 for communicating with the PLC 100 and other devices.
<Hardware Configuration of PLC 100>
The processor 122 controls an operation of the PLC 100 by executing a program stored in the nonvolatile memory 126 or other storage devices. The main memory 124 can be used as a work area for the processor 122. The nonvolatile memory 126 stores a variety of data such as programs. The LED 128 is an example reporting unit, and is controlled by the processor 122 for a lighting operation. The input device 132 accepts an external input of information, and is configured with, for example, a button. The connector 134 is provided to connect with an external device including a recording medium such as Universal Serial Bus (USB) memory. The processor 122 can communicate with, via the connector 134, the external device. The SD memory card interface 136 is used to read data recorded in an SD memory card, an example of the recording medium 500. The processor 122 reads, via the SD memory card interface 136, the data recorded in the recording medium 500.
<Outline of Maintenance Operation>
The PLC 100 shown on the left side in
The additional function is particular to a production apparatus in which the PLC 100 is mounted. Example functions include temperature control function and special communication function. In addition, different from the basic functionality of the PLC 100, the additional function is added by a manufacturer of the PLC 100 for higher competitiveness to achieve an expected, higher value for the PLC 100. That is, the application functionality may differ depending on a PLC 100, and, in addition, depending on a production apparatus onto which a control device is mounted. The application functionality (additional function) is also called as “add-on firmware,” and is achieved by a type of firmware for the PLC 100.
The system firmware 150 and the additional function A170 are stored in, for example, the nonvolatile memory 126. In addition, the PLC 100 includes a control memory 160 for storing information for identifying a maintenance operation for the PLC 100. The control memory 160 includes, for example, the nonvolatile memory 126. In the PLC 100, the processor 122 executes the additional function A170 to achieve a particular function.
As an example maintenance operation for the PLC 100, the support device 300 writes, into the nonvolatile memory 126 of the PLC 100, an additional function B (application program for achieving the function). Accordingly, a state of the PLC 100 shifts to another state shown on the right side in
At this point, the PLC 100 can execute a maintenance operation for the PLC 100 itself. More specifically, the processor 122 of the PLC 100 can write, into the nonvolatile memory 126, an application program used for the additional function B and recorded in the recording medium 500. In addition, under an instruction given by the support device 300, the processor 122 writes, into the nonvolatile memory 126, data recorded in the data storing unit 331 of the support device 300.
<Maintenance Operation History Information (PLC 100)>
In the control system according to the embodiment, the PLC 100 stores a history of maintenance operations (maintenance operation history) for the PLC 100.
As shown in
For example, a maintenance operation shown at “1” in
A maintenance operation shown at “3” in
On the other hand, the CPU 302 determines that, when a maintenance operation starts, and a program having a file name identical to a file name of another program to be written through the maintenance operation is not written in the nonvolatile memory 126 of the PLC 100, a content of the maintenance operation is “addition.”
<Maintenance Operation History Information (Support Device 300)>
In the control system according to the embodiment, the support device 300 stores, as a maintenance operation history, information identifying a maintenance operation.
As shown in
For example, a maintenance operation shown at “3” in
<Maintenance Operation History Information (Recording Medium 500)>
In the control system according to the embodiment, the PLC 100 writes, into the nonvolatile memory 126, data recorded in the recording medium 500 to execute a maintenance operation, and then writes, into the recording medium 500, information identifying the maintenance operation.
As shown in
For example, a maintenance operation shown at “1” in
<Maintenance Operation Executed by Support Device 300 (1)>
With reference to
In the step SA12, the CPU 302 writes, into the nonvolatile memory 126 of the PLC 100, specified data to be written into the PLC 100. Next, the control is allowed to proceed to a step SA14.
The above described operator, for example, inputs, into the support device 300, information specifying the data to be written. More specifically, the program storing unit 330 of the HDD 308 stores information associating a function with a program for achieving the function. Next, the operator specifies the function. Accordingly, the CPU 302 identifies, as the data to be written into the PLC 100, the program associated with the specified function.
In the step SA14, the CPU 302 determines if writing the data into the nonvolatile memory 126 normally ends. Next, upon the CPU 302 determines that the writing normally ends, the CPU 302 allows the control to proceed to a step SA18 (YES in the step SA14). On the other hand, upon the CPU 302 determines that the writing the data erroneously ends, the CPU 302 causes the control to proceed to a step SA16 (NO in the step SA14).
In the step SA16, the CPU 302 reports that the maintenance operation erroneously ends, and ends the process shown in
In the step SA18, the CPU 302 writes, into the maintenance history storing unit 332, three types of information (A1 to A3) as shown below.
A1) Executed content
A2) Date and time
A3) ID of PLC
Accordingly, information on a maintenance operation is added in a history as shown in
Next, the control is allowed to proceed to a step SA20.
In the step SA20, the CPU 302 writes, into the control memory 160 of the PLC 100, three types of information (B1 to B3) as shown below, and ends the process shown in
B1) Executed content
B2) Date and time
B3) ID of support device
Upon the information B1 to B3 is written into the control memory 160, information on the maintenance operation is added in a history as shown in
<Maintenance Operation Executed by Support Device 300 (2)>
First, a communication is established between the support device 300 and the PLC 100 (in steps S10 and S30). More specifically, for example, an operator inputs, into the support device 300, an instruction on a maintenance operation for the PLC 100. In response to this, the CPU 302 requests the PLC 100 to establish a communication. The processor 122 of the PLC 100 responds the request and establishes the communication between the support device 300 and the PLC 100.
In a step S12, the CPU 302 sends information on maintenance to the PLC 100 to instruct the PLC 100 to write the information on maintenance. The information on maintenance is, for example, data specified in the support device 300 so as to be written into the PLC 100. The data is specified, for example, in an identical or similar aspect to data specified in the step SA12.
In a step S32, the processor 122 receives the information on maintenance. Next, a control is allowed to proceed to a step S34.
In the step S34, the processor 122 writes, into the nonvolatile memory 126, the information on maintenance received in the step S32. Next, the control is allowed to proceed to a step S36.
In the step S36, the processor 122 reports to the support device 300 a result of writing of data executed in the step S34. The result to be reported is that, for example, the writing of data normally ends or erroneously ends.
In a step S14, the CPU 302 determines if the result reported by the PLC 100 indicates that the writing of data normally ends. Next, upon the CPU 302 determines that the result indicates that the writing of data normally ends, the CPU 302 allows the control to proceed to a step S18 (YES in the step S14). On the other hand, upon the CPU 302 determines that the result indicates that the writing of data erroneously ends, the CPU 302 causes the control to proceed to a step S16 (NO in the step S14).
In the step S16, the CPU 302 reports that the maintenance operation erroneously ends, and ends the process shown in
In the step S18, the CPU 302 writes, into the maintenance history storing unit 332, three types of information (A1 to A3) as shown below.
A1) Executed content
A2) Date and time
A3) ID of PLC
The information (A1 to A3) to be written in the step S18 is identical to the information (A1 to A3) written in the step SA18 (see
Next, the control is allowed to proceed to a step S20.
In the step S20, the CPU 302 instructs the PLC 100 to write, into the control memory 160, three types of information (B1 to B3) as shown below, and ends the process shown in
B1) Executed content
B2) Date and time
B3) ID of support device
The information (B1 to B3) instructed to be written, in the step S20, is identical to the information (B1 to B3) written, into the control memory 160, by the CPU 302 in the step SA20 (see
In a step S38, the processor 122 determines if the instruction is received. The processor 122 stands by until the processor 122 determines that the instruction is received (NO in the step S38). Next, upon the processor 122 determines that the instruction is received, the processor 122 allows the control to proceed to a step S40 (YES in the step S38).
In the step S38, the processor 122 follows the instruction from the support device 300 to write, into the control memory 160, the information (B1 to B3), and ends the process shown in
<Maintenance Operation Using Recording Medium 500>
With reference to
In the step S52, the processor 122 reports an error indicating that the recording medium 500 is not attached, and returns the control to the step S50. For example, the processor 122 turns on the LED 128 to report the error.
In the step S54, the processor 122 executes a maintenance operation. More specifically, the processor 122 writes, into the nonvolatile memory 126, information on maintenance recorded in the recording medium 500. The information on maintenance is, for example, data of system firmware or an additional function recorded in the recording medium 500 so as to be written into the PLC 100.
In a step S56, the processor 122 determines if the maintenance operation normally ends in the step S54. The processor 122 determines that, when writing of data normally ends in the step S54, for example, the maintenance operation normally ends. In addition, the processor 122 determines that, when the writing of data erroneously ends in the step S54, the maintenance operation erroneously ends. Next, upon the processor 122 determines that the maintenance operation normally ends, the processor 122 allows the control to proceed to a step S60 (YES in the step S56). Upon the processor 122 determines that the maintenance operation erroneously ends, the processor 122 causes the control to proceed to a step S58 (NO in the step S56).
In the step S58, the processor 122 reports an error indicating that the maintenance operation erroneously ends, and ends the process shown in
In the step S60, the processor 122 writes, into the recording medium 500 (SD memory card), three types of information (C1 to C3) as shown below.
C1) Executed content
C2) Date and time
C3) ID of PLC
Accordingly, information on the maintenance operation is added in a history as shown in
Next, the control is allowed to proceed to a step S62.
In the step S62, the processor 122 writes, into the control memory 160, three types of information (D1 to D3) as shown below.
D1) Executed content
D2) Date and time
D3) ID of SD memory card
Accordingly, information on the maintenance operation is added in a history as shown in
Next, the processor 122 ends the process shown in
<Displaying Maintenance Operation History (1)>
The CPU 302 can display, on the monitor 314, a maintenance operation history stored in the maintenance history storing unit 332 (see
In addition, the CPU 302 can display, on the monitor 314, a maintenance operation history stored in the control memory 160 (see
Further, the CPU 302 can display the maintenance operation history stored in the maintenance history storing unit 332 and the maintenance operation history stored in the control memory 160 in a combined manner.
The maintenance operation history shown in
The “Device” shown in
The “PLC” shown in
In addition, in the maintenance operation history shown in
A maintenance operation shown at “1” in
The CPU 302 can process a history as shown in
<Displaying Maintenance Operation History (2)>
The CPU 302 can retrieve, into the HDD 308, a maintenance operation history stored in the control memory 160 of the PLC 100. In addition, the CPU 302 can display, when a recording medium 500 is attached to the SD memory card interface 316, a maintenance operation history stored in the recording medium 500 with a history stored in the maintenance history storing unit 332 and the history retrieved from the PLC 100 in a combined manner.
The history shown in
When a maintenance operation history stored in the recording medium 500 and a history stored in the maintenance history storing unit 332 or a history retrieved from the PLC 100 are duplicated in part, as shown in
A maintenance operation shown at “6” in
<Displaying Maintenance Operation History (3)>
The CPU 302 can retrieve, into the HDD 308, a maintenance operation history stored in the control memory 160 of the PLC 100. The CPU 302 can further retrieve, into the HDD 308, a maintenance operation history stored in the recording medium 500 (ID “2B63-3AA4”). Further, the CPU 302 can display, when another recording medium 500 is attached to the SD memory card interface 316, a maintenance operation history stored in the other recording medium 500 (ID “3C87-2EB5”) with a history stored in the maintenance history storing unit 332 and the histories retrieved from the PLC 100 and the recording medium 500 in a combined manner.
The history shown in
When a maintenance operation history stored in the recording medium 500, a history stored in the maintenance history storing unit 332 or a history already retrieved from the PLC 100 or the recording medium 500 are duplicated in part, as shown in
The above described embodiment can record, into the PLC 100 itself, a maintenance operation history for the PLC 100. Accordingly, with the support device 300, the maintenance operation history for the PLC 100 can be reviewed.
The above described history can include a device recording data written into the PLC 100 in each maintenance operation (a support device 300 or a recording medium 500). Accordingly, a device involved in executing a maintenance operation can be identified.
In addition, in a control system requiring an input of a user ID for executing a maintenance operation, a history can include information on a user who has executed a maintenance operation. Accordingly, a person who has executed a maintenance operation can be checked.
The embodiments disclosed in this time are intended for illustrative purposes only in all respects, and should not be construed as restrictive. The scope of the present invention is indicated by the claims, not the above description, and intends to include all modifications and alterations within the scope of the claims and equivalent meanings and ranges.
100 PLC
122 Processor
124 Main memory
126 Nonvolatile memory
132 Input device
134 Connector
136,316 SD memory card interface
150 System firmware
160 Control memory
300 Support device
308 Hard disk
314 Monitor
330 Program storing unit
331 Data storing unit
332 Maintenance history storing unit
500 Recording medium
Number | Date | Country | Kind |
---|---|---|---|
2014-052681 | Mar 2014 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2015/050880 | 1/15/2015 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2015/136966 | 9/17/2015 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6321979 | Hanagata | Nov 2001 | B1 |
7978580 | Kivits | Jul 2011 | B1 |
8868796 | Wojcik | Oct 2014 | B1 |
20020144005 | Mae | Oct 2002 | A1 |
20050050402 | Koda et al. | Mar 2005 | A1 |
20050055595 | Frazer | Mar 2005 | A1 |
20050186952 | Kitajima | Aug 2005 | A1 |
20060107071 | Girish | May 2006 | A1 |
20060200707 | Shishido | Sep 2006 | A1 |
20080109647 | Gavens | May 2008 | A1 |
20080109676 | Hama et al. | May 2008 | A1 |
20080320471 | Maeda | Dec 2008 | A1 |
20090028012 | Yanagida | Jan 2009 | A1 |
20090241099 | Lee | Sep 2009 | A1 |
20110179407 | Minegishi | Jul 2011 | A1 |
20120124568 | Fallon | May 2012 | A1 |
20120173953 | Flynn | Jul 2012 | A1 |
20120246628 | Li | Sep 2012 | A1 |
20130198443 | Braun et al. | Aug 2013 | A1 |
20130304234 | Szurek et al. | Nov 2013 | A1 |
20130318516 | Knapton | Nov 2013 | A1 |
20140208092 | Huang | Jul 2014 | A1 |
20150293770 | Orii | Oct 2015 | A1 |
20180039491 | Bamba | Feb 2018 | A1 |
Number | Date | Country |
---|---|---|
1229483 | Sep 1999 | CN |
101151597 | Mar 2008 | CN |
0923026 | Jun 1999 | EP |
2002-297388 | Oct 2002 | JP |
2006-330866 | Dec 2006 | JP |
2006-330867 | Dec 2006 | JP |
2008-102865 | May 2008 | JP |
2008-257415 | Oct 2008 | JP |
2009-032076 | Feb 2009 | JP |
2009-223586 | Oct 2009 | JP |
2010-097478 | Apr 2010 | JP |
9858310 | Dec 1998 | WO |
2013168224 | Nov 2013 | WO |
Entry |
---|
The partial supplementary European search report dated Oct. 27, 2017 in the counterpart European patent application. |
Japanese Official Action dated Sep. 12, 2017 in the counterpart Japanese patent application. |
Anonymous, “PLC Program Download Device Model PPDD”, Oct. 1, 2010, 14 pages, Retrieved from the Internet: URL:http://files.engineering.com/download.aspx?folder=61f0b0f3-ee30-4e1f-8038-7f3804e35168&file=GFK2473D.pdf [retrieved on Sep. 11, 2017] Relevance is indicated in the EESR dated Mar. 9, 2018. |
The extended European search report (EESR) dated Mar. 9, 2018 in a counterpart European Patent application. |
The Chinese Office Action (CNOA) dated Mar. 9, 2018 in a counterpart Chinese patent application. |
Number | Date | Country | |
---|---|---|---|
20170068240 A1 | Mar 2017 | US |