TcMark16

Data type that represents a marker.

typedef struct {
    USHORT        ContextId;
    USHORT        GroupId;
    USHORT        EventId;
} TcMark16;

Description:

Using this data type, it is possible to define a generic marker (without type).

ContextId: Using the ContextId, marker groups, i.e. processes to be displayed, can be grouped (e.g. by process type or functional unit).

GroupId: Defines the process/ process event to be displayed.

EventId: Optional user record. This can be used, for example, to display the status of a state machine or error codes in the TwinCAT 3 Real-time Monitor.

TcMark16 1:

Both the ContextId and the GroupId can be given names in the TwinCAT 3 Real-time Monitor. These can be exported or imported using the User contexts or User contexts functions, so that they are available for a further recording.