CPU Load
This function block will measure the CPU load of the user space.
If the input Activat is HIGH, the measurement will start. The output CPULoad will show the current working load of the user applications in percent. The output Err will show an error number.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
Activat | I | BIT | Starting the measurement |
CPULoad | O | FLOAT | CPU loading [%] |
Err | O | WORD | Error indicator |
Comments
Error number | Result |
---|---|
0 | No error |
-100 | State file cannot be opened. |
-101 | State file cannot be read |
-102 | State file cannot be read |