ASYNCJOB_TASKPARAM (STRUCT)ΒΆ
TYPE ASYNCJOB_TASKPARAM : STRUCT
Specifiy task that executes the job, in case ulType is set to ASYNCJOB_TASK
- InOut:
- Name - Type - Comment - pszTaskname- POINTER TO STRING - Task name of queue. Same task can be re-used for different jobs, or use separate tasks for different jobs. If name is not specified, a default name is generated based on the priority. - ulTaskPriority- UDINT- Priority of task. - ulTaskSleepTime- UDINT- Not used, set to 0. - phTaskHandle- POINTER TO RTS_IEC_HANDLE - Handle of the task used for the job. Filled by AsyncAdd. Set to RTS_INVALID_HANDLE in the call. - ulEndTaskAfterJob- UDINT- If set, task will be terminated after the job is finished. 
