Plaque It!
|
| 4716541 | Boolean processor for a progammable controller | December, 1987 | Quatse | 712/223 |
| 5168441 | Methods for set up and programming of machine and process controllers | December, 1992 | Onarheim et al. | 700/17 |
| 5623592 | Method and apparatus for constructing an iconic sequence to operate external devices | April, 1997 | Carlson et al. | 715/866 |
| 5815712 | System for controlling functions of a target application using controllable objects | September, 1998 | Bristor et al. | 717/125 |
| 5892948 | Programming support apparatus and method | April, 1999 | Aoki et al. | 717/105 |
| 6041320 | Multi-region fuzzy logic control system with auxiliary variables | March, 2000 | Qin et al. | 706/1 |
| 6212672 | Software development system with an executable working model in an interpretable intermediate modeling language | April, 2001 | Keller et al. | 717/104 |
| 6366300 | Visual programming method and its system | April, 2002 | Ohara et al. | 715/771 |
| 6542899 | Method and system for expressing information from an object-oriented database in a grammatical form | April, 2003 | Saulpaugh et al. | 707/103R |
| 6598225 | System, method, and program for utilizing a software state machine carrying out the process flow of a software program | July, 2003 | Curtis et al. | 717/175 |
| 6754885 | Methods and apparatus for controlling object appearance in a process control configuration system | June, 2004 | Dardinski et al. | 717/113 |
| 6810522 | Method and system for associating parameters of containers and contained objects | October, 2004 | Cook et al. | 719/316 |
| 6973641 | Persistent representations for complex data structures as interpreted programs | December, 2005 | Halstead | 717/107 |
| EP0367544 | May, 1990 | Process control using intelligence-based systems. |
This application is based on and hereby claims priority to European Patent Application No. 99106819.8 filed on Apr. 6, 1999.
1. Field of the Invention
The invention relates to a software object for an automation program, a system and a method for creating, controlling and/or monitoring an industrial process having at least one software object.
2. Description of the Related Art
Such a software object, system and method are used, in particular, in conjunction with an automation system for controlling and/or monitoring an industrial process. In this context, by way of example, the way in which measured values in the process affect controlled variables in the process is stipulated. For creating, processing, analyzing and displaying such an automation program, programming tools are used which can be executed on a data processing apparatus and are able to display the automation program or a portion of an automation program graphically. In this regard, various manners of presentation are possible for the automation program, for example structograms, automatic state machines, circuit diagrams, function diagrams etc. Some automation programs are capable of being presented in various manners, for example in the form of a structogram or in the form of a program flow chart, in the form of a circuit diagram or in the form of a function diagram.
The invention is based on the object of specifying a software object, a system and a method for mapping function rules for an automation program which can be used as universally as possible for various programming tools.
This object is achieved by a software object for an automation program which has the following features: the software object is provided for processing function rules associated with a software component, and the function rules have a common data format which includes a character string and contains at least one Boolean expression associated with at least one result as a function rule.
This object is also achieved by a system for creating, controlling and/or monitoring an industrial process, having at least one software object which has the following features: the software object is provided for processing function rules associated with a software component, and the function rules have a common data format which includes a character string and contains at least one Boolean expression associated with at least one result.
This object is also achieved by a method for creating, controlling and/or monitoring an industrial process having at least one software object, in which the software object is allocated function rules of an automation program and in which the function rules are formed from a common data format which includes a character string and contains at least one Boolean expression having at least one associated result as a function rule.
The invention is based on the insight that creating and processing function rules for automation programs has, to date, required a multiplicity of different data structures to be processed, which necessitates the use of a compiler or backward translator when converting the data structures. Such a practice with a plurality of data structures thus represents an increased level of complexity. Producing the function rules as Boolean expressions provides the automation program and, if appropriate, the programming tools provided for the automation program with a common standard data format for conditions which includes a simple character string and can thus be used independently of programming language and platform. This common data format allows further manners of presentation operating on this format to be provided. Such manners of presentation can also be incorporated into already existing systems with little effort. The use of character strings additionally affords the opportunity to extend the data format and hence to support new language constructs.
Simple and secure identification of individual elements of a Boolean expression, for example operands, is made possible by virtue of individual elements of the Boolean expression being provided with attributes which serve to distinguish between elements of the Boolean expression. Apart from for identification, attributes can also be defined for other purposes, e.g.: creation date, user identifiers, states, etc.
The invention is described and explained in more detail below using the exemplary embodiments illustrated in the figures, in which:
FIG. 1 is a block diagram of the basic structure of a software component and of the embedding of a software object into an automation program and into various programming tools,
FIG. 2 is a block diagram illustrating the basic structure of a function rule composed of Boolean expressions,
FIG. 3 is a contact diagram of an exemplary interface component,
FIG. 4 is a logic diagram of the exemplary interface component illustrated in FIG. 3,
FIG. 5 is a first exemplary illustration of a function rule for the interface component shown in FIGS. 3 and 4,
FIG. 6 is a second exemplary illustration of a function rule for the interface component illustrated in FIGS. 3 and 4.
FIG. 1 is a block diagram illustrating the basic structure of a software component SW and of its embedding into various programming tools W 1 . . . Wm. The software component SW is representative of the basic structure of a multiplicity of software components SW 1 . . . SWn. The software component SW contains a central software object SO which manages the function rules associated with the software component SW. The software object SO has the associated manners of presentation DA 1 . . . DAm. The manners of presentation DA 1 . . . DAm are used for graphically presenting the function rules F within the software component SW in the various programming tools W 1 . . . Wz. In this context, a programming tool generally supports a plurality of manners of presentation. The software object SO thus encapsulates all the presentation-specific properties of the function rules (that is to say for a component part of an automation program ASP), which is illustrated using an arrow P between the automation program ASP and the function rules F.
FIG. 2 is a block diagram illustrating the basic structure of a function rule F composed of Boolean expressions. The function rule F defines a result E as the logic combination of two Boolean expressions B 1 , B 2 . The first Boolean expression B 1 includes a first operand O 1 a first logic function V 1 and a second operand O 2 . The second Boolean expression B 2 includes a negation N and a conditional statement BA in the form “Value 2>=5”. The first Boolean expression B 1 and the second Boolean expression B 2 are logically combined with one another by a second logic function V 2 , an “OR”.
As can be seen from FIG. 2, the function rule F contains a standard common format in the form of Boolean expressions B 1 , B 2 . The character string formed in this way can be used in any manners of presentation DAi (cf. FIG. 1).
FIG. 3 is a contact diagram of an exemplary interface component DA 11 , as used, for example, in connection with an automation program (cf. FIG. 1). The interface component DA 11 has an associated function rule, as shown in Boolean form in FIG. 5.
FIG. 4 is a logic diagram of an exemplary interface component DA 12 . In this case, the interface component DA 12 is again based on the function rule shown in the form of a Boolean expression in FIG. 5.
FIG. 5 is a first exemplary illustration of a function rule F 1 for the interface components in FIGS. 3 and 4. As already explained in principle in connection with FIG. 2, the function rule F 1 includes a standard common data format made up of Boolean expressions. Such a data format is independent of the manner of presentation used and can thus be used independently of programming language and platform.
FIG. 6 is a second exemplary illustration of a function rule F 1 for the interface components in FIGS. 3 and 4. In this case, the structure of the function rule F 1 is essentially equivalent to the structure of the function rule in FIG. 5. Unlike the latter, the component parts of the function rule F 1 have respectively associated attributes A 1 . . . A 4 for identifying the component parts. In the exemplary embodiment shown in FIG. 6, the attributes A 1 . . . A 4 include the allocation of the characters @1, @2, @3, @4. This makes it possible to distinguish between operands which occur more than once.
The advantages of the invention will be listed again below in summarized form:
The text below shows possible ways of implementing the Boolean logic combinations:
<Expression AssignedTo=Ergebnis, Type=Resetting>
</Expression>
In summary, the invention thus relates to a software object, a system and a method for mapping function rules for an automation program with multiple use for various programming tools. To achieve a common data format, the invention proposes using a data format which includes character strings and contains a Boolean expression, the Boolean expression being able to be allocated to at least one result as a function rule.