> 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/en/hvac-library/functionblocks/clock/timeread.md).

# ClockDayImpuls

## ClockDayImpuls (FB)

FUNCTION\_BLOCK ClockDayImpuls

### Short description

> The ClockDayImpuls function block generates an impulse of exactly one PLC cycle, depending on the current weekday, at a separately parameterizable time for Monday through Sunday. During activated holidays or public holidays, the daily impulse can be blocked. In addition, a one-time impulse can be triggered when a special switching time is switched on.

### Representation

<figure><img src="https://2592874069-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>

### Interfaces

#### Inputs

<table><thead><tr><th width="120">Name</th><th width="113">Data type</th><th>Value range</th><th width="95">Initial value</th><th width="206">Function</th></tr></thead><tbody><tr><td>itfFromClockMaster32</td><td>Interface reference</td><td>Valid connection to ClockMaster32</td><td></td><td>Transfers time, weekday, holiday, public holiday, and special switching time status.</td></tr><tr><td>sTitle</td><td>STRING</td><td>Text</td><td></td><td>Title of the block in the visualization.</td></tr><tr><td>sLine1</td><td>STRING</td><td>Text</td><td></td><td>First description line in the visualization.</td></tr><tr><td>sLine2</td><td>STRING</td><td>Text</td><td></td><td>Second description line in the visualization.</td></tr></tbody></table>

#### Outputs

<table><thead><tr><th width="106">Name</th><th width="115">Data type</th><th width="120">Value range</th><th width="97">Initial value</th><th width="217">Function</th></tr></thead><tbody><tr><td>xClockTrig</td><td>BOOL</td><td></td><td></td><td>Pulse output; becomes TRUE for exactly one PLC cycle when triggered validly.</td></tr></tbody></table>

#### Setpoints / Parameters

<table><thead><tr><th width="154">Name</th><th width="132">Data type</th><th width="139">Value range</th><th width="85">Initial value</th><th width="154">Function</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>Pulse time on Monday.</td></tr><tr><td>TOD_Tuesday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Pulse time on Tuesday.</td></tr><tr><td>TOD_Wednesday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Pulse time on Wednesday.</td></tr><tr><td>TOD_Thursday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Pulse time on Thursday.</td></tr><tr><td>TOD_Friday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Pulse time on Friday.</td></tr><tr><td>TOD_Saturday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Pulse time on Saturday.</td></tr><tr><td>TOD_Sunday</td><td>TIME_OF_DAY</td><td>00:00:00–23:59:59</td><td></td><td>Pulse time on Sunday.</td></tr><tr><td>xHoliday</td><td>BOOL</td><td></td><td></td><td>Activates blocking of the daily pulse during holidays.</td></tr><tr><td>xPublicHoliday</td><td>BOOL</td><td></td><td></td><td>Activates blocking of the daily pulse on public holidays.</td></tr><tr><td>xSwitchTimeS</td><td>BOOL</td><td></td><td></td><td>Activates the one-time pulse when a special switching time is switched on.</td></tr></tbody></table>

### Functional description

#### General

The ClockDayImpuls function block generates a daily switching pulse. For each weekday from Monday to Sunday, a separate pulse time can be set via the parameters TOD\_Monday to TOD\_Sunday. When the parameterized time is reached, the output xClockTrig is set to TRUE for exactly one PLC cycle.

Via the input itfFromClockMaster32, the function block receives the current time and calendar information from the higher-level ClockMaster32. During active holidays or public holidays, the pulse trigger can be blocked via the parameters xHoliday and xPublicHoliday. With xSwitchTimeS, an additional one-time pulse can be generated when a special switching time is switched on. A manual trigger is possible via xVisuTrig.

The inputs sTitle, sLine1, and sLine2 are used for individual labeling of the function block in the visualization. The pulse times and releases are set via the parameter window, stored persistently, and synchronized with the visualization. Assignment to the weekday time channels 1 to 32 is not intended for ClockDayImpuls.

### 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 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/en/hvac-library/functionblocks/clock/timeread.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.
