> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/hvac-library/functionblocks/system-info/systeminfo.md).

# SystemInfo

## `SystemInfo` (FB)

FUNCTION\_BLOCK SystemInfo

### Short description

> Collection of system information / input of individual project information.

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-9d51faf5ee914731521eb9f8802c3d2124b54bb2%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Functional description

\
This function block enables reading out the system information.\
This displays the static values that are written to the controller when an application is downloaded.\
In addition, values are also displayed that can change during runtime.\
These values can be queried within a definable interval and, if required, also read out.

#### Input *xGetNetworkInfo*

\
On every rising edge (FALSE > TRUE), the current network information of the system is read out.\
The values are returned via the outputs **sEthernetAdapterIPAddress**, **sEthernetAdapterSubnetMask**, **sEthernetAdapterGateway** and **sEthernetAdapterMACAddress**.

#### Input *xGetRTUpTime*

\
On every rising edge, the current runtime of the system is read out.\
The value is returned via the output **tRuntimeUptime**.

#### Setpoints / Parameters

| Name                           | Data type   | Value range | Initial value | Function                                                                                       |
| ------------------------------ | ----------- | ----------- | ------------- | ---------------------------------------------------------------------------------------------- |
| **sProjectNumber**             | STRING      |             | 0000          | Individual project number for display in the visualization                                     |
| **sProjectName**               | STRING(255) |             | HVAC Example  | Individual project name for display in the visualization                                       |
| **sProjectVersion**            | STRING      |             | 1             | Individual project version for display in the visualization                                    |
| **sConfigEthernetAdapterName** | STRING      |             | eth0          | Name of the network adapter for the network information to be queried                          |
| **tRefreshIntervall**          | TIME        |             | T#15S         | Update interval for querying the network information and the system runtime (T#0s => disabled) |

### Visualization

Suitable visualization element from the HVACV Visu Library: **SystemInfo**

#### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-4ade1ee4e08efed37c2ca0693fff428da3dc8e8d%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Codesys

InOut:

| Scope       | Name                         | Type                  | Initial        |
| ----------- | ---------------------------- | --------------------- | -------------- |
| Input       | `xGetNetworkInfo`            | `BOOL`                |                |
| Input       | `xGetRTUptime`               | `BOOL`                |                |
| Input Const | `sProjectNumber`             | `STRING`              | ‘0000’         |
| Input Const | `sProjectName`               | `STRING(255)`         | ‘HVAC Example’ |
| Input Const | `sProjectVersion`            | `STRING`              | ‘1’            |
| Input Const | `sConfigEthernetAdapterName` | `STRING`              | ‘eth0’         |
| Input Const | `tRefreshIntervall`          | `TIME`                | TIME#15s0ms    |
| Output      | `sProjectInfoTitle`          | `STRING(diMaxStrLen)` |                |
| Output      | `sProjectInfoVersion`        | `STRING(diMaxStrLen)` |                |
| Output      | `sProjectInfoAuthor`         | `STRING(diMaxStrLen)` |                |
| Output      | `sProjectInfoDescription`    | `STRING(255)`         |                |
| Output      | `sProfileVersion`            | `STRING(diMaxStrLen)` |                |
| Output      | `dtLastAppChange`            | `DT`                  |                |
| Output      | `sCompilerVersion`           | `STRING(diMaxStrLen)` |                |
| Output      | `sDeviceName`                | `STRING(diMaxStrLen)` |                |
| Output      | `sDeviceVersion`             | `STRING(diMaxStrLen)` |                |
| Output      | `sDeviceSerialNumber`        | `STRING(diMaxStrLen)` |                |
| Output      | `sDeviceHostName`            | `STRING(diMaxStrLen)` |                |
| Output      | `sDeviceNodeName`            | `STRING(diMaxStrLen)` |                |
| Output      | `sRuntimeVersion`            | `STRING(diMaxStrLen)` |                |
| Output      | `tRuntimeUptime`             | `TIME`                |                |
| Output      | `wProcessorType`             | `WORD`                |                |
| Output      | `sEthernetAdapterIPAddress`  | `STRING(diMaxStrLen)` |                |
| Output      | `sEthernetAdapterSubnetMask` | `STRING(diMaxStrLen)` |                |
| Output      | `sEthernetAdapterGateway`    | `STRING(diMaxStrLen)` |                |
| Output      | `sEthernetAdapterMACAddress` | `STRING(diMaxStrLen)` |                |
| Output      | `diStringMaxLen`             | `DINT`                |                |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-library/functionblocks/system-info/systeminfo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
