# RefRoomMaster

## `RefRoomMaster` (FB)

FUNCTION\_BLOCK RefRoomMaster IMPLEMENTS IRefRoomMaster

### Short description

> Summary of the energy demand of multiple rooms with selection of the largest room temperature deviation\
> \
> Typical application: Creation of a reference room for a heating or cooling circuit to adjust the supply setpoint temperature

### Representation

<figure><img src="/files/fb8db829f9521044551d225abb7b70188fef1f64" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                     | Type           | Initial                            |
| ----------- | ------------------------ | -------------- | ---------------------------------- |
| Input Const | `eMode`                  | RefRoomOption  | RefRoomOption.Max\_DeltaTemRoom\_H |
| Output      | `itfRefRoom`             | IRefRoomMaster | THIS^                              |
| Output      | `xEnergyRequest`         | `BOOL`         |                                    |
| Output      | `rSetPtTemp`             | `REAL`         |                                    |
| Output      | `rRoomTemp`              | `REAL`         |                                    |
| Output      | `udiNumberOfRooms`       | `UDINT`        |                                    |
| Output      | `sInstanceRoomSetPtTemp` | `STRING`       |                                    |
| Output      | `sInstanceRoomTemp`      | `STRING`       |                                    |
| Output      | `sMacroSetPtTemp`        | `STRING`       |                                    |
| Output      | `sMacroRoomTemp`         | `STRING`       |                                    |


---

# 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/en/hvac-library/functionblocks/optimizer/refroommaster.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.
