> 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="/files/llMt7nkuJKNuBnwpKwwl" 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="/files/nu6gSRVO8gVVpbJAtz6Z" 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.&#x20;
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.powerio.com/hub/codesys-hvac/hvac-library/functionblocks/display/displayrealvisu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
