I_TcEventBase

Methods and properties of an event are defined in this basic interface.

I_TcEventBase 1: Methods

Name

Description

EqualsTo

Compares the event with another instance.

EqualsToEventClass

Compares the event class of the event with another event class.

EqualsToEventEntryEx

Compares the event definition of the event with another event definition.

GetJsonAttribute

Returns the Json attribute.

RequestEventClassName

Requests the name of the event class.

RequestEventText

Returns the text for the event.

I_TcEventBase 2: Properties

Name

Type

Access

Description

eSeverity

TcEventSeverity

Get

Returns the severity.

EventClass

GUID

Get

Returns the GUID of the event class.

ipSourceInfo

I_TcSourceInfo

Get

Returns a pointer to the source definition.

nEventId

UDINT

Get

Returns the ID of the event.

stEventEntry

TcEventEntry

Get

Returns the event definition.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.20

PC or CX (x64, x86, ARM)

Tc3_EventLogger