F_GetEventText
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
Inputs
Name | Type | Description |
---|---|---|
nLangId | DINT | Specifies the language ID English (en-US) = 1033 |
fbEventBase | REFERENCE TO FB_TcEventBase | Specification of an event/alarm/message object. |
/ Inputs/outputs
Name | Type | Description |
---|---|---|
fbResult | Specification of a function block instance in order to track an asynchronous text request. |
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 |