These and other features and advantages of the present invention will be better understood by reading the following detailed description, taken together with the drawings herein:
Referring to
Internal event handlers 110-110n handle responses to events related to the actual extension of the system. The response may be produced and designed via the HMI allowing the operator to work with a consistent interface. An event interface may provide the ability to create a set of Event Handlers that encapsulate the behavior of various system API's that provide a uniform interface for dealing with various different API's. This same event interface can be used to create additional “plug-in” extensions that extend the behavior of the system.
The event manager 108 coordinates the event handlers and events. Events are passed through the system through a centralized Event Manager 108. Plug-In “Event Handlers” 106 and 110 can subscribe to receive events that are raised via the Event Manager 108. Some event handlers are conceptually external event handlers 106, since they are responding to events from the outside world (such as the system being extended). While there is no real difference between internal event handlers 110 and external event handlers 106, they are conceptually different in that they generally may include various use interfaces as would be known to an individual skilled in the art. For example, a WinCC Data Manager interface may be required to use a WinCC API for accessing tag data from WinCC. A system (for example PCS 7/OS) often provides a set of API's that allow for interfacing to the system. These API provide for a means to create applications that “extend” the system. The “plug-in” Event Handlers 106, 110 can be simple to create, not requiring the full knowledge of the underlying API of the system being extended.
Referring to
The Batch Manager 2B40 receives notification of changes in the state of phases via the BA_STATE tag, for example Controller A ReactorlMix's BA_STATE tag 2B15. Reactorl.Mix.BA_STATE tag 2B15 is controlled by a state machine 2B23 that is apropos for Controller A 2B30. In the example, the BA_STATE state machine 2B23 subscribes to changes in Controller A's A.Reactorl.Mix.STATE tag 2B34 and also subscribes to changes in the very ReactorlMix.BA_STATE tag 2B15 that it controls. In the example, a change of A.Reactorl.Mix.STATE tag 2B34 to the value 1, indicating “RUNNING” will result in a corresponding write to the ReactorlMix.BA_STATE tag 2B15 of the hex value 0x100, which informs the Batch Manager 40000 that the phase is now in a RUNNING state. Similarly, a change of A.Reactorl.Mix.STATE tag 2B34 to the value 2, indicating “HOLD” will result in a corresponding write to the ReactorlMix.BA_STATE tag 2B15 of the hex value 0x200, which informs the Batch Manager 40000 that the phase is now in a HOLDING state. Since the BA_STATE state machine 21200 is subscribed to the ReactorlMix.BA_STATE tag 2B15, it will see the value of ReactorlMix.BA_STATE 2B15 change some time later to the value 0x200 and it will react by writing the value 0x400 to ReactorlMix.BA_STATE 2B15, informing the batch manager 2B40 that the phase is now in a HOLD state. Note that this mechanism has effectively taken Controller A's “HOLD” state and augmented with a preceding “HOLDING” state that is expected by the batch manager. In this example, our state machine may not only translating values, but may synthesizing additional, necessary state information as part of its protocol translation.
In some cases, the state machines are substantially more complex and employ all of the above mentioned mechanisms value ( tag mapping, value ( value mapping and state augmentation and also may have complicated interaction between various entities in the data manager and the control target. The above examples are only representative descriptions.
It is worth noting that this complex translation of interaction models via a Run Time Extension constitutes a significant extension to the behavior of the HMI application, and that this extension in behavior is achieved without the HMI application having been designed for such an extension. The HMI application may have no “awareness” of the Batch manager, no “awareness” of the legacy DCSs as such and no knowledge of the various (incompatible) interaction models expected by the Batch manager and the various DCS controllers. Embodiments of the present invention may provide ability to retroactively extend the capabilities of diverse applications. This example provides retroactively extending the HMI application such that it behaves as a protocol translation layer between otherwise incompatible subsystems in a Batch Control application.
Referring to
Internal event handlers 310-310n handle responses to events related to the actual extension of the system. An event manager 308 coordinates the event handlers and events. Events are passed through the system through a centralized event manager 308. Plug-In DCS and batch adaptors 306 and event handlers 310 can subscribe to receive events that are raised via the event manager 308. The event manager 308 notifies the batch adapter 306n of changes to “subscribed tags”, for example, provox unit point status and simatic batch common words. The batch adaptor 306 writes back changes of Tags to the event manager 308.
Referring to
Internal event handlers 410-410n handle responses to events related to the actual extension of the system. An event manager 408 coordinates the event handlers and events. Events are passed through the system through a centralized event manager 408. Plug-In DCS and batch adaptors 406 and event handlers 410 can subscribe to receive events that are raised via the Event Manager 408. The event handlers may provide a system to persist (saved and restored on restart) various runtime state information that was not originally intended to be persisted. When an event is determined to be updated, a persist agent 412 stores and/or updates a persisted data store 414. The event manager 308 notifies the batch adapter 406n of subscribed changes for data that is being persisted and saved to file. The batch adaptor 406 restores persisted data on, for example, startup to the event manager 408.
Referring to
Internal event handlers 510-510n handle responses to events related to the actual extension of the system. An event manager 508 coordinates the event handlers and events. Events are passed through the system through a centralized Event Manager 508. Plug-In DCS and batch adaptors 406 and event handlers 510 can subscribe to receive events that are raised via the Event Manager 508. The event handlers may provide a system to persist (save and restore) various information between computer A 401a and computer B 501b to be persisted. When an event is determined to be updated, a persist agent 512a updates the other persist agent 512b via a peer-to-peer communication layer 514. The event manager 508 notifies the batch adapter 506n of subscribed changes for data that is being persisted and saved to file. The persist agent 512 restores persisted data on, for example, startup to the event manager 508.
Referring to
Internal event handlers 610-610n handle responses to events related to the actual extension of the system. An event manager 608 coordinates the event handlers and events. Events are passed through the system through a centralized Event Manager 608. Plug-In event handlers 610 can subscribe to receive events that are raised via the Event Manager 608. An alarm state adapter 612 can be used to adapt the alarm state behavior of one DCS controller to fit the alarm state behavior that is expected of a specific DCS HMI. The event manager 608 subscribes to controller data to be interpreted for alarming, and subscribes to alarm acknowledgement from DCS. The alarm state adapter 612 reports alarm state changes to the HMI and/or controller.
Referring to
Internal event handlers 710-710n handle responses to events related to the actual extension of the system. An event manager 708 coordinates the event handlers and events. Events are passed through the system through a centralized event manager 708. Plug-In event handlers 710 can subscribe to receive events that are raised via the event manager 708. A resource pool manager 712 can be used to coordinate resource assignments 714. The event manager 708 and event handlers 710-710n can be used to provide an external resource pool management capability for a system that does not already provide such functionality. For example, if a DCS provides a data tag management functionality, it is possible to use “tags” as an interface to an external application that will serve to request the reservation of a limited resource and to notify a requester of a successful reservation. The event manager 708 subscribes to changes in Tag Data that will signal resource reservations to the resource pool manager 712. The resource pool manager 712 writes back to tag data to signal resource assignments to the event manager 708.
Referring to
Internal event handlers 810-710n handle responses to events related to the actual extension of the system. An event manager 808 coordinates the event handlers and events. Events are passed through the system through a centralized Event Manager 808. Plug-In event handlers 810 can subscribe to receive events that are raised via the Event Manager 808. A peer manager 812 can be used to coordinate tag equivalence list 814. For example, assume a DCS has a mechanism for communicating to tag data with two different controllers. It is possible to configure an “equivalence” list, so that a change to a tag in one controller is reflected to a different tag in the other controller. The event manager 808 subscribes to changes to tags that are to be “equivalenced” in a peer manager 812. The resource pool manager 812 writes tag values to peer controller to the event manager 808.
The present invention is not intended to be limited to a system, device, or method which must satisfy one or more of any stated or implied object or feature of the invention and is not limited to the exemplary embodiments described herein. Modifications and substitutions by one of ordinary skill in the art are considered to be within the scope of the present invention.
| Number | Date | Country | |
|---|---|---|---|
| 60811284 | Jun 2006 | US |