> 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/components/prerinseoperationvalveanalog.md).

# PreRinseOperationValveAnalog

## `PreRinseOperationValveAnalog` (FB)

FUNCTION\_BLOCK PreRinseOperationValveAnalog

### Kurzbeschreibung

> Steuerung des Anfahrbetriebs einer Lüftungsanlage\
> \
> Typische Anwendung: Vorbereitung einer Lüftungsanlage bei tiefen Aussentemperaturen

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FDCwL6nWnZN7ybD11xXkA%2FPreRinseOperationValveAnalog.png?alt=media&amp;token=c317f471-19b1-48fc-88bf-6fc4dd2ef5b2" alt=""><figcaption></figcaption></figure>

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein dient zur Steuerung des Anfahrbetriebs einer Lüftungsanlage in Abhängigkeit von der aktuellen Aussentemperatur *rOAT* und der aktuellen Rücklauftemperatur *rRnT* des Erhitzerkreises.\
Er garantiert die definierte und wirkungsvolle Vorheizung des Erhitzerkreises vor der Freigabe der Ventilatoren der Lüftungsanlage (Ziel: Vermeidung von Frostschäden am Erhitzerkreis).

#### Steuerung

Der Anfahrbetrieb (Vorheizung und Stellsignalrampe) startet mit einer ansteigenden Flanke (FALSE > TRUE) am Eingang *xRequest*,\
falls die aktuelle Aussentemperatur *rOAT* den Schwellwert **rMaxOAT** unterschreitet.\
Der Ausgang *xEn* wird aktiviert (= TRUE) und dient zur Anzeige des aktiven Anfahrbetriebs bzw. zur Freigabe der Erhitzerpumpe.\
Das Stellsignal *rHeaterY* wird auf den Sollwert / Parameter **rYStart** fixiert und dient zur Steuerung des Erhitzerventils.

> **Wertebereich für den Sollwert / Parameter rYStart**
>
> Der Sollwert / Parameter darf nur Werte > 0 % annehmen\
> Der Anfahrbetrieb endet nach der Mindestzeitdauer **tMinTime** (Bedingung: Es ist kein Rücklauftemperaturfühler (*rRnT* <= -20.0 °C) vorhanden).

Der Anfahrbetrieb endet, falls die aktuelle Rücklauftemperatur *rRnT* den Schwellwert **rMinRnT** überschreitet (Bedingung: Es ist ein Rücklauftemperaturfühler (*rRnT* > -20.0 °C) vorhanden).\
Der Anfahrbetrieb kann zu jedem Zeitpunkt durch den Eingang *xRequest* (= FALSE) beendet werden.\
\
Nach dem Ende des Anfahrbetriebs wird am Stellsignal - Erhitzerventil aus Anfahrbetrieb *rHeaterY* eine linear abfallende (Startwert = **rYStart**)\
Signalrampe mit der Zeitdauer **tRamp** erzeugt. Während der Erzeugung dieser Signalrampe und während des Anfahrbetriebs ist der Auagang *xRamp* aktiv (= TRUE).\
\
Überschreitet die Zeitdauer des Anfahrbetriebs den Schwellwert **tMaxTime**, so wird die Störmeldung bei Zeitüberschreitung aktiviert (= TRUE).\
\
Am Ausgang *tET* wird während des Anfahrbetriebs die bereits verstrichene Zeitdauer dargestellt.\
\
Im nicht aktiven Zustand (*xRequest* = FALSE) nehmen die Ausgänge folgende Zustände an:

| *xEn* | *xRamp* | *rHeaterY* | *tET*       | *xAlarm* | Hinweise           |
| ----- | ------- | ---------- | ----------- | -------- | ------------------ |
| FALSE | FALSE   | 0.0 %      | Letzer Wert | FALSE    | *xRequest* = FALSE |

Legende: X = beliebig

### CODESYS

InOut:

| Scope       | Name           | Type    | Initial      |
| ----------- | -------------- | ------- | ------------ |
| Input       | `xRequest`     | `BOOL`  |              |
| Input       | `rOAT`         | `REAL`  |              |
| Input       | `rRnT`         | `REAL`  | -22.2        |
| Output      | `xEn`          | `BOOL`  |              |
| Output      | `xRamp`        | `BOOL`  |              |
| Output      | `rHeaterY`     | `REAL`  |              |
| Output      | `tET`          | `TIME`  |              |
| Output      | `xAlarm`       | `BOOL`  |              |
| Input Const | `udiMaxTime`   | `UDINT` | 30           |
| Input Const | `rYStart`      | `WORD`  | 80           |
| Input Const | `udiRamp`      | `UDINT` | 8            |
| Input Const | `eMinTimeBase` | eTime   | eTime.Minute |
| Input Const | `udiMinTime`   | `UDINT` | 2            |
| Input Const | `rMinRnT`      | `REAL`  | 30           |
| Input Const | `rMaxOAT`      | `REAL`  | 10           |


---

# 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/components/prerinseoperationvalveanalog.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.
