LogMark

LogMark 1:

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.

LogMark 2: Return value

Name

Type

Description

LogMark

HRESULT

Returns the error code in the event of an error.

LogMark 3: 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