This function of the ⇘ CAA_AsyncMan.library will dequeue and execute a waiting job. The function should only be called outside of the IEC cycle.
The return is the error code of the executed function.
Input:
hQUEUE
CAA.HANDLE
Handle of the queue, where the task gets the job from.
Output:
eError
ASM.ERROR
Error enumeration variable for diagnosis purposes.