FB_TcEventBase
This function block contains the basic implementation.
Syntax
Definition:
FUNCTION_BLOCK FB_TcEventBase
Methods
Name | Definition location | Description |
---|---|---|
Local | Compares the event with another instance. | |
Local | Compares the event class of the event with another event class. | |
Local | Compares the event definition of the event with another event definition. | |
Local | Compares the event definition of the event with another event definition. | |
Local | Returns the Json attribute. | |
Local | Releases the instance created by the EventLogger again. | |
Local | Requests the name of the event class. | |
Local | Returns the text for the event. |
Properties
Name | Type | Access | Description |
---|---|---|---|
eSeverity | Get | Returns the severity. | |
EventClass | GUID | Get | Returns the GUID of the event class. |
Get | Returns the interface pointer for the arguments. | ||
Get | The SourceInfo is created internally as the default behavior. It then contains the symbol name of the function block that instances FB_TcMessage as SourceName and the object ID of the PLC instance as SourceID. If the instance of FB_TcMessage is hidden with the attribute "hide", no symbol name can be created internally for the default behavior. | ||
nEventId | UDINT | Get | Returns the ID of the event. |
nUniqueId | UDINT | Get | Returns the unique ID of the event. |
stEventEntry | 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 |