AsyncGetNumOfJobs (FUN)ΒΆ

FUNCTION AsyncGetNumOfJobs : RTS_IEC_RESULT

Function to get current number of running async jobs and number of job tasks.

InOut:

Scope

Name

Type

Comment

Return

AsyncGetNumOfJobs

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)

Inout

numOfJobs

ASYNCJOB_CURRENT_MAX

Number of active jobs

numOfJobTasks

ASYNCJOB_CURRENT_MAX

Number of active tasks