TcEventLog

The Main class of the TcEvent Logger. Provides Interface to the COM Client and to the ADS world. This Class implements the state machine for handling the behavior of the alarms and the signal transfer between the PLC and the COM clients. Internally it controls the TcEventKeyToEvent Map that lists active alarms and an object of the Type IEnumSTATSTGPtr that holds a list of streams that present the Logged alarms. On request to a method call on the ITEventLog interface it returns one enumeration object for active events and one for logged events.

Requirements

Interface

Description

ITcServer

Used internally by the TwinCAT system to control this server.

ITcAdsAsync

Used internally to implement ADS functionality into the TcEventLogger. The TcEvent Logger receives ADS commands on ADS port 110 through this interface.

ITcEventLog

This is the main interface of the TcEventLogger to COM clients like the HMI. Main features to control active and logged alarms and to add new alarms or delete existing ones.

ITcEventLogC3

This is a custom interface of the TcEventLogger to COM clients like the HMI that supports custom interfaces. This interface derives from ITcEventLogC2.

ITcEventLogC2

Interface derives from ITcEventLogC2 and it the base interface of ITcEventLogC3

ITcEventLogC

This interface is the base interface of ITcEventLogC3 and ITcEventLogC2

ITcEventLogBaseC

Not used yet 

 

Additionally this class provides the event interface _ITcEventLogEvents that could be implemented by the client.