Setting value restoration device, program, and setting value restoration method
The setting value restoration device automates the restoration of provisional settings in control devices, addressing inefficiencies and errors in existing technologies by using a provisional setting information extraction unit and hash values for accurate restoration.
Patent Information
- Application Number
- JP2024101698
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2026-01-14
AI Technical Summary
Existing plant operation devices lack a efficient method for restoring provisional setting values in control devices, leading to time-consuming manual updates and increased risk of errors during testing.
A setting value restoration device and method that includes a provisional setting information extraction unit to record and restore temporary settings, using hash values to ensure accurate and efficient restoration of setting values in control devices.
Facilitates efficient restoration of provisional settings, reducing errors and improving testing efficiency by automating the process and ensuring accurate restoration of setting values.
Smart Images

Figure 2026003699000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a setting value restoring device, a program, and a setting value restoring method for restoring setting values that have been temporarily set in a control device. [Background technology]
[0002] Equipment / devices used in power plants such as nuclear and thermal power plants, and industrial plants such as chemical and steel plants, are controlled and operated by control devices. More specifically, the control device performs calculations based on process values acquired from the plant, and controls and operates the equipment / devices according to the calculation results. Some calculations refer to parameters such as upper and lower limits to calculate output values from input values. Changing the parameter settings of the control device changes the control content and the operation of the equipment / device. In the plant operation device described in Patent Document 1, the control logic of the control device is generated and updated using data in the control device's maintenance tool. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2000-207014 Summary of the Invention [Problem to be solved by the invention]
[0004] During the trial run of a plant, tests may be conducted by rewriting only the setting values in the control device's object file. Hereafter, this rewriting of setting values will be referred to as provisional setting, and the setting values after provisional setting will be referred to as provisional setting values. In the process of repeating tests several times, there may be times when you want to return to the combination of provisional setting values that was set previously (restore the setting values) and conduct the test again.
[0005] However, the plant operation device described in Patent Document 1 does not have a function for provisional setting itself. If the parameters to be provisionally set and their setting values are specified and the control logic is generated and updated, testing can be performed in the same way as with provisional setting. However, this takes time because the entire control logic must be generated and updated.
[0006] Furthermore, when restoring previous settings and retesting, it is necessary to manually record the parameters and settings from the previous provisional settings, specify the parameters and settings based on this record, and then update the control logic, which increases the risk of missing or incorrect settings.
[0007] The present invention has been made in view of the above background, and an object of the present invention is to provide a setting value restoring device, a program, and a setting value restoring method that improve the efficiency of restoring setting values in a control device. [Means for solving the problem]
[0008] In order to solve the above-mentioned problems, the setting value restoration device of the present invention comprises a provisional setting information extraction unit that extracts the storage location and provisionally set setting value in the control device of a control parameter included in an extraction-time object file, which is an object file of the control logic of the control device, whose setting value has been temporarily changed since the object file was generated and which has been provisionally set, and a provisional setting restoration unit that sets the provisionally set setting value in the storage location. [Effects of the Invention]
[0009] According to the present invention, it is possible to provide a setting value restoration device, a program, and a setting value restoration method that improve the efficiency of restoring setting values in a control device. Problems, configurations, and effects other than those described above will become clear from the description of the following embodiments. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is an example of a logic sheet describing control logic. [Figure 2] 10 is an example of parameters for the calculation LIM written on a logic sheet. [Figure 3] 10 is an example of parameters for engineering value conversion written on a logic sheet. [Figure 4] 1 is an overall configuration diagram of a control system according to an embodiment of the present invention; [Figure 5] FIG. 3 is a data configuration diagram of provisional setting management data according to the embodiment. [Figure 6] 2 is a functional block diagram of a maintenance device (setting value restoring device) according to the present embodiment. FIG. [Figure 7] FIG. 4 is a data configuration diagram of an address correspondence table according to the embodiment. [Figure 8] FIG. 4 is a data configuration diagram of provisional setting information according to the embodiment. [Figure 9] FIG. 10 is a data configuration diagram of provisional setting restoration information according to the embodiment. [Figure 10] 10 is a flowchart of a provisional setting information extraction process according to the present embodiment. [Figure 11] 10 is a flowchart of a temporary setting restoration process according to the present embodiment. [Figure 12] FIG. 10 is a diagram illustrating the screen configuration of a provisional setting restoration confirmation screen according to the embodiment. [Figure 13] FIG. 2 is a hardware configuration diagram illustrating an example of a computer that realizes the functions of the maintenance device according to the above embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0011] <Maintenance device overview> An overview of a maintenance device for a control device that functions as a set value restoration device in an embodiment of the present invention will be described below. The maintenance device builds control logic to generate an object file. The object file is transferred to the control device. The control device controls the plant equipment / devices in accordance with the instructions contained in the object file.
[0012] A plant maintenance worker (worker / operator) uses a maintenance device to temporarily change (temporarily set) the setting values of the control logic parameters (control parameters) in the control device to test (commission run) the plant. When the maintenance worker tests while repeating temporary settings, after the temporary settings, the maintenance worker uses a maintenance device (setting value restoration device) to record the contents of the temporary settings as temporary setting information. If the maintenance worker wants to restore the previous temporary settings after repeating the temporary settings, the maintenance worker uses the maintenance device to restore the temporarily set values (temporary setting values) based on the temporary setting information of the temporary settings.
[0013] By using this type of maintenance device (setting value restoration device), maintenance personnel can efficiently restore previous temporary settings, reducing setting omissions and mistakes and enabling more efficient testing.
[0014] <Control logic> Before describing the control system 10 and the maintenance device 100 (see FIGS. 4 and 6, which will be described later), the control logic will be explained. FIG. 1 shows an example of a logic sheet 410 that describes the control logic (also simply referred to as logic). The logic sheet 410 lists the operations (operation macros) included in the logic and lines that indicate the input / output relationships of the operations. For example, the input (input value) of operation C is the output (output value) of operation A and operation B.
[0015] The logic sheet 410 also lists the identification number of the calculation, the parameters referenced by the calculation, and their set values. The logic sheet 410 lists that the identification number of calculation D is "S31," that calculation D has parameters "P1" and "P2," and that the values are "4" and "8," respectively. Below, an example of calculation parameters will be explained using Figure 2, and an example of engineering value conversion parameters will be explained using Figure 3.
[0016] 2 shows an example of parameters for the calculation LIM listed on the logic sheet 420. The calculation LIM is a calculation that limits the input value X to be equal to or less than an upper limit parameter HL and equal to or greater than a lower limit parameter LL. The parameters of the calculation LIM are the upper and lower limit parameters HL and LL.
[0017] 3 shows an example of parameters for engineering value conversion listed on logic sheet 430. Engineering value conversion converts the values of signal lines connected to plant equipment / devices into engineering values. For example, engineering value conversion converts the voltage / current of a signal line into a process value such as steam temperature. The engineering value conversion shown in FIG. 3 has a total of four parameters: upper and lower limit values for the signal value and the engineering value. In this way, the logic is described in logic sheets 410, 420, and 430 and includes parameters. Note that the calculation may include engineering value conversion.
[0018] <Control system configuration> 4 is a diagram showing the overall configuration of the control system 10 according to this embodiment. The control system 10 includes a control device 200 and a maintenance device 100 for the control device 200.
[0019] <Configuration of control device> The control device 200 receives a plant value (state quantity) from a plant device 290 (plant facility) installed in the plant via a signal line. The control device 200 calculates an operation value based on the plant value in accordance with a control logic 121 (see FIG. 6, which will be described later). The control device 200 operates (controls) the plant device 290 using the operation value.
[0020] The control device 200 includes a control unit 210, a storage unit 220, and a communication unit 280. The communication unit 280 has a communication device and is capable of communicating with the maintenance device 100 and the plant equipment 290.
[0021] <Control device: memory unit> The storage unit 220 includes storage devices such as a ROM (Read Only Memory), a RAM (Random Access Memory), and a flash memory. The storage unit 220 stores an object file 230. The object file 230 is a data file including instructions generated (built, compiled) by the maintenance device 100 based on the control logic 121. The object file 230 includes provisional setting management data 240 (see FIG. 5, which will be described later).
[0022] 5 is a data configuration diagram of the provisional setting management data 240 according to this embodiment. In the provisional setting management data 240, for a provisionally set parameter, a provisional setting value and the address of the parameter at which the provisional setting value is stored are stored in association with each other. For example, if the provisional setting value is set in the object file 230, the address indicates an address within the object file 230. If the object file 230 is loaded into the main memory of the control device 200 and executed, the provisional setting management data 240 may also be in the main memory, and the address may be an address in the main memory at which the provisional setting value is stored.
[0023] <Control device: control unit> The control unit 210 includes a microprocessor and operates in accordance with the instructions included in the object file 230. In other words, the control unit 210 controls the plant equipment 290 in accordance with the control logic 121.
[0024] <Configuration of maintenance equipment> 6 is a functional block diagram of the maintenance device 100 (setting value restoration device) according to this embodiment. The maintenance device 100 is a computer, and includes a control unit 110, a storage unit 120, and an input / output unit 180. User interface devices such as a display, keyboard, and mouse are connected to the input / output unit 180. The input / output unit 180 includes a communication device, and is capable of transmitting and receiving data to and from the control device 200. A media drive may also be connected to the input / output unit 180, enabling data exchange using a recording medium.
[0025] ≪Maintenance device: Storage section≫ The storage unit 120 is configured to include storage devices such as a ROM, a RAM, and an SSD (Solid State Drive). The storage unit 120 stores a control logic 121, an object file 130, an address correspondence table 140, temporary setting information 150, temporary setting restoration information 160, and a program 128. The program 128 includes a description of the processing to be executed by a functional unit included in the control unit 110, which will be described later. Note that the various storage contents of the storage unit 120 may be stored in an external storage device such as a cloud server and read as needed.
[0026] <Memory section: Control logic> The control logic 121 is a human-readable description of the control details of the plant equipment 290 performed by the control device 200. The control logic 121 may be logic sheets 410, 420, 430, or may be a description using a programming language.
[0027] <Storage: Object file> The object file 130 is a description of the control logic 121 that is generated based on the control logic 121 and converted into executable instructions that can be interpreted by the control unit 210 of the control device 200 .
[0028] <Memory section: Address correspondence table> 7 is a data configuration diagram of the address correspondence table 140 according to this embodiment. The address correspondence table is, for example, data in a tabular format, and indicates addresses within the object file 130 of parameters (control parameters) included in a calculation. The addresses may be addresses within a main memory that is part of the memory unit 220 provided in the parameter control device 200. Each row (record) of the address correspondence table 140 includes columns (attributes) of sheet number, name, identification number, and parameter address. The sheet number, name, and identification number are the numbers of the logic sheets 410, 420, and 430 on which the calculation is written, the name of the calculation, and the identification information of the calculation.
[0029] The parameter address indicates the address where the parameter setting value of the parameter included in the calculation is stored in the object file 130. As with the calculation, the parameter address indicates the address where the parameter setting value of the parameter included in the engineering value conversion is stored in the object file 130. Note that when the object file 230 is loaded into the main memory of the control device 200 and executed, the address may be the address where the parameter setting value is stored in the main memory.
[0030] <<Memory section: Provisional setting information>> 8 is a data configuration diagram of the provisional setting information 150 according to this embodiment. The provisional setting information 150 is, for example, data in a table format, and stores information related to provisionally set parameters. The provisional setting information 150 is data generated in a provisional setting information extraction process (see FIG. 10) described later. Each row (record) of the provisional setting information 150 includes columns (attributes) of a sheet number, a name, an identification number, a parameter and provisional setting value, and a hash value.
[0031] The sheet number, name, and identification number are the same as the sheet number, name, and identification number in the address correspondence table 140 . The parameters and temporary setting values are the names of the parameters included in the calculation and engineering value conversion indicated by the sheet number, name, and identification number, and their temporary setting values. The hash value is the control logic 121 for the part relating to the arithmetic operation and engineering value conversion during the provisional setting information extraction process. In this embodiment, the hash value is the hash value of the logic sheets 410, 420, and 430 on which the arithmetic operation and engineering value conversion are written.
[0032] <<Memory section: temporary setting restoration information>> 9 is a data configuration diagram of provisional setting restoration information 160 according to this embodiment. The provisional setting restoration information 160 is, for example, data in a table format, and stores information to be referenced when restoring provisional settings. The provisional setting restoration information 160 is data generated and referenced in the provisional setting restoration process (see FIG. 11) described below. Each row (record) of the provisional setting restoration information 160 includes a sheet number, a name, an identification number, a parameter and provisional setting value, and an automatic restoration column (attribute).
[0033] The sheet number, name, identification number, parameters, and provisional setting values are the same as the sheet number, name, identification number, parameters, and provisional setting values of the provisional setting information 150 (see FIG. 8). Automatic restoration indicates whether or not the provisional setting value in the parameter and provisional setting value can be restored to the parameter. Restoration is possible if the calculation and engineering value conversion are the same during the provisional setting information extraction process and the provisional setting restoration process. To explain in more detail, if the hash value of the logic sheets 410, 420 containing the calculation during the provisional setting restoration process matches the hash value of the provisional setting information 150, restoration is possible (OK); if they do not match, restoration is not possible (NG). The same is true for engineering value conversion; if the hash value of the logic sheets 410, 430 matches the hash value of the provisional setting information 150, restoration is possible; if they do not match, restoration is not possible.
[0034] <Maintenance device: control unit> 6, the control unit 110 will be described. The control unit 110 is configured to include a CPU (Central Processing Unit), and is provided with a logic creation unit 111, a build unit 112, an operation monitoring unit 113, a provisional setting unit 114, a provisional setting information extraction unit 115, a hash calculation unit 116, and a provisional setting restoration unit 117.
[0035] <Control section: Logic creation section, build section, operation monitoring section> The logic creation unit 111 receives instructions from a maintenance worker (worker / operator) of the plant who is a user of the maintenance device 100, and creates the control logic 121 (logic sheets 410, 420, 430). The build unit 112 builds (compiles and links) the control logic 121 to generate an object file 130 and an address correspondence table 140 (see FIG. 7). The operation monitoring unit 113 acquires the plant values sent by the plant equipment 290 to the control device 200. Furthermore, the operation monitoring unit 113 displays a monitoring screen on a display connected to the input / output unit 180, which displays the operating status of the plant.
[0036] <Control section: Provisional setting section> The temporary setting unit 114 receives a temporary setting instruction for a parameter included in a calculation or engineering value conversion from a maintenance technician, and changes the setting of the parameter on the control device 200. More specifically, the temporary setting unit 114 receives the calculation or engineering value conversion, the parameter (name), and the temporary setting value from the maintenance technician. Next, the temporary setting unit 114 refers to the address correspondence table 140 (see FIG. 7) to obtain the address of the parameter. Next, the temporary setting unit 114 stores the temporary setting value at the address in the memory unit 220 provided in the control device 200. The temporary setting unit 114 also stores the temporary setting value and the address in the temporary setting management data 240 (see FIG. 5).
[0037] <<Control unit: Provisional setting information extraction unit>> The provisional setting information extraction unit 115 acquires the parameters and provisional setting values for the parameters provisionally set in the control device 200, and stores them in provisional setting information 150 (see FIG. 8). More specifically, the provisional setting information extraction unit 115 acquires provisional setting management data 240 (see FIG. 5) and obtains a list of provisionally set parameters. Next, the provisional setting information extraction unit 115 calculates hash values for the parameters, provisional setting values, and information related to calculation / engineering value conversion including the parameters for each provisional setting, and stores the hash values in the provisional setting information 150. The information for which the hash values are calculated is logic sheets 410, 420, and 430 related to the calculation or engineering value conversion. Details of the processing by the provisional setting information extraction unit 115 will be described later with reference to FIG. 10.
[0038] As described above, the maintenance device 100 (setting value restoration device) includes a provisional setting information extraction unit 115 that extracts the storage location (address) in the control device 200 (storage unit 120 provided therein) and the setting value after provisional setting of the control parameters that have been provisionally set by temporarily changing the setting value since the object file 230 was generated, from among the control parameters included in the extracted object file, which is the object file 230 of the control logic 121 of the control device 200.
[0039] <Control unit: Hash calculation unit> The hash calculation unit 116 calculates hash values for the logic sheets 410, 420, and 430 related to the calculation or engineering value conversion. The hash calculation unit 116 calculates hash values for the logic sheets 410, 420, and 430 corresponding to the control logic 121 corresponding to the object file 230 running on the control device 200.
[0040] <Control unit: temporary setting restoration unit> The provisional setting restoration unit 117 restores provisional setting values based on the provisional setting information 150. More specifically, the provisional setting restoration unit 117 acquires the parameters and provisional setting values from the provisional setting information 150. Next, the provisional setting restoration unit 117 references the address correspondence table 140 (see FIG. 7) to acquire the address of the setting value of the parameter, and stores and restores the provisional setting value at the address in the storage unit 220. However, if the hash values of the logic sheets 410, 420, and 430 containing the arithmetic / engineering value conversion at the time of restoration do not match the hash values of the provisional setting information 150, the provisional setting restoration unit 117 does not perform restoration. Details of the processing by the provisional setting restoration unit 117 will be described later with reference to FIG. 11.
[0041] As described above, the maintenance device 100 (setting value restoring device) includes the temporary setting restoring unit 117 that sets the setting value after temporary setting at a storage location (address) (in the storage unit 220). The provisional setting restoration unit 117 sets the provisionally set setting value in the storage location in the control device 200 of the control parameter of the restored object file, which is the object file 230 of the control device 200, corresponding to the control parameter included in the extracted object file (object file 230). The control parameters included in the object file at extraction and the control parameters of the object file at restoration corresponding to the control parameters are the same control parameters for the same calculation (including engineering value conversion) included in the control logic 121.
[0042] The provisional setting restoration unit 117 does not set the provisionally set setting value in a memory location in the control device 200 if the logic sheets 410, 420, 430 containing descriptions of the input / output relationships of multiple operations, the values of the control parameters of the operations, and the logic of the operations, which are descriptions of all or part of the control logic 121, are different (hash values do not match) between the logic sheets 410, 420, 430 containing descriptions of operations including the parameters of the setting values extracted by the provisional setting information extraction unit 115 and the logic sheets 410, 420, 430 containing descriptions of operations including the parameters of the setting values restored by the provisional setting restoration unit 117 (hash values do not match).
[0043] <Provisional setting information extraction process> 10 is a flowchart of the provisional setting information extraction process according to this embodiment. In the provisional setting information extraction process, provisional setting information set in the control device 200 at the time of the process is extracted and stored in provisional setting information 150 (see FIG. 8). The object file 230 of the control device 200 is the same as the object file 130, and the addresses of the parameter setting values are the addresses shown in the address correspondence table 140.
[0044] In step S11, the provisional setting information extraction unit 115 acquires the provisional setting management data 240 (see FIG. 5) in the control device 200. In step S12, the provisional setting information extraction unit 115 starts the process of repeating steps S13 to S15 for each record of the provisional setting management data 240 acquired in step S11. Hereinafter, the record that is the target of this repeated process will be referred to as provisional setting data.
[0045] In step S13, the provisional setting information extraction unit 115 acquires the parameters in the provisional setting data and the calculations or engineering value conversions that include the parameters. More specifically, the provisional setting information extraction unit 115 identifies the parameters that have the same addresses as the addresses in the provisional setting data, and the calculations or engineering value conversions that include the parameters, from among the parameter addresses in the address correspondence table 140 (see FIG. 7).
[0046] In step S14, the hash calculation unit 116 obtains the logic sheets 410, 420, and 430 for the calculation or engineering value conversion obtained in step S13, and calculates a hash value. In step S15, the provisional setting information extraction unit 115 stores the calculation or engineering value conversion identified in step S13, the parameters, the provisional setting values in the provisional setting data, and the hash value calculated in step S14 in the provisional setting information 150 (see Figure 8).
[0047] <Temporary settings restoration process> 11 is a flowchart of the provisional setting restoration process according to this embodiment. In the provisional setting restoration process, provisional setting values of the parameters extracted in the provisional setting information extraction process (see FIG. 10) are set and restored in the control device 200 at the time of the process. The object file 230 of the control device 200 is the same as the object file 130, and the addresses of the parameter setting values are the addresses shown in the address correspondence table 140.
[0048] However, the object files 130, 230 and the address correspondence table 140 may be different from those at the time of the provisional setting information extraction process. For example, after the provisional setting information extraction process, if the control logic 121 (logic sheets 410, 420, 430) is modified and built, and the object file 130 is transferred to the control device 200, the state will be different from that at the time of the provisional setting information extraction process.
[0049] In step S21, the provisional setting restoring unit 117 starts the process of repeating steps S22 to S26 for each record of the provisional setting information 150 (see FIG. 8). Hereinafter, the record that is the target of this repeated process will be referred to as provisional setting data.
[0050] In step S22, if the arithmetic / engineering value conversion parameters in the provisional setting data are present in address correspondence table 140 (see FIG. 7) (step S22→YES), provisional setting restoration unit 117 proceeds to step S23. If the arithmetic / engineering value conversion parameters are not present (step S22→NO), provisional setting restoration unit 117 proceeds to step S25.
[0051] In step S23, the hash calculation unit 116 obtains the logic sheets 410, 420, and 430 for calculation / engineering value conversion in the provisional setting data, and calculates a hash value. In step S24, if the hash value in the provisional setting data matches the hash value calculated in step S23 (step S24→YES), provisional setting restoration unit 117 proceeds to step S26. If they do not match (step S24→NO), provisional setting restoration unit 117 proceeds to step S25.
[0052] In step S25, the provisional setting restoration unit 117 stores the calculation or engineering value conversion, parameters, and provisional setting values in the provisional setting data in the provisional setting restoration information 160 (see FIG. 9), and sets automatic restoration to "NG." In step S26, the provisional setting restoration unit 117 stores the calculation or engineering value conversion, parameters, and provisional setting values in the provisional setting data in the provisional setting restoration information 160, and sets the automatic restoration to "OK".
[0053] In step S27, the temporary setting restoration unit 117 outputs a temporary setting restoration confirmation screen 460 (see FIG. 12 described later) to the display. FIG. 12 is a screen configuration diagram of the temporary setting restoration confirmation screen 460 according to this embodiment. The contents of the temporary setting restoration information 160 are displayed on the temporary setting restoration confirmation screen 460. However, the automatic restoration attribute of the temporary setting restoration information 160 is not "OK" / "NG", but a check box is displayed in the "Restore" column for "OK" and is left blank for "NG". The maintenance technician checks the check box if the temporary setting values are to be restored, and does not check the check box if they are not to be restored. When the "Execute" button is pressed, the temporary setting restoration unit 117 proceeds to step S28.
[0054] 11, the description of the provisional settings restoration process will continue. In step S28, provisional settings restoration unit 117 starts the process of repeating steps S29 to S30 for each record of provisional settings restoration information 160. Hereinafter, the record that is the target of this repeated process will be referred to as restoration data.
[0055] In step S29, if temporary setting restoration unit 117 restores the temporary settings of the restoration data (the checkbox is checked on temporary setting restoration confirmation screen 460) (step S29→YES), the process proceeds to step S30. If temporary setting restoration unit 117 does not restore the restoration data (the checkbox is not checked on temporary setting restoration confirmation screen 460) (step S29→NO), the process returns to step S29 and the next restoration data is processed.
[0056] In step S30, temporary setting restoration unit 117 restores the temporary setting values. More specifically, temporary setting restoration unit 117 refers to address correspondence table 140 (see FIG. 7) to obtain the address of the parameter in the restored data. Next, temporary setting restoration unit 117 stores the temporary setting values in the restored data at the corresponding address in control device 200, thereby restoring the temporary setting values.
[0057] As described above, the provisional setting restoration unit 117 outputs a provisional setting restoration confirmation screen 460 including the identification information of the calculation, the identification information of the control parameter, and the setting value after the provisional setting, and sets the setting value after the provisional setting in a memory location in the control device 200 for the control parameter selected on the provisional setting restoration confirmation screen 460.
[0058] <Features of maintenance equipment> By using the maintenance device 100 as a setting value restoration device, the maintenance person can acquire the parameters and temporary setting values that are currently temporarily set in the control device 200 (see the temporary setting information extraction process in FIG. 10), and later restore the temporary setting values to the parameters (see the temporary setting restoration process in FIG. 11). Using the maintenance device 100 can reduce setting omissions and mistakes, allowing the maintenance person to perform efficient testing.
[0059] When restoring the data, the maintenance device 100 confirms that there are no changes in the calculations or engineering value conversions involving parameters between when the provisional setting values were acquired and when they were restored (see step S24 → YES), and then restores the data. If there are any changes, this means that the control logic is different from the control logic used when the provisional setting information was extracted. Therefore, even if the same provisional setting values can be restored as parameters, the control content of the control device 200 may be different, which prevents the maintenance person from unintentionally restoring the data.
[0060] <<Variations>> The above describes an embodiment of the present invention, but this is merely an example and does not limit the technical scope of the present invention. In the above embodiment, the control logic 121 is written as logic sheets 410, 420, and 430, but this is not limited to this. The control logic 121 may also be written using a programming language. In this case, the hash calculation unit 116 calculates a hash value based on the description of the arithmetic and engineering value conversion module and the description of the module that calls the module.
[0061] The present invention can take on various other embodiments, and various modifications such as omissions and substitutions can be made without departing from the spirit of the present invention. These embodiments and modifications are included in the scope and spirit of the invention described in this specification, etc., and are also included in the invention described in the claims and their equivalents.
[0062] <Hardware configuration> The maintenance device 100 according to the embodiment described above is realized by a computer 900 having a configuration as shown in FIG. 13, for example. FIG. 13 is a hardware configuration diagram showing an example of the computer 900 that realizes the functions of the maintenance device 100 according to the embodiment described above. The computer 900 includes a CPU 901, a ROM 902, a RAM 903, an SSD 904, an input / output interface 905 (referred to as an input / output I / F (Interface) in FIG. 13), a communication interface 906 (referred to as a communication I / F in FIG. 13), and a media interface 907 (referred to as a media I / F in FIG. 13). The computer 900 may include a hard disk drive (HDD) instead of the SSD 904, or may include a HDD in addition to the SSD 904.
[0063] The CPU 901 operates based on a program stored in the ROM 902 or the SSD 904, and performs control by the control unit 110 in Fig. 6. The ROM 902 stores a boot program executed by the CPU 901 when the computer 900 starts up, programs related to the hardware of the computer 900, and the like.
[0064] The CPU 901 controls an input device 910 such as a mouse or keyboard, and an output device 911 such as a display or printer, via an input / output interface 905. The CPU 901 acquires data from the input device 910 via the input / output interface 905, and outputs generated data to the output device 911.
[0065] The SSD 904 stores programs executed by the CPU 901 and data used by the programs. The communication interface 906 receives data from other devices (not shown) (e.g., the control device 200) via a communication network and outputs the data to the CPU 901, and also transmits data generated by the CPU 901 to other devices via the communication network.
[0066] The media interface 907 reads a program or data stored in the recording medium 912 and outputs it to the CPU 901 via the RAM 903. The CPU 901 loads the program from the recording medium 912 onto the RAM 903 via the media interface 907 and executes the loaded program. The recording medium 912 is an optical recording medium such as a DVD (Digital Versatile Disk), a magneto-optical recording medium such as an MO (Magneto Optical disk), a magnetic recording medium, a conductive memory tape medium, a semiconductor memory, or the like.
[0067] For example, when the computer 900 functions as the maintenance device 100 according to the embodiment described above, the CPU 901 of the computer 900 executes the program 128 (see FIG. 6) loaded onto the RAM 903, thereby realizing the functions of the maintenance device 100. The CPU 901 reads the program from the recording medium 912 and executes it. Alternatively, the CPU 901 may read the program from another device via a communication network, or may install the program 128 from the recording medium 912 onto the SSD 904 and execute it. [Explanation of symbols]
[0068] 10. Control System 100 Maintenance device (setting value restoration device) 111 Logic Creation Department 112 Build Department 113 Operation monitoring section 114 Provisional Settings 115 Provisional setting information extraction unit 116 Hash calculation unit 117 Provisional Settings Restoration Section 121 Control Logic 128 programs 130 object files 140 Address Correspondence Table 150 Provisional Information 160 Provisional Settings Restore Information 200 control device 230 object files 240 Provisional Setting Management Data 290 Plant Equipment 410,420,430 Logic Sheet 460 Temporary setting restoration confirmation screen
Claims
1. a provisional setting information extraction unit that extracts, from among control parameters included in an extraction-time object file, which is an object file of the control logic of the control device, storage locations in the control device and provisionally set setting values of control parameters whose setting values have been temporarily changed since the creation of the object file; and a temporary setting restoration unit that sets the setting value after the temporary setting in the storage location. Setting value restoration device.
2. The temporary setting restoration unit The provisionally set setting value is set in a storage location in the control device of the control parameter of the restoration-time object file, which is an object file of the control device, corresponding to the control parameter included in the extraction-time object file. The setting value restoring device according to claim 1 .
3. The control parameters included in the extraction-time object file and the control parameters of the restoration-time object file corresponding to the control parameters are: The same control parameters of the same operations included in the control logic The setting value restoring device according to claim 2 .
4. The temporary setting restoration unit A logic sheet is a description of the entire or part of the control logic, and includes input / output relationships of a plurality of the operations, values of control parameters for the operations, and descriptions of the logic of the operations. When the logic sheet including the description of the calculation including the parameters of the setting values extracted by the provisional setting information extraction unit and the logic sheet including the description of the calculation including the parameters of the setting values restored by the provisional setting restoration unit are different, The provisionally set setting value is not set in the storage location in the control device. The setting value restoring device according to claim 3 .
5. The temporary setting restoration unit outputting a provisional setting restoration confirmation screen including the identification information of the calculation, the identification information of the control parameter, and the setting value after the provisional setting; For the control parameters selected on the provisional setting restoration confirmation screen, the provisional setting values are set in the storage locations in the control device. The setting value restoring device according to claim 4 .
6. Computer, a provisional setting information extraction unit that extracts, from among control parameters included in an extraction-time object file, which is an object file of the control logic of the control device, storage locations in the control device and provisionally set setting values of control parameters whose setting values have been temporarily changed since the creation of the object file; and a temporary setting restoration unit that sets the setting value after the temporary setting in the storage location. To function as a setting value restoration device program.
7. The setting value restoration device a step of extracting, from among control parameters included in an extraction-time object file, which is an object file of the control logic of the control device, storage locations in the control device and setting values after provisional setting of control parameters whose setting values have been temporarily changed since the creation of the object file; and setting the provisionally set setting value in the storage location. How to restore settings.
Citation Information
Patent Citations
Plant operating device
JP2000207014A