> 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-library/functionblocks/numeric/mannum.md).

# ManNum

## `ManNum` (FB)

FUNCTION\_BLOCK ManNum EXTENDS MANASBase IMPLEMENTS IMan

### Short description

> Manual override for a numeric signal

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-3e4fdfcfea4f75a4d12c356049821e594e777c66%2Fimage.png?alt=media" 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* |

### Functional 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 mode with *rIn*     |
| X     | eManNum.Man   | **rManValue** | Manual mode with manual value |

Legend: X = any

### Visualization

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

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2F6C3dzAXNlf3Ri6hiZlJ1%2FManNum.png?alt=media&amp;token=54425662-1f52-4455-9b92-9db6ca2bf7fb" alt=""><figcaption></figcaption></figure>

#### Interfaces visualization element

| Name              | Data type    | Type         | Initial value | Function                                                                                                              |
| ----------------- | ------------ | ------------ | ------------- | --------------------------------------------------------------------------------------------------------------------- |
| **eManModeN**     | HVAC.eMANNUM | VAR\_IN\_OUT |               | Enter eManModeN from the FB ManNum here, e.g. PRG.ManNum.eManModeN                                                    |
| **rManValue**     | REAL         | VAR\_IN\_OUT |               | Enter the manual value rManValue from the FB ManNum here, e.g. PRG.ManNum.rManValue                                   |
| **bDecimals**     | BYTE         | VAR\_INPUT   | 1             | Enter the 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 the unit in 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 falls below it. 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 in the numpad during input.                 |

{% hint style="info" %}
Note: VAR\_IN\_OUT interfaces must be assigned; VAR\_INPUT is 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
