> 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/components/cooloutprotection.md).

# CoolOutProtection

## `CoolOutProtection` (FB)

FUNCTION\_BLOCK CoolOutProtection

### Short description

> Activation of a cool-down protection mode with adjustable minimum operating time (controlled variable: room temperature)\
> \
> Typical application: activation of the cool-down protection mode in standby operation of a ventilation system

### Representation

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

### Functional description

#### General

This function block controls the activation of the cool-down protection mode (*xEn* = TRUE) with an adjustable minimum operating time **udiMinTime**\
by comparing the room temperature *rRoomTemp* with the threshold for the cool-down protection mode *rSetPtTempCoolOut*.\
The minimum operating time is activated whenever the room temperature *rRoomTemp* the threshold *rSetPtTempCoolOut* falls below it by at least 0.4 K.\
At the output *tOffDelay\** during the minimum operating time, the elapsed minimum operating time is shown in the range 0 - *udiMinTime* displayed.

#### Enable / block of the cool-down protection mode *xEn*

| *xReqAHU* | *rRoomTemp*                 | Minimum operating time active | *xEn* | Notes                                                                             |
| --------- | --------------------------- | ----------------------------- | ----- | --------------------------------------------------------------------------------- |
| TRUE      | X                           | X                             | FALSE | Cool-down protection mode blocked via ventilation system                          |
| FALSE     | > *rSetPtTempCoolOut* + 0.4 | FALSE                         | FALSE | Cool-down protection mode blocked via room temperature                            |
| FALSE     | < *rSetPtTempCoolOut* - 0.4 | FALSE                         | TRUE  | Cool-down protection mode enabled via room temperature                            |
| FALSE     | X                           | TRUE                          | TRUE  | Cool-down protection mode enabled via minimum operating time                      |
| FALSE     | < *rSetPtTempCoolOut* - 0.4 | TRUE                          | TRUE  | Cool-down protection mode enabled via room temperature and minimum operating time |

Legend: X = any

### CODESYS

InOut:

| Scope       | Name                | Type    | Initial      |
| ----------- | ------------------- | ------- | ------------ |
| Input       | `rSetPtTempCoolOut` | `REAL`  |              |
| Input       | `rRoomTemp`         | `REAL`  |              |
| Input       | `xReqAHU`           | `BOOL`  |              |
| Output      | `xEn`               | `BOOL`  |              |
| Output      | `tOffDelay`         | `TIME`  |              |
| Input Const | `eMinTimeBase`      | eTime   | eTime.Minute |
| Input Const | `udiMinTime`        | `UDINT` | 30           |


---

# 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/components/cooloutprotection.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.
