# POWERIO\_T1\_R100\_8DI\_FULL

## `POWERIO_T1_R100_8DI_FULL` (FB)

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

### Representation

<figure><img src="/files/11513e550e30f07eaa6921190fccce135f6466d7" 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>                                           |


---

# 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/powerio/powerio_t1_r100_8di_full.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.
