# EditBool

## `EditBool` (FB)

FUNCTION\_BLOCK EditBool

### Kurzbeschreibung

> Eingabe eines binären Wertes\
> Typische Anwendung: Einschaltung einer Option

### Darstellung

<figure><img src="/files/deNv7jX7GGDlYxdYY03g" alt=""><figcaption></figcaption></figure>

### Schnittstellen

#### Ausgänge

| Name   | Datentyp | Wertebereich | Initialwert | Funktion            |
| ------ | -------- | ------------ | ----------- | ------------------- |
| *xOut* | BOOL     |              |             | Binärer Ausgabewert |

#### Sollwerte / Parameter

| Name          | Datentyp | Wertebereich | Initialwert | Funktion            |
| ------------- | -------- | ------------ | ----------- | ------------------- |
| **xSetPoint** | BOOL     |              | FALSE       | Binärer Eingabewert |

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein dient zur Übergabe eines binären Eingabewerts **xSetPoint** und die direkte Übertragung zum binären Ausgabewert *xOut*.

{% hint style="warning" %}
**Verhalten bei Spannungsausfall**

Der binäre Eingabewert **xSetPoint** wird spannungsausfallsicher gespeichert und automatisch wiederhergestellt.
{% endhint %}

### CODESYS

InOut:

| Scope       | Name        | Type   | Initial |
| ----------- | ----------- | ------ | ------- |
| Input Const | `xSetPoint` | `BOOL` | FALSE   |
| Output      | `xOut`      | `BOOL` |         |


---

# Agent Instructions: 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:

```
GET https://support.powerio.com/hub/codesys-hvac/hvac-library/functionblocks/setpoint/editbool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
