# FireDamper2

## `FireDamper2` (FB)

FUNCTION\_BLOCK FireDamper2

### Representation

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

### Function description

#### General

This function block is used to input the designation of a fire damper and to generate the message *xAlarm*

#### Aggregate fault *xAlarm*

The aggregate fault *xAlarm* is activated ( = TRUE ) when:\
\
The fire damper is not fully open ( *xOpen* = FALSE ).\
( Background: Any fire damper that is not fully open represents a faulty condition during normal operation ).\
The fire damper is closed ( *xClosed* = TRUE ).\
\
In all other cases the aggregate fault *xAlarm* is not activated ( = FALSE ).

### CODESYS

InOut:

| Scope       | Name         | Type     | Initial |
| ----------- | ------------ | -------- | ------- |
| Input       | `xOpen`      | `BOOL`   |         |
| Input       | `xClosed`    | `BOOL`   |         |
| Output      | `sLine1`     | `STRING` |         |
| Output      | `sLine2`     | `STRING` |         |
| Output      | `sText`      | `STRING` |         |
| Output      | `xAlarm`     | `BOOL`   |         |
| Input Const | `sEditLine2` | `STRING` | ‘’      |
| Input Const | `sEditLine1` | `STRING` | ‘Room’  |
