GetCoreFrequency

This method returns the set and current clock frequency of a defined real-time core via references. These can differ if the core has to throttle its frequency.
Return value
Name | Type | Description |
|---|---|---|
GetCoreFrequency | HRESULT | In the event of an error, returns the error code for the error that has occurred. |
Inputs
VAR_INPUT
nCurrentCoreFrequency : REFERENCE TO UDINT;
nConfiguredCoreFrequency : REFERENCE TO UDINT;
END_VARName | Type | Description |
|---|---|---|
nCurrentCoreFrequency | REFERENCE TO UDINT | Returns the current frequency of the CPU core. |
nConfiguredCoreFrequency | REFERENCE TO UDINT | Returns the set frequency of the CPU core. |