Abstract:
A software tool which simplifies the monitoring of faults in an automation device. On a display device (FIG.  3 ), a rack ( 0′ - 3′ ) of this automation device with slots and functional modules is represented in a first view ( 4 ) in graphic form and in a second view ( 9 ) in tabular form. A faulty slot and/or a faulty functional module is displayed in some manner of highlighted form ((F),  10, 11,  etc.).

Description:
This is a Continuation of International Application PCT/DE01/04066, with an international filing date of Oct. 26, 2001, which was published under PCT Article 21(2) in German, and the disclosure of which is incorporated into this application by reference. 

   FIELD OF AND BACKGROUND OF THE INVENTION 
   The invention relates to a software tool for monitoring faults in an automation device. The invention further relates to a diagnostic system equipped with such a software tool. 
   The interactive Siemens catalogue entitled “Industrial and Automation Systems,” index “SIMATIC PCS7 Process Control System,” Version: 09/12/2000 describes a software tool “S7-PDIAG” for configuring process diagnostics for Siemens “SIMATIC S7” automation devices. In addition to the configuration for detecting process faults, the software tool also allows the process faults to be displayed. 
   OBJECTS OF THE INVENTION 
   One object of the present invention is to provide a software tool that simplifies the monitoring of faults in an automation device. A further object of the invention is to provide a diagnostic system enabling a simplified monitoring of faults in such an automation device. 
   SUMMARY OF THE INVENTION 
   According to one formulation, the invention provides a software tool for monitoring faults in an automation device that has at least one rack and a plurality of functional modules configured for insertion into slots in the rack. The software module generates a first view graphically displaying the rack with the slots and the functional modules on a display unit, a second view displaying the rack with the slots and the functional modules in a tabular form on the display unit, and a fault indicator marking at least one of a faulty slot and a faulty functional module, from among the plurality of functional modules and the slots, in the first view and in the second view. 
   According to another formulation, the invention encompasses a diagnostic system including: a software tool for monitoring faults in an automation device having at least one rack and a plurality of functional modules for the rack; and a display unit on which: the software tool generates a first view graphically displaying the rack with the slots and the functional modules, the software tool generates a second view displaying the rack with the slots and the functional modules in a tabular form; and the software tool generates a fault indicator marking at least one of a faulty slot and a faulty functional module in the first and in the second view. 
   The invention, according to yet another formulation, is also directed to a method for displaying a fault in an automation system, which includes: displaying, at least schematically, a rack having a plurality of slots for function modules and at least one function module in a first display view; displaying a table referencing the rack, the slots and the at least one function module in a second display view; and upon occurrence of the fault, altering the first view and the second view to identify which among the plurality of slots and the function module has caused the fault. 
   It is advantageous that the important information on the automation device can be presented in a clear layout in a first and a second view. The first view includes the physical aspect of the automation device with geographic address information and fault identification, while the second view includes a tabular view with expanded information, e.g., logic address information, information on the module state and on the order numbers of the modules. 
   In a third view, the software tool displays information on the cause of the fault and ways to correct the fault, so that a user is able rapidly to take the appropriate measures for monitoring and resolving the fault. 
   In one embodiment of the invention, the software tool generates an assignment arrow on the display unit, which links the selected slot and/or the selected functional module in the first view with that of the second view, showing the first and second view synchronously. This makes it easy to see the assignment of the slots and/or the functional modules in the two views. 
   In a further embodiment of the invention, in the first view, the software tool shows the rack with the slots and the inserted functional modules according to their actual spatial appearance, i.e. layout, thus providing a simplified man-machine interface. 

   
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The invention and its embodiments and advantages will now be described in greater detail by means of an exemplary embodiment of the invention with reference to the drawing in which 
       FIGS. 1 to 3  show different views of an automation device on a display unit of a programming device, where analogous parts depicted in  FIGS. 1 to 3  are provided with the same reference numerals. 
   

   DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
   A software tool provided for configuring and diagnosing an automation device can be run on a programming device (not shown). The automation device has at least one rack and a plurality of functional modules that can be inserted into this rack. Based on the hardware characteristics of these modules and/or due to the system architecture of the automation device, specific slots in the rack are provided for each of these functional modules. The insertable functional modules can be configured, for example, as CPU modules, communications modules, and digital and/or analog input and/or output modules. 
     FIG. 1  shows an identification table  1  as it can be displayed by the software tool on a display unit. The identification table  1  includes identifying characteristics of the functional groups, in tabular form, in columns and rows. These identifying characteristics include module names  2  and module properties  3 . In the present example, the identification table  1  shows the module properties in the form of order numbers, memory capacities and types of connection. By means of an input and selection unit (not shown here) e.g., in the form of a mouse, a user selects the desired functional module to be operated in the automation device by selecting the corresponding line in the identification table  1 . The user then moves the selected functional module into a slot of a rack, which, in a first view of the display unit, is graphically depicted in a viewport  4 , by means of an otherwise conventional drag-and-drop operation. With this movement, the functional group selected in the identification table  1  changes its appearance and is now displayed in graphic form. It is also possible to occupy this slot in the viewport  4  by copying the content of the selected line in the identification table  1  instead of moving it, so that the content of the identification table  1  remains unchanged. In the present example, a CPU module identified as CPU3121FM is moved to the slot  5 ′ of the rack  3 ′. In the racks  0 ′ to  3 ′ of the viewport  4 , the software tool shows the slots  1 ′ to  11 ′ into which this module can be generally inserted. The software tool prevents the user from moving a module into a slot of a rack  0 ′ to  3 ′ that is not allowed for that module. Such a drag-and-drop operation will be rejected and an error message will be displayed. 
   The racks  0  to  3  shown on the display unit in the viewport  4  with the associated slots  1 ′ to  11 ′ and the functional modules  5  moved into the racks  0 ′ to  3 ′ are depicted basically according to their hardware configuration. In other words, on the display unit, the modules are shown generally in accordance with their spatial layout/appearance. 
   In a second view, as shown in  FIG. 2  and in contrast to  FIG. 1 , the racks  0 ′ to  3 ′ are depicted in the form of register cards  5  to  8 , instead of graphically, in a viewport  9 . For configuring the automation device, as described above, a user again selects a line in the identification table  1  and in a drag-and-drop operation moves the content of the selected line to one of the register cards  5  to  8 . This causes the slots  1 ′ to  11 ′ of the selected register card  5  to  8  to be displayed. In the present example, the register card  5 , i.e., the rack  0 , is selected, and the slot  5 ′ where the selected CPU module CPU3121FM can be inserted, is marked. 
   The following description refers to  FIG. 3 , which depicts a diagnostic view displayed on the display unit of the programming device. To monitor faults in the automation device, the programming device is connected online with the automation device. In this diagnostic view, the automation device is depicted in graphic form in the viewport  4  and in tabular form in the viewport  9 . In this diagnostic view, the graphic form contains the physical appearance of the automation device in context, including geographical address information—racks  0 ′ to  3 ′, slots  1 ′ to  11 ′—as well as fault identifications. The tabular form shows expanded information, e.g., logical address information and module states. 
   If there is a fault in the automation device, the diagnostic view is automatically activated in the programming device, causing the software tool to display the automation device in graphic and tabular form in the viewports  4  and  9 . The software tool preferably displays the two forms synchronously, identifying faulty functional modules (here, by way of example, with (F)) and generating an assignment arrow that links the faulty slot and/or the faulty functional module in the first view with the second view. In the present example, an assignment arrow  10  points to a faulty module inserted into the slot  5 ′ in the graphic view and a slot  5 ′ in the tabular view, so that the user can quickly determine the module in question by means of the content of the line in the table. To enable the user promptly to take the necessary actions in response to the fault, the software tool, in a third view  11 , displays information on the cause of the fault, the time when the fault occurred and ways to correct the fault. This view, too, is preferably shown synchronously with the first and the second views by the software tool. 
   The above description of the preferred embodiments has been given by way of example. From the disclosure given, those skilled in the art will not only understand the present invention and its attendant advantages, but will also find apparent various changes and modifications to the structures and methods disclosed. It is sought, therefore, to cover all such changes and modifications as fall within the spirit and scope of the invention, as defined by the appended claims, and equivalents thereof.