ASM.WorkerRegister (FUN)

This function of the CAA_AsyncMan.library will register a worker for a the identifier appointed. The worker has to implement the interface ASM.IWORKER.

The return is the error code of the executed function.

Input:

udiId

UDINT

Unique identifier the worker shall be registered for.

pwiItf

POINTER TO ASM. IWORKER

Interface to be registered.

Output:

eError

ASM.ERROR

Error enumeration variable for diagnosis purposes.