> 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/hvac-library/functionblocks/display/displayrealvisu.md).

# DisplayRealVisu

## `DisplayRealVisu` (FB)

FUNCTION\_BLOCK DisplayRealVisu

### Kurzbeschreibung

> Anzeige eines numerischen Wertes mit Korrekturwert (Visualisierung)\
> \
> Typische Anwendung: Abgleich eines Temperaturfühlers in der Visualisierung\
> \
> Besonderheit: Einheit, Nachkommastellen und weitere Paramter werden direkt im CFC Editor parametriert und nicht im Visualisierungsobjekt.\
> Dies ermöglicht, Änderungen und Grenzwerte online in der Applikation ohne Download zu ändern.

### Darstellung

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

### Schnittstellen

#### Eingänge

| Name     | Datentyp | Wertebereich | Initialwert | Funktion     |
| -------- | -------- | ------------ | ----------- | ------------ |
| *rInRaw* | REAL     |              |             | Eingangswert |

#### Ausgänge

| Name   | Datentyp | Wertebereich | Initialwert | Funktion                |
| ------ | -------- | ------------ | ----------- | ----------------------- |
| *rOut* | REAL     |              |             | Numerischer Ausgabewert |

#### Sollwerte / Parameter

| Name                  | Datentyp | Wertebereich | Initialwert | Funktion                                                                            |
| --------------------- | -------- | ------------ | ----------- | ----------------------------------------------------------------------------------- |
| **xDisableSeparator** | BOOL     |              | FALSE       | TRUE = Deaktiviert das tausender Trennzeichen bei der Anzeige in der Visualisierung |
| **bDecimals**         | BYTE     |              | 1           | Anzahl der Nachkommastellen                                                         |
| **sSymbol**           | STRING   |              |             | Symbol in der Visualisierung                                                        |
| **sUnit**             | STRING   |              |             | Einheit des Eingabewerts                                                            |
| **rOffset**           | REAL     |              | 0.0         | Korrekturwert                                                                       |

### Funktionsbeschreibung

#### Allgemeines

Der Ausgangswert *rOUT* wird durch die Addition des Eingangswerts *rInRaw* mit dem Korrekturwert **rOffset** gebildet.\
Zusätzlich können hier weitere Eigenschaften des Ausganswerts definiert werden, die jedoch nicht im Funktionsbaustein, sondern zum Beispiel in einem geeigneten Visualisierungselement Verwendung finden.\
\
Mit dem Paramter **xDisableSeparator** kann das Tausender-Trennzeichen in der Visualisierung deaktiviert werden.

### Visualisierung

Passendes Visualisierungselement aus der HVACV Visu Library: **DisplayRealVisu**

#### Darstellung

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

#### Schnittstellen Visu-Element

| Name            | Datentyp         | Typ          | Initialwert | Funktion                                                                                                                    |
| --------------- | ---------------- | ------------ | ----------- | --------------------------------------------------------------------------------------------------------------------------- |
| **rValue**      | FB\_EditRealVisu | VAR\_IN\_OUT |             | FB Instanz HVAC.EditRealVisu hier eintragen z.B. PRG.EditRealVisu                                                           |
| **iFieldSizeL** | INT              | VAR\_INPUT   | 0           | Feld vergrößert sich um Anzahl der eingegebenen Pixel nach links. Wird benötigt um lange Zahlen oder Einheiten anzuzeigen.  |
| **iFieldSizeR** | INT              | VAR\_INPUT   | 0           | Feld vergrößert sich um Anzahl der eingegebenen Pixel nach rechts. Wird benötigt um lange Zahlen oder Einheiten anzuzeigen. |

Folgende Eingaben des FB HVAC.DisplayRealVisu werden automatisch übernommen und können zur Laufzeit geändert werden: rOffset, sUnit, sSymbol, bDecimals, xDisableSeperator.

{% hint style="info" %}
Hinweis: VAR\_IN\_OUT Schnittstellen müssen belegt werden, VAR\_INPUT sind optional.
{% endhint %}

### CODESYS

InOut:

| Scope       | Name                | Type     | Initial |
| ----------- | ------------------- | -------- | ------- |
| Input       | `rInRaw`            | `REAL`   |         |
| Input       | `xAlarm`            | `BOOL`   |         |
| Input Const | `xDisableSeparator` | `BOOL`   |         |
| Input Const | `bDecimals`         | `BYTE`   | 1       |
| Input Const | `sSymbol`           | `STRING` | ‘A’     |
| Input Const | `sUnit`             | `STRING` |         |
| Input Const | `rOffset`           | `REAL`   | 0       |
| Output      | `rOut`              | `REAL`   |         |


---

# 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/hvac-library/functionblocks/display/displayrealvisu.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.
