# POWERIO\_T1\_BSK2\_XXX\_EASY

## `POWERIO_T1_BSK2_XXX_EASY` (FB)

FUNCTION\_BLOCK POWERIO\_T1\_BSK2\_XXX\_EASY

InOut:

| Scope       | Name                 | Type               | Initial    | Comment                                                                                                                                                                        |
| ----------- | -------------------- | ------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Input       | `xEn`                | `BOOL`             | TRUE       | Enable / disable communication ( TRUE = enabled )                                                                                                                              |
| Input       | `byUnitId`           | `BYTE`             | 0          | Address of the device                                                                                                                                                          |
| Input       | `xUpdateActual`      | `BOOL`             | FALSE      | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                                      |
| Input       | `xUpdateSetp`        | `BOOL`             | FALSE      | <p>Update of setpoint values (on every rising edge<br>)</p>                                                                                                                    |
| Input       | `xResError`          | `BOOL`             | FALSE      | <p>Reinitialization of the output 'eErrorCodeCom' to the<br>error-free state / reset of the fault status of the<br>fire dampers (on every rising edge )</p>                    |
| Input       | `xFD1`               | `BOOL`             | FALSE      | <p>Set the state of the output for fire damper 1<br>( FALSE = closed )</p>                                                                                                     |
| Input       | `xFD2`               | `BOOL`             | FALSE      | <p>Setting the state of the output of fire damper 2<br>( FALSE = Closed )</p>                                                                                                  |
| Input       | `xResAutoFDx`        | `BOOL`             | FALSE      | <p>Switch the manual override of the outputs for the<br>fire dampers to automatic mode (on every<br>rising edge )</p>                                                          |
| Input       | `xSendSysCommand`    | `BOOL`             | FALSE      | <p>Activate transmission of the system command ( register 6 )<br>( on every rising edge AND wSysCommand > 0 )</p>                                                              |
| Inout       | `ModbusClient`       | `ModbusClientBase` |            | Client of the device                                                                                                                                                           |
| Output      | `xFD1_Open`          | `BOOL`             |            | Feedback - fire damper 1 open ( TRUE = open )                                                                                                                                  |
| Output      | `xFD1_Closed`        | `BOOL`             |            | <p>Feedback - fire damper 1 closed ( TRUE =<br>closed )</p>                                                                                                                    |
| Output      | `xFD1_Fb`            | `BOOL`             |            | <p>Feedback - state of the output of fire damper 1 (<br>FALSE = closed )</p>                                                                                                   |
| Output      | `eAOO_FD1`           | eManBin            |            | <p>State of the manual override at the output of<br>fire damper 1</p>                                                                                                          |
| Output      | `xFD2_Open`          | `BOOL`             |            | Feedback - fire damper 2 open ( TRUE = Open )                                                                                                                                  |
| Output      | `xFD2_Closed`        | `BOOL`             |            | <p>Feedback - fire damper 2 closed ( TRUE =<br>Closed )</p>                                                                                                                    |
| Output      | `xFD2_Fb`            | `BOOL`             |            | <p>Feedback - state of the output of fire damper 2 (<br>FALSE = Closed )</p>                                                                                                   |
| Output      | `eAOO_FD2`           | eManBin            |            | <p>State of the manual override at the output of<br>fire damper 2</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      | `stErrorCodeFD1`     | `STRING`           |            | <p>String with the bit numbers of the active errors of<br>fire damper 1 ( '' = no error )</p>                                                                                  |
| Output      | `stErrorCodeFD2`     | `STRING`           |            | <p>String with the bit numbers of the active errors of<br>fire damper 2 ( ‘’ = no error )</p>                                                                                  |
| Output      | `xBusy`              | `BOOL`             |            | Communication indicator ( TRUE = communication )                                                                                                                               |
| Input Const | `xDIxInversion`      | `BOOL`             | FALSE      | <p>Set the inversion of the digital inputs DIx ( FALSE:<br>no inversion // TRUE = inversion )</p>                                                                              |
| Input Const | `wSysCommand`        | `WORD`             | 0          | <p>Value of the system command to be transmitted ( FC06 - register 6<br>) ( 0 = no function, values > 0 see documentation<br>T1\_BSK1\_XXX )</p>                               |
| Input Const | `xFD2_SafeState_Sta` | `BOOL`             | TRUE       | <p>State of the digital output for fire damper 2 in<br>safe-state operation ( TRUE = Open )</p>                                                                                |
| Input Const | `xFD2_SafeState_En`  | `BOOL`             | FALSE      | <p>Enable / disable of the digital output for the<br>fire damper 2 for safe-state operation ( TRUE =<br>Enabled )</p>                                                          |
| Input Const | `xFD1_SafeState_Sta` | `BOOL`             | TRUE       | <p>State of the digital output for fire damper 1 in<br>safestate operation ( TRUE = open )</p>                                                                                 |
| Input Const | `xFD1_SafeState_En`  | `BOOL`             | FALSE      | <p>Enable / disable the digital output for<br>fire damper 1 for safestate operation ( TRUE =<br>enabled )</p>                                                                  |
| Input Const | `tTimeSafeState`     | `TIME`             | TIME#0ms   | <p>Duration for activation of the 'Safestate' condition in case<br>of communication failure ( 0 = no timeout/safe-state<br>function, integer multiples of 1s, minimum 5s )</p> |
| Input Const | `tTimeUpdateSetp`    | `TIME`             | TIME#0ms   | <p>Update interval for operations influenced by the input<br>'xUpdateSetp'</p>                                                                                                 |
| Input Const | `tTimeUpdateActual`  | `TIME`             | TIME#3s0ms | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                               |
