LogMark
The method creates a marker for the marker ID that was transferred. Optionally, the event ID can be used to distinguish between different user events or to display additional data (formatted as UINT) in the TwinCAT 3 Realtime Monitor display.
Return value
Name | Type | Description |
---|---|---|
LogMark | HRESULT | Returns the error code in the event of an error. |
Inputs
VAR_INPUT
nGroupId : UINT; // Defines the group to which the interval belongs
nEventId : UINT; // Set to distinguish different events inside the group
END_VAR
Name | Type | Description |
---|---|---|
nGroupId | UINT | Marker ID (marker group) for which the marker is to be written. |
nEventId | UINT | Optional EventId |