# TaskInfo

## `TaskInfo` (FB)

FUNCTION\_BLOCK TaskInfo

Dieser Funktionsbaustein gibt alle relevanten Taskinformationen aus.

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FzVpsJOozOIWUj2FqQy9s%2FTaskInfo.png?alt=media&#x26;token=e892b55c-4062-4cf9-9968-373630d9a6b4" alt=""><figcaption></figcaption></figure>

InOut:

| Scope  | Name                 | Type          |
| ------ | -------------------- | ------------- |
| Input  | `xEnable`            | `BOOL`        |
| Output | `sTaskname`          | `STRING(255)` |
| Output | `iTaskprio`          | `INT`         |
| Output | `iIntervall`         | `TIME`        |
| Output | `ltLastCycleTime`    | `LTIME`       |
| Output | `ltAverageCycleTime` | `LTIME`       |
| Output | `ltMaxCycleTime`     | `LTIME`       |
| Output | `ltMinCycleTime`     | `LTIME`       |
| Output | `_xwCycleCounterPRG` | `__XWORD`     |
| Output | `_xwCycleCounterIEC` | `__XWORD`     |
