The present invention relates to a method for the dynamic configuration of an operator interface of a functional module of a control platform, a corresponding computer program, a computer program product and a computer system for carrying out the method, as well as a corresponding operator interface of a functional module.
In so-called SPS (memory programmable control) programming systems based on IEC 61131-3, there are so-called “program organization units” which correspond to program language structuring elements. In this context, one distinguishes between programs, functional modules, functions and additional units, such as resources. Each program organization unit, according to IEC, has certain specific properties which distinguish it from other program organization units. Greater detail on this matter is described and defined in DIN IEC EN 61131-3.
For a program coding and assignment of parameters of so-called motion/logic elements, the functional modules named are used, in particular. Functional modules are addressable within programs, other functional modules or directly from a resource. Functional modules have input parameters and output parameters. They differ from functions, on the one hand, by the linguistic invocation (call), that is, the syntax by which they are addressable, and on the other hand, in that functional modules, in contrast to functions, may have internal states. Accordingly, a configuration of the outputs of a functional module takes place as a function of the input configuration and the internal state parameters of the functional parameter of the functional module. For this reason, functional modules are instantiated, that is, in the case of a program organization unit that is supposed to use a specific functional module, a corresponding variable is declared to which an appropriate specific functional module type is assigned. In this context, an invoking of a respective functional module takes place in the implementation. Different SPS programming languages may be used in this context. One distinguishes, in this case, between graphic and textual programming languages. In the case of graphic programming languages there is, for example, a so-called functional module language (FBS) and a ladder diagram (KOP(LD)).
Among the group of textual programming languages there are, for instance, the statement list and the structured text. Representation of functional modules in graphic programming languages is standardized within IEC. Such a representation is shown in
Currently, motion control motions, so-called “canned functions”, in the operator interface shown in
Against the background of the above-discussed systems, the present invention now provides a method for the dynamic configuration of an operator interface of a functional module of a control platform, having the features described herein, a computer program having the features described herein, a computer program product having the features described herein, a computer program having the features described herein, as well as an operator interface having the features described herein.
According to the exemplary embodiment and/or exemplary method of the present invention, a method is provided for the dynamic configuration of an operator interface of a functional module of a control platform, the functional module having a plurality of terminals for connecting actuating quantities, and in the method, specific as to use and dynamically a first and a second group of terminals are selected from the plurality of terminals, the terminals of the first group are situated on the operator interface and displayed, and the terminals of the second group are hidden (faded out).
In one exemplary method according to the present invention, the majority of the terminals of the functional module is formed exactly from the first and the second group of the terminals.
In another exemplary method according to the present invention, at least one of the terminals of the second group is parameterized via at least one dialog able to be carried out via the operator interface, a so-called wizard.
In another exemplary method of the present invention, that at least one of the terminals of the second group does not become connected. It may be in this case, that a fixed parameter value is assigned to the at least one terminal, or that this terminal is not utilized for a special application of the functional module.
Furthermore, in another exemplary method according to the present invention, the terminals of the second group are pre-initialized to the variables that are to be connected to these terminals. Based on this pre-initialization, the terminals accordingly need not be considered any more for the further use of the functional module, and may accordingly be hidden on the operator interface. When it comes to the variables to be connected to the terminals, in this context, an additional program organization unit, such as a program, may be involved, or a function, an additional functional module or even a resource may be involved. One may initialize the terminals of the second group at such a point of use of the functional module entity in the program organization unit that is to invoke the functional module.
In complex, large functional modules, such an executed dynamic configuration of the operator interface leads to a substantially better overall view for a user. In this context, the number of visible terminals, that is, of the inputs/outputs of the functional module, may be reduced to a degree that is required for a specific application. The remaining terminals, that is, the terminals of the second group, are, in this context, either parameterized via dialogs, are unconnected or are not able to be reached at all. According to the method of the present invention, conceivably already during the programming of the functional module one might undertake a predefinition of a reduced representation on the operator interface, which is passed along with the functional module as a property. In this context, in addition, one might also undertake an initialization of the terminals of the second group which will have an effect on all the variables using the functional module.
A configuration of a reduced representation of the operator interface and an initialization of the hidden terminals may also be provided, at the variable using the functional module, that is, at the place of use of the functional module entity in a corresponding program organization unit invoking the functional module. Such an executed configuration/initialization of the functional module entity could, in this context, overwrite a possibly predefined configuration/initialization of the functional module, for example.
In another exemplary method according to the present invention, during a use of the functional module, terminals of the first group are optionally hidden and/or terminals of the second group are unhidden.
Moreover, the terminals of the second group may be displayed, for instance, via a separate display, especially an editor.
In an exemplary method according to the present invention, a switchover device is provided via which the predefined terminals of the second group may optionally be unhidden and hidden. In this context, the switchover device is provided, for example, at the entities invoking the functional module.
In another exemplary method according to the present invention, the selection of the first and the second group, and an optional unhiding and hiding of terminals of the first and/or the second group is carried out totally or only partially authorized. This means that not every user is able to undertake a selection and/or an unhiding or hiding of terminals, but rather has to be authorized to do this. Such an authorization may be implemented by assigning one or more passwords. Furthermore, it is conceivable to set up a stepwise authorization, that is, to differentiate between undertaking a complete unhiding and hiding or only a partial unhiding and hiding of the terminals. By doing this, the complete display and/or editing by password may be partially or completely locked, so that security-relevant parameterizations, for instance, may be protected in this way. If, for example, a reduction and preinitialization of a functional module is protected by using a password, it is true that the display may be still further reduced on the part of an unauthorized user, but terminals that have already been hidden are not unhidden again, whereby existing security settings cannot be violated, for example.
Using the exemplary method according to the present invention, functional modules have a compact and well arranged operator interface, and this applies also to the logic in their environment in a programming system. A reduced number of functional module inputs and outputs that are to be interconnected makes possible a simpler operation to a user, and thus reduces the probability of errors. By using the method according to the present invention, it is moreover conceivable that a manufacturer/supplier of a functional module, when delivering it, has already equipped it with a reduced graphic operator interface, the operator interface displaying only the essential terminals that are needed as a rule, and hiding or covering up the terminals that are rarely used. In this context, it is conceivable that, on the part of the user, the terminals of the functional module on the operator interface may be further reduced, in response to the invoking of the functional module entity. Moreover, security-relevant functional module terminals may be hidden by password, and therefore an erroneous connection may be prevented.
The exemplary embodiment of the present invention is also to an operator interface for a functional module of a control platform, the functional module having a plurality of terminals for connecting actuating quantities. The operator interface displays an application-specific, dynamically selectable first group of terminals of the plurality of terminals in a dynamically determinable arrangement, while it hides a second group of the plurality of terminals.
In an exemplary embodiment of the operator interface according to the present invention, a command button is provided, via which a dialog can be initiated via which at least one of the terminals of the second group is parameterizable.
In another exemplary embodiment of the operator interface according to the present invention, the operator interface has a second command button via which a display may be activated that displays the terminals of the second group.
The operator interface may have a switchover device, via which predefined terminals of the second group are optionally able to be unhidden and hidden.
The exemplary embodiment and/or exemplary method of the present invention also relates to a computer program having program code which is suitable for carrying out an exemplary method according to the present invention, if it is run on a computer or a computer system.
In addition, exemplary embodiment and or exemplary method of the present invention provides to a computer program product having program code, the program code being stored on a computer-readable data carrier, in order to carry out the exemplary method according to the present invention when the computer program is executed on a computer.
Over and above that, the exemplary embodiment and/or exemplary method of the present invention relates to a computer system having at least one memory unit in which a computer program having program code is stored, which, when run on a computer or on a computer system, is suitable for carrying out the exemplary method according to the present invention.
Further advantages and refinements of the present invention are described in the description herein and the accompanying drawings.
It is understood that the aforementioned features and those still to be described below may be used not only in the combinations specifically indicated but also in other combinations, or alone, without departing from the scope of the present invention.
Such a design arrangement may be implemented by a user at the place or the variable in the program code invoking the functional module entity. By a double click on button B1, for example, the potential user may now make visible a display of the currently hidden terminal. Via display Z, which includes a list of the hidden terminals, a user is now directly able to make a selection as to which of the currently hidden terminals are to be made visible, that is, unhidden. The size of the functional module may be determined thereby. In this context, the unhiding/hiding of terminals is supposed to be revocable by the user at any time. Moreover, via a double click on button B2, a dialog chain D may be opened on the part of the user. Dialog chain D makes it possible for a user interactively to undertake a parameterization of the currently non-visible terminals. In order to avoid that anyone is able to undertake a new configuration of operator interface 20, it may be provided by a password protection, for example, that only users that are authorized for it have the possibility of undertaking configurations of operator interface 20. In this context, such a password protection should exist especially to protect against the editing of initial values and/or against unhiding covered terminals.
In this context, the password that has been set up may be able to be entered during a parameterization of the functional module type, that is, when it is being prepared, and during the use, that is the invoking of its functional module entity. This ensures that, both at the preparation of the functional module, i.e. at its programming, as well as during its use, it is not possible to make an unauthorized reconfiguration of operator interface 20. Using the method according to the present invention, it is possible to input non-connected but used terminals in a user-friendly manner.
Moreover, a user-friendly hiding of nonrelevant terminals comes about in an especially flexible and application-specific manner. The method according to the present invention makes possible for a user flexible, user-defined design possibilities for the reduced functional module and the connection of terminals that are covered or hidden, respectively. Furthermore, there is the possibility of starting a dialog chain, a so-called wizard, via a command button. By providing a password, the protection of security-relevant functional module terminals is also ensured.
Number | Date | Country | Kind |
---|---|---|---|
10 2004 061 063.0 | Dec 2004 | DE | national |