FB_RTMon_LogMarkBase
The FB_RTMon_LogMarkBase is a generic function block that enables the setting of (time) marks.
In contrast to the function block FB_RTMon_LogMark, the context ID itself must be transferred here. This makes it possible to group the processes to be displayed (for example, by process type or functional unit).
Optionally, an event ID is also available in which the user can transfer a user record (e.g. state of a state machine, error message).
Outputs
VAR_OUTPUT
bError : BOOL; // TRUE if an error occurred
hrErrorCode : HRESULT; // outputs the error code which occurred
END_VAR
Name | Type | Description |
---|---|---|
bError | BOOL | TRUE if an error has occurred. |
hrErrorCode | HRESULT | Outputs the error code that has occurred. |