ads_task_stats
Read TwinCAT PLC task timing stats: cycle time, execution time min/max/mean, load %, and cycle-time-exceeded deltas over a set sample interval. Use it to assess real-time task cost.
Instructions
PLC task timing (TwinCAT_SystemInfoVarList._TaskInfo[n]): cycle time, last/min/max/mean
execution time over samples, load %, cycle-time-exceeded counter delta — the FB's cost
on the real-time task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | ||
| task_index | No | ||
| interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||