# AnalogValue

## `AnalogValue` (FB)

FUNCTION\_BLOCK AnalogValue

### Kurzbeschreibung

> Behandlung eines Rohwertes\
> Typische Anwendung: Einlesens des Rohwertes von einem analogen Eingang.

### Darstellung

<figure><img src="/files/6BA1jRGqGgOjQ0Oc8c2y" alt=""><figcaption></figcaption></figure>

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein besteht aus den Funktionen der vier einzelnen FB’s:

* TwoPoint
* Offset
* Limiter
* DampingT1

\
Die Abarbeitung erfolgt in dieser Reihenfolge.

### Codesys

InOut:

| Scope       | Name                      | Type         | Initial                       |
| ----------- | ------------------------- | ------------ | ----------------------------- |
| Input       | `rIn`                     | `REAL`       |                               |
| Output      | `rOut`                    | `REAL`       |                               |
| Output      | `xErr`                    | `BOOL`       |                               |
| Input Const | `tInitDelayFilter`        | `TIME`       | TIME#10s0ms                   |
| Input Const | `rInitValueFilter`        | `REAL`       | 100                           |
| Input Const | `eInitialFilter`          | eInit        | eInit.InputValueDelayed       |
| Input Const | `tTimeConstantFilter`     | `TIME`       | TIME#10s0ms                   |
| Input Const | `xFilterAktiv`            | `BOOL`       | TRUE                          |
| Input Const | `rReplacementValueLimit`  | `REAL`       | -50                           |
| Input Const | `eReplacementOptionLimit` | eLimiterMode | eLimiterMode.ReplacementValue |
| Input Const | `rMaxLimit`               | `REAL`       | 150                           |
| Input Const | `rMinLimit`               | `REAL`       | -50                           |
| Input Const | `xLimitAktiv`             | `BOOL`       | TRUE                          |
| Input Const | `rOffset`                 | `REAL`       | 0                             |
| Input Const | `iMinMaxOffsetTwoPoint`   | `INT`        | 0                             |
| Input Const | `xMinMaxLimitTwoPoint`    | `BOOL`       | FALSE                         |
| Input Const | `rY2TwoPoint`             | `REAL`       | 100                           |
| Input Const | `rY1TwoPoint`             | `REAL`       | 0                             |
| Input Const | `rX2TwoPoint`             | `REAL`       | 100                           |
| Input Const | `rX1TwoPoint`             | `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/analogvalue.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.
