ITcEventLogger2

Interface for sending commands to the EventLogger.

Syntax

public interface ITcEventLogger2

ITcEventLogger2 1: Methods

Name

Modifier

Return type

Description

ClearAllAlarms

public virtual

void

Calls Clear() for all alarms in the "Raised" state.

ClearLoggedEvents

public virtual

void

Clears the cache.

 

ConfirmAllAlarms

public virtual

void

Calls Confirm() for all alarms with the confirmation state "WaitForConfirmation".

Connect

public virtual

void

Connects to the EventLogger of the TwinCAT system on a given system.

Disconnect

public virtual

void

Cancels the connection to an EventLogger of the TwinCAT system.

GetEventClassName

public virtual

string

Returns the class name for an event.

GetLoggedEvents

public virtual

TcLoggedEventCollection

Queries the events located in the cache.

ITcEventLogger2 2: Properties

Name

Modifier

Type

Access

Description

ActiveAlarms

public virtual

TcAlarmCollection

get

Returns a collection with all currently active alarms.

IsConnected

public virtual

bool

get

Represents the connection that was established by means of Connect. Should be checked regularly.