# ManNum

## `ManNum` (FB)

FUNCTION\_BLOCK ManNum EXTENDS MANASBase IMPLEMENTS IMan

### Short description

> Manual override for a numeric signal

### Representation

<figure><img src="/files/ca02c1d46bdf030f5ccb68279046e5f847bbb0e4" alt=""><figcaption></figcaption></figure>

### Interfaces

#### Inputs

| Name  | Data type | Value range | Initial value | Function      |
| ----- | --------- | ----------- | ------------- | ------------- |
| *rIn* | REAL      |             |               | Numeric input |

#### Outputs

| Name   | Data type | Value range | Initial value | Function       |
| ------ | --------- | ----------- | ------------- | -------------- |
| *rOut* | REAL      |             |               | Numeric output |

#### Setpoints / parameters

| Name          | Data type | Value range               | Initial value | Function                                            |
| ------------- | --------- | ------------------------- | ------------- | --------------------------------------------------- |
| **rManValue** | REAL      |                           | 0.0           | Manual value                                        |
| **eManModeN** | eManNum   | eManNum.Auto, eManNum.Man | eManNum.Auto  | Operating mode for the numeric output signal *rOut* |

### Function description

#### General

This function block is used for manual override of a numeric input signal *rIn*.

#### Numeric output *rOut*

| *rIn* | **eManModeN** | *rOut*        | Notes                              |
| ----- | ------------- | ------------- | ---------------------------------- |
| Value | eManNum.Auto  | Value         | Automatic operation with *rIn*     |
| X     | eManNum.Man   | **rManValue** | Manual operation with manual value |

Legend: X = any

### Visualization

Matching visualization element from the HVACV Visu Library: **ManNum**

### Representation

<figure><img src="/files/a00ea53eaafb66f2686b149f7a613b7177c96a24" alt=""><figcaption></figcaption></figure>

#### Interfaces Visu-Element

| Name              | Data type    | Type         | Initial value | Function                                                                                                         |
| ----------------- | ------------ | ------------ | ------------- | ---------------------------------------------------------------------------------------------------------------- |
| **eManModeN**     | HVAC.eMANNUM | VAR\_IN\_OUT |               | Enter eManModeN from FB ManNum here e.g. PRG.ManNum.eManModeN                                                    |
| **rManValue**     | REAL         | VAR\_IN\_OUT |               | Enter manual value rManValue from FB ManNum here e.g. PRG.ManNum.rManValue                                       |
| **bDecimals**     | BYTE         | VAR\_INPUT   | 1             | Enter number of decimal places here e.g. 0 = XX ; 1 = XX.X ; 2 = XX.XX The display is not rounded but truncated. |
| **sUnit**         | STRING       | VAR\_INPUT   |               | Enter unit as a string format e.g. '°C' or '%'                                                                   |
| **rMinInputVisu** | REAL         | VAR\_INPUT   | 0             | Min input that appears on the numpad and lights up red when the value is undercut. Input is then not possible.   |
| **rMaxInputVisu** | REAL         | VAR\_INPUT   | 100           | Max input that appears on the numpad and lights up red when the value is exceeded. Input is then not possible.   |
| **sDialogTitle**  | STRING       | VAR\_INPUT   |               | Enter the title in string format e.g.: 'Input room temperature' - appears on the numpad during input.            |

{% hint style="info" %}
Note: VAR\_IN\_OUT interfaces must be assigned, VAR\_INPUT are optional.
{% endhint %}

### CODESYS

InOut:

| Scope       | Name        | Type    | Initial      |
| ----------- | ----------- | ------- | ------------ |
| Input       | `rIn`       | `REAL`  |              |
| Input Const | `rManValue` | `REAL`  | 0            |
| Input Const | `eManModeN` | eManNum | eManNum.Auto |
| Output      | `rOut`      | `REAL`  |              |


---

# Agent Instructions: 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:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-library/functionblocks/numeric/mannum.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
