> 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/setpoint/setpointslide.md).

# SetPointSlide

## `SetPointSlide` (FB)

FUNCTION\_BLOCK SetPointSlide

### Kurzbeschreibung

> Erzeugung einer Solltemperatur in Abhängigkeit von der Aussentemperatur\
> Prinzip: Lineare Verschiebung\
> Typische Anwendung: Anpassung einer Raumsolltemperatur im Sommerbetrieb (Energieeinsparung)

### Darstellung

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

### Schnittstellen

#### Eingänge

| Name       | Datentyp | Wertebereich | Initialwert | Funktion                  |
| ---------- | -------- | ------------ | ----------- | ------------------------- |
| *rOutTemp* | REAL     |              | 0           | Aktuelle Aussentemperatur |

#### Ausgänge

| Name          | Datentyp | Wertebereich | Initialwert | Funktion                                                |
| ------------- | -------- | ------------ | ----------- | ------------------------------------------------------- |
| *rSetPoint*   | REAL     |              |             | Aktuelle Solltemperatur                                 |
| *bOverThrust* | BOOL     |              |             | Anzeige - Schiebung (FALSE = nicht aktiv, TRUE = aktiv) |

#### Sollwerte / Parameter

| Name          | Datentyp | Wertebereich              | Initialwert | Funktion                                                                                       |
| ------------- | -------- | ------------------------- | ----------- | ---------------------------------------------------------------------------------------------- |
| **rDeadZone** | REAL     |                           | 2           | Totzone zwischen Ein- und Ausschaltpunkt für den Ausgang *bOverThrust* am Anfang der Schiebung |
| **rMaxW**     | REAL     |                           | 25.0        | Maximale absolute Solltemperatur                                                               |
| **rW2**       | REAL     |                           | 25.0        | Solltemperatur am Aussentemperatur-Punkt 2                                                     |
| **rTo2**      | REAL     |                           | 40.0        | Aussentemperatur am Aussentemperatur-Punkt 2                                                   |
| **rW1**       | REAL     |                           | 20.0        | Solltemperatur am Aussentemperatur-Punkt 1                                                     |
| **rTo1**      | REAL     |                           | 30.0        | Aussentemperatur am Aussentemperatur-Punkt 1                                                   |
| **rManValue** | REAL     |                           | 0.0         | Handübersteuerung: Handwert                                                                    |
| **eManModeN** | eMANNUM  | eMANNUM.Auto, eMANNUM.Man |             | Handübersteuerung: Betriebsart                                                                 |

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein dient zur Erzeugung einer Solltemperatur *rSetPoint* in Abhängigkeit von der aktuellen Aussentemperatur *rOutTemp*.\
Die Zuordnung wird durch eine durch zwei Punkte (Aussentemperatur-Punkt 2: **rTo2** und **rW2**, Aussentemperatur-Punkt 1: **rTo1** und **rW1**) definierte lineare Funktion hergestellt.\
Die Solltemperatur *rSetPoint* wird nach oben durch den absoluten Maximalwert **rMaxW** begrenzt.\
Die Solltemperatur *rSetPoint* wird nach unten durch die Solltemperatur am Aussentemperatur-Punkt 1 **rW1** begrenzt.\
Die Solltemperatur *rSetPoint* kann durch die Betriebsart **eManModeN** (**eManModeN** = eMANNUM.Man) auf den Festwert **rManValue** fixiert werden.\
Bei jeder Umschaltung der Betriebsart in den Handbetrieb (**eManModeN** = eMANNUM.Man) wird der Handwert **rManValue** durch die aktuelle Solltemperatur *rSetPoint* ersetzt.\
Nähert sich die Aussentemperatur am Aussentemperatur-Punkt 1 **rTo1** der Aussentemperatur am Aussentemperatur-Punkt 2 **rTo2** auf weniger als 0.5°C an, so wird der Aussentemperatur-Punkt 1 **rTo1** automatisch auf eine Differenz von 0.5°C korrigiert (Vermeidung von zu steilen Kennlinien).\
Der Aussentemperatur-Punkt 1 **rTo1** ist somit wertmäßig stets kleiner als der Aussentemperatur-Punkt 2 **rTo2**.\
\
Ein Temperatur-Unterschied von 6°C zwischen der Aussentemperatur und der Solltemperatur kommt meistens zur Anwendung.

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

#### Anzeige - Schiebung *bOverThrust*

| Bedingung                               | *bOverThrust* | Hinweise                          |
| --------------------------------------- | ------------- | --------------------------------- |
| *rOutTemp* > **rTo1**                   | TRUE          | Sollwertschiebung ist aktiv       |
| *rOutTemp* < (**rTo1** - **rDeadZone**) | FALSE         | Sollwertschiebung ist nicht aktiv |

### CODESYS

InOut:

| Scope       | Name          | Type    | Initial      |
| ----------- | ------------- | ------- | ------------ |
| Input       | `rOutTemp`    | `REAL`  | 0            |
| Input Const | `rDeadZone`   | `REAL`  | 2            |
| Input Const | `rMaxW`       | `REAL`  | 25           |
| Input Const | `rW2`         | `REAL`  | 25           |
| Input Const | `rTo2`        | `REAL`  | 40           |
| Input Const | `rW1`         | `REAL`  | 20           |
| Input Const | `rTo1`        | `REAL`  | 30           |
| Input Const | `rManValue`   | `REAL`  | 0            |
| Input Const | `eManModeN`   | eManNum | eManNum.Auto |
| Output      | `rSetpoint`   | `REAL`  |              |
| Output      | `bOverthrust` | `BOOL`  |              |


---

# 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/setpoint/setpointslide.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.
