Read BIOS Info (Long)
This function block can read numerical values out of the BIOS information.
The input InfoNo is used to give the index of the desired information. The read value is given at the output UlInfo. The following table shows the possible information:
Index | Information |
---|---|
0 | Boot counter |
1 | Counter of operation hours |
The output Err will show an error number.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
InfoNo | I | WORD | Index of the wanted BIOS information |
UlInfo | O | LONG | Read value |
Err | O | WORD | Error indicator |
Comments
Error number | Result |
---|---|
0 | No error |
-1 | The board could not be accessed. |
-4 | The BIOS information could not be read. |
-5 | The index is invalid. |