SysMCGetCurrentCoreID (FUN)
FUNCTION SysMCGetCurrentCoreID : UDINT
Function to read current CoreId the calling process or task is running on.
- InOut:
Scope
Name
Type
Comment
Return
SysMCGetCurrentCoreIDUDINTReturns the current CoreId.
Input
pResultPOINTER TO RTS_IEC_RESULT
- Pointer to a variable to return an error code (optional)
ERR_OK: Call was successful.
ERR_FAILED: Function failed for any reason on OS level.
ERR_NOTIMPLEMENTED: Function is not implemented.
ERR_NOT_SUPPORTED: Function is not supported.