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

# PreRinseOperationValveAnalog

## `PreRinseOperationValveAnalog` (FB)

FUNCTION\_BLOCK PreRinseOperationValveAnalog

### Short description

> Control of the start-up operation of a ventilation system\
> \
> Typical application: preparation of a ventilation system at low outside temperatures

### Representation

<figure><img src="https://2592874069-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>

### Functional description

#### General

This function block is used to control the start-up operation of a ventilation system depending on the current outside temperature *rOAT* and the current return temperature *rRnT* of the heater circuit.\
It ensures the defined and effective preheating of the heater circuit before the fans of the ventilation system are enabled (objective: prevention of frost damage to the heater circuit).

#### Control

The start-up operation (preheating and actuator signal ramp) starts with a rising edge (FALSE > TRUE) at the input *xRequest*,\
if the current outside temperature *rOAT* the threshold **rMaxOAT** falls below.\
The output *xEn* is activated (= TRUE) and is used to indicate the active start-up operation or to enable the heater pump.\
The actuator signal *rHeaterY* is set to the setpoint / parameter **rYStart** and is used to control the heater valve.

> **Value range for the setpoint / parameter rYStart**
>
> The setpoint / parameter may only take values > 0 %\
> The start-up operation ends after the minimum duration **tMinTime** (condition: no return temperature sensor (*rRnT* <= -20.0 °C) is present).

The start-up operation ends if the current return temperature *rRnT* the threshold **rMinRnT** exceeds (condition: a return temperature sensor (*rRnT* > -20.0 °C) is present).\
The start-up operation can be ended at any time via the input *xRequest* (= FALSE).\
\
After the end of the start-up operation, a linearly decreasing (initial value = *rHeaterY* )\
signal ramp with the duration **rYStart**tRamp **tRamp** is generated. During the generation of this signal ramp and during the start-up operation the output *xRamp* is active (= TRUE).\
\
If the duration of the start-up operation exceeds the threshold **tMaxTime**, the fault message for time overrun is activated (= TRUE).\
\
At the output *tET* the elapsed time duration is displayed during the start-up operation.\
\
In the inactive state (*xRequest* = FALSE) the outputs take the following states:

| *xEn* | *xRamp* | *rHeaterY* | *tET*      | *xAlarm* | Notes              |
| ----- | ------- | ---------- | ---------- | -------- | ------------------ |
| FALSE | FALSE   | 0.0 %      | Last value | FALSE    | *xRequest* = FALSE |

Legend: X = any

### 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/en/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.
