FB_RunTimeMeasurement - General Information
Type: |
Function block |
Available as of: |
V1.0.3.0 |
Inherits from: |
- |
Implements: |
- |
Versions: |
Current version |
Runtime measurement of program code.
The function block is used for diagnostic. Interruptions by higher priority tasks or system tasks are not taken into account.
NOTE: POU is not addressable!
The POU must not be called up.
The function block can be used by calling it up over methods and properties.
Name |
Description |
---|---|
Completes a currently running time measurement |
|
Resets the function block to its initial state |
|
Starts a new measurement |
Name |
Data type |
Accessing |
Description |
---|---|---|---|
udiActTime |
UDINT |
Read |
Duration of the last measurement. Unit: ns |
udiAverageTime |
UDINT |
Read |
Mean duration of the measurements performed since the last reset Unit: ns |
udiCycleCount |
UDINT |
Read |
Number of measurements performed since the last reset |
udiMaxTime |
UDINT |
Read |
Longest measured period since the last reset. Unit: ns |
udiMinTime |
UDINT |
Read |
Shortest measured period since the last reset. Unit: ns |