FC_TaskStop - General Information
|
Type: |
Function |
|
Available as of: |
SystemInterface_1.35.2.0 |
|
Versions: |
Current version |
NOTE: This function is available as of version V.1.35.2.0.
In previous versions, the function returns the value "-80".
Stopping one or more tasks.
The task (i_sTaskName) is stopped. If no task name is transferred in i_sTaskName, the tasks are stopped. Use i_xSelf to specify whether the task that triggers the stop and calls the function FC_TaskStop() is to be stopped as well. i_xSelf is only considered if no task name is transferred.
|
Input |
Data type |
Description |
|---|---|---|
|
i_sTaskName |
STRING[80] |
Name of the task |
|
i_xSelf |
BOOL |
Defines whether the task that triggers the stop is to be stopped as well. |
|
Data type |
Description |
|---|---|
|
DINT |
0: OK -1: invalid task name |