ASM. JobAbort (FUN)

This function of the CAA_AsyncMan.library will abort the execution of a job, which has been started by ASM.JobExecute. The function will return an error, if the state of the job does not equal BUSY. The state will change to ABORTED afterwards.

The return is an error code of the executed function.

Input:

hJob

UDINT

Handle of job

Output:

eError

ASM.ERROR

Error enumeration variable for diagnosis purposes.