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

# BurnerP

## `BurnerP` (FB)

FUNCTION\_BLOCK BurnerP

### Short description

> Control of a heat generator (temperature control via analog power signal 0.0 - 100.0 %)\
> \
> Typical application: heat generation

### Representation

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

### Functional description

#### General

This function block is used to control/regulate a heat generator depending on the heat generator demand *xEn*, the supply setpoint temperature *rSetPtTemp* and the supply temperature *rFdT*.\
Enable/disable of the heat generator is via output *xHB* (FALSE = lockout, TRUE = enable).\
The flow temperature control (also boiler temperature control) is carried out by means of a power controller (PI controller) via the analog output *rHa* in the range of **rYMin** to **rYMax**.\
The release of the control is delayed by two seconds (setpoint / parameter **udiWaitControl**) after the operating feedback (*xFb* = TRUE) of the heat generator.\
\
Essentially the following function blocks are used:

ControlPI

OperatingHours

ManBin

ManNum

#### Enable / disable of the heat generator

The enabling of the heat generator (*xAB* = TRUE, *xHB* = TRUE (eManModeB = eManBin.Auto)) occurs if the supply temperature *rFdT* the sum of supply setpoint temperature *rSetPtTemp* and setpoint / parameter **rSwitchOnPoint** falls below, at the same time the general enable *xEn* is active (= TRUE) and the minimum off time is not active.\
The disabling of the heat generator (*xAB* = FALSE, *xHB* = FALSE (eManModeB = eManBin.Auto)) occurs if the supply temperature *rFdT* the sum of supply setpoint temperature *rSetPtTemp* and setpoint / parameter **rSwitchOffPoint** exceeds and at the same time the general enable *xEn* is active (= TRUE).\
Between two successive operating cycles, a minimum off time (duration = **udiTimeMinOff**, display - remaining time: *tOnDelay*) is inserted.\
The minimum off time begins each time with the falling edge (TRUE > FALSE) at input *xFb*.

#### Temperature control of the heat generator

The enabling of temperature control occurs with a time delay (duration = **udiWaitControl**, display - remaining time: *tOnControlDelay*) after the active operating message (*xFb* = TRUE) of the heat generator.\
The disabling of the temperature control occurs immediately after the inactive operating message (*xFb* = FALSE) of the heat generator (power signal - heat generator before manual override *rAA* in the locked state = **rYDisabled**).\
The internal power controller (PI controller, output range: **rYMin** to **rYMax**) is enabled/locked with the temperature control. (Setpoint = flow setpoint temperature *rSetPtTemp*, actual value = supply temperature *rFdT*).\
\
The parameters of the internal power controller can be individually configured:\
\
Power controller - Upper absolute limit value of the output signal in % : **rYMax**\
Power controller - Lower absolute limit value of the output signal in % : **rYMin**\
Power controller - reset time in s : **rTn**\
Power controller - gain factor : **rKp**\
Power controller - offset temperature in °C : **rOffset**\
Power controller - initialization value for the output signal in % : **rInitValue**\
Power controller - switch-off value in % : **rYDisabled**\
\
The output signal of the power controller is fed directly to the output *rAA* supplied.

#### Manual override of the digital output *xHB*

The enabling / locking of the heat generator (*xHB*) can be operated either in automatic mode (eMANBIN.Auto) or in one of the two manual operating modes (eMANBIN.ManOn, eMANBIN.ManOff).

| *xAB* | eMANBIN        | *xHB* | Notes                                     |
| ----- | -------------- | ----- | ----------------------------------------- |
| FALSE | eMANBIN.Auto   | FALSE | Manual override module in automatic mode  |
| TRUE  | eMANBIN.Auto   | TRUE  | Manual override module in automatic mode  |
| X     | eMANBIN.ManOn  | TRUE  | Manual override module in manual mode On  |
| X     | eMANBIN.ManOff | FALSE | Manual override module in manual mode Off |

Legend: X = any

#### Manual override of the analog output *rHA*

The output signal of the power controller (*rHA*) can be operated either in automatic mode (eMANNUM.Auto) or in manual mode (eMANNUM.Man).

| *rAA* | eMANNUM      | *rHA*         | Notes                                    |
| ----- | ------------ | ------------- | ---------------------------------------- |
| Value | eMANNUM.Auto | Value         | Manual override module in automatic mode |
| X     | eMANNUM.Man  | **rManValue** | Manual override module in manual mode    |

Legend: X = any

#### Collective fault *xAlarm*

The collective fault *xAlarm* is active (= TRUE), if the fault message of the heat generator *xAlarmIn* is active (= TRUE).\
In all other situations, the collective fault *xAlarm* not active (= FALSE).

