FC_SetTaskPriority

 

FC_SetTaskPriority - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Modify the priority of a task.

Description

The priority of the task specified with i_etTaskType is changed.

Interface

Input

Data type

Description

i_etTaskType

ET_TASK_TYPE

The task, whose priority shall be changed (ET_TASK_TYPE)

i_diPriority

DINT

Priority 0..255

Return Value

Data type

Description

DINT

0: OK

-1: Incorrect task type or priority (i_diPriority) outside the limitations