Abstract:
Different sets of representations of function blocks of a system are configured, e.g. function blocks in a Continuous Function Chart (CFC) and objects in the WinCC visualization tool, which refer back to a common database. Information about corresponding sets of representations of the system&#39;s function blocks is converted into two, e.g. HTML, documents, each having references to the other set of representations, thereby allowing navigation from one representation to the other as well as consistent modification in a plurality of representations simultaneously.

Description:
CROSS REFERENCE TO RELATED APPLICATIONS  
         [0001]    This application is based on and hereby claims priority to German Application No. 10305637.8 filed on 11 Feb. 2003, the contents of which are hereby incorporated by reference.  
         BACKGROUND OF THE INVENTION  
         [0002]    The invention relates to methods for configuring an electrical system, particularly the configuration of building and plant installations or the configuration of a European Installation Bus (EIB), whereby systems are configured simultaneously in various representations, e.g. in a Continuous Function Chart (CFC) and in a human-machine interface such as the WinCC® operator control and visualization tool. Continuous Function Charts or CFCs are frequently used for planning automation tasks, e.g. for the planning of Simatic controls.  
           [0003]    At the same time, the human-machine interfaces for an automation task, e.g. the planning of a Simatic control, are also frequently configured and modified simultaneously or in step with the preparation of the CFC. For example, a visualization possibility of this kind for a Simatic control has been described using the WinCC® program.  
           [0004]    To navigate in the engineering data, a configuration engineer generally has to familiarize himself with the individual navigation functions of every single application. For example, to search for linked data in several engineering tools, the configuration engineer has to navigate simultaneously in all the tools involved. Sideways navigation along the linked data between the tools requires considerable operator effort and knowledge of the relevant filing schemes, whereas locating and filing engineering data requires knowledge of the industry- or project-specific conventions. Applying the conventions involves a certain amount of familiarization effort and requires a degree of care and is therefore time-intensive. The data has until now been filed on an application-specific basis and can only be located by interactive operator input in the application itself. The current engineering data is not linked to any documentation of the system to be configured, resulting in increased documentation maintenance after any modification of the engineering data. Present day engineering tools support the configuration engineer in filing the engineering data in accordance with conventions, subject to the limitation that the data must be filed hierarchically. This prevents any cross-linking of the data in the filing schemes or any inter-applicational data filing. The engineering data in the plant documentation is usually only a copy of the actual data, which means that the document must be laboriously updated manually after each modification.  
           [0005]    As described on page 20 of the Siemens ITlution White Paper entitled “Informations-technologie in der Automatisierungstechnik” (Information Technology in Automation Engineering), April 1999, for uniform navigation to all the information, an appropriate layout as a web site with individual pages networked via hyperlinks is required, the hierarchical component structure of the plant defining a structure for the web site. This document also suggests that greater flexibility and easier modifiability can be achieved by a strict separation of structure and user data.  
         SUMMARY OF THE INVENTION  
         [0006]    An object of the invention is to specify methods for configuring an electrical system wherein the abovementioned disadvantages are avoided and configuration is made as quick and consistent as possible.  
           [0007]    The essence of the invention is that different sets of representations of function blocks of a system to be configured, e.g. function blocks in a Continuous Function Chart (CFC) and objects in the WinCC visualization tool, refer back to a common database and the information about the corresponding sets of representations of the system&#39;s function blocks is converted into two HTML documents each having references to the other set of representations in each case, thereby allowing navigation from one representation to the other as well as consistent modification in a plurality of representations simultaneously. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0008]    These and other objects and advantages of the present invention will become more apparent and more readily appreciated from the following description of the preferred embodiments, taken in conjunction with the accompanying drawings of which:  
         [0009]    [0009]FIG. 1 is a functional block diagram for an electrical system in the form of a first CFC set and a corresponding second set of WinCC representations.  
         [0010]    [0010]FIG. 2A is a graph for a group containing paths connected to motors.  
         [0011]    [0011]FIG. 2B is a CFC extract associated with the graph illustrated in FIG. 2A.  
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT  
       [0012]    Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.  
         [0013]    [0013]FIG. 1 shows sections of the function blocks to be configured for an electrical system in the form of a first CFC set and a corresponding second set of WinCC representations. The first set of representations may exist, for example, in a Continuous Function Chart or CFC and the second set of representations, e.g. for the WinCC® human-machine interface. The display of the first set of representations, i.e. the CFC for example, contains elements with references VO to the objects of a related tool, such as WinCC, a reference VO of this kind including, e.g. the following components:  
         [0014]    Visualization: (designation of the related tool or of the other set of representations)  
         [0015]    StationDetail: (the location in the related tool, in this case therefore in the WinCC visualization tool)  
         [0016]    Field 1 _GroundingDisconnector: (the concrete entry for StationDetail)  
         [0017]    Correspondingly, in the second set of representations, i.e. in the WinCC visualization tool, for example, at a specific location, i.e. for the grounding disconnector of Field 1 , a reference VB is present having the following form:  
         [0018]    Controls (the reference to the relevant related tool, i.e. the Continuous Function Chart, for example)  
         [0019]    Station\ (an entry specifying the CFC station in which the function block is located)  
         [0020]    Field 1 #GroundingDisconnector (an entry specifying the function block involved)  
         [0021]    For the two references VB and VO, only one related tool, i.e. Controls or Visualization, for example, is concretely specified in each case; however, the “. . . ” entry indicates that, in principle, any number of related tools or sets of representations can be unambiguously connected or linked in this way.  
         [0022]    For example, for configuring an electrical system, function blocks and objects are first configured in the CFC tool and in the WinCC tool respectively, a correspondence existing between the configured function blocks and the objects or symbols which is established by the configuration engineer as part of the configuration process. First, the configuration engineer then performs a so-called “mapper” which creates communication variables in WinCC which are associated with the configured function blocks. Second, the configuration engineer then usually assigns one or more communication variables in WinCC to the configured WinCC object, which means that the correspondence between the configured function blocks and the WinCC objects is configured. According to the invention, the information about the corresponding function blocks and WinCC objects is then converted in each case into two documents of a page description language, e.g. HTML or XML, using a database and the associated functions, an HTML document containing the references to the corresponding WinCC objects being associated, for example, with a function block and an HTML document containing the references to the corresponding function blocks in the CFC being associated, for example, with a WinCC object.  
         [0023]    By clicking on or selecting the relevant reference to a specific item in a related tool, the configuration engineer can change back and forth between related tools, e.g. CFC and WinCC, or navigate in both tools. Should the communication structure between the CFC function blocks and the WinCC objects be changed by the configuration engineer, only one central database needs to be updated, which means that the configuration engineer has access at all times to the current reference structures between the corresponding objects or function blocks.  
         [0024]    In a further embodiment of the method according to the invention, navigation is possible not only between related tools but also between tools which do not normally provide a function of this kind, this being the case, for example, for configuring function blocks and interconnections in the CFC. To allow navigation in the Continuous Flow Chart itself, a graph reflecting the structure of the project or of its function blocks and interconnections is generated virtually as a navigation view.  
         [0025]    [0025]FIG. 2 shows a graph G of this kind, e.g. for a group  1  containing a path  1  and a path  2 , the path  1  being connected to a motor  1  and a motor  2  and-the path  2  likewise connected to the motor  2  and a motor  3 . The associated CFC extract likewise contained in FIG. 2 additionally shows, for example, a reference V with the following entries from the graph G for the function block motor  2 , as generated, e.g. by clicking on the symbol for the motor  2 :  
         [0026]    Groups: group  1   
         [0027]    Paths: path  1 , path  2   
         [0028]    The entry “. . . ” indicates that in general not just two hierarchy levels are possible.  
         [0029]    To implement this method, the configuration engineer first determines a set of function block types as a node set of the graph and, from the node set, a set of interconnection interfaces for each function block type. In addition, a set of connection function blocks not contained in the node set is defined by the configuration engineer. The graph is now calculated from a set of CFC charts on the basis that each function block from the set of CFC charts is a node of the graph precisely when its function block type is in the node set and that the set of edges of the graph is the maximum set of edges between the adjacent nodes K 1  and K 2  of the graph, the edges being formed according to the following rule:  
         [0030]    There exist interconnections between the associated function blocks of the adjacent nodes K 1  and K 2 , or a chain of interconnections beginning in K 1  and ending in K 2 , so that the connected function blocks are in the chain including the set of connection function blocks, so that the interconnection connects interfaces which are in the relevant interconnection interfaces.  
         [0031]    If during configuration of the function blocks and interconnections in the CFC the interconnection information is changed, according to the above method a new graph is generated and displayed in each case, references to the function blocks being specified or associated with the nodes. The configuration engineer can now navigate in the CFC charts by clicking on or selecting these references.  
         [0032]    Inter-applicational filing of engineering data makes possible a significant reduction in navigation time/cost and a reduction in the operations involved in the maintenance of plant documentation. According to the invention, any reference structures can be generated, not only hierarchical reference structures. A large number of the connections or hyperlinks can therefore be generated or computed automatically on the basis of the connection actually present between the function blocks. The automatically generated or computed hyperlinks can be compared with the actual links and the configuration or its progress can be checked.  
         [0033]    The invention has been described in detail with particular reference to preferred embodiments thereof and examples, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.