> 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-bacnet2-library/funktionsbausteine/server-objekte/master_for_serverobjects_pou.md).

# MASTER\_FOR\_SERVEROBJECTS\_POU

## `MASTER_FOR_SERVEROBJECTS_POU` (FB)

FUNCTION\_BLOCK MASTER\_FOR\_SERVEROBJECTS\_POU IMPLEMENTS IMasterForServerObjectsPOU

InOut:

| Scope       | Name                                          | Type                                       | Initial  | Comment                                                                                                                                                                                                                                                                                                                                                                 |
| ----------- | --------------------------------------------- | ------------------------------------------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `refBACnet2_Server`                           | <p>REFERENCE TO<br>BACnet.BACnetServer</p> | 0        | <p>Reference to the BACnet object of type ‘BACnet2\_Server’ in the<br>device tree</p>                                                                                                                                                                                                                                                                                   |
| Output      | `dwNumberOfBACnetServerObjects`               | `DWORD`                                    |          | <p>Total number of BACnet server objects ( device tree<br>and/or POU )</p>                                                                                                                                                                                                                                                                                              |
| Output      | `dwNumberOfBACnetServerObjectsPOU_Registered` | `DWORD`                                    |          | Number of registered BACnet server objects ( POU )                                                                                                                                                                                                                                                                                                                      |
| Output      | `dwNumberOfBACnetServerObjectsPOU_Placed`     | `DWORD`                                    |          | Number of placed BACnet server objects ( POU )                                                                                                                                                                                                                                                                                                                          |
| Output      | `dwIndexTriggeringUpdateActual`               | `DWORD`                                    |          | <p>Loop index for selecting a placed FB to<br>update the structure variable ‘stProperties’</p>                                                                                                                                                                                                                                                                          |
| Output      | `eStringType`                                 | `BACnet.CmpBACnet.IEC_BACNET_STRING_TYPE`  |          | <p>String type for all strings of the BACnet server and its<br>objects ( type: DINT )</p>                                                                                                                                                                                                                                                                               |
| Output      | `itfMasterConnector`                          | IMasterForServerObjectsPOU                 | THIS^    | <p>Interface output for connecting slave -<br>function blocks</p>                                                                                                                                                                                                                                                                                                       |
| Input Const | `xEnUpdateIndexTriggering`                    | `BOOL`                                     | TRUE     | <p>Enable / disable the automatic update of the index ‘gvlBACnet2.dwIndexTriggeringUpdateActual’<br>TRUE: Enable automatic update ( gvlBACnet2.dwIndexTriggeringUpdateActual changes with each cycle between 1 and gvlBACnet2.dwNumberOfBACnetServerObjectsPOU\_Placed<br>FALSE: Disable automatic update ( gvlBACnet2.dwIndexTriggeringUpdateActual = 0 constant )</p> |
| Input Const | `tTimeUpdateObjectList`                       | `TIME`                                     | TIME#0ms | Time period for updating the object list                                                                                                                                                                                                                                                                                                                                |

Methods:

> DecNumberOfBACnetServerObjectsPOU\_Registered

> FB\_Exit

> IncNumberOfBACnetServerObjectsPOU\_Placed

> IncNumberOfBACnetServerObjectsPOU\_Registered

> ShowObjectList

> UpdateIndexTriggeringUpdateActual

Structure:

* DecNumberOfBACnetServerObjectsPOU\_Registered (Method)
* FB\_Exit (Method)
* IncNumberOfBACnetServerObjectsPOU\_Placed (Method)
* IncNumberOfBACnetServerObjectsPOU\_Registered (Method)
* ShowObjectList (Method)
* UpdateIndexTriggeringUpdateActual (Method)


---

# 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-bacnet2-library/funktionsbausteine/server-objekte/master_for_serverobjects_pou.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.
