F_GetEventText

F_GetEventText 1:

The function triggers the asynchronous request for an event text.

Syntax

Definition:

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

F_GetEventText 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_GetEventText 3:/F_GetEventText 4: Inputs/outputs

Name

Type

Description

fbResult

FB_AsyncStrResult

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

F_GetEventText 5: Return value

Name

Type

Description

F_GetEventText

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