# POWERIO\_T1\_B100\_EASY

## `POWERIO_T1_B100_EASY` (FB)

FUNCTION\_BLOCK POWERIO\_T1\_B100\_EASY

InOut:

| Scope       | Name                | Type                           | Initial                                  | Comment                                                                                                           |
| ----------- | ------------------- | ------------------------------ | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                         | TRUE                                     | Enable / disable communication ( TRUE = enabled )                                                                 |
| Input       | `byUnitId`          | `BYTE`                         | 248                                      | Address of the device                                                                                             |
| Input       | `xUpdateActual`     | `BOOL`                         | FALSE                                    | <p>Update of actual values (on every rising edge<br>)</p>                                                         |
| Input       | `xResError`         | `BOOL`                         | FALSE                                    | Reinitialization of the outputs 'eErrorCodeCom' and 'xErrorCodeDev' to the error-free state (on each rising edge) |
| Inout       | `ModbusClient`      | `ModbusClientBase`             |                                          | Client of the device                                                                                              |
| Output      | `sHostName`         | `STRING`                       |                                          | Hostname of the box                                                                                               |
| Output      | `sBoxName`          | `STRING`                       |                                          | Name of the box                                                                                                   |
| Output      | `sSerialNumber`     | `STRING`                       |                                          | Serial number of the box                                                                                          |
| Output      | `rTemp_CPU`         | `REAL`                         |                                          | Temperature of the CPU                                                                                            |
| Output      | `rTemp_Sys_1`       | `REAL`                         |                                          | Temperature of Sys 1 chip                                                                                         |
| Output      | `rU_24V`            | `REAL`                         |                                          | Voltage of the 24VDC supply                                                                                       |
| Output      | `rI_24V`            | `REAL`                         |                                          | Current of the 24VDC supply                                                                                       |
| Output      | `ltUpTime`          | `LTIME`                        |                                          | Operating time since the last restart                                                                             |
| 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      | `eErrorCodeDev`     | POWERIO\_T1\_B100\_ERROR\_CODE | POWERIO\_T1\_B100\_ERROR\_CODE.NO\_ERROR | Error code - device (0 = no error)                                                                                |
| Output      | `xBusy`             | `BOOL`                         |                                          | Communication indicator ( TRUE = communication )                                                                  |
| Input Const | `tTimeUpdateActual` | `TIME`                         | TIME#5m0s0ms                             | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                  |
