AsyncRemove
(FUN)
FUNCTION AsyncRemove : RTS_IEC_RESULT
Remove a job.
- InOut:
Scope
Name
Type
Comment
Return
AsyncRemove
RTS_IEC_RESULT
- Returns the runtime system error code (see CmpErrors.library):
ERR_OK: Job has been successfully removed
ERR_FAILED: Job cannot be removed because it has been started
ERR_PARAMETER: hJob is invalid
ERR_PENDING: Job cannot be removed because it is active
Input
hJob
RTS_IEC_HANDLE
Handle of job, returned by AsyncAdd