# EditDT

## `EditDT` (FB)

FUNCTION\_BLOCK EditDT

### Kurzbeschreibung

> Eingabe eines Datums und einer Uhrzeit im Format DATE\_AND\_TIME (dt#2017-11-21-14:36:00)\
> Typische Anwendung: Festlegung eines Schaltzeitpunkts

### Darstellung

<figure><img src="/files/0V3JH2nicuMewwpNGO8r" alt=""><figcaption></figcaption></figure>

### Schnittstellen

#### Ausgänge

| Name    | Datentyp        | Wertebereich | Initialwert | Funktion                              |
| ------- | --------------- | ------------ | ----------- | ------------------------------------- |
| *dtOut* | DATE\_AND\_TIME |              |             | Ausgabewert im Format DATE\_AND\_TIME |

#### Sollwerte / Parameter

| Name           | Datentyp        | Wertebereich | Initialwert | Funktion                              |
| -------------- | --------------- | ------------ | ----------- | ------------------------------------- |
| **dtSetPoint** | DATE\_AND\_TIME |              |             | Eingabewert im Format DATE\_AND\_TIME |

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein dient zur Übergabe eines Eingabewerts im Format DATE\_AND\_TIME **dtSetPoint** und die direkte Übertragung zum Ausgabewert im Format DATE\_AND\_TIME *dtOut*.

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

Der Eingabewert im Format DATE\_AND\_TIME **dtSetPoint** wird spannungsausfallsicher gespeichert und automatisch wiederhergestellt.
{% endhint %}

### CODESYS

InOut:

| Scope       | Name         | Type |
| ----------- | ------------ | ---- |
| Input Const | `dtSetPoint` | `DT` |
| Output      | `dtOut`      | `DT` |


---

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