PROFILERSTRUCT
TYPE PROFILERSTRUCT:
STRUCT
LastExecTime :DWORD;
MinExecTime :DWORD;
MaxExecTime :DWORD;
AverageExecTime :DWORD;
MeasureCycle :DWORD;
END_STRUCT
END_TYPE
LastExecTime: The most recently measured value for the execution time in [µs].
MinExecTime: The minimum execution time in [µs].
MaxExecTime: The maximum execution time in [µs].
AverageExecTime: The mean execution time for the last 10 measurements in [µs].
MeasureCycle: The number of measurements that have already been carried out.
Requirements
Development environment | Target system type | PLC libraries to include |
---|---|---|
TwinCAT v2.7.0 | PC or CX (x86) | Standard.Lib; PLCSystem.Lib; TcPLCAds.Lib; PLCHelper.Lib; TcPlcUtilities.Lib |
TwinCAT v2.8.0 | PC or CX (x86) | TcUtilities.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically ) |
TwinCAT v2.10.0 Build >= 1301 | CX (ARM) |