> 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/clock/timeread.md).

# ClockDayImpuls

## ClockDayImpuls (FB)

FUNCTION\_BLOCK ClockDayImpuls

### Kurzbeschreibung

> Der Funktionsbaustein ClockDayImpuls erzeugt abhängig vom aktuellen Wochentag zu einer separat parametrierbaren Uhrzeit für Montag bis Sonntag einen Impuls von genau einem SPS-Zyklus. Während aktivierter Ferien oder gesetzlicher Feiertage kann der Tagesimpuls gesperrt werden. Zusätzlich lässt sich beim Einschalten einer Sonderschaltzeit ein einmaliger Impuls auslösen.

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FU27FI1OwOhGvKd8ueq4R%2FScreenshot%202026-08-06%20115254.png?alt=media&amp;token=3f24592e-2b77-4020-bf0b-d0ab107b55d1" alt=""><figcaption></figcaption></figure>

### Schnittstellen

#### Eingänge

<table><thead><tr><th width="120">Name</th><th width="113">Datentyp</th><th>Wertebereich</th><th width="95">Initialwert</th><th width="206">Funktion</th></tr></thead><tbody><tr><td>itfFromClockMaster32</td><td>Interface-Referenz</td><td>Gültige Verbindung zum ClockMaster32</td><td></td><td>Übergibt Uhrzeit, Wochentag, Ferien-, Feiertags- und Sonderschaltzeitstatus.</td></tr><tr><td>sTitle</td><td>STRING</td><td>Text</td><td></td><td>Titel des Bausteins in der Visualisierung.</td></tr><tr><td>sLine1</td><td>STRING</td><td>Text</td><td></td><td>Erste Beschreibungszeile in der Visualisierung.</td></tr><tr><td>sLine2</td><td>STRING</td><td>Text</td><td></td><td>Zweite Beschreibungszeile in der Visualisierung.</td></tr></tbody></table>

#### Ausgänge

<table><thead><tr><th width="106">Name</th><th width="115">Datentyp</th><th width="120">Wertebereich</th><th width="97">Initialwert</th><th width="217">Funktion</th></tr></thead><tbody><tr><td>xClockTrig</td><td>BOOL</td><td></td><td></td><td>Impulsausgang; wird bei einer gültigen Auslösung genau einen SPS-Zyklus TRUE.</td></tr></tbody></table>

#### Sollwerte / Parameter

<table><thead><tr><th width="154">Name</th><th width="132">Datentyp</th><th width="139">Wertebereich</th><th width="85">Initialwert</th><th width="154">Funktion</th></tr></thead><tbody><tr><td>TOD_Monday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Montag.</td></tr><tr><td>TOD_Tuesday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Dienstag.</td></tr><tr><td>TOD_Wednesday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Mittwoch.</td></tr><tr><td>TOD_Thursday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Donnerstag.</td></tr><tr><td>TOD_Friday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Freitag.</td></tr><tr><td>TOD_Saturday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Samstag.</td></tr><tr><td>TOD_Sunday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Impulszeit am Sonntag.</td></tr><tr><td>xHoliday</td><td>BOOL</td><td></td><td></td><td>Aktiviert die Sperrung des Tagesimpulses während der Ferien.</td></tr><tr><td>xPublicHoliday</td><td>BOOL</td><td></td><td></td><td>Aktiviert die Sperrung des Tagesimpulses an gesetzlichen Feiertagen.</td></tr><tr><td>xSwitchTimeS</td><td>BOOL</td><td></td><td></td><td>Aktiviert den einmaligen Impuls beim Einschalten einer Sonderschaltzeit.</td></tr></tbody></table>

### Funktionsbeschreibung

#### Allgemeines

Der Funktionsbaustein ClockDayImpuls erzeugt einen täglichen Schaltimpuls. Für jeden Wochentag von Montag bis Sonntag kann über die Parameter TOD\_Monday bis TOD\_Sunday eine separate Impulszeit eingestellt werden. Beim Erreichen der parametrierten Uhrzeit wird der Ausgang xClockTrig für genau einen SPS-Zyklus auf TRUE gesetzt.

Über den Eingang itfFromClockMaster32 erhält der Funktionsbaustein die aktuellen Zeit- und Kalenderinformationen vom übergeordneten ClockMaster32. Während aktiver Ferien oder gesetzlicher Feiertage kann die Impulsauslösung über die Parameter xHoliday und xPublicHoliday gesperrt werden. Mit xSwitchTimeS kann zusätzlich beim Einschalten einer Sonderschaltzeit ein einmaliger Impuls erzeugt werden. Eine manuelle Auslösung ist über xVisuTrig möglich.

Die Eingänge sTitle, sLine1 und sLine2 dienen zur individuellen Beschriftung des Funktionsbausteins in der Visualisierung. Die Impulszeiten und Freigaben werden über das Parameterfenster eingestellt, persistent gespeichert und mit der Visualisierung synchronisiert. Eine Zuordnung zu den Wochenuhrkanälen 1 bis 32 ist für ClockDayImpuls nicht vorgesehen.

### Codesys

InOut

| Scope       | Name                 | Type           | Initial      |
| ----------- | -------------------- | -------------- | ------------ |
| Input       | itfFromClockMaster32 | Interface      | –            |
| Input       | sTitle               | STRING         | ''           |
| Input       | sLine1               | STRING         | ''           |
| Input       | sLine2               | STRING         | ''           |
| Input       | xVisuTrig            | BOOL           | FALSE        |
| Input Const | ClockSlvPara         | stSlvClockData | –            |
| Input Const | xHoliday             | BOOL           | FALSE        |
| Input Const | xPublicHoliday       | BOOL           | FALSE        |
| Input Const | xSwitchTimeS         | BOOL           | FALSE        |
| Input Const | TOD\_Monday          | TOD            | TOD#00:00:00 |
| Input Const | TOD\_Tuesday         | TOD            | TOD#00:00:00 |
| Input Const | TOD\_Wednesday       | TOD            | TOD#00:00:00 |
| Input Const | TOD\_Thursday        | TOD            | TOD#00:00:00 |
| Input Const | TOD\_Friday          | TOD            | TOD#00:00:00 |
| Input Const | TOD\_Saturday        | TOD            | TOD#00:00:00 |
| Input Const | TOD\_Sunday          | TOD            | TOD#00:00:00 |
| Output      | xClockTrig           | BOOL           | FALSE        |


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.powerio.com/hub/codesys-hvac/hvac-library/functionblocks/clock/timeread.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
