TcMark16

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

Syntax

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

Parameter

Value

Description

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 state of a state machine or error codes in the TwinCAT 3 Realtime Monitor.

TcMark16 1:

Both the ContextId and the GroupId can be given names in the TwinCAT 3 Realtime Monitor. These can be exported or imported using the Export User Context or Import User Context functions, so that they are available for a further recording.