> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/conditions/time.md). Agents can also search and read this documentation through its [MCP server](https://docs.buildings.ability.abb/collection/~gitbook/mcp).

# Time

Delay a boolean signal switching on or off in a cyclic rule chain.

Use **Time** to delay a boolean signal switching on or off. For example, require a condition to remain true for three minutes before allowing an action.

<figure><img src="https://2013058394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqGnkz52o2zVUsEGEZGk%2Fuploads%2Fgit-blob-22be9787fdd23ed67e5855f677ec7e57eac1c7d9%2Frule-chain-time-palette.png?alt=media" alt="Time entry enabled in the Conditions palette with Cycle selected."><figcaption><p>Time in the palette</p></figcaption></figure>

<figure><img src="https://2013058394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqGnkz52o2zVUsEGEZGk%2Fuploads%2Fgit-blob-9b2090b58267aec5a19994e77792b6b9ceb914de%2Frule-chain-time-node.png?alt=media" alt="Configured Time node showing TON mode and a delay of 180 seconds."><figcaption><p>Time configured for a three-minute turn-on delay</p></figcaption></figure>

## Inputs and outputs

* **Input:** One blue boolean signal.
* **Output:** The delayed boolean result. Additional output pins carry the same result.

Select **Cycle** as the chain trigger to add Time. The palette entry is disabled for other trigger types. The delay is checked on each cycle, not by pausing the entire chain. A change appears on a cycle after the delay has elapsed.

Use a separate Time block for each signal you need to delay.

## Configurable settings

Open the node's gear icon to change its settings.

<figure><img src="https://2013058394-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqGnkz52o2zVUsEGEZGk%2Fuploads%2Fgit-blob-4796e3faf0dc24f9f5a996ff430723453e8cb3b1%2Frule-chain-time-settings.png?alt=media" alt="Time settings with one input, one output, Delay ON and a 180-second delay, with callouts A to F."><figcaption><p>Time settings</p></figcaption></figure>

| Reference | Setting     | Purpose                                                           |
| --------- | ----------- | ----------------------------------------------------------------- |
| **\[A]**  | Input pins  | Keep this at `1`. A Time block delays one boolean signal.         |
| **\[B]**  | Output pins | Set `1` to `100` output pins for the same delayed result.         |
| **\[C]**  | Condition   | Choose **Delay ON** or **Delay OFF**, described below.            |
| **\[D]**  | Delay time  | Enter a positive delay in seconds.                                |
| **\[E]**  | Note        | Explain the delay on the node.                                    |
| **\[F]**  | Save        | Apply the node settings. Save the chain separately in the editor. |

* **Delay ON:** The node shows **TON**. The output becomes `true` only after the input remains true for the delay. A false input resets the output and cancels a pending delay.
* **Delay OFF:** The node shows **TOFF**. A true input produces `true`. When the input becomes false, the output stays true until the delay expires. A true input during that delay cancels the pending switch-off.

## Require a condition for three minutes

Before you begin, [open the rule chain editor](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/open-the-configuration-of-an-existing-rule-chain.md) and configure a [Condition](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/conditions/condition.md) with a boolean output. Keep the chain paused while configuring.

1. Select **Cycle** in the editor's **Trigger**.
2. Set the cycle interval to `1` second.
3. Drag **Time** from **Conditions** onto the workspace.\
   ▷ The settings window opens.
4. Set **Input pins** **\[A]** to `1`.
5. Set **Output pins** **\[B]** to `1`.
6. Select **Delay ON** in **Condition** **\[C]**.
7. Enter `180` in **Delay time** **\[D]**.
8. Enter `Delay the advisory for three minutes` in **Note** **\[E]**.
9. Click **Save** **\[F]**.
10. Connect the Condition output to the Time input.
11. Connect the Time output to the next block.
12. Set the [execution order](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/configure-rule-chain.md#set-order) so Condition runs before Time and the next block runs after it.
13. Click **Save** in the editor.

On subsequent executions, the output stays false until the input has remained true for 180 seconds. If the input becomes false earlier, the output stays false and the delay starts again on the next true input.

## Related documentation

* [Condition](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/conditions/condition.md) to create a numeric threshold.
* [Schedule](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/conditions/schedule.md) to check a time period rather than delay a signal.
* [Chain triggers](https://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/configure-rule-chain.md#trigger) to configure the cycle interval.


---

# 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://docs.buildings.ability.abb/collection/platform/alarms-rules-and-escalations/rule-chains/conditions/time.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.
