Interpretation of the measured values
The following measured values are used in the analysis results of the TwinCAT 3 PLC Profiler:
Total Time and Own Time
Measured value | Meaning |
|---|---|
Total Time | The time consumed by an element, including the time consumed by all sub-elements (called methods, function blocks, etc.) |
Own Time | The elapsed time of an element excluding the elapsed time of all sub-elements. Own Time indicates how much time is spent in the element itself. |
Type-based view: columns and layers
In the type-based view, the measured values are displayed on three levels. The following table describes the available columns:
Column | Meaning |
|---|---|
Count | Number of instances or calls, related to the respective level |
% Own / % Total | Percentage share of the total in the task execution time, related to the level |
∑ Own / ∑ Total | Sum of all Own/Total Times of all calls at this level |
Ø Own / Ø Total | Average of all Own/Total Times of all calls at this level |
Min Own / Min Total | Minimum value, related to the respective level |
Max Own / Max Total | Maximum value, related to the respective level |
In addition, the average values for all cycles can be expanded. This allows a comparison to be made between a specific cycle and the average of all cycles:
Column | Meaning |
|---|---|
∀ 🔃 Ø Own / Total | Average of Own/Total Time over all cycles |
∀ 🔃 Min Own / Total | Minimum Own/Total Time over all cycles |
∀ 🔃 Max Own / Total | Maximum Own/Total Time over all cycles |
Correction value
The profiler measurement marks cause a runtime overhead that influences the measured execution times. The profiler offers two correction modes:
Mode | Description | Requirement |
|---|---|---|
Automatic correction | The correction value is calculated per cycle from the measurement data of the additional measurement mark. | Add Measure Method is activated in the configuration. |
Default correction | A manually configured correction value is used for all cycles. | Automatic Correction Value is deactivated in the properties. |
For the most accurate results, automatic correction is recommended, as the correction value is calculated individually for each cycle.