# MoveStore

## `MoveStore` (FB)

FUNCTION\_BLOCK MoveStore

### Kurzbeschreibung

> Flankengesteuerte Speicherung eines numerischen Eingangswerts\
> Typische Anwendung: Ereignisabhängige Speicherung eines Messwerts

### Darstellung

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

### Schnittstellen

#### Eingänge

| Name  | Datentyp | Wertebereich | Initialwert | Funktion       |
| ----- | -------- | ------------ | ----------- | -------------- |
| *xEn* | BOOL     |              |             | Speichersignal |
| *rIn* | REAL     |              |             | Eingangswert   |

#### Ausgänge

| Name   | Datentyp | Wertebereich | Initialwert | Funktion     |
| ------ | -------- | ------------ | ----------- | ------------ |
| *rOut* | REAL     |              | 0           | Ausgangswert |

### Funktionsbeschreibung

#### Ausgangswert *rOut*

Der aktuelle Wert am Eingangswert *rIn* wird bei jeder ansteigenden Flanke am Eingang Speichersignal *xEn* gespeichert und direkt zum Ausgangswert *rOut* übertragen.\
Das hat zur Folge, dass sich der Wert von *rOut* nur bei einer ansteigenden Flanke verändern kann und in allen übrigen Situationen seinen Wert nicht verändert.

### CODESYS

InOut:

| Scope  | Name   | Type   | Initial |
| ------ | ------ | ------ | ------- |
| Input  | `xEn`  | `BOOL` |         |
| Input  | `rIn`  | `REAL` |         |
| Output | `rOut` | `REAL` | 0       |


---

# 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/numeric/movestore.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.
