> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/hvac-modbusio2-lib/funktionsbausteine/h1_8ai.md).

# H1\_8AI

## `H1_8AI` (FB)

FUNCTION\_BLOCK H1\_8AI EXTENDS SlaveModuleSoftOverwrite IMPLEMENTS ISlaveModule

InOut:

| Scope       | Name                          | Type             | Initial                          | Comment                                                                                                                                                                                                                                                                                                                                                                                                                     | Inherited from                                |
| ----------- | ----------------------------- | ---------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| Input       | `itfModbusConnector`          | IModbusConnector |                                  |                                                                                                                                                                                                                                                                                                                                                                                                                             | BaseSlave                                     |
| Output      | `xInitRunning`                | `BOOL`           |                                  | <p><code>xInitRunning</code> is <code>TRUE</code>, while the initialization<br>is performed on the first start.</p>                                                                                                                                                                                                                                                                                                         | BaseSlave                                     |
| Output      | `xInitFinished`               | `BOOL`           |                                  | <p><code>xInitFinished</code> is <code>TRUE</code>, as soon as on the first start<br>all parameters have been sent to the module.</p>                                                                                                                                                                                                                                                                                       | BaseSlave                                     |
| Output      | `xAlarmCom`                   | `BOOL`           |                                  | <p><code>xAlarmCom</code> is <code>TRUE</code>, when there is a<br>communication error.</p>                                                                                                                                                                                                                                                                                                                                 | BaseSlave                                     |
| Output      | `xBusy`                       | `BOOL`           |                                  | <p><code>xBusy</code> is <code>TRUE</code>, when a Modbus request is being<br>executed.</p>                                                                                                                                                                                                                                                                                                                                 | BaseSlave                                     |
| Output      | `usiConfiguredSlaveID`        | `USINT`          |                                  | Shows the currently set slave ID                                                                                                                                                                                                                                                                                                                                                                                            | BaseSlave                                     |
| Output      | `eError`                      | ERROR            |                                  | No error = `ERROR.No_Error`                                                                                                                                                                                                                                                                                                                                                                                                 | BaseSlave                                     |
| Output      | `stDebugOutput`               | DebugOutput      |                                  |                                                                                                                                                                                                                                                                                                                                                                                                                             | BaseSlave                                     |
| Input       | `xEnable`                     | `BOOL`           | TRUE                             | <p>Disables the module and resets all outputs to the<br>default initialization value</p>                                                                                                                                                                                                                                                                                                                                    | BaseSlaveModule                               |
| Input       | `xReinitModule`               | `BOOL`           |                                  | <p>Reinitializes the module and sends all parameters to the<br>module</p>                                                                                                                                                                                                                                                                                                                                                   | BaseSlaveModule                               |
| Input       | `xResetModule`                | `BOOL`           |                                  | <p>Resets the module, clears the EEPROM memory, performs<br>a lamp test and restarts the module (Warning:<br>Afterwards autobauding is re-enabled)</p>                                                                                                                                                                                                                                                                      | BaseSlaveModule                               |
| Output      | `wFirmware`                   | `WORD`           |                                  | Shows the current firmware of the module                                                                                                                                                                                                                                                                                                                                                                                    | BaseSlaveModule                               |
| Output      | `xAuto`                       | `BOOL`           |                                  | <p><code>FALSE</code> = At least one input and/or one output are<br>in state <code>eManBin <> eManBin.Auto</code>. <code>TRUE</code> = All<br>inputs and outputs have the state eManBin =<br>eManBin.Auto (Note: If overriding by dip<br>switch (hardware) is disabled and the output is in<br>state <code>eManBin <> eManBin.Auto</code>, xAuto remains<br><br><code>TRUE</code>. Evaluation is performed per output.)</p> | BaseSlaveModule                               |
| Output      | `xAutoSoftware`               | `BOOL`           |                                  | <p><code>FALSE</code> = At least one input and/or output are<br>by parameter (software) in state <code>eManBin <>\<br/>eManBin.Auto</code>. <code>TRUE</code> = All inputs and outputs are<br>by parameter (software) in state <code>eManBin =\<br/>eManBin.Auto</code>.</p>                                                                                                                                                | SlaveModuleSoftOverwrite                      |
| Output      | `rAI1Raw`                     | `REAL`           |                                  | Raw value Analog Input 1 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI2Raw`                     | `REAL`           |                                  | Raw value Analog Input 2 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI3Raw`                     | `REAL`           |                                  | Raw value Analog Input 3 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI4Raw`                     | `REAL`           |                                  | Raw value Analog Input 4 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI5Raw`                     | `REAL`           |                                  | Raw value Analog Input 5 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI6Raw`                     | `REAL`           |                                  | Raw value Analog Input 6 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI7Raw`                     | `REAL`           |                                  | Raw value Analog Input 7 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI8Raw`                     | `REAL`           |                                  | Raw value Analog Input 8 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI1`                        | `REAL`           |                                  | Processed Analog Input 1 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI2`                        | `REAL`           |                                  | Processed Analog Input 2 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI3`                        | `REAL`           |                                  | Processed Analog Input 3 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI4`                        | `REAL`           |                                  | Processed Analog Input 4 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI5`                        | `REAL`           |                                  | Processed Analog Input 5 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI6`                        | `REAL`           |                                  | Processed Analog Input 6 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI7`                        | `REAL`           |                                  | Processed Analog Input 7 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `rAI8`                        | `REAL`           |                                  | Processed Analog Input 8 of AI8                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Output      | `xAI1_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 1 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI2_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 2 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI3_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 3 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI4_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 4 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI5_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 5 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI6_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 6 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI7_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 7 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Output      | `xAI8_Alarm`                  | `BOOL`           |                                  | Limit violation Analog Input 8 of AI8                                                                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI8_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI8_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI8_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI8_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI8_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI8_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI8_FilterActive`           | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI8_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI8_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI8_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI8_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI8_LimitActive`            | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI8_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI8_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI8_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI8_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI8_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI8_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI8_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI8_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI8_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI7_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI7_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI7_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI7_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI7_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI7_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI7_FilterActive`           | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI7_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI7_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI7_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI7_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI7_LimitActive`            | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI7_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI7_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI7_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI7_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI7_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI7_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI7_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI7_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI7_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI6_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI6_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI6_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI6_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI6_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI6_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI6_FilterActive`           | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI6_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI6_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI6_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI6_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI6_LimitActive`            | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI6_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI6_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI6_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI6_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI6_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI6_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI6_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI6_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI6_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI5_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI5_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI5_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI5_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI5_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI5_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI5_FilterActive`           | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI5_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI5_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI5_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI5_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI5_LimitActive`            | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI5_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI5_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI5_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI5_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI5_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI5_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI5_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI5_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI5_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI4_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI4_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI4_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI4_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI4_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI4_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI4_FilterAktiv`            | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI4_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI4_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI4_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI4_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI4_LimitAktiv`             | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI4_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI4_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI4_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI4_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI4_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI4_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI4_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI4_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI4_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI3_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI3_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI3_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI3_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI3_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI3_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI3_FilterAktiv`            | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI3_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI3_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI3_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI3_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI3_LimitAktiv`             | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI3_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI3_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI3_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI3_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI3_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI3_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI3_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI3_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI3_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI2_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI2_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI2_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI2_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI2_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI2_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI2_FilterAktiv`            | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI2_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI2_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI2_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI2_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI2_LimitAktiv`             | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI2_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI2_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI2_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI2_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI2_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI2_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI2_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI2_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI2_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI1_ManNum`                 | eManNum          | eManNum.Auto                     | Manual override of the analog input                                                                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `rAI1_ManValue`               | `REAL`           |                                  | Value for the manual override                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `tAI1_InitDelayFilter`        | `TIME`           | TIME#20s0ms                      | <p>Start delay of the filter when selecting initialization:<br>Delayed input value</p>                                                                                                                                                                                                                                                                                                                                      |                                               |
| Input Const | `rAI1_InitValueFilter`        | `REAL`           | 100                              | <p>Initial value for the filter when selecting initialization:<br>Initial value</p>                                                                                                                                                                                                                                                                                                                                         |                                               |
| Input Const | `eAI1_InitialFilter`          | InitializeType   | InitializeType.InputValueDelayed | Selection of the type of initialization                                                                                                                                                                                                                                                                                                                                                                                     |                                               |
| Input Const | `tAI1_TimeConstantFilter`     | `TIME`           | TIME#10s0ms                      | Value for the time constant of the filtering                                                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `xAI1_FilterAktiv`            | `BOOL`           | TRUE                             | TRUE = Filter function activated                                                                                                                                                                                                                                                                                                                                                                                            | <p>FALSE = filter function<br>deactivated</p> |
| Input Const | `rAI1_ReplacementValueLimit`  | `REAL`           | -50                              | Replacement value used in the 'Replace Value' selection in the 'On error' field                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `eAI1_ReplacementOptionLimit` | LimiterMode      | LimiterMode.ReplacementValue     | Specification of the value that will be adopted in an active error condition                                                                                                                                                                                                                                                                                                                                                |                                               |
| Input Const | `rAI1_MaxLimit`               | `REAL`           | 150                              | <p>Maximum value specification (activates error output on<br>exceeding)</p>                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `rAI1_MinLimit`               | `REAL`           | -50                              | <p>Minimum value specification (activates error output on<br>falling below)</p>                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `xAI1_LimitAktiv`             | `BOOL`           | TRUE                             | TRUE = limit function activated                                                                                                                                                                                                                                                                                                                                                                                             | <p>FALSE =<br>limit function deactivated</p>  |
| Input Const | `rAI1_Offset`                 | `REAL`           | 0                                | Specification of the offset value (correction value)                                                                                                                                                                                                                                                                                                                                                                        |                                               |
| Input Const | `iAI1_MinMaxOffsetTwoPoint`   | `INT`            | 0                                | Offset value for the min and max range in %                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `xAI1_MinMaxLimitTwoPoint`    | `BOOL`           | FALSE                            | Enables the min and max limit                                                                                                                                                                                                                                                                                                                                                                                               |                                               |
| Input Const | `rAI1_Y2TwoPoint`             | `REAL`           | 100                              | Y-axis point Y2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI1_Y1TwoPoint`             | `REAL`           | 0                                | Y-axis point Y1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI1_X2TwoPoint`             | `REAL`           | 100                              | X-axis point X2                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI1_X1TwoPoint`             | `REAL`           | 0                                | X-axis point X1                                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `rAI1_Delta`                  | `REAL`           | 0.2                              | <p>Specification of the delta value - depending on selection<br>“Function/Sensor”</p>                                                                                                                                                                                                                                                                                                                                       |                                               |
| Input Const | `eAI1_FunctionModeType`       | AIType           | AIType.Type\_PT1000              | Configuration of the input type                                                                                                                                                                                                                                                                                                                                                                                             |                                               |
| Input Const | `tReadInputs`                 | `TIME`           | TIME#1s0ms                       | <p>Query time for digital inputs (Note: The query time<br>must not be greater than the time of <code>tBusTimeout</code> .)</p>                                                                                                                                                                                                                                                                                              |                                               |
| Input Const | `tBusTimeout`                 | `TIME`           | TIME#20s0ms                      | `T#0s` = No bus timeout = No SafeState mode                                                                                                                                                                                                                                                                                                                                                                                 |                                               |
| Input Const | `usiSlaveID`                  | `USINT`          | 10                               | The slave address for the module                                                                                                                                                                                                                                                                                                                                                                                            |                                               |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-modbusio2-lib/funktionsbausteine/h1_8ai.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
