# SAMSUNG\_INTESIS\_IDU\_FC04\_RXXX0\_RXX38

## `SAMSUNG_INTESIS_IDU_FC04_RXXX0_RXX38` (FB)

`FUNCTION_BLOCK` SAMSUNG\_INTESIS\_IDU\_FC04\_RXXX0\_RXX38

### Short description

> Capture of actual values - 1 from Samsung - indoor units
>
> Typical application: Central capture of actual values from Samsung - indoor units via the Samsung - INTESIS - gateway

### Representation

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

#### Guidelines - Software creation

The following function codes (FC) are supported: 3, 4 and 6 The following modes are supported: Modbus RTU and Modbus TCP The following transmission rates are supported (RTU): ????? The Modbus address specifications must be used for addressing.

\&#xNAN;**\*\*\*\*\*\*\*\*\*\*\*\*\*\*** \&#xNAN;**\* Functions \*** \&#xNAN;**\*\*\*\*\*\*\*\*\*\*\*\*\*\***

In this function block, the relevant actual values (registers 0 - 37) of an indoor unit are captured and evaluated (FC03: addresses XXX0 - XX37). The indoor unit is selected via the input `byIUAddress` in the range 1 - 64. The actual values of an indoor unit are available in the structure element `stIndoorUnits_ActualValues_1` available. Registers 0 - 14, 16 - 17 and 20 - 38 are read. Registers 15 and 18 - 19 may only be written. The registers in the range 39 - 61 are not read, as they are not needed for the specific application.

Measured values - matching: unclear class

InOut:

| Scope       | Name                           | Type                                 | Initial    | Comment                                                                                                                                                                                                 |
| ----------- | ------------------------------ | ------------------------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                          | `BOOL`                               | TRUE       | Enable / disable communication (TRUE = enable)                                                                                                                                                          |
| Input       | `byUnitId`                     | `BYTE`                               | 0          | Address of the device (interface) (1 .. 15)                                                                                                                                                             |
| Input       | `xUpdateActual`                | `BOOL`                               | FALSE      | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                                                               |
| Input       | `xResError`                    | `BOOL`                               | FALSE      | <p>Reinitialization of the output <code>eErrorCodeCom</code> (with every<br>rising edge)</p>                                                                                                            |
| Input       | `byIUAddress`                  | `BYTE`                               | 1          | Number of the indoor unit (range 1 - 64)                                                                                                                                                                |
| Inout       | `ModbusClient`                 | `ModbusClientBase`                   |            | Client of the device                                                                                                                                                                                    |
| Output      | `stIndoorUnits_ActualValues_1` | SAMSUNG\_INTESIS\_CURRENT\_VALUES\_1 |            | Structure element with the actual values - 1 of the indoor unit                                                                                                                                         |
| Output      | `xSensorOffsetInDevice`        | `BOOL`                               |            | <p>Display showing whether the matching of the sensors of the indoor units in<br>the indoor unit must be performed (TRUE = matching in the device<br>required, FALSE = matching in the FB required)</p> |
| Output      | `xAlarm`                       | `BOOL`                               | FALSE      | Collective fault (TRUE = fault)                                                                                                                                                                         |
| Output      | `xAlarmCom`                    | `BOOL`                               | FALSE      | Collective fault - communication (TRUE = fault)                                                                                                                                                         |
| Output      | `eErrorCodeCom`                | ModbusErrorCode                      |            | Error code - communication (0 = no error)                                                                                                                                                               |
| Output      | `xBusy`                        | `BOOL`                               |            | Communication indicator (TRUE = communication)                                                                                                                                                          |
| Input Const | `tTimeUpdateActual`            | `TIME`                               | TIME#5s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                                                                               |


---

# 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-modbus-library/functionblocks/samsung/samsung_intesis_idu_fc04_rxxx0_rxx38.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.
