The present invention relates to field devices connected to a computer system. More particularly, the present invention relates to device support software arrangement, system and method used in connection with field devices capable of updating field device support software at the computer system associated with a field device.
In the field of computer software and hardware, and particularly with those systems using the “Foundation™ Fieldbus” or similar standards, it may be desirable to maintain accurate information in device support files associated with the field devices. Device Support files are important for the operation of a Foundation™ Fieldbus system, and likely responsible for interoperability and extensibility of a Foundation™ Fieldbus system. Device Support files include device descriptions and capabilities files for a particular Foundation™ Fieldbus device. Conventional systems and methods allow a usage of device descriptions and capabilities files from a specific source into a system by copying these files or modifying content of such files to fit into the system's architecture.
The conventional use of the Foundation™ Fieldbus Device Support files has various problems that make installation and maintenance of the Device Support files difficult and time consuming for the user. First, the conventional Device Support files are generally installed according to Foundation™ Fieldbus rules, using manufacturer and device type codes. Foundation™ Fieldbus rules may change from time to time, so conventional copying of Device Support files may install an older, outdated version thereof. This is particularly problematic where Device Support files are manually copied from one environment to another, or manually packed and transmitted, for example, by email or otherwise over a computer network, to a remote computer. Secondly, a capabilities file can be generated through an ordinary text editor, which may be prone to inconsistencies and tampering. As a result, the capabilities files may have inconsistencies that can present problems to the system's functionality and behavior, which may cause the user to make mistakes by integrating incompatible devices into the system.
Regardless of the cause, missing or inconsistent Device Support files usually can cause problems for the users. Foundation™ Fieldbus applications generally rely on the information in the Device Support files to handle the operation of the devices. In a large application, for example, the user may obtain a missing Device Support file only when such user attempts to work with the device associated with such Device Support file. During the time when the user is performing a critical operation, a detection of the missing Device Support file can prevent the completion of the operation which may be critical.
Accordingly, there exists a need to provide an improved method, system and software arrangement for processing device support files which overcome at least some of the above-referenced deficiencies. Accordingly, at least this and other needs have been addressed by exemplary embodiments of the method, system and software arrangement according to the present invention. One such exemplary embodiment is directed to a method for processing a device support file for a field device. A device support file can be installed on a computer system. Upon the installation of the device capabilities file, the device support file can be validated by comparing the capabilities file with common rules generally associated with the capabilities file.
In another exemplary embodiment of the present invention, a computer system is provided having a processor and a storage arrangement (e.g., memory, hard drive, floppy disk, CD-ROM, on Internet or any other storage medium). The storage arrangement has stored thereon computer-executable instructions for processing a device support file for a field device. In this exemplary method a device support file is installed on a computer system. Then, upon the installation of the device support file, a capabilities file of the device support file is validated by comparing the capabilities file with common rules associated with the capabilities file. In yet another exemplary embodiment of the present invention, a computer-readable medium is provided having stored thereon computer-executable instructions for processing a device support file for a field device as described herein above for the system and method. A software arrangement can also be provided in accordance with the present invention, which can program a processing arrangement to execute these functions.
The detailed description will refer to the following drawings, wherein like numerals refer to like elements, and wherein:
The computer systems 10, 30 can be extendable. For example, when a new field device (e.g., field device 18) is introduced (or connected) to the system 10, or when a field device revision is introduced to the system 10, it is possible that the corresponding device support data may not yet be installed in the storage arrangement 14 of the system 10. If this occurs, the user can install the current device support files 16 into the storage arrangement 14 associated with the local system 10. The device support files 16 can be provided on a disc or other tangible medium or, as illustrated in
In the exemplary embodiment of the systems illustrated in
In step 208, the local system 10 identifies device support files 16, e.g., by their file extensions, and displays a list of available device support files 16. The file names can be converted to simplify the import process for the user. The list indicates the files by, e.g., the manufacturer name and device type name, instead of, or in addition to displaying numeric codes associated with the device support files 16. In step 210, the user confirms the selection of the device support files 16 using the GUI. In step 212, the local system 10 then retrieves the manufacturer's codes from the capabilities files, and utilizes these codes to verify 214 that the files 16 and the file locations selected by the user are valid.
The local system 10 can create file folders or other data structures in the storage arrangement 14 for the device support files 16 in step 216. The device support files 16 are then placed into the data structures provided in the storage arrangement 14 in step 218. When the files 16 are placed into the data structure 14, a capabilities file consistency check can be performed in step 220 on the files 16 to ensure or verify that the copied files 16 do not have any inconsistent definitions (or possess only a limited number thereof) that could harm the system 10 or otherwise disrupt the operation of the system.
In one exemplary embodiment of the method according to the present invention, the performance of the consistency check is optional to the user. If such check is performed in step 220, it can be done in two different ways. As a first option, e.g., only the information that is actually used by the system 10 is checked or verified. For example, the device support files 16 for a particular device may still be imported even if there is some inconsistency in the information that is not currently used by the system 10. As a second option, the capabilities files can be completely checked or verified according to standards, such as the FF-103 standard currently being used in connection with the Foundation™ Fieldbus devices. If any information is determined to be inconsistent, then the device support files 16 for the device may possibly not be imported, even if the inconsistencies are found in the information that is not currently used by the system 10.
When a new version of the consistency check utility is installed in the system 10, it is possible that the consistency rules may have changed. For example, the changes may have been implemented to fix or address various problems, add new rules, and/or remove obsolete rules based on the evolution of the standard specifications. For these reasons, e.g., when a new version of the consistency check utility is installed, all device support files 16 in the storage arrangement 14 may preferably be checked again to determine whether the device support files comply with the new consistency rules, either completely or to a large degree. In one exemplary embodiment of the present invention, the two options for consistency checking described herein may also apply. The consistency check may be performed, e.g., only on the information presently utilized by the system 10 and/or on all information regardless of whether the information is currently used by the system 10.
For any missing device support files 46, three options can be presented to the user. For example, the user can immediately locate the missing device support files 46 in step sequence 310, order the missing device support files 46 from the original system 10 in step sequence 328, and/or proceed without installing the missing device support files 46 in step sequence 320.
If the user selects the option to immediately locate the missing device support files 46 in step sequence 310, the system 30 displays a file browser that allows the user to view files on the system 30 (step 312). The user then can browse through the files using the browser, and in step 314 may select a location in the system 30, or in any other system (e.g., system 10) connected to the system 30, where the missing device support files 46 can be obtained or located (e.g., a system file depository containing a set of master device support files). Files 46 selected in step 314 by the user may imported or otherwise provided to the system 30 in step 316. The imported files can then be validated in step 316.
If the user selects the option to proceed with step sequence 320 without the missing files 46, then the system 30 can open or access a configuration file in step 322, and may notify the user in step 324 of the risk of proceeding without the missing device support files 36 (e.g., the risk of coming across a device for which the device support is missing during operation). The user can then select an option to proceed without the missing files 46 in step sequence 326.
If the user selects the option to order the missing files 46 of step sequence 328, the system 30 may generate a file (42 in
In one exemplary embodiment of the present invention, the system 30 can compare the environments of the source and destination system 10, 30 by comparing the capabilities files and the device descriptions for a specific project. In other exemplary embodiments of the present invention, the comparison between the environments of the systems 10, 30 can be further extended to compare the overall device library containing a master library location with a remote system installation. A synchronization method may be employed to confirm content duplication and existence of tampered files. In yet another exemplary embodiment, other version management capabilities can be added or utilized for external sources, such as version control, file auditing, and content tracking which may provide certain mechanisms to integrate new field devices and track changes in the system 30.
Although the present invention has been described with respect to particular embodiments thereof, variations are possible. The present invention may be embodied in specific forms without departing from the essential spirit or attributes thereof. For example, although the present invention is described with respect to embodiments using a Foundation™ Fieldbus environment, one skilled in the art will recognize that the present invention may be extended to any system that uses device support files to provide information to a device. Other exemplary systems may include, without limitation, HART devices protocol, EDDL and GSD files in a PROFIBUS® system or other proprietary systems. Further, the present invention may be extended to operate and/or be integrated with device components such as DTM that are based on the FDT/DTM technology, in which components, rather than files, provide the device support, and those components can be also validated according to consistency and interoperability rules by following specific standard and protocols. In another exemplary embodiment of the present invention, installation, validation, and ordering may be extended for components and verification, packing, and unpacking may be extended for FDT/DTM applications. Further, the present invention may be utilized to future standards supported by other description methods, such as OPC, XML schemas, scripting languages, web-services and other web-based standards.
In addition, although aspects of an implementation consistent with the present invention are described as being stored in a storage, one skilled in the art will appreciate that these aspects can also be store provided on or read from other types of computer program products or computer-readable media, such as secondary storage devices, including hard disks, floppy disks, or CD-ROM, a carrier wave from the Internet or other network, and/or other forms of RAM or read-only memory (ROM), and/or possibly Field Devices with storage and network management capabilities. It should also be understood that the techniques and methods described herein can be implemented using one or more software applications that are executed on one or more processing arrangements (e.g., a computer, such as a Pentium® based personal computer, minicomputer, workstation, mainframe, etc.). It is desired that the embodiments described herein be considered in all respects illustrative and not restrictive and that reference be made to the appended claims and their equivalents for determining the scope of the invention.