# ManBin

## `ManBin` (FB)

FUNCTION\_BLOCK ManBin EXTENDS MANASBase IMPLEMENTS IMan

### Kurzbeschreibung

> Handübersteuerung für ein binäres Signal

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-964aa38727f712bfbe27774c6b873acb7b3f44b7%2FManBin_FB.png?alt=media" alt=""><figcaption></figcaption></figure>

### Schnittstellen

#### Eingänge

| Name  | Datentyp | Wertebereich | Initialwert | Funktion        |
| ----- | -------- | ------------ | ----------- | --------------- |
| *xIn* | BOOL     |              |             | Binärer Eingang |

#### Ausgänge

| Name   | Datentyp | Wertebereich | Initialwert | Funktion        |
| ------ | -------- | ------------ | ----------- | --------------- |
| *xOut* | BOOL     |              |             | Binärer Ausgang |

#### Sollwerte / Parameter

| Name          | Datentyp | Wertebereich                                | Initialwert  | Funktion                                         |
| ------------- | -------- | ------------------------------------------- | ------------ | ------------------------------------------------ |
| **eManModeB** | eMANBIN  | eMANBIN.Auto, eMANBIN.ManOff, eMANBIN.ManOn | eMANBIN.Auto | Betriebsart für das binäre Ausgangssignal *xOut* |

### Funktionsbeschreibung

#### Allgemeines

Dieser Funktionsbaustein dient zur Handübersteuerung eines binären Eingangssignals *xIn*.

#### Binärer Ausgang *xOut*

| *xIn* | **eManMode** | *xOut* | Hinweise               |
| ----- | ------------ | ------ | ---------------------- |
| FALSE | Auto         | FALSE  | Automatikbetrieb - Aus |
| TRUE  | Auto         | TRUE   | Automatikbetrieb - Ein |
| X     | ManOff       | FALSE  | Handbetrieb - Aus      |
| X     | ManOn        | TRUE   | Handbetrieb - Ein      |

Legende: X = beliebig

### Visualisierung

Passendes Visualisierungselement aus der HVACV Visu Library: **ManBin**

#### Darstellung

> <img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-de35f0c0e993ce16dc5e9e298ee6362e7cfd6339%2FManBin1.PNG?alt=media" alt="" data-size="original"><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-de7ef5c70a1d1c1fd2927b22ce6d1c28e6092bf5%2FManBin2.PNG?alt=media" alt="" data-size="original">

#### Schnittstellen Visu-Element

| Name          | Datentyp | Typ          | Initialwert | Funktion                                       |
| ------------- | -------- | ------------ | ----------- | ---------------------------------------------- |
| **eManModeB** | eManBin  | VAR\_IN\_OUT |             | Hier eManModeB eintragen Bsp. ManBin.eManModeB |

\
Hinweis: VAR\_IN\_OUT Schnittstellen müssen belegt werden, VAR\_INPUT sind optional.

### CODESYS

InOut:

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