> 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/en/hvac-library/functionblocks/binary/abs3p.md).

# Abs3P

## `Abs3P` (FB)

FUNCTION\_BLOCK Abs3P

### Short description

> Anti-blocking protection for a 3-point actuator

### Representation

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

### Interfaces

#### Inputs

| Name       | Data type | Value range | Initial value | Function               |
| ---------- | --------- | ----------- | ------------- | ---------------------- |
| *xFbOpen*  | BOOL      |             |               | Signal - Input - Plus  |
| *xFbClose* | BOOL      |             |               | Signal - Input - Minus |

#### Outputs

| Name          | Data type       | Value range | Initial value | Function                                          |
| ------------- | --------------- | ----------- | ------------- | ------------------------------------------------- |
| *xOutOpen*    | BOOL            |             |               | Enable - Output - Plus                            |
| *xOutClose*   | BOOL            |             |               | Enable - Output - Minus                           |
| *xAbsOn*      | BOOL            |             |               | Display - anti-blocking process                   |
| *dtAbsLastOn* | DATE\_AND\_TIME |             |               | Start date/time of the last anti-blocking process |

#### Setpoints / Parameters

| Name             | Data type | Value range | Initial value | Function                                |
| ---------------- | --------- | ----------- | ------------- | --------------------------------------- |
| **tMinRunTime**  | TIME      |             | 30s           | Minimum operating time                  |
| **tTime**        | TIME      |             | 120s          | Duration of the anti-blocking process   |
| **eDay**         | eDoW      |             | eDow\.Monday  | Weekday of the anti-blocking process    |
| **todStartTime** | TOD       |             | 08:00:00      | Start time of the anti-blocking process |

### Functional description

#### General

This function block is used to monitor the signal inputs *xFbOpen* and *xFbClose* for activity. The test period comprises 168 hours each (= 1 week).\
The signal inputs *xFbOpen* and *xFbClose* are active if they are continuously active during the test period for the minimum operating time **tMinRunTime** (only *xFbOpen* or only *xFbClose* or both).\
The anti-blocking protection process is thus prevented, and the test time starts again.\
\
If no activity was detected during the test period, the anti-blocking protection process is triggered on the weekday **eDay** at the time **todStartTime** .\
At the same time, the test duration starts again.\
\
The active anti-blocking protection process is divided into two consecutive time periods (section 1 and section 2)\
In section 1, during the duration **tTime** the combination Enable - Output *xOutOpen* = TRUE, Enable - Output *xOutClose* = FALSE is output.\
In section 2, during the duration **tTime** the combination Enable - Output *xOutOpen* = FALSE, Enable - Output *xOutClose* = TRUE is output.\
\
The initial triggering of the anti-blocking protection process can be delayed depending on the relevant settings (weekday **eDay** and **todStartTime**).

> **Example**
>
> Test period ended on Tuesday morning, triggering of the anti-blocking protection process only next Monday.

At output *dtAbsLastOn* the start date and start time of the last anti-blocking process are available.

> **Requirement for the use of the function block Abs3P**
>
> For correct operation, the use of the TimeRead2 function block is required.

#### Enable - Output *xOutOpen*

| *xFbOpen* | Anti-blocking protection process | *xOutOpen* | Notes                                               |
| --------- | -------------------------------- | ---------- | --------------------------------------------------- |
| X         | FALSE                            | FALSE      | Anti-blocking protection process not active         |
| X         | TRUE                             | TRUE       | Anti-blocking protection process active - section 1 |
| X         | TRUE                             | FALSE      | Anti-blocking protection process active - section 2 |

Legend: X = any

#### Enable - Output *xOutClose*

| *xFbClose* | Anti-blocking protection process | *xOutClose* | Notes                                               |
| ---------- | -------------------------------- | ----------- | --------------------------------------------------- |
| X          | FALSE                            | FALSE       | Anti-blocking protection process not active         |
| X          | TRUE                             | FALSE       | Anti-blocking protection process active - section 1 |
| X          | TRUE                             | TRUE        | Anti-blocking protection process active - section 2 |

Legend: X = any

#### Display - anti-blocking process *xAbsOn*

This output is used to indicate an active anti-blocking process (*xAbsOn* = TRUE).

#### Setpoint / parameter **eDay**

The anti-blocking function can be **eDay** = eDow\.Inactive globally disabled.

#### Setpoint / parameter **tTime**

The anti-blocking function can be **tTime** = 0s globally disabled.

### CODESYS

InOut:

| Scope       | Name           | Type   | Initial           |
| ----------- | -------------- | ------ | ----------------- |
| Input       | `xFbOpen`      | `BOOL` |                   |
| Input       | `xFbClose`     | `BOOL` |                   |
| Input Const | `tMinRunTime`  | `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      | `xOutOpen`     | `BOOL` |                   |
| Output      | `xOutClose`    | `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/en/hvac-library/functionblocks/binary/abs3p.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.
