# POWERIO\_T1\_R100\_8DI\_FULL

## `POWERIO_T1_R100_8DI_FULL` (FB)

`FUNCTION_BLOCK` POWERIO\_T1\_R100\_8DI\_FULL

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FAFxmbRBeGEn9YhldNlpJ%2FHVACModbus.POWERIO_T1_R100_8DI_FULL.png?alt=media&#x26;token=4cf61424-a92d-4f47-9aa9-37e3660fd1a7" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type                                | Initial                                         | Comment                                                                                                                                             |
| ----------- | ------------------- | ----------------------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                              | TRUE                                            | Enable / disable communication (TRUE = enable)                                                                                                      |
| Input       | `byUnitId`          | `BYTE`                              | 0                                               | Device address                                                                                                                                      |
| Input       | `xUpdateActual`     | `BOOL`                              | FALSE                                           | <p>Update of actual values (on every rising edge<br>)</p>                                                                                           |
| Input       | `xUpdateSetp`       | `BOOL`                              | FALSE                                           | <p>Update of setpoints (on every rising edge<br>)</p>                                                                                               |
| Input       | `xResError`         | `BOOL`                              | FALSE                                           | <p>Reinitialization of the outputs <code>eErrorCodeCom</code> or<br><code>xErrorCodeDev</code> to the fault-free state (on every rising edge)</p>   |
| Inout       | `ModbusClient`      | `ModbusClientBase`                  |                                                 | Client of the device                                                                                                                                |
| Output      | `xDI1`              | `BOOL`                              |                                                 | <p>State of digital input DI1 (function depending on<br>the operating mode <code>eDI1\_Mode</code>)</p>                                             |
| Output      | `xDI2`              | `BOOL`                              |                                                 | <p>State of digital input DI2 (function depending on<br>the operating mode <code>eDI2\_Mode</code>)</p>                                             |
| Output      | `xDI3`              | `BOOL`                              |                                                 | <p>State of digital input DI3 (function depending on<br>the operating mode <code>eDI3\_Mode</code>)</p>                                             |
| Output      | `xDI4`              | `BOOL`                              |                                                 | <p>State of digital input DI4 (function depending on<br>the operating mode <code>eDI4\_Mode</code>)</p>                                             |
| Output      | `xDI5`              | `BOOL`                              |                                                 | <p>State of digital input DI5 (function depending<br>on the operating mode <code>eDI5\_Mode</code>)</p>                                             |
| Output      | `xDI6`              | `BOOL`                              |                                                 | <p>State of digital input DI6 (function depending<br>on the operating mode <code>eDI6\_Mode</code>)</p>                                             |
| Output      | `xDI7`              | `BOOL`                              |                                                 | <p>State of digital input DI7 (function depending on<br>the operating mode <code>eDI7\_Mode</code>)</p>                                             |
| Output      | `xDI8`              | `BOOL`                              |                                                 | <p>State of digital input DI8 (function depending on<br>the operating mode <code>eDI8\_Mode</code>)</p>                                             |
| Output      | `dwDI1_Counter`     | `DWORD`                             |                                                 | <p>Absolute counter for the number of rising edges at<br>digital input DI1</p>                                                                      |
| Output      | `dwDI2_Counter`     | `DWORD`                             |                                                 | <p>Absolute counter for the number of rising edges at<br>digital input DI2</p>                                                                      |
| Output      | `dwDI3_Counter`     | `DWORD`                             |                                                 | <p>Absolute counter for the number of rising edges at<br>digital input DI3</p>                                                                      |
| Output      | `dwDI4_Counter`     | `DWORD`                             |                                                 | <p>Absolute counter for the number of rising edges at<br>digital input DI4</p>                                                                      |
| Output      | `dwDI5_Counter`     | `DWORD`                             |                                                 | Absolute counter for the number of rising edges at digital input DI5                                                                                |
| Output      | `dwDI6_Counter`     | `DWORD`                             |                                                 | Absolute counter for the number of rising edges at digital input DI6                                                                                |
| Output      | `dwDI7_Counter`     | `DWORD`                             |                                                 | Absolute counter for the number of rising edges at digital input DI7                                                                                |
| Output      | `dwDI8_Counter`     | `DWORD`                             |                                                 | Absolute counter for the number of rising edges at digital input DI8                                                                                |
| Output      | `wTypeID`           | `WORD`                              |                                                 | <p>Identification of the device (25508 = T1.R100-8DI, 25507 =<br>T1.R100-4DI)</p>                                                                   |
| Output      | `wFirmwareVer`      | `WORD`                              |                                                 | Firmware version of the device                                                                                                                      |
| 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      | `eErrorCodeDev`     | POWERIO\_T1\_R100\_8DI\_ERROR\_CODE | POWERIO\_T1\_R100\_8DI\_ERROR\_CODE.NO\_ERROR   | Error code - device (0 = no error)                                                                                                                  |
| Output      | `xBusy`             | `BOOL`                              |                                                 | Communication indicator (TRUE = communication)                                                                                                      |
| Input Const | `wSysCommand`       | `WORD`                              | 0                                               | <p>Value of the system command to be transmitted (FC06 - register 6<br>) (0 = no command, values > 0 see documentation<br>T1\_R100\_8DI)</p>        |
| Input Const | `tTimeDI_Pulse`     | `TIME`                              | TIME#250ms                                      | Common pulse duration for outputs xDI1 - xDI8                                                                                                       |
| Input Const | `eDI8_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI8                                                                                                                       |
| Input Const | `eDI7_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI7                                                                                                                       |
| Input Const | `eDI6_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI6                                                                                                                       |
| Input Const | `eDI5_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI5                                                                                                                       |
| Input Const | `eDI4_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI4                                                                                                                       |
| Input Const | `eDI3_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI3                                                                                                                       |
| Input Const | `eDI2_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI2                                                                                                                       |
| Input Const | `eDI1_Mode`         | POWERIO\_T1\_R100\_8DI\_DI\_MODE    | POWERIO\_T1\_R100\_8DI\_DI\_MODE.DIGITAL\_INPUT | Operating mode of output xDI1                                                                                                                       |
| Input Const | `wDIxInversion`     | `WORD`                              | 0                                               | <p>Inversion of inputs DI1 - DI8 (bitwise, bit 0: DI1,<br>Bit1: DI2, etc.) (0 = no inversion of the inputs //<br>255 = inversion of all inputs)</p> |
| Input Const | `tTimeUpdateSetp`   | `TIME`                              | TIME#45s0ms                                     | <p>Update interval for the processes influenced by the input<br><code>xUpdateSetp</code> influenced</p>                                             |
| Input Const | `tTimeUpdateActual` | `TIME`                              | TIME#1s0ms                                      | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                           |