#### Collective automatic operation message *xAuto*

The collective automatic operation message *xAuto* is activated (= TRUE) if the following conditions are simultaneously met:

* Input *eAOO* = HVACTYPES.eManBin.Auto
* Input *eAO* = HVACTYPES.eManNum.Auto
* Setpoint / parameter **eManModeB** = eMANBIN.Auto
* Setpoint / parameter **eManModeN** = eMANNUM.Auto

#### Operating hours counter - heat generator

The operating hours counter (*udiOperatingHours*, *udiCountFb*) for the heat generator is active when the operating message is active (*xFb* = TRUE).

> **Write access to the counter values**
>
> Via the path ‘InstanceName.\_OperatingHours.udiOperatingHours’ or ‘InstanceName.\_OperatingHours.udiCountFb’, write access to both counter values is possible.
>
> **Prerequisite for using the BurnerP function block**
>
> For correct operation, the use of the TimeRead2 function block is required.

#### Feedback of the heat generator power *rU*

The current **actual** power of the heat generator can be connected at input *rU* .\
This input is currently not used for control and regulation purposes.

#### Feedback of the manual value for the power signal from the manual override - hardware *rPoti*

The feedback of the manual value can be at input *rPoti* .\
This input is currently not used for control and regulation purposes.

#### Inactive state (*xEn* = FALSE)

| *xHB*                            | *xAB* | *rHA*                                     | *rAA*          | *tOnDelay* | *tOnControlDelay* | *dtLastFb* | *udiOperatingHours* | *udiCountFb* | *xAlarm*            | *xAuto*   | Notes         |
| -------------------------------- | ----- | ----------------------------------------- | -------------- | ---------- | ----------------- | ---------- | ------------------- | ------------ | ------------------- | --------- | ------------- |
| FALSE (eManModeB = eManBin.Auto) | FALSE | **rYDisabled** (eManModeN = eManNum.Auto) | **rYDisabled** | old value  | old value         | old value  | old value           | old value    | State of *xAlarmIn* | old value | *xEn* = FALSE |

Legend: X = any

### CODESYS

InOut:

| Scope       | Name                | Type    | Initial      |
| ----------- | ------------------- | ------- | ------------ |
| Input       | `xEn`               | `BOOL`  |              |
| Input       | `rSetPtTemp`        | `REAL`  |              |
| Input       | `xFb`               | `BOOL`  |              |
| Input       | `rU`                | `REAL`  | 0            |
| Input       | `xAlarmIn`          | `BOOL`  |              |
| Input       | `eAOO`              | eManBin | eManBin.Auto |
| Input       | `eAO`               | eManNum | eManNum.Auto |
| Input       | `rPoti`             | `REAL`  |              |
| Input       | `rFdT`              | `REAL`  |              |
| Output      | `xHB`               | `BOOL`  |              |
| Output      | `xAB`               | `BOOL`  |              |
| Output      | `rHA`               | `REAL`  |              |
| Output      | `rAA`               | `REAL`  |              |
| Output      | `tOnDelay`          | `TIME`  |              |
| Output      | `tOnControlDelay`   | `TIME`  |              |
| Output      | `dtLastFb`          | `DT`    |              |
| Output      | `udiOperatingHours` | `UDINT` |              |
| Output      | `udiCountFb`        | `UDINT` |              |
| Output      | `xAlarm`            | `BOOL`  |              |
| Output      | `xAuto`             | `BOOL`  |              |
| Input Const | `udiTimeTOFxFb`     | `UDINT` | 7            |
| Input Const | `rYMax`             | `REAL`  | 100          |
| Input Const | `rYMin`             | `REAL`  | 0            |
| Input Const | `rTn`               | `REAL`  | 200          |
| Input Const | `rKp`               | `REAL`  | 2            |
| Input Const | `rOffset`           | `REAL`  | 0            |
| Input Const | `rInitValue`        | `REAL`  | 0            |
| Input Const | `rYDisabled`        | `REAL`  | 0            |
| Input Const | `udiWaitControl`    | `UDINT` | 3            |
| Input Const | `rSwitchOffPoint`   | `REAL`  | 2.5          |
| Input Const | `rSwitchOnPoint`    | `REAL`  | -2.5         |
| Input Const | `udiTimeMinOff`     | `UDINT` | 3            |
| Input Const | `rManValue`         | `REAL`  | 0            |
| Input Const | `eManModeN`         | eMANNUM | eMANNUM.Auto |
| Input Const | `eManModeB`         | eMANBIN | eMANBIN.Auto |


---

# 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/burnerp.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.
