LogMark

virtual HRESULT    LogMark(USHORT GroupId, USHORT EventId, ULONG CtrlId);

Description:

The method creates a marker for the transferred marker group ID. The marker type is determined using the constants from TcLogMark.h (see Constants).

Optionally, the event ID can be used to distinguish between different user events or to display additional data (formatted as USHORT) in the TwinCAT 3 Real-time Monitor display.