Control device, control system, support device, and control-device maintenance management method
10108187 ยท 2018-10-23
Assignee
Inventors
Cpc classification
G05B23/0208
PHYSICS
G05B23/0286
PHYSICS
G05B19/05
PHYSICS
International classification
G05B19/05
PHYSICS
Abstract
A support device executes a maintenance operation for a PLC, and records, into the PLC, information identifying the maintenance operation. The maintenance operation includes at least either of writing and deleting of data such as firmware into/from the PLC. The support device may further record, into the support device itself, information identifying the maintenance operation. In addition, the PLC uses data stored in a recording medium to execute a maintenance operation for the PLC. At this time, the PLC records, into the PLC itself, information identifying the maintenance operation. The PLC may further record, into the recording medium, the information identifying the maintenance operation.
Claims
1. A control device for controlling a production system, the production system including at least one of a relay and a servo motor driver driving a motor, the control device comprising: a storage device; a communication interface, the communication interface enabling communication between the control device and a support device; and a processor to perform operations comprising: receiving, via the communication interface, a communication request from the support device, receiving, via the communication interface, firmware maintenance information from the support device, writing, into the storage device, the firmware maintenance information, sending, via the communication interface, a result of writing the firmware maintenance information, determining that an instruction to write a description associated with the firmware maintenance information, a date and time of when the firmware maintenance information was written, and an identification of the support device has been received from the support device, writing, into the storage device and in response to the determining, the description, the date and time, and the identification, and controlling the at least one of the relay and the servo motor driver based on the firmware maintenance information.
2. The control device according to claim 1, wherein the description includes information identifying a name of the firmware maintenance information written in the storage device.
3. The control device according to claim 1, wherein the description includes information identifying that the firmware maintenance information is deleted.
4. A control system. comprising: a control device; and a support device, wherein: the control device comprises a first storage device and a first processor to perform operations for controlling a production system, the production system including at least one of a servo motor driver driving a motor; the support device comprises a second storage device and a second processor to perform operations to communicate with the first processor of the control device; the control device further comprises a first communication interface, the first communication interface enabling communication between the control device and the support device; the support device further comprises a second communication interface, the second communication interface enabling communication between the support device and the control device; the second processor to perform operations further comprising: sending, via the second communication interface, a communication request to the first processor, sending, via the second communication interface, firmware maintenance information to the first processor, receiving, via the second communication interface, a result of the first processor writing the firmware maintenance information to the first storage device, determining that the firmware maintenance information was successfully written based on the received result, writing, into the second storage device, a description associated with the firmware maintenance information a, date and time of when the firmware maintenance information was written, and an identification of the control device, and sending, via the second communication interface, an instruction to write the description, the date and time, and an identification of the support device to the first storage device; and the first processor to perform operations further comprising: receiving, via the first communication interface, the communication request from the second processor, receiving, via the first communication interface, the firmware maintenance information from the second processor, writing, into the first storage device, the firmware maintenance information, sending, via the first communication interface, the result of writing the firmware maintenance information, determining that the instruction from the second processor has been received, writing, into the first storage device and in response to the determining, the description, the date and time, and the identification of the support device, and controlling the at least one of the relay and the servo motor driver based on the firmware maintenance information.
5. The control system according to claim 4, wherein the support device further comprises a display, and wherein the display displays a history of the firmware maintenance information.
6. A support device comprising: a processor; a communication interface, the communication interface enabling communication between the support device and a control device, the control device controlling a production system including at least one of a relay and a servo motor driver driving a motor; and a storage device, the processor to perform operations comprising: sending, via the communication interface, a communication request to the control device, sending, via the communication interface, firmware maintenance information to the control device, receiving, via the communication interface, a result of the control device writing the firmware maintenance information to the control device, determining that the firmware maintenance information was successfully written based on the received result, writing, into the storage device, a description associated with the firmware maintenance information, a date and time of when the firmware maintenance information was written, and an identification of the control device, and sending, via the communication interface, an instruction to write the description, the date and time, and an identification of the support device to the control device, wherein the control device controls the at least one of the relay and the servo motor driver based on the firmware maintenance information.
7. The support device according to claim 6, wherein the support device further comprises a display, and wherein the display displays a history of the firmware maintenance information.
8. A control device maintenance management method to be executed by a processor of a control device for controlling a production system, the production system including at least one of a relay and a servo motor driver driving a motor, the control device comprising storage device and a communication interface, the communication interface enabling communication between the control device and a support device, the control-device maintenance management method comprising: receiving, via the communication interface, a communication request from the support device, receiving, via the communication interface, firmware maintenance information from the support device, writing, into the storage device, the firmware maintenance information, sending, via the communication interface, a result of writing the firmware maintenance information, determining that an instruction to write a description associated with the firmware maintenance information, a date and time of when the firmware maintenance information was written, and an identification of the support device has been received from the support device, writing, into the storage device and in response to the determining, the description, the date and time, and the identification, and controlling the at least one of the relay and the servo motor driver based on the firmware maintenance information.
9. A support device maintenance management method to be executed by a processor of a support device configured to communicate with a control device for controlling a production system including at least one of a rely and a servo motor driver driving a motor, the support device comprising a storage device and a communication interface, the communication interface enabling communication between the support device and the control device, the support device maintenance management method comprising: sending, via the communication interface, a communication request to the control device, sending, via the communication interface, firmware maintenance information to the control device, receiving, via the communication interface, a result of the control device writing the firmware maintenance information to the control device, determining that the firmware maintenance information was successfully written based on the received result, writing, into the storage device, a description associated with the firmware maintenance information, a date and time of when the firmware maintenance information was written, and an identification of the control device, and sending, via the communication interface, an instruction to write the description, the date and time, and an identification of the support device to the control device, wherein the control device controls the at least one of the relay and the servo motor driver based on the firmware maintenance information.
10. The support device maintenance management method according to claim 9, wherein the support device further comprises a display, and wherein the display displays a history of the firmware maintenance information.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
MODE FOR CARRYING OUT THE INVENTION
(14) 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.
(15) <Configuration of Control System>
(16)
(17) In the control system shown in
(18) In the control system shown in
(19) In the control system shown in
(20) In response to this, the PLC 100 writes the data recorded in the support device 300.
(21) 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.
(22) 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.
(23) <Hardware Configuration of Support Device 300>
(24)
(25) 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
(26) 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.
(27) <Hardware Configuration of PLC 100>
(28)
(29) 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.
(30) <Outline of Maintenance Operation>
(31)
(32) The PLC 100 shown on the left side in
(33) 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.
(34) 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.
(35) 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
(36) 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.
(37) <Maintenance Operation History Information (PLC 100)>
(38) In the control system according to the embodiment, the PLC 100 stores a history of maintenance operations (maintenance operation history) for the PLC 100.
(39) As shown in
(40) For example, a maintenance operation shown at 1 in
(41) A maintenance operation shown at 3 in
(42) 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.
(43) <Maintenance Operation History Information (Support Device 300)>
(44) In the control system according to the embodiment, the support device 300 stores, as a maintenance operation history, information identifying a maintenance operation.
(45) As shown in
(46) For example, a maintenance operation shown at 3 in
(47) <Maintenance Operation History Information (Recording Medium 500)>
(48) 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.
(49) As shown in
(50) For example, a maintenance operation shown at 1 in
(51) <Maintenance Operation Executed by Support Device 300 (1)>
(52)
(53) With reference to
(54) 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.
(55) 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.
(56) 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).
(57) In the step SA16, the CPU 302 reports that the maintenance operation erroneously ends, and ends the process shown in
(58) 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.
(59) A1) Executed content
(60) A2) Date and time
(61) A3) ID of PLC
(62) Accordingly, information on a maintenance operation is added in a history as shown in
(63) Next, the control is allowed to proceed to a step SA20.
(64) 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
(65) B1) Executed content
(66) B2) Date and time
(67) B3) ID of support device
(68) 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
(69) <Maintenance Operation Executed by Support Device 300 (2)>
(70)
(71) 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.
(72) 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.
(73) In a step S32, the processor 122 receives the information on maintenance. Next, a control is allowed to proceed to a step S34.
(74) 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.
(75) 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.
(76) 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).
(77) In the step S16, the CPU 302 reports that the maintenance operation erroneously ends, and ends the process shown in
(78) 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.
(79) A1) Executed content
(80) A2) Date and time
(81) A3) ID of PLC
(82) 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
(83) Next, the control is allowed to proceed to a step S20.
(84) 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
(85) B1) Executed content
(86) B2) Date and time
(87) B3) ID of support device
(88) 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
(89) 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).
(90) 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
(91) <Maintenance Operation Using Recording Medium 500>
(92)
(93) With reference to
(94) 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.
(95) 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.
(96) 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).
(97) In the step S58, the processor 122 reports an error indicating that the maintenance operation erroneously ends, and ends the process shown in
(98) 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.
(99) C1) Executed content
(100) C2) Date and time
(101) C3) ID of PLC
(102) Accordingly, information on the maintenance operation is added in a history as shown in
(103) Next, the control is allowed to proceed to a step S62.
(104) In the step S62, the processor 122 writes, into the control memory 160, three types of information (D1 to D3) as shown below.
(105) D1) Executed content
(106) D2) Date and time
(107) D3) ID of SD memory card
(108) Accordingly, information on the maintenance operation is added in a history as shown in
(109) Next, the processor 122 ends the process shown in
(110) <Displaying Maintenance Operation History (1)>
(111) The CPU 302 can display, on the monitor 314, a maintenance operation history stored in the maintenance history storing unit 332 (see
(112) In addition, the CPU 302 can display, on the monitor 314, a maintenance operation history stored in the control memory 160 (see
(113) 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.
(114) The maintenance operation history shown in
(115) The Device shown in
(116) The PLC shown in
(117) In addition, in the maintenance operation history shown in
(118) A maintenance operation shown at 1 in
(119) The CPU 302 can process a history as shown in
(120) <Displaying Maintenance Operation History (2)>
(121) 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.
(122)
(123) The history shown in
(124) 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
(125) A maintenance operation shown at 6 in
(126) <Displaying Maintenance Operation History (3)>
(127) 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.
(128)
(129) The history shown in
(130) 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
(131) 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.
(132) 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.
(133) 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.
(134) 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.
DESCRIPTION OF SYMBOLS
(135) 100 PLC
(136) 122 Processor
(137) 124 Main memory
(138) 126 Nonvolatile memory
(139) 132 Input device
(140) 134 Connector
(141) 136,316 SD memory card interface
(142) 150 System firmware
(143) 160 Control memory
(144) 300 Support device
(145) 308 Hard disk
(146) 314 Monitor
(147) 330 Program storing unit
(148) 331 Data storing unit
(149) 332 Maintenance history storing unit
(150) 500 Recording medium