CPU Info| This
function block outputs some information about the CPU.
This block can also be used as temperature monitoring,
for example if an active fan is installed it can be
monitored with this block. Values are measured every 10 seconds. So that not every small fluctuation is output, an output only changes after a noticeable change (see outputs). "Generate variables" only creates variables for the temperature and the overtemperature. If frequency or load are needed, create and link the variables manually. On controllers and Linux PCs (x86) the block provides all values. On a PC the temperature is read from the processor's sensor (Intel and AMD). |
Outputs |
||
| TM |
CPU
temperature ° |
CPU temperature in °C, rounded to 0.5 °C. A new
value is only output after a change of at least 1 K. |
| UP |
CPU
overtemperature |
1 as soon as the temperature reaches the limit "Temperature monitoring". Back to 0 only once it has dropped 3 K below the limit. |
| FQ | CPU frequency MHz | Current clock frequency of the first core in MHz, rounded to 100 MHz. |
| CG | CPU load % | CPU load in % for all CPU cores, as an integer. A new value is only output after a change of at least 5 %; 0 % and 100 % are always output. |
Parameters |
||
| Temperature
monitoring |
Limit value for temperature monitoring in °C (40 to 95, default 70). When the limit is reached, output UP is set to 1; it returns to 0 only 3 K below the limit. | |