# ManBin

## `ManBin` (FB)

FUNCTION\_BLOCK ManBin EXTENDS MANASBase IMPLEMENTS IMan

### Short description

> Manual override for a binary signal

### Representation

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

### Interfaces

#### Inputs

| Name  | Data type | Value range | Initial value | Function     |
| ----- | --------- | ----------- | ------------- | ------------ |
| *xIn* | BOOL      |             |               | Binary input |

#### Outputs

| Name   | Data type | Value range | Initial value | Function      |
| ------ | --------- | ----------- | ------------- | ------------- |
| *xOut* | BOOL      |             |               | Binary output |

#### Setpoints / parameters

| Name          | Data type | Value range                                 | Initial value | Function                                           |
| ------------- | --------- | ------------------------------------------- | ------------- | -------------------------------------------------- |
| **eManModeB** | eMANBIN   | eMANBIN.Auto, eMANBIN.ManOff, eMANBIN.ManOn | eMANBIN.Auto  | Operating mode for the binary output signal *xOut* |

### Function description

#### General

This function block is used for manual override of a binary input signal *xIn*.

#### Binary output *xOut*

| *xIn* | **eManMode** | *xOut* | Notes                |
| ----- | ------------ | ------ | -------------------- |
| FALSE | Auto         | FALSE  | Automatic mode - Off |
| TRUE  | Auto         | TRUE   | Automatic mode - On  |
| X     | ManOff       | FALSE  | Manual mode - Off    |
| X     | ManOn        | TRUE   | Manual mode - On     |

Legend: X = any

### Visualization

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

#### Representation

> <img src="/files/dc8f92f499cf66fb2c05d0aca6c46030ccaab11a" alt="" data-size="original"><img src="/files/5154d58bf15ef279059cf4c4f4c9040c9fc069fa" alt="" data-size="original">

#### Interfaces Visu-Element

| Name          | Data type | Type         | Initial value | Function                                   |
| ------------- | --------- | ------------ | ------------- | ------------------------------------------ |
| **eManModeB** | eManBin   | VAR\_IN\_OUT |               | Enter eManModeB here e.g. ManBin.eManModeB |

\
Note: VAR\_IN\_OUT interfaces must be assigned, VAR\_INPUT are optional.

### CODESYS

InOut:

| Scope       | Name        | Type    | Initial      |
| ----------- | ----------- | ------- | ------------ |
| Input       | `xIn`       | `BOOL`  |              |
| Input Const | `eManModeB` | eManBin | eManBin.Auto |
| Output      | `xOut`      | `BOOL`  |              |


---

# 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/binary/manbin.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.
