> 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/hvac-library/functionblocks/time/pulser.md).

# PulseR

## `PulseR` (FB)

FUNCTION\_BLOCK PulseR

### Kurzbeschreibung

> Flankengesteuerte Impulserzeugung mit einstellbarer Zeitdauer und Rücksetzmöglichkeit.

### Darstellung

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

### Schnittstellen

#### Eingänge

| Name     | Datentyp | Wertebereich | Initialwert | Funktion                               |
| -------- | -------- | ------------ | ----------- | -------------------------------------- |
| *xIN*    | BOOL     |              |             | Binärer Eingang (FALSE > TRUE)         |
| *tPT*    | TIME     |              | T#1s        | Zeitdauer des Ausgangsimpulses in s    |
| *xReset* | BOOL     |              |             | Binärer Rücksetzeingang (FALSE > TRUE) |

#### Ausgänge

| Name  | Datentyp | Wertebereich | Initialwert | Funktion                                     |
| ----- | -------- | ------------ | ----------- | -------------------------------------------- |
| *xQ*  | BOOL     |              |             | Impulsausgang (FALSE = Aus, TRUE = Ein)      |
| *tET* | TIME     | 0 … *tPT*    |             | Aktuelle Zeitdauer des Impulses an *xQ* in s |

#### Sollwerte / Parameter

| Name      | Datentyp | Wertebereich | Initialwert | Funktion                           |
| --------- | -------- | ------------ | ----------- | ---------------------------------- |
| **xTest** | BOOL     |              | FALSE       | Binärer Testeingang (FALSE > TRUE) |

### Funktionsbeschreibung

#### Allgemeines

Am Impulsausgang *xQ* wird nach jeder ansteigenden Flanke (FALSE > TRUE) am binären Eingang *xIN* und / oder am Sollwert / Parameter **xTest** ein Impuls mit einer Zeitdauer *tPT* erzeugt (Voraussetzungen: *xReset* = FALSE und keine abfallende Flanke am Eingang *xIN*).\
\
Jede ansteigende Flanke (FALSE > TRUE) am Rücksetzeingang *xReset* setzt den Impulsausgang *xQ* unmittelbar zurück (= FALSE).\
Jede abfallende Flanke (TRUE > FALSE) am binären Eingang *xIN* setzt den Impulsausgang *xQ* unmittelbar zurück (= FALSE).\
\
Die Flankenerkennung (FALSE > TRUE) an den Eingängen *xIN* bzw. **xTest** hat gegenüber der Flankenerkennung an den Eingängen *xReset* (FALSE > TRUE) bzw. *xIN* (TRUE > FALSE) eine höhere Priorität.\
Dies hat zur Folge, das trotz gleichzeitiger Flankenerkennung ein Impuls mit einer Zeitdauer *tPT* am Ausgang *xQ* erzeugt wird.\
\
Der Sollwert/Parameter **xTest** wird zyklisch deaktiviert (= FALSE).

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

#### Zeitausgang *tET*

Bei aktivem Impulsausgang *xQ* (= TRUE) wird die aktuelle Zeitdauer des Impulses an *xQ* (0.0 - *tPT*) angezeigt.\
Bei inaktivem Impulsausgang *xQ* (= FALSE) wird stets der Wert T#0s angezeigt.

### CODESYS

InOut:

| Scope       | Name     | Type   | Initial    |
| ----------- | -------- | ------ | ---------- |
| Input       | `xIN`    | `BOOL` |            |
| Input       | `tPT`    | `TIME` | TIME#1s0ms |
| Input       | `xReset` | `BOOL` |            |
| Input Const | `xTest`  | `BOOL` | FALSE      |
| Output      | `xQ`     | `BOOL` |            |
| Output      | `tET`    | `TIME` |            |


---

# 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/hvac-library/functionblocks/time/pulser.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.
