ASM. JobReset (FUN)

This function of the CAA_AsyncMan.library will reinitialize a job. It will return an error, if the state of the job does not equal BUSY. The state will change to DORMANT afterwards.

The return is the error code of the executed function.

Input:

hJob

UDINT

Handle of job

Output:

eError

ASM.ERROR

Error enumeration variable for diagnosis purposes.