beckhoff — 7 Event HMI

Event HMI 7 Event HMI The TcEventViewer.dll provides the Beckhoff TcEventViewer. The EventViewer is an ActiveX control that is the HMI building Block of the TcEvent Logger. By Just placing it on the form and configure some properties it can be used to implement in less than 5 minutes the visible part of the TcEvent Logger. The next screenshot shows a Visual Basic program using the TcEventLogger to display logged alarms. The TcEventViewer can display active and logged alarms. All columns of the TcEventViewer can be disabled and changed in the size from the code. All strings of the events are displayed in the selected language since the language switching is done by the Formatter.

Since version 2.9.0.56, the TcEventviewer is diveded into the TcEventviewer and TcEventviewerLight. The Light version of the TcEventviewer is minimized in code and maximized in performance Interfaces The TcEventViewer communicates to other components through it's interfaces. The next figure shows an overview of the main interface of the TcEventViewer: TcEventLogger 67 Version: 1.1 Interface Description ITcEventView [} 68] Main interface of the TcEventViewer to COM clients like the HMI. Main features are to control the appearances of the ActiveX control.

ITcEventViewLight [} 112] Interface of the EventViewers light version ITcEventLogEvents [} 144] The Event interface is provided by the TcEventLogger. When the TcEventViewer is started it gets a list of logged or active events by calling the methods ITcEventLog [} 129]::EnumActiveEvents [} 132] or ITcEventLog [} 129]::EnumLoggedEvents [} 133]. After that the TcEventLogger will notify the TcEventViewer using the ITcEventLogEvents interface. This notifications are used to keep the list of displayed events in sync with the server.