API

 

The TcEventLogger is a mechanism to manage messages (eG from the PLC). It’s realized as TcCOM-Server and controlled from the TwinCAT System. It offers multiple COM Interfaces to query and manipulate messages:

 

Interface

Description

ITcServer

Used by the TwinCAT System to manage this Server.

ITcAdsAsync

Used internal to implement AdS functions. The TcEventLogger get its AdS commands from port 110.

ITcEventLog

This it the main Interface of the TcEventLogger for COM Clients like HMI. It offers functions to control active and logged alarms and to add and remove alarms.

ITcEventLogC

This is the basic interface of ITcEventLogC3 and ITcEventLogC2.

ITcEventLogC2

This interface derives from ITcEventLogC and is the basic interface for ITcEventLogC3.

ITcEventLogC3

This is an application-specific interface of the TcEventLoggers for COM Clients that use application-specific interfaces like HMI. is interface deriving from ITcEventLogC2.

ITcEventLogEvents

Callback functions for callbacks from the TcEventlogger to COM-Clients. Clients can use this to get informations when an event occurs or is cancelled.

ITcEvent

Message object. This object can be used to get informations about a message (e.G. event- and source ID) or the message text. It can also be used to reset messages.

ITcEnumEvents

This interface can be used to enumerate the active or logged messages.

ITcEnumEventDocLink

This interface can be used to enumerate the Doc Links.