# POWERIO\_T1\_R100

## `POWERIO_T1_R100` (FB)

FUNCTION\_BLOCK POWERIO\_T1\_R100

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       | `xUpdateStates`         | `BOOL`                         | FALSE                                    | <p>Update of the states ( 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                                    | Reinitialization of the outputs 'eErrorCodeCom' and 'xErrorCodeDev' to the error-free state (on each rising edge)                                                         |
| Input       | `xDO1`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 1 (FET) (<br>FALSE = Off )</p>                                                                                                         |
| Input       | `xDO2`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 2 (FET) (<br>FALSE = Off )</p>                                                                                                         |
| Input       | `xDO3`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 3 (FET) (<br>FALSE = Off )</p>                                                                                                         |
| Input       | `xDO4`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 4 (FET) (<br>FALSE = Off )</p>                                                                                                         |
| Input       | `xDO5`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 5 (relay) (<br>FALSE = Off )</p>                                                                                                       |
| Input       | `xDO6`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 6 (relay) (<br>FALSE = Off )</p>                                                                                                       |
| Input       | `xDO7`                  | `BOOL`                         | FALSE                                    | <p>Set the state of digital output 7 (relay) (<br>FALSE = Off )</p>                                                                                                       |
| Input       | `rAO1`                  | `REAL`                         | 0.0                                      | <p>Set the state at analog output 1 ( 0.0 - 100.0%<br>corresponding to 0.000 - 10.000 V ))</p>                                                                            |
| Inout       | `ModbusClient`          | `ModbusClientBase`             |                                          | Client of the device                                                                                                                                                      |
| Output      | `xDI1`                  | `BOOL`                         |                                          | State of digital input DI1 ( FALSE = Off )                                                                                                                                |
| Output      | `xDI2`                  | `BOOL`                         |                                          | State of digital input DI2 ( FALSE = Off )                                                                                                                                |
| Output      | `xDI3`                  | `BOOL`                         |                                          | State of digital input DI3 ( FALSE = Off )                                                                                                                                |
| Output      | `xDI4`                  | `BOOL`                         |                                          | State of digital input DI4 ( FALSE = Off )                                                                                                                                |
| Output      | `xDI5`                  | `BOOL`                         |                                          | State of digital input DI5 ( FALSE = Off )                                                                                                                                |
| Output      | `xDI6`                  | `BOOL`                         |                                          | State of digital input DI6 ( FALSE = Off )                                                                                                                                |
| Output      | `xDO1_Fb`               | `BOOL`                         |                                          | State of digital output DO1 ( FALSE = Off )                                                                                                                               |
| Output      | `xDO2_Fb`               | `BOOL`                         |                                          | State of digital output DO2 ( FALSE = Off )                                                                                                                               |
| Output      | `xDO3_Fb`               | `BOOL`                         |                                          | State of digital output DO3 ( FALSE = Off )                                                                                                                               |
| Output      | `xDO4_Fb`               | `BOOL`                         |                                          | State of digital output DO4 ( FALSE = Off )                                                                                                                               |
| Output      | `xDO5_Fb`               | `BOOL`                         |                                          | State of digital output DO5 ( FALSE = Off )                                                                                                                               |
| Output      | `xDO6_Fb`               | `BOOL`                         |                                          | State of digital output DO6 ( FALSE = Off )                                                                                                                               |
| Output      | `xDO7_Fb`               | `BOOL`                         |                                          | State of digital output DO7 ( FALSE = Off )                                                                                                                               |
| Output      | `eAOO_DO1`              | eManBin                        |                                          | State of manual override on digital output DO1                                                                                                                            |
| Output      | `eAOO_DO2`              | eManBin                        |                                          | State of manual override on digital output DO2                                                                                                                            |
| Output      | `eAOO_DO3`              | eManBin                        |                                          | State of manual override on digital output DO3                                                                                                                            |
| Output      | `eAOO_DO4`              | eManBin                        |                                          | State of manual override on digital output DO4                                                                                                                            |
| Output      | `eAOO_DO5`              | eManBin                        |                                          | State of manual override on digital output DO5                                                                                                                            |
| Output      | `eAOO_DO6`              | eManBin                        |                                          | State of manual override on digital output DO6                                                                                                                            |
| Output      | `eAOO_DO7`              | eManBin                        |                                          | State of manual override on digital output DO7                                                                                                                            |
| Output      | `eAO_AO1`               | eManNum                        |                                          | State of manual override on analog output AO1                                                                                                                             |
| Output      | `xStateDevGreen`        | `BOOL`                         |                                          | State of the status LED green ( TRUE = On )                                                                                                                               |
| Output      | `xStateDevRed`          | `BOOL`                         |                                          | State of the status LED red ( TRUE = On )                                                                                                                                 |
| Output      | `rAI1`                  | `REAL`                         |                                          | Actual value of the voltage at analog input 1 ( 0.0 - 10.0 V )                                                                                                            |
| Output      | `rAI2_PT1000`           | `REAL`                         |                                          | <p>Actual temperature value at analog input 2 (PT1000) (<br>-30.0°C = short circuit / open circuit )</p>                                                                  |
| Output      | `xAlarm_AI2_PT1000`     | `BOOL`                         | FALSE                                    | <p>Fault - short circuit / open circuit of analog input 2 (<br>PT1000) ( TRUE = Fault )</p>                                                                               |
| Output      | `rAI2_Resist`           | `REAL`                         |                                          | Actual value of the resistance at analog input 2 ( XXXX Ohm )                                                                                                             |
| Output      | `xSensorOffsetInDevice` | `BOOL`                         |                                          | <p>Indicator whether the calibration of the sensors must be<br>performed in the device (TRUE = calibration in device required, FALSE = calibration in<br>FB required)</p> |
| Output      | `wTypeID`               | `WORD`                         |                                          | Identification of the device                                                                                                                                              |
| Output      | `wFirmwareVer`          | `WORD`                         |                                          | Firmware version of the device                                                                                                                                            |
| 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\_R100\_ERROR\_CODE | POWERIO\_T1\_R100\_ERROR\_CODE.NO\_ERROR | Error code - device (0 = no error)                                                                                                                                        |
| Output      | `xBusy`                 | `BOOL`                         |                                          | Communication indicator ( TRUE = communication )                                                                                                                          |
| Input Const | `rAI2_ResistOffset`     | `REAL`                         | 0.0                                      | <p>Constant measurement offset for the transmitted resistance<br>- actual value</p>                                                                                       |
| Input Const | `rAI2_PT1000Offset`     | `REAL`                         | 0.0                                      | <p>Constant measurement offset for the transmitted temperature<br>- actual value</p>                                                                                      |
| Input Const | `rAO1_SafeState_Sta`    | `REAL`                         | 0.0                                      | <p>State of analog output 1 in safestate operation ( 0.000<br>… +10.000 V )</p>                                                                                           |
| Input Const | `xDO7_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 7 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xDO6_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 6 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xDO5_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 5 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xDO4_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 4 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xDO3_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 3 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xDO2_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 2 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xDO1_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 1 in safestate operation ( FALSE =<br>Off )</p>                                                                                                |
| Input Const | `xAO1_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable of analog output 1 for safestate<br>operation ( TRUE = enabled )</p>                                                                                  |
| Input Const | `xDO7_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 7 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `xDO6_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 6 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `xDO5_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 5 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `xDO4_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 4 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `xDO3_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 3 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `xDO2_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 2 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `xDO1_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 1 for safestate<br>operation ( TRUE = Enabled )</p>                                                                                    |
| Input Const | `tTimeSafeState`        | `TIME`                         | TIME#0ms                                 | <p>Duration for activation of the ‘safestate’ condition in case<br>of communication failure (integer multiples of 1s,<br>minimum 5s )</p>                                 |
| Input Const | `tTimeMinChangeValue`   | `TIME`                         | TIME#0ms                                 | <p>Minimum duration before transmitting a setpoint<br>due to a detected value change</p>                                                                                  |
| Input Const | `tTimeUpdateSetp`       | `TIME`                         | TIME#45s0ms                              | <p>Update interval for operations influenced by the input<br>'xUpdateSetp'</p>                                                                                            |
| Input Const | `tTimeUpdateStates`     | `TIME`                         | TIME#500ms                               | <p>Update interval for the processes influenced by the input<br>‘xUpdateStates’</p>                                                                                       |
| Input Const | `tTimeUpdateActual`     | `TIME`                         | TIME#3s0ms                               | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                          |
