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

## `SAMSUNG_INTESIS_IDU_FC04_RXXX0_RXX38` (FB)

FUNCTION\_BLOCK SAMSUNG\_INTESIS\_IDU\_FC04\_RXXX0\_RXX38

### Short description

> Acquisition of actual values - 1 from Samsung - indoor units\
> \
> Typical application: Central acquisition of actual values from Samsung - indoor units via the Samsung - INTESIS - gateway\\

#### 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 baud rates are supported (RTU): ?????\
For addressing, the Modbus address notation must be used.\
\
\&#xNAN;**\*\*\*\*\*\*\*\*\*\*\*\*\*\***\
\&#xNAN;**\* Functions \***\
\&#xNAN;**\*\*\*\*\*\*\*\*\*\*\*\*\*\***\
\
In this FB the relevant actual values (registers 0 - 37) of an indoor unit are read and evaluated (FC03: addresses XXX0 - XX37).\
The selection of the indoor unit is made 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'.\
Registers 0 - 14, 16 - 17 and 20 - 38 are read. Registers 15 and 18 - 19 may only be written.\
Registers in the range 39 - 61 are not read because they are not required for the specific application.\
\
Measured values - calibration: unclear class\
\\

InOut:

| Scope       | Name                           | Type                                 | Initial    | Comment                                                                                                                                                                                                 |
| ----------- | ------------------------------ | ------------------------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                          | `BOOL`                               | TRUE       | Enable / disable communication ( TRUE = enabled )                                                                                                                                                       |
| 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 'eErrorCodeCom' (on each<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>Indicates whether the calibration of the sensors of the indoor units must be performed in<br>the indoor unit (TRUE = calibration required in the device, FALSE = calibration required in the FB)</p> |
| Output      | `xAlarm`                       | `BOOL`                               | FALSE      | General fault ( TRUE = fault )                                                                                                                                                                          |
| Output      | `xAlarmCom`                    | `BOOL`                               | FALSE      | General 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 operations influenced by the input<br>'xUpdateActual'</p>                                                                                                                        |
