SendMessage()

This method sends a message to the EventLogger.
Syntax:
METHOD SendMessage : HRESULT
VAR_INPUT
stEventEntry: TcEventEntry; // TcEventEntry to be created and send
sString: STRING(255); // additional STRING attribute
END_VAR
Return value
Name | Type | Description |
---|---|---|
SendMessage | HRESULT | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
stEventEntry | Message to be generated and sent. | |
sString | STRING(255) | Optional additional information as text. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |