Monitoring device
The monitoring device ensures reliable software updates in industrial equipment by managing update processes and re-executing failed updates from specific memory blocks, addressing issues of power outages and memory limitations.
Patent Information
- Application Number
- JP2021072226
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-22
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-04-22
AI Technical Summary
Existing software update methods for industrial equipment fail to ensure reliable updates in cases of power outages or insufficient memory capacity, especially in equipment without network communication functions or adequate memory, leading to incomplete or failed updates.
A monitoring device with a controller and two non-volatile memories is used to manage software updates, allowing communication with industrial equipment and servers, monitoring update progress, and restarting failed updates from specific memory blocks or pages, ensuring complete software updates even in equipment with limited memory or no network connectivity.
Enables quick and reliable software updates in industrial equipment with limited memory or no network connectivity by identifying and re-executing failed update processes, minimizing memory usage and reducing the need for additional memory capacity.
Smart Images

Figure 0007568572000001 
Figure 0007568572000002 
Figure 0007568572000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to industrial equipment equipped with software and a monitoring device capable of communicating with a network. [Background technology]
[0002] Industrial equipment is equipped with software, and the software needs to be updated when functions are changed or added. Conventionally, the method for remotely updating software on industrial equipment has been to remotely write the updated software to the storage memory of the industrial equipment via LAN communication, etc.
[0003] However, this method has a problem in that if a power outage or other trouble occurs during software writing and the writing fails, the industrial equipment cannot be started up normally.
[0004] To solve such problems, there is a conventional technique in which an industrial device is equipped with a backup flash memory for update data and a flash memory for storing update data (see, for example, Patent Document 1). Patent Document 1 discloses a method in which update data is stored in a backup flash memory and then stored in the flash memory for storing update data.
[0005] According to this method, even if writing to the update data storage flash memory fails, the industrial equipment can be easily restored by writing the update data stored in the backup flash memory to the update data storage flash memory. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2011-197870 A Summary of the Invention [Problem to be solved by the invention]
[0007] However, the configuration disclosed in Patent Document 1 presupposes that the industrial equipment is equipped with a function for communicating with a network, and further requires that two flash memories be installed.
[0008] Instead of installing two flash memories, it is also possible to install one large-capacity flash memory and partition it to provide areas for storing updated data and for backups.
[0009] In either case, however, the memory capacity to be installed in the industrial equipment becomes large, and therefore, there is a problem that the method disclosed in Patent Document 1 cannot be applied to industrial equipment that is not equipped with a function for communicating with a network or that does not have a sufficient memory capacity.
[0010] The present disclosure has been made to solve the above-mentioned problems, and aims to provide a monitoring device that can quickly and reliably complete the update process for software installed in industrial equipment using update software obtained via a network. [Means for solving the problem]
[0011] A monitoring device according to the present disclosure is a monitoring device used for updating software installed in industrial equipment with update software acquired via a network, the monitoring device comprising a controller and a first memory, the controller being capable of communicating with the industrial equipment and also capable of communicating with a server via the network, and having the following functions: acquire the update software by communicating via the network with a server in which the update software is stored, and execute a write process for writing the acquired update software into the first memory; execute an update process for updating current software written in a second memory in the industrial equipment with the update software by sending the update software to the industrial equipment; execute an update progress monitoring process for storing in the first memory, update progress information indicating a portion of the second memory for which writing of the update software has been completed during the update process; execute a normal completion determination process for determining whether the update process to the update software has been completed normally based on the update progress information; and, if it is determined in the normal completion determination process that the update process has not been completed normally, identify a portion where the update process has failed from the update progress information, and execute an update process again for the identified portion. The second memory has pages corresponding to the smallest writable units and blocks corresponding to the smallest erasable units, and one block is made up of a plurality of pages. When the controller executes the update progress monitoring process, it generates update progress information as information indicating whether writing has been completed on a page-by-page basis. If it is determined in the normal completion determination process that the update has not been completed normally, when executing the re-update process, it identifies the page on which the update process failed as a part from the update progress information, erases only the block including the identified page from the second memory, and resumes writing on a block-by-block basis from the first page of the erased block, thereby executing the re-update process. This is what we do. A monitoring device according to the present disclosure is a monitoring device used for updating software installed in industrial equipment with update software acquired via a network, the monitoring device comprising a controller and a first memory, the controller being capable of communicating with the industrial equipment and also capable of communicating with a server via the network, and having a function of acquiring the update software by communicating via the network with a server in which the update software is stored, and executing a write process for writing the acquired update software into the first memory, a function of transmitting the update software to the industrial equipment, and executing an update process for updating current software written in a second memory in the industrial equipment with the update software, and a function of storing update progress information indicating a portion of the second memory for which writing of the update software has been completed during the update process in the first memory. The controller has a function of executing an update progress monitoring process to store the update software in the second memory, a function of executing a normal completion determination process to determine whether the update process to the update software has been completed normally based on the update progress information, and a function of identifying a portion of the update process that has failed from the update progress information and executing a re-update process for the identified portion if it is determined in the normal completion determination process that the update process has not been completed normally.When executing the re-update process, after determining that the update process has been completed normally, the controller obtains a sum value of the update software written in the second memory from the industrial equipment as a first sum value, calculates the sum value of the update software written in the first memory as a second sum value, and if the first sum value and the second sum value do not match, erases all blocks of the update software written in the second memory and executes the re-update process by starting writing from the first page. Effect of the Invention
[0012] According to the present disclosure, by providing a configuration in which a monitoring device having a communication means is connected between industrial equipment and a network, it is possible to obtain a monitoring device that can quickly and reliably complete the update process for software installed in industrial equipment using update software obtained via the network, even for industrial equipment that is not equipped with a communication function with the network and has limited non-volatile memory capacity. [Brief description of the drawings]
[0013] [Figure 1] 1 is an overall configuration diagram including a monitoring device according to a first embodiment of the present disclosure. [Diagram 2]5 is a flowchart showing a series of processing steps of a software update process in the monitoring device according to the first embodiment of the present disclosure. [Diagram 3] FIG. 1 is a diagram for explaining a write process to a non-volatile memory mounted on an industrial device, which is executed by a monitoring device according to the first embodiment of the present disclosure, and is an explanatory diagram showing the relationship between pages and blocks of the non-volatile memory. [Figure 4] FIG. 11 is an overall configuration diagram including a monitoring device according to a second embodiment of the present disclosure. [Diagram 5] FIG. 11 is a configuration diagram of a monitoring system including a monitoring device according to a third embodiment of the present disclosure. [Figure 6] 13 is a flowchart showing a software sum value confirmation process procedure in a monitoring device according to a fourth embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Embodiment 1 Fig. 1 is an overall configuration diagram including a monitoring device according to the first embodiment of the present disclosure. The monitoring device 20 according to the first embodiment shown in Fig. 1 is connected to an industrial device 10 equipped with software via a communication cable 2. Furthermore, the monitoring device 20 is connected to an external network 4 via a LAN or a dedicated line 3.
[0015] Therefore, the monitoring device 20 is placed between the industrial equipment 10 and the network 4, and is configured to be able to communicate with the industrial equipment 10 via the communication cable 2, and is also configured to be able to communicate with the server 5 via the dedicated line 3 and the network 4.
[0016] The industrial equipment 10 includes a non-volatile memory 11 in which software is installed. The monitoring device 20 includes a CPU (controller) 21 and a non-volatile memory 22. Here, the CPU 21 corresponds to the controller, the non-volatile memory 22 corresponds to the first memory, and the non-volatile memory 11 corresponds to the second memory.
[0017] 2 is a flowchart showing a series of processing steps of a software update process in the monitoring device 20 according to the first embodiment of the present disclosure. The series of processing steps performed by the monitoring device 20 according to the first embodiment will be described in detail with reference to the configuration diagram of FIG. 1 and the flowchart of FIG.
[0018] In step S1, the monitoring device 20 communicates with the server 5 to determine whether or not update software for the industrial equipment 10 is stored in the server 5.
[0019] If it is determined that update software is not stored, the process proceeds to step S2, where the monitoring device 20 does not update the software of the industrial equipment 10 and ends the series of processes.
[0020] On the other hand, if it is determined that update software is stored, the process proceeds to step S3, where the monitoring device 20 acquires update software for the industrial equipment 10 from the server 5 via the network 4.
[0021] Next, in step S4, the monitoring device 20 writes the update software acquired in step S3 into the non-volatile memory 22 mounted in the monitoring device 20.
[0022] The monitoring device 20 has a function of controlling writing of the update software stored in the nonvolatile memory 22 to the nonvolatile memory 11 mounted on the industrial equipment 10. Then, in step S5, the monitoring device 20 executes a write process for writing the update software stored in the nonvolatile memory 22 to the nonvolatile memory 11 mounted on the industrial equipment 10.
[0023] Next, in step S6, the monitoring device 20 records in the non-volatile memory 22 the write status during the process of writing the update software into the non-volatile memory 11 as update progress information.
[0024] Next, in step S7, the monitoring device 20 determines whether the writing process of the update software from the monitoring device 20 to the non-volatile memory 11 was successful or failed midway. If it is determined that the writing was successful, the process proceeds to step S10, and the monitoring device 20 completes a series of processes related to writing the software to the industrial equipment 10.
[0025] On the other hand, if it is determined that the writing has failed, the process proceeds to step S8, where the monitoring device 20 erases the block including the page where the writing has failed, based on the status of writing to the non-volatile memory 11.
[0026] Furthermore, in step S9, the monitoring device 20 resumes writing from the first page of the erased block, and returns to step S7. That is, the monitoring device 20 can identify the part where writing has failed based on the writing status, and perform re-update processing on the identified part.
[0027] The details of the writing restart process based on the update progress information will be described later with reference to FIG.
[0028] Then, after returning to step S7, the monitoring device 20 again determines whether or not the writing resumed in step S9 has been successful. If it is determined that the writing has been successful, the process proceeds to step S10, where the software writing of the industrial equipment is completed.
[0029] On the other hand, if it is determined that the writing has failed, the process proceeds to step S8, and the monitoring device 20 executes the processes from step S8 onwards again.
[0030] In this way, by executing the series of processes shown in Figure 2, even if the industrial equipment 10 does not have a communication function with the network 4 and does not have enough capacity to back up software in the non-volatile memory 11 installed therein, the software installed in the industrial equipment 10 can be quickly and reliably updated using update software obtained via the network 4 via the monitoring device 20.
[0031] In addition, the processes in steps S3 and S4 in FIG. 2 correspond to a "write process", the process in step S5 corresponds to an "update process", the process in step S6 corresponds to an "update progress monitoring process", the process in step S7 corresponds to a "normal completion determination process", and the processes in steps S8 and S9 correspond to a "re-update process".
[0032] The industrial equipment 10 used in the present disclosure may be of any type, and may be, for example, a machine tool, an inspection device, a manufacturing device, a power supply device, a power conversion device, or the like.
[0033] Note that "there is not enough memory capacity" means, for example, that there is enough memory capacity to store one piece of software for the industrial equipment 10, but not enough memory capacity to store two pieces of software, one for backup and one for update.
[0034] The monitoring device 20 is provided with an interface unit that enables communication with the industrial equipment 10, and the communication means can be of any type, for example, serial communication, parallel communication, etc. By being provided with such communication means, the monitoring device 20 can monitor the operating state and measured values of the industrial equipment 10, and perform various settings, control, etc.
[0035] Furthermore, the nonvolatile memory 11 mounted on the industrial equipment 10 and the nonvolatile memory 22 mounted on the monitoring device 20 may be of any type, and may be, for example, a flash ROM (which may also be called a flash memory), an EEPROM, etc. Furthermore, the nonvolatile memory 22 mounted on the monitoring device 20 may be one built into the CPU (controller) 21.
[0036] Next, a method for determining whether the process of writing update software from the monitoring device 20 to the non-volatile memory 11 has been successful or has failed midway, and for resuming the writing as necessary, will be described in detail.
[0037] In general, in a non-volatile memory, the minimum writable unit and the minimum erasable unit are different from each other. Here, the minimum writable unit corresponds to a page (which can also be called a word), and the minimum erasable unit corresponds to a block. Furthermore, one block is made up of multiple pages.
[0038] When writing update software to the non-volatile memory 11 mounted on the industrial equipment 10, the monitoring device 20 records the writing status on a page-by-page basis within the monitoring device 20. Any method of recording may be used, and for example, it is possible for the industrial equipment 10 to transmit a write completion response to the monitoring device 20 every time the monitoring device 20 writes update software to a page of the non-volatile memory 11.
[0039] When this method is adopted, the monitoring device 20 counts each time a completion response is received. Also, if there is no reception response or if a negative response is received, the monitoring device 20 determines that the writing has failed. That is, when executing the update progress monitoring process, the monitoring device 20 can generate update progress information indicating the writing status as information indicating whether writing has been completed on a page basis.
[0040] Consider a case where the writing of update software from the monitoring device 20 to the non-volatile memory 11 fails due to a problem such as a power outage. In this case, the monitoring device 20 according to the first embodiment successively records the writing status as update progress information during the writing process of the update software.
[0041] Therefore, the monitoring device 20 can identify the page where writing has failed based on the write status. As a result, the monitoring device 20 can successfully complete the software update by erasing only the block including the page where writing has failed and resuming writing from the first page of the erased block.
[0042] 3 is a diagram for explaining a write process to the nonvolatile memory 11 mounted on the industrial equipment 10, which is executed by the monitoring device 20 according to the first embodiment of the present disclosure, and is an explanatory diagram showing the relationship between pages and blocks of the nonvolatile memory 11. The process at the time of resuming writing will be explained with reference to FIG. 3.
[0043] 3 illustrates an example in which each block is composed of pages 1 to N. For example, consider a case in which all pages of block 1 have been successfully written, and then while writing to page 3 of block 2, writing fails due to a problem such as a power outage.
[0044] In this case, the monitoring device 20 can determine from the writing status that writing up to page 2 of block 2 has been completed normally, but that writing on page 3 of block 2 has not been completed normally. Therefore, the monitoring device 20 erases the contents of block 2 and resumes writing from page 1 of block 2.
[0045] By recording the write status, when a write fails, it is not necessary to erase all blocks and rewrite from page 1 of block 1, but it is possible to erase only the block containing the page where the write failed and write from the first page of the erased block. As a result, the write time can be shortened.
[0046] In addition, non-volatile memories generally have an upper limit on the number of times they can be rewritten. Therefore, by erasing only the blocks that contain the pages where writing has failed, the number of blocks to be erased can be minimized, thereby reducing the number of times the memory can be rewritten.
[0047] As described above, according to the first embodiment, even if an industrial device does not have a communication function with a network and does not have sufficient memory capacity, by using a monitoring device that can communicate with the industrial device and a server, it is possible to update the software installed in the industrial device with update software obtained via the network.
[0048] In addition, the update software acquired via the network is stored in a non-volatile memory mounted on the monitoring device, and the writing status can be monitored and recorded in the non-volatile memory during the update process. As a result, even if writing fails due to a problem such as a power outage, the update process can be resumed based on the writing status, allowing the software update to be completed normally.
[0049] Furthermore, by recording the write status, when a write fails, it is not necessary to erase all blocks and start writing from scratch, but it is possible to erase only the block containing the page where the write failed and start writing from the first page of the erased block. As a result, the write time can be shortened. Also, the number of blocks to be erased can be minimized, and the number of rewrites can be reduced.
[0050] Embodiment 2 In the second embodiment, a case will be described in which the server 5 is configured as a cloud server 7.
[0051] Fig. 4 is an overall configuration diagram including a monitoring device according to the second embodiment of the present disclosure. Compared to the configuration of Fig. 1 in the first embodiment, the configuration according to the second embodiment shown in Fig. 4 uses a combination of the Internet 6 and a cloud server 7 instead of the combination of the network 4 and the server 5, and a host management system 8 is further connected to the Internet 6.
[0052] 4, a server 5 via a network 4 is configured as a cloud server 7 via the Internet 6. A host management system 8 for an administrator may also be provided.
[0053] 4, update software for the industrial equipment 10 is stored in advance on the cloud server 7 by the host management system 8. The monitoring device 20 can obtain the update software for the industrial equipment 10 from the cloud server 7 via the Internet 6.
[0054] As described above, according to the second embodiment, even if the monitoring systems are located in remote locations throughout Japan and overseas, software can be updated quickly and reliably.
[0055] Embodiment 3 In the third embodiment, a case will be described in which another industrial device is further connected to the industrial device 10.
[0056] 5 is a configuration diagram of a monitoring system including a monitoring device according to a third embodiment of the present disclosure. As shown in FIG 5, a second industrial device 30 may be further connected to the industrial device 10.
[0057] The monitoring device 20 can similarly update the software of the second industrial equipment 30 by writing the update software for the second industrial equipment 30 into the non-volatile memory 22, and then writing the update software from the monitoring device 20 to the non-volatile memory 31 installed in the second industrial equipment 30.
[0058] As described above, according to the second embodiment, it is possible to update the software of a plurality of industrial devices.
[0059] Embodiment 4 In the fourth embodiment, a countermeasure against data corruption in the monitoring device according to the present disclosure will be described.
[0060] FIG. 6 is a flowchart illustrating a software sum value checking process procedure in the monitoring device according to the fourth embodiment of the present disclosure.
[0061] In step S10, the monitoring device 20 confirms that writing of the software from the monitoring device 20 to the non-volatile memory 11 mounted in the industrial equipment 10 has been completed. Then, in step S11, the monitoring device 20 obtains from the industrial equipment 10 the sum value of the updated software calculated by the industrial equipment 10 as a first sum value.
[0062] Next, in step S12, the monitoring device 20 calculates the sum value of the software written to the non-volatile memory 11 as a second sum value, and compares it with the first sum value acquired in step S11. If the comparison result between the first and second sum values indicates a match, the process proceeds to step S15, and the monitoring device 20 concludes that the check of the sum value is complete.
[0063] On the other hand, if the comparison result between the first and second sum values indicates a mismatch, the process proceeds to step S13, where the monitoring device 20 erases all blocks of the nonvolatile memory 11 mounted on the industrial equipment 10. Furthermore, in step S14, the monitoring device 20 starts writing the software to be updated again, from the first page of the nonvolatile memory 11.
[0064] In this way, even if a problem such as data corruption occurs, the software can be updated reliably.
[0065] As described above, according to the fourth embodiment, after the update software has been successfully written to the non-volatile memory in the industrial equipment, the sum values can be compared to detect problems such as data corruption. Even if a problem such as data corruption does occur, the software can be reliably updated again.
[0066] Embodiment 5. In the fifth embodiment, a function of setting the software update date and time in advance in the monitoring device 20 according to the present disclosure will be described.
[0067] The monitoring device 20 according to the fifth embodiment has a function of executing an update time setting process for setting the date and time when software is written into the non-volatile memory 11 mounted on the industrial equipment 10.
[0068] Software update cannot be performed while the industrial equipment 10 is in operation. Therefore, the industrial equipment 10 must be stopped before the software can be updated. In the monitoring device 20 according to the first embodiment, the update start date and time can be set to a date and time when the industrial equipment 10 is stopped, so that the software update process can be started at a desired timing without stopping the device in operation.
[0069] As described above, according to the fifth embodiment, software can be updated at a desired timing set in advance, without stopping the industrial equipment during operation.
[0070] Embodiment 6 In the sixth embodiment, a case will be described in which communication is performed using encrypted data in the monitoring device 20 according to the present disclosure.
[0071] The monitoring device 20 according to the sixth embodiment executes encrypted communication with the server 5 via the network 4. By using encrypted communication, it is possible to improve security performance and prevent wiretapping, tampering, etc. of data related to update software.
[0072] As described above, according to the sixth embodiment, it is possible to prevent the updating software data from being stolen or tampered with, thereby realizing an updating process with improved security performance.
[0073] Embodiment 7 In the seventh embodiment, a function of determining whether or not software update is required in the monitoring device 20 according to the present disclosure will be described.
[0074] The monitoring device 20 according to the seventh embodiment has a function of acquiring, as first information, the latest software information stored in the server 5 from the server 5 via the network 4, and a function of acquiring, as second information, software information of currently installed software from the industrial equipment 10. Here, the software information may include version information of the software.
[0075] The monitoring device 20 then compares the acquired information with each other, and if there is a difference or mismatch, determines that the software installed in the industrial equipment 10 needs to be updated with the latest software present in the server 5.
[0076] When the monitoring device 20 determines that an update process is necessary, it can obtain the latest software from the server 5 via the network 4. Furthermore, if necessary, it can update the software of the industrial equipment 10 with the obtained latest software.
[0077] As described above, according to the seventh embodiment, the software of the industrial equipment can always be kept up to date with the latest version.
[0078] Embodiment 8 In the eighth embodiment, a countermeasure when the power is turned off during writing of software in the monitoring device 20 according to the present disclosure will be described.
[0079] The monitoring device 20 according to the eighth embodiment sets a bit indicating that writing is in progress to 1 while writing software from the monitoring device 20 to the nonvolatile memory 11 mounted on the industrial equipment 10, and stores the bit in the nonvolatile memory 22. When writing is completed, the bit indicating that writing is in progress is reset to 0.
[0080] When the monitoring device 20 is started, it checks the bit indicating that writing is in progress, and if it is 1, it resumes writing, and if it is 0, it does not perform writing and can start up normally. In this way, even if the power to the monitoring device 20 is turned off due to a problem such as a power outage, it is possible to check the bit indicating that writing is in progress when restarting, and if it is 1, it is possible to resume writing, and it is possible to reliably update the software.
[0081] As described above, according to the eighth embodiment, when the power is turned on, the bit indicating that writing is in progress is checked, and if the bit is 1, it is determined that the power was turned off during the update process for some reason, and the update process can be resumed, thereby ensuring that the software is updated. [Explanation of symbols]
[0082] 1 monitoring system, 2 communication cable, 3 LAN or dedicated line, 4 network, 5 server, 6 Internet, 7 cloud server, 8 host management system for administrator, 10 industrial equipment, 11 non-volatile memory (second memory) mounted on the industrial equipment, 20 monitoring device, 21 CPU (controller), 22 non-volatile memory (first memory) mounted on the monitoring device, 30 second industrial equipment, 31 non-volatile memory (second memory) mounted on the second industrial equipment.
Claims
1. A monitoring device used to update software installed in an industrial device with update software acquired via a network, comprising: A controller; A first memory; Equipped with The controller: A system capable of communicating with the industrial equipment and a server via the network, a function of acquiring the update software by communicating with the server in which the update software is stored via the network, and executing a write process for writing the acquired update software into the first memory; a function of executing an update process for updating current software written in a second memory in the industrial equipment by transmitting the update software to the industrial equipment; a function of executing an update progress monitoring process for storing, in the first memory, update progress information indicating a portion of the second memory for which writing of the update software has been completed during the execution of the update process; a function of executing a normal completion determination process for determining whether the update process for the update software has been normally completed based on the update progress information; a function of, when it is determined that the update process has not been completed normally in the normal completion determination process, identifying a portion where the update process has failed from the update progress information, and executing a re-update process on the identified portion; having the second memory has a page corresponding to the minimum writable unit and a block corresponding to the minimum erasable unit, and one block is made up of a plurality of pages; The controller: When executing the update progress monitoring process, the update progress information is generated as information indicating whether or not writing has been completed on a page basis; If it is determined in the normal completion determination process that the update process has not been completed normally, when executing the re-update process, the page in which the update process has failed is identified as the part from the update history information, only the block including the identified page is erased from the second memory, and writing is resumed in block units from the first page of the erased block, thereby executing the re-update process. monitoring equipment.
2. A monitoring device used to update software installed in an industrial device with update software acquired via a network, comprising: A controller; A first memory; Equipped with The controller: A system capable of communicating with the industrial equipment and a server via the network, a function of acquiring the update software by communicating with the server in which the update software is stored via the network, and executing a write process for writing the acquired update software into the first memory; a function of executing an update process for updating current software written in a second memory in the industrial equipment by transmitting the update software to the industrial equipment; a function of executing an update progress monitoring process for storing, in the first memory, update progress information indicating a portion of the second memory for which writing of the update software has been completed during the execution of the update process; a function of executing a normal completion determination process for determining whether the update process for the update software has been normally completed based on the update progress information; a function of, when it is determined that the update process has not been completed normally in the normal completion determination process, identifying a portion where the update process has failed from the update progress information, and executing a re-update process on the identified portion; having The controller: When executing the re-update process, after it is determined that the update process has been completed normally, a sum value of the update software written in the second memory is obtained from the industrial equipment as a first sum value, the sum value of the update software written in the first memory is calculated as a second sum value, and if the first sum value and the second sum value do not match, all blocks of the update software written in the second memory are erased, and writing is started from the first page, thereby executing the re-update process. monitoring equipment.
3. The controller: The update start time setting process is performed by setting a date and time when the update process is to be performed as an update start date and time. The update process is started when the update start date and time arrives.
3. A monitoring device according to claim 1 or 2.
4. The controller: When the writing process is executed, the update software is obtained from the server in the form of encrypted data. A monitoring device according to any one of claims 1 to 3.
5. The controller: information including a version of the update software is obtained from the server as first information, and information including a version of the software written in the second memory of the industrial equipment is obtained as second information, and if the first information and the second information do not match, it is determined that the latest update software to be updated is present in the server, and the update software is obtained from the server by executing the writing process. A monitoring device according to any one of claims 1 to 4.
6. The controller: When starting the execution of the update process and when starting the execution of the re-update process, a bit indicating that writing is in progress is set to 1, and when it is determined that the process has been completed normally in the normal completion determination process, the bit is reset to 0, and when power is turned on, it is determined whether the bit is 1, and when the bit is 1, the re-update process is executed. A monitoring device according to any one of claims 1 to 5.
Citation Information
Patent Citations
Programmable device mounting apparatus
JP2011197870A
Electronic apparatus and firmware update program
JP2014191573A
Rewrite system
JP2017097576A
Software management system, software update device, software update method, and software update program
JP2019067264A
