# KNX\_Write\_DPT\_5x

## `KNX_Write_DPT_5x` (FB)

FUNCTION\_BLOCK KNX\_Write\_DPT\_5x EXTENDS SlaveBasicWr

InOut:

| Scope       | Name                      | Type            | Initial    | Comment                                                                                                                      | Inherited from |
| ----------- | ------------------------- | --------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------- |
| Input       | `itfKnxConnector`         | `IKnxConnector` |            | <p>IMasterConnector interface input to register/unregister<br>the FB to the list on the Master</p>                           | SlaveBasicWr   |
| Input       | `xEnable`                 | `BOOL`          | TRUE       |                                                                                                                              | SlaveBasicWr   |
| Output      | `sPhysicallAddressDevice` | `STRING(15)`    |            |                                                                                                                              | SlaveBasicWr   |
| Output      | `sGroupAddress`           | `STRING(15)`    |            |                                                                                                                              | SlaveBasicWr   |
| Input       | `xUpdateSetp`             | `BOOL`          | FALSE      | <p>Update of setpoint values (on every rising edge<br>)</p>                                                                  |                |
| Input       | `rValue`                  | `REAL`          |            |                                                                                                                              |                |
| Input Const | `xWriteVisu`              | `BOOL`          |            | Single Read                                                                                                                  |                |
| Input Const | `uiDelta`                 | `REAL`          | 1          | Specification of the delta value                                                                                             |                |
| Input Const | `eDPT_Format`             | DPT\_5x         |            | Enum DPT\_5x                                                                                                                 |                |
| Input Const | `byAdrGroup`              | `BYTE`          | 0          | Group address                                                                                                                |                |
| Input Const | `byAdrMiddleGroup`        | `BYTE`          | 0          | Middle group address                                                                                                         |                |
| Input Const | `byAdrMainGroup`          | `BYTE`          | 0          | Main group address                                                                                                           |                |
| Input Const | `tTimeUpdateSetp`         | `TIME`          | TIME#0ms   | <p>Update interval for operations influenced by the input<br>‘xUpdateSetp’ 0 = no automatic<br>update, > 0 cyclic update</p> |                |
| Input Const | `tPauseTimeUntilNextSend` | `TIME`          | TIME#3s0ms | Pause after sending 0 = no pause                                                                                             |                |
| Output      | `sUnit`                   | `STRING(10)`    |            |                                                                                                                              |                |
| Output      | `tNextWrite`              | `TIME`          |            |                                                                                                                              |                |
| Output      | `rLastBusValue`           | `REAL`          |            |                                                                                                                              |                |


---

# 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-knx-library/functionblocks/knx_write_dpt_5x.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.
