ST_RTMon_MarkDef

Data type that represents a marker. Using this data type, it is possible to define a generic marker (without type). This is then transferred in the method LogMarkEx of the function block FB_RTMon_LogMarkBase in addition to the marker type.

Syntax

TYPE ST_RTMon_MarkDef:
STRUCT
    nContextId : UINT;      
    nGroupId : UINT;      
    nEventId : UINT;      
END_STRUCT
END_TYPE

Parameter

Value

Description

nContextId

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

nGroupId

Defines the process/ process event to be displayed.

nEventId

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.

ST_RTMon_MarkDef 1:

You can assign names to both the ContextId and the GroupId in the TwinCAT 3 Realtime Monitor. You can export or import these via the functions Export User Context or Import User Context so that they are also available for further recording.