F_GetEventClassName

F_GetEventClassName 1:

The function triggers the asynchronous request for the name of an event class.

Syntax

Definition:

FUNCTION F_GetEventClassName : HRESULT
VAR_INPUT
    nLangId     : DINT;
    fbEventBase : REFERENCE TO FB_TcEventBase;
END_VAR
VAR_IN_OUT
    fbResult : FB_AsyncStrResult;
END_VAR

F_GetEventClassName 2: Inputs

Name

Type

Description

nLangId

DINT

Specifies the language ID

English (en-US) = 1033
German (de-DE) = 1031

fbEventBase

REFERENCE TO FB_TcEventBase

Specification of an event/alarm/message object.

F_GetEventClassName 3:/F_GetEventClassName 4: Inputs/outputs

Name

Type

Description

fbResult

FB_AsyncStrResult

Specification of a function block instance in order to track an asynchronous text request.

F_GetEventClassName 5: Return value

Name

Type

Description

F_GetEventClassName

HRESULT

Returns possible error information.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.20

PC or CX (x64, x86, ARM)

Tc3_EventLogger