If it is supported by the target system, the monitoring functionality is allowed. This is a dynamic analysis of the execution time and the number of the calls which are controlled by a task. In online mode, the task processing can be monitored.
Online View of the Task Configuration Editor
When you select the top node in the Task Configuration tree, besides the Properties tab, the Monitor tab is available. In online mode, it shows the status and some current statistics on the cycles and cycle times in a table view. The update interval for the values is the same as used for the monitoring of controller values.
When the top node in the Task Configuration tree is selected, besides the Properties dialog on a further tab the Monitoring dialog is available. In online mode, it shows the status and some current statistics on the cycles and cycle times are displayed in a table view. The update interval for the values is the same as used for the monitoring of controller values.
Task Configuration, Monitoring
For each task the following information is displayed in a line:
Task |
Task name as defined in the Task configuration. |
State |
Possible entries: oNot created: has not been started since last update; especially used for event tasks oCreated: task is known in the runtime system, but is not yet set up for operation oValid: task is in normal operation oException: task has got an exception |
IEC-Cycle Count |
Number of run cycles since having started the application; 0 if the function is not supported by the target system. |
Cycle Count |
Number of already run cycles (depending on the target system, this can be equal to the IEC Cycle Count, or bigger if cycles are even counted when the application is not running.) |
Last Cycle Time (µs) |
Last measured runtime in µs |
Average Cycle Time (µs) |
Average runtime of all cycles in µs |
Max. Cycle Time (µs) |
Maximum measured runtime of all cycles in µs |
Min. Cycle Time (µs) |
Minimum measured runtime of all cycles in µs |
Jitter (µs) |
Last measured jitter* in µs |
Min. Jitter (µs) |
Minimum measured jitter* in µs |
Max. Jitter (µs) |
Maximum measured jitter* in µs |
* jitter: Time that passes after the task has been started until the operating system indicates that it is running. |
To reset the values to 0 for a task, place the cursor on the task name field and execute the Reset command available in the context menu.