FUNCTION IecTaskCreate2 : RTS_IEC_HANDLE
Create a new IEC Task with taskgroup If the taskgroup does not exist or is no IEC taskgroup, the function returns ERR_PARAMETER. See IecTaskCreate for more details. Error code:
ERR_OK: The new task was successfully created.
ERR_FAILED: There was an error in a subsystem (e.g. the scheduler could not allocate his task handle).
ERR_PARAMETER: Invalid application- or task info pointer, unknown IEC taskgroup
ERR_OUT_OF_LIMITS: Maximum number of Tasks reached (target specific)
ERR_NOMEMORY: Unable to allocate the memory, that is necessary for the task description
InOut: |
|