# POWERIO\_T1\_R310

## `POWERIO_T1_R310` (FB)

FUNCTION\_BLOCK POWERIO\_T1\_R310

InOut:

| Scope       | Name                    | Type                           | Initial                                  | Comment                                                                                                                                                       |
| ----------- | ----------------------- | ------------------------------ | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                         | TRUE                                     | Enable / disable of communication ( TRUE = enabled )                                                                                                          |
| Input       | `byUnitId`              | `BYTE`                         | 0                                        | Address of the device                                                                                                                                         |
| Input       | `xUpdateActual`         | `BOOL`                         | FALSE                                    | <p>Update of actual values ( on each rising edge<br>)</p>                                                                                                     |
| Input       | `xUpdateStates`         | `BOOL`                         | FALSE                                    | <p>Update of states (on every rising edge<br>)</p>                                                                                                            |
| Input       | `xUpdateSetp`           | `BOOL`                         | FALSE                                    | <p>Update of setpoints ( on each rising edge<br>)</p>                                                                                                         |
| Input       | `xResError`             | `BOOL`                         | FALSE                                    | <p>Reinitialization of the outputs ‘eErrorCodeCom’ and<br>‘xErrorCodeDev’ to the error-free state (on every<br>rising edge)</p>                               |
| Input       | `xDO1`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 1 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO2`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 2 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO3`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 3 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO4`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 4 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO5`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 5 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO6`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 6 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO7`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 7 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO8`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 8 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO9`                  | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 9 (FET) (<br>FALSE = Off )</p>                                                                                         |
| Input       | `xDO10`                 | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 10 (FET) (<br>FALSE = Off )</p>                                                                                        |
| Input       | `xDO11`                 | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 11 (FET) (<br>FALSE = Off )</p>                                                                                        |
| Input       | `xDO12`                 | `BOOL`                         | FALSE                                    | <p>Setting the state of digital output 12 (FET) (<br>FALSE = Off )</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      | `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      | `xDO8_Fb`               | `BOOL`                         |                                          | State of digital output DO8 (FALSE = Off)                                                                                                                     |
| Output      | `xDO9_Fb`               | `BOOL`                         |                                          | State of digital output DO9 (FALSE = Off)                                                                                                                     |
| Output      | `xDO10_Fb`              | `BOOL`                         |                                          | State of digital output D10 (FALSE = Off)                                                                                                                     |
| Output      | `xDO11_Fb`              | `BOOL`                         |                                          | State of digital output D11 (FALSE = Off)                                                                                                                     |
| Output      | `xDO12_Fb`              | `BOOL`                         |                                          | State of digital output D12 (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      | `eAOO_DO8`              | eManBin                        |                                          | State of manual override on digital output DO8                                                                                                                |
| Output      | `eAOO_DO9`              | eManBin                        |                                          | State of manual override on digital output DO9                                                                                                                |
| Output      | `eAOO_DO10`             | eManBin                        |                                          | State of manual override on digital output DO10                                                                                                               |
| Output      | `eAOO_DO11`             | eManBin                        |                                          | State of manual override on digital output DO11                                                                                                               |
| Output      | `eAOO_DO12`             | eManBin                        |                                          | State of manual override on digital output DO12                                                                                                               |
| Output      | `rAI1_PT1000`           | `REAL`                         |                                          | <p>Measured temperature at analog input 1 (PT1000) (<br>-30.0°C = short circuit / open circuit )</p>                                                          |
| Output      | `xAlarm_AI1_PT1000`     | `BOOL`                         | FALSE                                    | <p>Fault - short circuit / open circuit of analog input 1 (<br>PT1000) (TRUE = Fault)</p>                                                                     |
| Output      | `rAI2_PT1000`           | `REAL`                         |                                          | <p>Measured temperature 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      | `xSensorOffsetInDevice` | `BOOL`                         |                                          | <p>Indicates whether sensor calibration must be performed in the device<br>(TRUE = calibration required in device, 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                                    | 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\_R310\_ERROR\_CODE | POWERIO\_T1\_R310\_ERROR\_CODE.NO\_ERROR | Error code - device (0 = no error)                                                                                                                            |
| Output      | `xBusy`                 | `BOOL`                         |                                          | Communication indicator ( TRUE = communication )                                                                                                              |
| Input Const | `rAI2_PT1000Offset`     | `REAL`                         | 0.0                                      | <p>Constant measurement offset for the transmitted resistance<br>- measured value 2</p>                                                                       |
| Input Const | `rAI1_PT1000Offset`     | `REAL`                         | 0.0                                      | <p>Constant measurement offset for the transmitted resistance<br>- measured value 1</p>                                                                       |
| Input Const | `xDO12_SafeState_Sta`   | `BOOL`                         | FALSE                                    | <p>State of digital output 12 in Safe State operation (FALSE<br>= Off )</p>                                                                                   |
| Input Const | `xDO11_SafeState_Sta`   | `BOOL`                         | FALSE                                    | <p>State of digital output 11 in Safe State operation (FALSE<br>= Off )</p>                                                                                   |
| Input Const | `xDO10_SafeState_Sta`   | `BOOL`                         | FALSE                                    | <p>State of digital output 10 in Safe State operation (FALSE<br>= Off )</p>                                                                                   |
| Input Const | `xDO9_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 9 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO8_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 8 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO7_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 7 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO6_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 6 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO5_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 5 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO4_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 4 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO3_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 3 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO2_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 2 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO1_SafeState_Sta`    | `BOOL`                         | FALSE                                    | <p>State of digital output 1 in Safe State operation (FALSE =<br>Off )</p>                                                                                    |
| Input Const | `xDO12_SafeState_En`    | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 12 for Safe State<br>operation (TRUE = enabled )</p>                                                                       |
| Input Const | `xDO11_SafeState_En`    | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 11 for Safe State<br>operation (TRUE = enabled )</p>                                                                       |
| Input Const | `xDO10_SafeState_En`    | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 10 for Safe State<br>operation (TRUE = enabled )</p>                                                                       |
| Input Const | `xDO9_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 9 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO8_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 8 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO7_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 7 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO6_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 6 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO5_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 5 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO4_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 4 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO3_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 3 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO2_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 2 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `xDO1_SafeState_En`     | `BOOL`                         | FALSE                                    | <p>Enable / disable digital output 1 for Safe State<br>operation (TRUE = enabled )</p>                                                                        |
| Input Const | `tTimeSafeState`        | `TIME`                         | TIME#0ms                                 | <p>Time duration for activation of the 'Safe State' condition in<br>case of communication failure (integer multiples of 1s )</p>                              |
| Input Const | `tTimeUpdateStates`     | `TIME`                         | TIME#500ms                               | <p>Update interval for operations affected by the input<br>‘xUpdateStates’</p>                                                                                |
| Input Const | `tTimeMinChangeValue`   | `TIME`                         | TIME#0ms                                 | Minimum time duration before transmitting a setpoint due to a detected value change                                                                           |
| Input Const | `tTimeUpdateSetp`       | `TIME`                         | TIME#45s0ms                              | <p>Update interval for the processes affected by the input<br>‘xUpdateSetp’</p>                                                                               |
| Input Const | `tTimeUpdateActual`     | `TIME`                         | TIME#3s0ms                               | <p>Update interval for the processes affected by the input<br>‘xUpdateActual’</p>                                                                             |
