DEVICE INFORMATION SETTING APPARATUS AND DEVICE INFORMATION SETTING METHOD
There is provided a device information setting apparatus. The apparatus includes: a storage format storing unit configured to store a first storage format of first device information in a first field device and a second storage format of second device information in a second field device; an acquiring unit configured to acquire the first device information based on the first storage format; a conversion unit configured to convert the first device information into the second device information, based on the second storage format; and a writing unit configured to write the second device information in the second field device.
Latest YOKOGAWA ELECTRIC CORPORATION Patents:
- Current measurement device
- Valve diagnosis apparatus, valve apparatus, and valve diagnosis method
- Learning processing apparatus, control apparatus, learning processing method, control method, non-transitory computer-readable medium having learning program recorded thereon, and non-transitory computer-readable medium having control program recorded thereon
- SPECTROSCOPIC ANALYSIS DEVICE AND SPECTROSCOPIC ANALYSIS METHOD
- MEASUREMENT APPARATUS, MEASUREMENT SYSTEM, AND PROGRAM
This application claims priority from Japanese Patent Application No. 2009-238522, filed on Oct. 15, 2009, the entire contents of which are herein incorporated by reference.
BACKGROUND1. Technical Field
The present disclosure relates to a device information setting apparatus and a device information setting method for setting device information to a field device.
2. Related Art
When the user performs an operation of setting, adjusting, and maintaining a field device with a field bus function, device information is acquired from the field device and is then edited. The device information includes management information of each field device or device parameters peculiar to each device. When the device information is acquired and edited, it is necessary to use a software tool or a program that is uniquely developed by a device vendor. (see e.g., Takeuchi Tetsuo, “FDT/DTM Framework for New Field Device Tools”, Yokogawa Technical Report, Yokogawa Electric Corporation, Vol. 51 No. 2 (2007))
The software tool or the program is prepared for each device. When the same type of device has different device revisions, the devices have different numbers of device parameters or different contents. Therefore, in many cases, software or a program is prepared for each device. When the same type of device having the same function has different device revisions, a plurality of software components or a plurality of programs is needed.
However, when the device is replaced, in some cases, it is difficult to prepare the same types of devices with the same revision. In this case, it is difficult to automatically set device information to a new device. For example, when the life span of the field device is long and the field device needs to be replaced due to, for example, a failure, it is difficult to prepare a substitutive device with, the same revision. In this case, it is necessary to manually set device information when the device is replaced, resulting in an increase in the workload of the user. In addition, when the field device is replaced with another field device manufactured by a different manufacturer, a complicated operation is needed to set device information, resulting in an increase in a setting cost.
SUMMARY OF THE INVENTIONExemplary embodiments of the present invention address the above disadvantages and other disadvantages not described above. However, the present invention is not required to overcome the disadvantages described above, and thus, an exemplary embodiment of the present invention may not overcome any disadvantages
It is an illustrative aspect of the invention to provide a device information setting apparatus capable of reducing a workload for setting device information when a device is replaced.
According to one or more illustrative aspects of the invention, there is provided a device information setting apparatus. The apparatus includes: a storage format storing unit configured to store a first storage format of first device information in a first field device and a second storage format of second device information in a second field device; an acquiring unit configured to acquire the first device information based on the first storage format; a conversion unit configured to convert the first device information into the second device information, based on the second storage format; and a writing unit configured to write the second device information in the second field device.
According to one or more illustrative aspects of the invention, there is provided a device information setting method. The method includes: (a) storing a first storage format of first device information in a first field device; (b) storing a second storage format of second device information in a second field device; (c) acquiring the first device information, based on the first storage format; (d) converting the first device information into the second device information, based on the second storage format; and (e) writing the second device information in the second field device.
Other aspects and advantages of the present invention will be apparent from the following description, the drawings and the claims.
Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.
Each of a first field device 21 and a second field device 22 shown in
As shown in
The device information setting apparatus 1 is configured as a portion of the function of a computer. The computer includes a program that allows the computer to function as the storage format storing unit 11, the acquiring unit 12, the conversion unit 13, the writing unit 14, and the receiving unit 15.
In Step S1 of
Then, in Step S2, the acquiring unit 12 extracts device parameters and an operation log from the device information data with reference to the storage format of the first field device 21 stored in the storage format storing unit 11 and stores them. The storage format of the first field device 21 includes information indicating the storage areas of the device parameters and the operation log in the device information data stored in the field device 21. The operation log is history data for the writing, erasion, and editing of the device information data.
Then, in Step S3, the acquiring unit 12 acquires and stores the device information data stored in the second field device 22.
Then, in Step S4, the conversion unit 13 executes a device information data generating process in the following Steps S41 to S46 (
In Step S41, one of the device parameters of the first field device 21 stored in Step S2 is selected.
Then, in Step S42, it is determined whether a parameter with the same label name as that of the selected parameter of the first field device 21 is included in the parameter information of the second field device 22, with reference to the storage format of the second field device 22 stored in the storage format storing unit 11. The storage format of the second field device 22 includes information indicating the storage areas of the device parameters and the operation log in the device information data stored in the field device 22. The correspondence between the label name and the parameter may be defined in each of the device information data of the first field device 21 and the device information data of the second field device 22, or it may be defined in each of the storage format of the first field device 21 and the storage format of the second field device 22 stored in the storage format storing unit 11.
If the determination result in Step S42 is “Yes”, the process proceeds to Step S43. If the determination result in Step S42 is “No”, the process proceeds to Step S44.
In Step S43, for the selected parameter of the first field device 21 (parameter with the same label name), the value of the parameter of the second field device 22 stored in Step S3 is replaced with the value of the parameter of the first field device 21, and the process proceeds to Step S48.
In Step S44, it is determined whether there is a parameter of the second field device 22 associated with the selected parameter of the first field device 21 with reference to the association of the parameter stored in the receiving unit 15.
If the determination result in Step S44 is “Yes”, the process proceeds to Step S45. If the determination result in Step S44 is “No”, the process proceeds to Step S46.
In Step S45, the value of the parameter of the second field device 22 associated with the selected parameter of the first field device 21 is replaced with the value of the parameter of the first field device 21, and the process proceeds to Step S48.
In Step S46, an operation of designating the parameter of the second field device 22 to be associated with the selected parameter of the first field device 21 is received, and the process proceeds to Step S47. In this case, the receiving unit 15 receives the operation of the user. The user may designate the parameter of the second field device 22 to be associated with the selected parameter of the first field device 21. The association of the parameter designated by the user is stored in the receiving unit 15.
In Step S47, the value of the parameter of the second field device 22 associated with the selected parameter of the first field device 21 is replaced with the value of the parameter of the first field device 21, and the process proceeds to Step S48.
In Step S48, it is determined whether the values of all of the parameters of the first field device 21 have been replaced (Steps S43, S45, and S47). If “Yes”, the process proceeds to Step S49. If “No”, the process returns to Step S41, and the next parameter is selected.
In Step S49, the data of the operation log of the second field device 22 is replaced with the data of the operation log of the first field device 21. Thus, device information data to be written to the second field device 22 is generated.
Then, in Step S5 (
As described above, according to the device information setting apparatus of this embodiment, it is possible to automatically set the value of the parameter with the same label name or the value of the parameter associated by the user. Therefore, it is possible to significantly reduce a workload for setting device information, for example, when the device is changed to another device with a different revision.
In addition, the user may associate the parameters, store the association, and reuse the association to automatically set the device information. Therefore, it is possible to reduce a workload, for example, when the device is changed to a device of another company.
It is also possible to use the device information setting apparatus according to this embodiment to initially set the device information. In this case, a device to be initially set corresponds to the second field device. In addition, the second field device may not be a real device, but it may be a virtual device implemented on the computer. In this case, it is possible to use the device information setting apparatus for, for example, simulations or education.
While the present invention has been shown and described with reference to certain exemplary embodiments thereof, other implementations are within the scope of the claims. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A device information setting apparatus, comprising:
- a storage format storing unit configured to store a first storage format of first device information in a first field device and a second storage format of second device information in a second field device;
- an acquiring unit configured to acquire the first device information based on the first storage format;
- a conversion unit configured to convert the first device information into the second device information, based on the second storage format; and
- a writing unit configured to write the second device information in the second field device.
2. The apparatus according to claim 1,
- wherein the conversion unit is configured to covert the first device information into the second device information such that the values of parameters having the same label name, which are included in the first and second device information, are equal to each other.
3. The apparatus according to claim 1, further comprising:
- a receiving unit configured to receive an instruction to associate parameters included in the first and second device information, and
- wherein the conversion unit is configured to convert the first device information into the second device information such that the values of the associated parameters are equal to each other in accordance with the instruction received by the receiving unit.
4. A device information setting method, comprising:
- (a) storing a first storage format of first device information in a first field device;
- (b) storing a second storage format of second device information in a second field device;
- (c) acquiring the first device information, based on the first storage format;
- (d) converting the first device information into the second device information, based on the second storage format; and
- (e) writing the second device information in the second field device.
5. The method according to claim 4, wherein step (d) comprises:
- converting the first device information into the second device information such that the values of parameters having the same label name, which are included in the first and second device information, are equal to each other.
6. The method according to claim 4, further comprising:
- (f) receiving an instruction to associate parameters included in the first and second device information, and
- wherein step (d) comprises:
- converting the first device information into the second device information such that the values of the associated parameters are equal to each other in accordance with the instruction in step (f).
Type: Application
Filed: Oct 14, 2010
Publication Date: Apr 21, 2011
Patent Grant number: 8682459
Applicant: YOKOGAWA ELECTRIC CORPORATION (Tokyo)
Inventor: Yoshiyuki JINGUU (Tokyo)
Application Number: 12/904,454
International Classification: G05B 19/02 (20060101);