> 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/binary/absb.md).

# AbsB

## `AbsB` (FB)

FUNCTION\_BLOCK AbsB

### Kurzbeschreibung

> Antiblockierschutz für ein binäres Signal

### Darstellung

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

### Schnittstellen

#### Eingänge

| Name  | Datentyp | Wertebereich | Initialwert | Funktion        |
| ----- | -------- | ------------ | ----------- | --------------- |
| *xFb* | BOOL     |              |             | Betriebsmeldung |

#### Ausgänge

| Name          | Datentyp        | Wertebereich | Initialwert | Funktion                                                  |
| ------------- | --------------- | ------------ | ----------- | --------------------------------------------------------- |
| *xOut*        | BOOL            |              |             | Freigabe - Ausgang                                        |
| *xAbsOn*      | BOOL            |              |             | Anzeige - Blockierschutzprozess                           |
| *dtAbsLastOn* | DATE\_AND\_TIME |              |             | Startdatum/-zeitpunkt der letzten Blockierschutzprozesses |

#### Sollwerte / Parameter

| Name             | Datentyp | Wertebereich | Initialwert  | Funktion                                   |
| ---------------- | -------- | ------------ | ------------ | ------------------------------------------ |
| **tMinFbTime**   | TIME     |              | T#30s        | Minimale Betriebsdauer                     |
| **tTime**        | TIME     |              | 120s         | Zeitdauer des Blockierschutzprozesses      |
| **eDay**         | eDoW     |              | eDow\.Montag | Wochentag des Blockierschutzprozesses      |
| **todStartTime** | TOD      |              | 08:00:00 Uhr | Startzeitpunkt des Blockierschutzprozesses |

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein dient zur Überwachung der Betriebsmeldung *xFb* auf Aktivität. Der Prüfzeitraum umfasst dabei jeweils 168 Stunden (= 1 Woche).\
Die Betriebsmeldung *xFb* ist aktiv, falls er einmal im Prüfzeitraum während der minimalen Betriebsdauer **tMinFbTime** durchgehend aktiv ist.\
Der Blockierschutzprozess wird damit unterbunden, die Prüfzeit startet erneut.\
Falls keine Betriebsmeldung vorhanden ist, kann alternativ die Anforderung / Freigabe angeschlossen werden.\
\
Wurde während des Prüfzeitraums keine Aktivität erfasst, so wird der Blockierschutzprozess (Freigabe - Ausgang *xOut* = TRUE) mit der Zeitdauer **tTime** am Wochentag **eDay** zur Uhrzeit **todStartTime** ausgelöst.\
Gleichzeitig startet die Prüfzeitdauer erneut.\
Die erstmalige Auslösung der Blockierschutzprozesses kann je nach den relevanten Einstellungen (Wochentag **eDay** und **todStartTime**) verzögert sein.

> **Beispiel**
>
> Prüfzeit am Dienstagmorgen beendet, Auslösung des Blockierschutzprozesses erst am kommenden Montag.\
> Am Ausgang *dtAbsLastOn* steht das Startdatum und der Startzeitpunkt der letzten Blockierschutzprozesses zur Verfügung.
>
> \
> Voraussetzung für den Einsatz des Funktionsbausteins AbsB
>
> Zur korrekten Funktion ist der Einsatz des Funktionsbausteins TimeRead2 erforderlich.

#### Freigabe - Ausgang *xOut*

| *xFb* | Blockierschutzprozess | *xOut* | Hinweise                          |
| ----- | --------------------- | ------ | --------------------------------- |
| X     | FALSE                 | FALSE  | Blockierschutzprozess nicht aktiv |
| X     | TRUE                  | TRUE   | Blockierschutzprozess aktiv       |

Legende: X = beliebig

#### Anzeige - Blockierschutzprozess *xAbsOn*

| *xFb* | Blockierschutzprozess | *xAbsOn* | Hinweise                          |
| ----- | --------------------- | -------- | --------------------------------- |
| X     | FALSE                 | FALSE    | Blockierschutzprozess nicht aktiv |
| X     | TRUE                  | TRUE     | Blockierschutzprozess aktiv       |

Legende: X = beliebig

#### Sollwert / Parameter **eDay**

Die Blockierschutzfunktion kann durch die Einstellung **eDay** = eDow\.Inactive generell gesperrt werden.

#### Sollwert / Parameter **tTime**

Die Blockierschutzfunktion kann durch die Einstellung **tTime** = 0s generell gesperrt werden.

### CODESYS

InOut:

| Scope       | Name           | Type   | Initial           |
| ----------- | -------------- | ------ | ----------------- |
| Input       | `xFb`          | `BOOL` |                   |
| Input Const | `tMinFbTime`   | `TIME` | TIME#30s0ms       |
| Input Const | `tTime`        | `TIME` | TIME#2m0s0ms      |
| Input Const | `eDay`         | eDoW   | eDow\.Monday      |
| Input Const | `todStartTime` | `TOD`  | TIME\_OF\_DAY#8:0 |
| Output      | `xOut`         | `BOOL` |                   |
| Output      | `xAbsOn`       | `BOOL` |                   |
| Output      | `dtAbsLastOn`  | `DT`   |                   |


---

# 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/binary/absb.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.
