IecTaskGetCurrent (FUN)

 

FUNCTION IecTaskGetCurrent : RTS_IEC_HANDLE

Funktion to get own task handle

InOut:

Scope

Name

Type

Comment

Return

IecTaskGetCurrent

RTS_IEC_HANDLE

Returns the current IEC task handle

Input

pResult

POINTER TO RTS_IEC_RESULT

Pointer that returns the runtime system error code (see CmpErrors.library)