# IMI\_TA\_SLIDER\_160

## `IMI_TA_SLIDER_160` (FB)

`FUNCTION_BLOCK` IMI\_TA\_SLIDER\_160

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FHrdaPMeTS396CuStcuyo%2FIMI_TA_SLIDER_160.png?alt=media&#x26;token=66416e55-314d-4051-895a-bb0961658d92" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                    | Type                               | Initial                                            | Comment                                                                                                                                                                        |
| ----------- | ----------------------- | ---------------------------------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Input       | `xEn`                   | `BOOL`                             | TRUE                                               | Enable / disable communication (TRUE = enable)                                                                                                                                 |
| Input       | `byUnitId`              | `BYTE`                             | 1                                                  | <p>Device address (1… 247, default =<br>factory setting)</p>                                                                                                                   |
| Input       | `xUpdateActual`         | `BOOL`                             | FALSE                                              | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                                      |
| Input       | `xUpdateSetp`           | `BOOL`                             | FALSE                                              | <p>Update of setpoints (on every rising edge<br>)</p>                                                                                                                          |
| Input       | `xResError`             | `BOOL`                             | FALSE                                              | <p>Reinitialization of the outputs <code>eErrorCodeCom</code> or<br><code>xErrorCodeDev</code> to the fault-free state (on every rising edge)</p>                              |
| Input       | `rSetpPosition`         | `REAL`                             | 0.0                                                | <p>Setpoint - Position in % (0.0 - 100.0 %) (Default: 0.0%<br>= spindle extended, configuration via app)</p>                                                                   |
| Input       | `xForceCalib`           | `BOOL`                             | FALSE                                              | <p>Triggering a calibration process (on every rising<br>edge)</p>                                                                                                              |
| Input       | `xRelayState_Mod`       | `BOOL`                             | FALSE                                              | <p>Setting the state of the relay via Modbus (TRUE =<br>activation) (configuration via app)</p>                                                                                |
| Input       | `xInputState_Mod`       | `BOOL`                             | FALSE                                              | <p>Setting the state of the digital input via Modbus (<br>TRUE = active) (configuration via app)</p>                                                                           |
| Inout       | `ModbusClient`          | `ModbusClientBase`                 |                                                    | Client of the device                                                                                                                                                           |
| Output      | `rSetpPositionFb`       | `REAL`                             |                                                    | <p>Feedback - Setpoint - Position in % (0.0 - 100.0 %) (<br>Default: 0.0% = spindle extended, configuration via app<br>)</p>                                                   |
| Output      | `rVolumeFlow`           | `REAL`                             |                                                    | <p>Current volumetric flow in the selected unit (parameter<br><code>eFlowUnit</code>) (available depending on device type)</p>                                                 |
| Output      | `stSerialNumber`        | `STRING`                           |                                                    | Device serial number                                                                                                                                                           |
| Output      | `rPosition`             | `REAL`                             |                                                    | <p>Current position in % (0.0 - 100.0 %) (Default: 0.0% =<br>spindle extended)</p>                                                                                             |
| Output      | `rCalibStroke`          | `REAL`                             |                                                    | <p>Measured total stroke during the calibration process (in<br>micrometers, 1000 micrometers = 1 mm, maximum 6300 micrometers<br>)</p>                                         |
| Output      | `eMotorStatus`          | TA\_SLIDER\_160\_MOTOR\_STATUS     |                                                    | Current status of the actuator                                                                                                                                                 |
| Output      | `dwSecSinceReset`       | `DWORD`                            |                                                    | <p>Number of seconds since the last restart (=<br>power return 24VAC/DC)</p>                                                                                                   |
| Output      | `xInputState`           | `BOOL`                             |                                                    | Current state of the external binary input                                                                                                                                     |
| Output      | `xRelayState`           | `BOOL`                             |                                                    | Current state of the relay                                                                                                                                                     |
| Output      | `eCharacteristic`       | TA\_SLIDER\_160\_CHARACTERISTIC    |                                                    | <p>Current characteristic of the control signal (stroke =<br>f(rSetpPosition), configuration via app)</p>                                                                      |
| Output      | `eSetpSource`           | TA\_SLIDER\_160\_SETP\_SOURCE      |                                                    | <p>Current source for the setpoint - position (configuration<br>via app)</p>                                                                                                   |
| Output      | `stValveName`           | `STRING`                           | ''                                                 | <p>Name of the valve (configuration via app, only via<br><code>xUpdateActual</code> read access, function for setting in the app<br>still missing - status 30.09.2021)</p>     |
| Output      | `stObjectName`          | `STRING`                           | ''                                                 | <p>Name of the object (configuration via app, only via<br><code>xUpdateActual</code> read access)</p>                                                                          |
| Output      | `stLocalName`           | `STRING`                           | ''                                                 | <p>Location of the valve (configuration via app, only via<br><code>xUpdateActual</code> read access, function for setting in the app<br>still missing - status 30.09.2021)</p> |
| Output      | `rTemperature1`         | `REAL`                             |                                                    | <p>Current temperature from sensor 1 in the selected unit (<br>parameter <code>eTemperatureUnit</code>) (PT1000)</p>                                                           |
| Output      | `rTemperature2`         | `REAL`                             |                                                    | <p>Current temperature from sensor 2 in the selected unit (<br>parameter <code>eTemperatureUnit</code>) (PT1000)</p>                                                           |
| Output      | `xSensorOffsetInDevice` | `BOOL`                             |                                                    | <p>Indication of whether the sensors must be calibrated in the device<br>(TRUE = calibration in the device required, FALSE = calibration in the<br>FB required)</p>            |
| Output      | `xAlarm`                | `BOOL`                             | FALSE                                              | Collective fault (TRUE = fault)                                                                                                                                                |
| Output      | `xAlarmCom`             | `BOOL`                             | FALSE                                              | Collective fault - communication (TRUE = fault)                                                                                                                                |
| Output      | `eErrorCodeCom`         | ModbusErrorCode                    |                                                    | Error code - communication (0 = no error)                                                                                                                                      |
| Output      | `stErrorCodeDev`        | `STRING`                           |                                                    | String with the numbers of the active device errors (Bit 0 = number 1, Bit 1 = number 2, etc.)                                                                                 |
| Output      | `xBusy`                 | `BOOL`                             |                                                    | Communication indicator (TRUE = communication)                                                                                                                                 |
| Input Const | `rTemperatur2Offset`    | `REAL`                             | 0.0                                                | <p>Constant measurement offset for the transmitted temperature<br>- actual value 2</p>                                                                                         |
| Input Const | `rTemperatur1Offset`    | `REAL`                             | 0.0                                                | <p>Constant measurement offset for the transmitted temperature<br>- actual value 1</p>                                                                                         |
| Input Const | `eFlowUnit`             | TA\_SLIDER\_160\_FLOW\_UNIT        | TA\_SLIDER\_160\_FLOW\_UNIT.LITER\_PER\_HOUR       | <p>Influence: Outputs: rTemperature1<br>Unit for the flow measurement values</p>                                                                                               |
| Input Const | `eTemperatureUnit`      | TA\_SLIDER\_160\_TEMPERATURE\_UNIT | TA\_SLIDER\_160\_TEMPERATURE\_UNIT.DEGREE\_CELSIUS | Unit for the temperature measurement values                                                                                                                                    |
| Input Const | `tTimeUpdateSetp`       | `TIME`                             | TIME#45s0ms                                        | <p>Update interval for the processes influenced by the input<br><code>xUpdateSetp</code> influenced</p>                                                                        |
| Input Const | `tTimeUpdateActual`     | `TIME`                             | TIME#3s0ms                                         | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                                                      |
