Overview

The PLC library contains functions and function blocks for using the TwinCAT 3 EventLogger.

See also: Dokumentation TwinCAT 3 EventLogger

Function blocks for using the TC3 EventLogger

FB_ListenerBase2

Basic implementation of an event listener.

FB_TcAlarm

Represents an alarm of the TwinCAT 3 EventLogger.

FB_TcArguments

Defines arguments of an event.

FB_TcEventLogger

Represents the TwinCAT 3 EventLogger itself.

FB_TcMessage

Represents a message from the TwinCAT 3 EventLogger.

FB_TcSourceInfo

Defines the source information of an event.

Asynchronous text requests

F_GetEventClassName

Triggers the asynchronous request for the name of an event class.

F_GetEventText

Triggers the asynchronous request for an event text.

FB_AsyncStrResult

Enables the asynchronous request for a text.

FB_RequestEventClassName

Enables the asynchronous request for the name of an event class.

FB_RequestEventText

Enables the asynchronous request for an event text in the desired language.

EventEntry conversion

AdsErr_TO_TcEventEntry

Converts a standard ADS error into a TcEventEntry.

HRESULTAdsErr_TO_TcEventEntry

Converts a standard ADS error (HRESULT) into a TcEventEntry.

TcEventEntry_TO_AdsErr

Converts a TcEventEntry into a standard ADS error.

TcEventEntry_TO_HRESULTAdsErr

Converts a TcEventEntry into a standard ADS error (HRESULT).